Skip to content

Latest commit

 

History

History
8 lines (6 loc) · 453 Bytes

NcssMethodCount.md

File metadata and controls

8 lines (6 loc) · 453 Bytes

NcssMethodCount

Category: pmd
Rule Key: pmd:NcssMethodCount

⚠️ This rule is deprecated in favour of S138.


This rule uses the NCSS (Non Commenting Source Statements) algorithm to determine the number of lines of code for a given method. NCSS ignores comments, and counts actual statements. Using this algorithm, lines of code that are split are counted as one.