Skip to content

Commit 59335f5

Browse files
Set max method params count to 7
1 parent 574f1bc commit 59335f5

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

lib/analysis_options.yaml

Lines changed: 4 additions & 3 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
# source-lines-of-code: 50
2627
# lines-of-code: 50
2728
rules:
@@ -203,4 +204,4 @@ linter:
203204
- use_string_buffers
204205
- use_test_throws_matchers
205206
- valid_regexps
206-
- void_checks
207+
- void_checks

0 commit comments

Comments
 (0)