Skip to content

Commit ab8894a

Browse files
committed
[PLUTO-1431] fx lizard
1 parent 2433d6e commit ab8894a

File tree

1 file changed

+8
-8
lines changed
  • integration-tests/init-without-token/expected/tools-configs

1 file changed

+8
-8
lines changed
Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
patterns:
22
Lizard_ccn-medium:
33
category: Complexity
4-
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).
55
explanation: |-
66
# Medium Cyclomatic Complexity control
77
@@ -11,20 +11,20 @@ patterns:
1111
severityLevel: Warning
1212
threshold: 8
1313
timeToFix: 5
14-
title: Medium Cyclomatic Complexity control
14+
title: Enforce Medium Cyclomatic Complexity Threshold
1515
Lizard_file-nloc-medium:
1616
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.
1818
explanation: ""
1919
id: Lizard_file-nloc-medium
2020
level: Warning
2121
severityLevel: Warning
2222
threshold: 500
2323
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
2525
Lizard_nloc-medium:
2626
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).
2828
explanation: |-
2929
# Medium NLOC control - Number of Lines of Code (without comments)
3030
@@ -34,10 +34,10 @@ patterns:
3434
severityLevel: Warning
3535
threshold: 50
3636
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
3838
Lizard_parameter-count-medium:
3939
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.
4141
explanation: |-
4242
# Medium Parameter count control
4343
@@ -47,4 +47,4 @@ patterns:
4747
severityLevel: Warning
4848
threshold: 8
4949
timeToFix: 5
50-
title: Medium Parameter count control
50+
title: Enforce Medium Parameter Count Limit

0 commit comments

Comments
 (0)