wood burning stoves 2.0
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 OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP 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: 118
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: 1419
    
  81

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
 
 
subject: configure cobetura to ignore trivial methods (new cobeture that is)..