Skip to content

Commit db4235f

Browse files
Merge pull request #2 from solid-software/nargs-7
Set max method params count to 7
2 parents 75b8e27 + d2dbb30 commit db4235f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/analysis_options.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,9 @@ dart_code_metrics:
2020
metrics:
2121
# NIST 500-235 item 2.5
2222
cyclomatic-complexity: 10
23-
number-of-arguments: 4
24-
number-of-parameters: 4
23+
24+
# McConnell, S. (2004), Chapter 7.5: High-Quality Routines: How To Use Routine Parameters. Code Complete, Second Edition, Redmond, WA, USA: Microsoft Press. 174-180
25+
number-of-parameters: 7
2526

2627
# McConnell, S. (2004), Chapter 7.4: High-Quality Routines: How Long Can a Routine Be?. Code Complete, Second Edition, Redmond, WA, USA: Microsoft Press. 173-174
2728
source-lines-of-code: 200

0 commit comments

Comments
 (0)