Skip to content

Commit

Permalink
Update description (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanvacareanu7 authored Feb 21, 2025
1 parent 2ae0c6b commit 76b3238
Showing 1 changed file with 1 addition and 28 deletions.
29 changes: 1 addition & 28 deletions docs/patterns.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
{
"name": "lizard",
"version": "1.17.10",
"version": "1.17.19",
"patterns": [
{
"patternId": "nloc-minor",
"level": "Info",
"category": "Complexity",
"title": "Minor NLOC control - Number of Lines of Code (without comments)",
"description": "Check the number of lines of code (without comments) in a function. If the threshold is not met, raise a Minor issue. The default threshold is 20.",
"timeToFix": 5,
"parameters": [
{
"name": "threshold",
@@ -21,9 +18,6 @@
"patternId": "nloc-medium",
"level": "Warning",
"category": "Complexity",
"title": "Medium NLOC control - Number of Lines of Code (without comments)",
"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.",
"timeToFix": 5,
"parameters": [
{
"name": "threshold",
@@ -36,9 +30,6 @@
"patternId": "nloc-critical",
"level": "Error",
"category": "Complexity",
"title": "Critical NLOC control - Number of Lines of Code (without comments)",
"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.",
"timeToFix": 5,
"parameters": [
{
"name": "threshold",
@@ -51,9 +42,6 @@
"patternId": "ccn-minor",
"level": "Info",
"category": "Complexity",
"title": "Minor Cyclomatic Complexity control",
"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 4.",
"timeToFix": 5,
"parameters": [
{
"name": "threshold",
@@ -66,9 +54,6 @@
"patternId": "ccn-medium",
"level": "Warning",
"category": "Complexity",
"title": "Medium Cyclomatic Complexity control",
"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 7.",
"timeToFix": 5,
"parameters": [
{
"name": "threshold",
@@ -81,9 +66,6 @@
"patternId": "ccn-critical",
"level": "Error",
"category": "Complexity",
"title": "Critical Cyclomatic Complexity control",
"description": "Check the Cyclomatic Complexity value of a function or logic block. If the threshold is not met, raise a Critical issue. The default threshold is 10.",
"timeToFix": 5,
"parameters": [
{
"name": "threshold",
@@ -96,9 +78,6 @@
"patternId": "parameter-count-minor",
"level": "Info",
"category": "Complexity",
"title": "Minor Parameter count control",
"description": "Check the number of parameters sent to a function. If the threshold is not met, raise a Minor issue. The default threshold is 3.",
"timeToFix": 5,
"parameters": [
{
"name": "threshold",
@@ -111,9 +90,6 @@
"patternId": "parameter-count-medium",
"level": "Warning",
"category": "Complexity",
"title": "Medium Parameter count control",
"description": "Check the number of parameters sent to a function. If the threshold is not met, raise a Medium issue. The default threshold is 5.",
"timeToFix": 5,
"parameters": [
{
"name": "threshold",
@@ -126,9 +102,6 @@
"patternId": "parameter-count-critical",
"level": "Error",
"category": "Complexity",
"title": "Critical Parameter count control",
"description": "Check the number of parameters sent to a function. If the threshold is not met, raise a Critical issue. The default threshold is 9.",
"timeToFix": 5,
"parameters": [
{
"name": "threshold",

0 comments on commit 76b3238

Please sign in to comment.