This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Elhanan Maayan
Ranch Hand
Posts: 136
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Sheriff
Pie
Posts: 3147
136
Clojure IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic