[jboss-jira] [JBoss JIRA] Commented: (JBCACHE-905) Perform code coverage analysis and add missing unit tests

Hany Mesha (JIRA) jira-events at lists.jboss.org
Fri Mar 16 18:21:32 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBCACHE-905?page=comments#action_12356427 ] 
            
Hany Mesha commented on JBCACHE-905:
------------------------------------

Ran another test coverage data point using clover. Exercising all-functionaltests ant target against Head branch view update March 15, 2007 (Pre Beta2). This time I included the source code in addition to the test cases in the test suite because I wanted to see how much coverage that we actually exercise of the source using the test suite so I can provide better understanding of what areas in the source code is covered and what needs test coverage improvement . The result is very interesting:-) 

The overall coverage dropped from 91.8x % to 79.4 %. While this is expected due to the increase in the number of packages and classes to report on, It reveals that we're not exercising the source code as we should be which may lead to unknown bugs. 

Also, I performed a Gap Analysis on the result and recorded the source classes and test cases that need actions to improve coverage.

You can see those results on the wiki @ http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossCache20Beta2CodeCoverageAnalysis

I'll be posting shortly this information to jboss-dev mailing list to engage other people in the community to improve the coverage. Also, I'll be fixing the ones that can give us an immediate coverage improvement jump first.


> Perform code coverage analysis and add missing unit tests
> ---------------------------------------------------------
>
>                 Key: JBCACHE-905
>                 URL: http://jira.jboss.com/jira/browse/JBCACHE-905
>             Project: JBoss Cache
>          Issue Type: Task
>      Security Level: Public(Everyone can see) 
>            Reporter: Manik Surtani
>         Assigned To: Hany Mesha
>             Fix For: 2.0.0.BETA2
>
>
> Using a code coverage tool like Clover:
> 1) Analyse current test suite on Branch_JBossCache_1_4_0
> 2) Put up results on a wiki page
> 3) Link wiki page to this JIRA task as well as the JBossCache wiki page
> 4) Analyse gaps in the test suite and either document (on the wiki) as being too simple/obvious to test or create a unit test for this.
> Once 2.0.0 reaches CR1, perform the same on HEAD (or Branch_JBossCache_2_0_0 by then...)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list