Effort on increasing the test coverage

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Effort on increasing the test coverage

Alexandre Bergel
Hi!

We are looking for a case study for our work on test coverage.
Moose (i.e., packages having their name beginning with 'Moose-') has all the characteristics of the ideal candidate. It is fairly large (399 classes and >3800 methods), it is important and has a relatively poor coverage. Only 52% of the method are executed by unit tests.

For example, I was surprised that many methods of MooseModel are actually not executed by unit tests (e.g., inferNamespaceParentBasedOnNames, installDefaultModels).
The LAN Example is never executed for example. Even DefaultStateEntity has many untested methods. This could very well be dead code.

Is there a part that you would like us to focus on first?

Cheers,
Alexandre

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.






_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Effort on increasing the test coverage

Tudor Girba
Hi,

Moose-Core should be tested thoroughly.

Cheers,
Doru


On 24 Jan 2011, at 22:13, Alexandre Bergel wrote:

> Hi!
>
> We are looking for a case study for our work on test coverage.
> Moose (i.e., packages having their name beginning with 'Moose-') has all the characteristics of the ideal candidate. It is fairly large (399 classes and >3800 methods), it is important and has a relatively poor coverage. Only 52% of the method are executed by unit tests.
>
> For example, I was surprised that many methods of MooseModel are actually not executed by unit tests (e.g., inferNamespaceParentBasedOnNames, installDefaultModels).
> The LAN Example is never executed for example. Even DefaultStateEntity has many untested methods. This could very well be dead code.
>
> Is there a part that you would like us to focus on first?
>
> Cheers,
> Alexandre
>
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

--
www.tudorgirba.com

"Every thing should have the right to be different."




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev