This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Testing and the fly likes configure cobetura to ignore trivial methods (new cobeture that is).. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » Testing
Bookmark "configure cobetura to ignore trivial methods (new cobeture that is).." Watch "configure cobetura to ignore trivial methods (new cobeture that is).." New topic
Author

configure cobetura to ignore trivial methods (new cobeture that is)..

Elhanan Maayan
Ranch Hand

Joined: May 04, 2009
Posts: 112
hi...

hi..
i know this has been asked before here: http://osdir.com/ml/java-sonar-general/2010-12/msg00221.html

but i was wondering if the new sonar (this was asked 4 years ago after all) does allow this property to be configured.
Tim Cooke
Bartender

Joined: Mar 28, 2008
Posts: 954
    
  47

Apparently so, Cobertura v2.0.0 has introduced a --ignoreTrivial switch.

I don't know how reliable it is but try it out and see for yourself.


Tim Driven Development
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: configure cobetura to ignore trivial methods (new cobeture that is)..