Menu

#1457 [java] TooManyMethods: counts inner class methods

PMD-5.3.7
closed
java (55)
PMD
3-Major
Bug
5.4.1
TooManyMethods
2016-06-25
2016-02-01
krzyk
No

TooManyMethods counts inner class methods towards the limit.

In case of default limit of 10, when I have a class (public class Foo) that has 7 methods AND an inner class (public static class Bar extends Foo) which overrides all 7 methods of the base class, this rule will complain.

Discussion

  • Andreas Dangel

    Andreas Dangel - 2016-02-07
    • status: open --> closed
    • assigned_to: Andreas Dangel
    • Milestone: New Tickets --> PMD-5.3.7
     
  • Andreas Dangel

    Andreas Dangel - 2016-06-25
    • labels: --> java
    • summary: TooManyMethods counts inner class methods --> [java] TooManyMethods: counts inner class methods
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.