File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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
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: 115
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: 1173
    
  65

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)..