Skip to content

Latest commit

 

History

History
8 lines (6 loc) · 468 Bytes

NcssConstructorCount.md

File metadata and controls

8 lines (6 loc) · 468 Bytes

NcssConstructorCount

Category: pmd
Rule Key: pmd:NcssConstructorCount

⚠️ 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 constructor. NCSS ignores comments, and counts actual statements. Using this algorithm, lines of code that are split are counted as one.