aspose file tools
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 Elasticsearch in Action this week in the Big Data 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: 119
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: 1569
    
  85

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
 
Don't get me started about those stupid light bulbs.
 
subject: configure cobetura to ignore trivial methods (new cobeture that is)..