Skip to content

Commit 75b8e27

Browse files
Merge pull request #1 from solid-software/sloc-200
Set maximum source LoC per method to 200
2 parents 574f1bc + 123b99e commit 75b8e27

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lib/analysis_options.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ dart_code_metrics:
2222
cyclomatic-complexity: 10
2323
number-of-arguments: 4
2424
number-of-parameters: 4
25-
# source-lines-of-code: 50
25+
26+
# 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
27+
source-lines-of-code: 200
2628
# lines-of-code: 50
2729
rules:
2830
- avoid-late-keyword
@@ -203,4 +205,4 @@ linter:
203205
- use_string_buffers
204206
- use_test_throws_matchers
205207
- valid_regexps
206-
- void_checks
208+
- void_checks

0 commit comments

Comments
 (0)