You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rave.apache.org by "Matt Franklin (JIRA)" <ji...@apache.org> on 2011/08/11 23:14:27 UTC

[jira] [Created] (RAVE-174) Increase code coverage in rave-commons

Increase code coverage in rave-commons
--------------------------------------

                 Key: RAVE-174
                 URL: https://issues.apache.org/jira/browse/RAVE-174
             Project: Rave
          Issue Type: Technical task
            Reporter: Matt Franklin


The rave-commons project needs to have its test code coverage improved 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (RAVE-174) Increase code coverage in rave-commons

Posted by "Jasha Joachimsthal (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/RAVE-174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13086189#comment-13086189 ] 

Jasha Joachimsthal commented on RAVE-174:
-----------------------------------------

The JPA enhancements decrease our Sonar scores. AFAICS on http://docs.codehaus.org/display/SONAR/Advanced+parameters you can exclude certain classes but that also means 'our' part of the bean is excluded as well.
In your internal target, do you cover beans as well (like does getTitle() indeed return the title value)?

> Increase code coverage in rave-commons
> --------------------------------------
>
>                 Key: RAVE-174
>                 URL: https://issues.apache.org/jira/browse/RAVE-174
>             Project: Rave
>          Issue Type: Technical task
>            Reporter: Matt Franklin
>            Assignee: Matt Franklin
>             Fix For: 0.3-INCUBATING
>
>
> The rave-commons project needs to have its test code coverage improved 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (RAVE-174) Increase code coverage in rave-commons

Posted by "Jasha Joachimsthal (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/RAVE-174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13084163#comment-13084163 ] 

Jasha Joachimsthal commented on RAVE-174:
-----------------------------------------

What should be the target? 20%, 60%?

> Increase code coverage in rave-commons
> --------------------------------------
>
>                 Key: RAVE-174
>                 URL: https://issues.apache.org/jira/browse/RAVE-174
>             Project: Rave
>          Issue Type: Technical task
>            Reporter: Matt Franklin
>            Assignee: Matt Franklin
>             Fix For: 0.3-INCUBATING
>
>
> The rave-commons project needs to have its test code coverage improved 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (RAVE-174) Increase code coverage in rave-commons

Posted by "Matt Franklin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/RAVE-174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13086250#comment-13086250 ] 

Matt Franklin commented on RAVE-174:
------------------------------------

Normally we exclude coverage of simple POJOs (including annotated ones).  We also try to exclude generated code.

> Increase code coverage in rave-commons
> --------------------------------------
>
>                 Key: RAVE-174
>                 URL: https://issues.apache.org/jira/browse/RAVE-174
>             Project: Rave
>          Issue Type: Technical task
>            Reporter: Matt Franklin
>            Assignee: Matt Franklin
>             Fix For: 0.3-INCUBATING
>
>
> The rave-commons project needs to have its test code coverage improved 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (RAVE-174) Increase code coverage in rave-commons

Posted by "Matt Franklin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/RAVE-174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Franklin reassigned RAVE-174:
----------------------------------

    Assignee: Matt Franklin

> Increase code coverage in rave-commons
> --------------------------------------
>
>                 Key: RAVE-174
>                 URL: https://issues.apache.org/jira/browse/RAVE-174
>             Project: Rave
>          Issue Type: Technical task
>            Reporter: Matt Franklin
>            Assignee: Matt Franklin
>             Fix For: 0.3-INCUBATING
>
>
> The rave-commons project needs to have its test code coverage improved 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (RAVE-174) Increase code coverage in rave-commons

Posted by "Matt Franklin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/RAVE-174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Franklin resolved RAVE-174.
--------------------------------

    Resolution: Fixed

Added additional tests to get coverage > 80%

> Increase code coverage in rave-commons
> --------------------------------------
>
>                 Key: RAVE-174
>                 URL: https://issues.apache.org/jira/browse/RAVE-174
>             Project: Rave
>          Issue Type: Technical task
>            Reporter: Matt Franklin
>            Assignee: Matt Franklin
>             Fix For: 0.3-INCUBATING
>
>
> The rave-commons project needs to have its test code coverage improved 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (RAVE-174) Increase code coverage in rave-commons

Posted by "Matt Franklin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/RAVE-174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13084167#comment-13084167 ] 

Matt Franklin commented on RAVE-174:
------------------------------------

Very good question.  I think now that we have started, we can start setting up some coding practices on the website.  My vote would be 90% coverage or better.  Internally that is our target, with 80% being bare minimum for migration to production.

One thing we do with our internal builds is exclude autogenerated code.  It would be nice to find a way to do that with the mvn sonar integration.

> Increase code coverage in rave-commons
> --------------------------------------
>
>                 Key: RAVE-174
>                 URL: https://issues.apache.org/jira/browse/RAVE-174
>             Project: Rave
>          Issue Type: Technical task
>            Reporter: Matt Franklin
>            Assignee: Matt Franklin
>             Fix For: 0.3-INCUBATING
>
>
> The rave-commons project needs to have its test code coverage improved 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira