From: Roth P. <pat...@mo...> - 2010-06-17 11:41:01
|
Dear Cobertura developers, The methods/classes with the highest need for test are the most complex ones. To illustrate that, a method with many execution paths must be thoroughly tested, while getters and setters do not need to. In order to take code coverage and complexity into account, a metric has been proposed: the "crappiness" (see this link for details: http://www.crap4j.org). It would be interesting to calculate the crappiness of each method and report it in the HTML tables. This won't be very difficult, because cyclomatic complexity is already calculated and displayed. For classes, the maximum CRAP value of its methods could be retained. That way, it would be easy to identify where testing effort will be most valuable. This feature would fulfill this request: http://sourceforge.net/mailarchive/forum.php?thread_name=E1L5ecy-0007Ba-6R%40b55xhf1.ch3.sourceforge.com&forum_name=cobertura-featurerequests Best regards Patrick In der elektronischen Korrespondenz kann die im Schriftverkehr übliche Vertraulichkeit nicht gewährleistet werden. Bitte überprüfen Sie daher sorgfältig, welche Mitteilungen und Beilagen Sie per E-Mail senden und erhalten möchten. Falls Sie dieses E-Mail irrtümlicherweise erhalten haben, bitten wir Sie, die absendende Person zu kontaktieren und dieses E-Mail mit allen Anhängen von Ihrem System zu löschen. Avec la communication par courrier électronique, la confidentialité des informations n'est pas garantie comme elle l'est usuellement dans la correspondance écrite. Veuillez donc être vigilant lorsque vous envoyez ou recevez des communications et pièces jointes par courriel. Si vous avez reçu ce courriel par erreur, nous vous prions de contacter l'expéditeur/trice et de l'effacer avec toutes les pièces jointes de votre système. |