Following discussion on #2123, the rules ExcessiveClassLength and ExcessiveMethodLength should be deprecated. Main reasons are (LoC means "lines of code"):
Rules:
Instead of these rules, the rule NcssCount could be used.
If needed, the rule "ExcessiveClassLength" can be easily written using the following XPath-expression: //TypeDeclaration[@EndLine - @BeginLine > 1000]
. Similarly, for "ExcessiveMethodLength" the XPath expression would be: //MethodDeclaration[@EndLine - @BeginLine > 100]
.
The plan is, to remove these rules in PMD 7.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4