You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: Check the Cyclomatic Complexity value of a function or logic block. If the threshold is not met, raise a Minor issue. The default threshold is 5.
4
+
description: Checks that the cyclomatic complexity of functions or logic blocks does not exceed a minor threshold, defaulting to 5.
5
5
explanation: |-
6
6
# Minor Cyclomatic Complexity control
7
7
@@ -11,10 +11,10 @@ patterns:
11
11
severityLevel: Info
12
12
threshold: 5
13
13
timeToFix: 5
14
-
title: Minor Cyclomatic Complexity control
14
+
title: Enforce Minor Cyclomatic Complexity Threshold
15
15
Lizard_nloc-critical:
16
16
category: Complexity
17
-
description: Check the number of lines of code (without comments) in a function or logic block. If the threshold is not met, raise a Critical issue. The default threshold is 100.
17
+
description: Checks if functions or logic blocks exceed a set maximum number of lines of code (excluding comments), defaulting to 100 lines.
18
18
explanation: |-
19
19
# Critical NLOC control - Number of Lines of Code (without comments)
20
20
@@ -23,11 +23,11 @@ patterns:
23
23
level: Error
24
24
severityLevel: Error
25
25
threshold: 100
26
-
timeToFix: 5
27
-
title: Critical NLOC control - Number of Lines of Code (without comments)
26
+
timeToFix: 15
27
+
title: Enforce Maximum Number of Lines of Code in Functions
28
28
Lizard_nloc-medium:
29
29
category: Complexity
30
-
description: Check the number of lines of code (without comments) in a function. If the threshold is not met, raise a Medium issue. The default threshold is 50.
30
+
description: Checks if the number of lines of code (excluding comments) in a function exceeds a medium threshold (default 50 lines).
31
31
explanation: |-
32
32
# Medium NLOC control - Number of Lines of Code (without comments)
33
33
@@ -36,5 +36,5 @@ patterns:
36
36
level: Warning
37
37
severityLevel: Warning
38
38
threshold: 50
39
-
timeToFix: 5
40
-
title: Medium NLOC control - Number of Lines of Code (without comments)
39
+
timeToFix: 10
40
+
title: Enforce Medium Number of Lines of Code (NLOC) Limit
0 commit comments