[tor-bugs] #19731 [Metrics]: apply more static code analysis to java projects

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Jul 25 08:52:23 UTC 2016


#19731: apply more static code analysis to java projects
-------------------------------+---------------------
 Reporter:  iwakeh             |          Owner:
     Type:  enhancement        |         Status:  new
 Priority:  Medium             |      Milestone:
Component:  Metrics            |        Version:
 Severity:  Normal             |     Resolution:
 Keywords:  java code quality  |  Actual Points:
Parent ID:                     |         Points:
 Reviewer:                     |        Sponsor:
-------------------------------+---------------------

Comment (by iwakeh):

 I'd vote for having both:

 * pmd will remind about long classes with lot's of code and cumbersome if-
 expressions, duplicate code blocks and the like
 * findbugs really points out bugs, for example it points to some possible
 synchronization problems in Onionoo and also pointed at the possible NPE
 in CollecTor that I patched in #19018

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/19731#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list