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 Medium issue. The default threshold is 8.
4
+
description: Checks if the cyclomatic complexity of a function or logic block exceeds the medium threshold (default is 8).
5
5
explanation: |-
6
6
# Medium Cyclomatic Complexity control
7
7
@@ -11,20 +11,20 @@ patterns:
11
11
severityLevel: Warning
12
12
threshold: 8
13
13
timeToFix: 5
14
-
title: Medium Cyclomatic Complexity control
14
+
title: Enforce Medium Cyclomatic Complexity Threshold
15
15
Lizard_file-nloc-medium:
16
16
category: Complexity
17
-
description: Check the number of lines of code (without comments) in a file. If the threshold is not met, raise a Medium issue. The default threshold is 500.
17
+
description: This rule checks if the number of lines of code (excluding comments) in a file exceeds a medium threshold, typically 500 lines.
18
18
explanation: ""
19
19
id: Lizard_file-nloc-medium
20
20
level: Warning
21
21
severityLevel: Warning
22
22
threshold: 500
23
23
timeToFix: 5
24
-
title: Medium File NLOC control - Number of Lines of Code (without comments)
24
+
title: Enforce Medium File Length Limit Based on Number of Lines of Code
25
25
Lizard_nloc-medium:
26
26
category: Complexity
27
-
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.
27
+
description: Checks if the number of lines of code (excluding comments) in a function exceeds a medium threshold (default 50 lines).
28
28
explanation: |-
29
29
# Medium NLOC control - Number of Lines of Code (without comments)
30
30
@@ -34,10 +34,10 @@ patterns:
34
34
severityLevel: Warning
35
35
threshold: 50
36
36
timeToFix: 5
37
-
title: Medium NLOC control - Number of Lines of Code (without comments)
37
+
title: Enforce Medium Number of Lines of Code (NLOC) Limit
38
38
Lizard_parameter-count-medium:
39
39
category: Complexity
40
-
description: Check the number of parameters sent to a function. If the threshold is not met, raise a Medium issue. The default threshold is 8.
40
+
description: This rule checks the number of parameters passed to a function and raises an issue if it exceeds a medium threshold, which by default is 8 parameters.
0 commit comments