From e42ffa00a34e0bf6bacc78f12ffe45e65d8f3306 Mon Sep 17 00:00:00 2001 From: krzywon Date: Thu, 16 Apr 2026 09:24:55 -0400 Subject: [PATCH 1/2] Correct the lines of code per file thresholds --- .codescene/code-health-rules.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.codescene/code-health-rules.json b/.codescene/code-health-rules.json index d48f4c320..11f678191 100644 --- a/.codescene/code-health-rules.json +++ b/.codescene/code-health-rules.json @@ -4,10 +4,10 @@ "name" : "constructor_max_arguments", "value" : "7" }, { - "name" : "file_lines_of_code_for_alert", + "name" : "file_lines_of_code_for_critical_alert", "value" : "5000" }, { - "name" : "file_lines_of_code_for_critical_alert", + "name" : "file_lines_of_code_for_alert", "value" : "2500" }, { "name" : "file_lines_of_code_for_warning", From c8ad56f97336cd957e3b999d1143b083b739f79e Mon Sep 17 00:00:00 2001 From: krzywon Date: Thu, 16 Apr 2026 09:25:25 -0400 Subject: [PATCH 2/2] Enable Bumpy Road, Brain Method, and Low Cohesion CodeScene PR checks --- .codescene/code-health-rules.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.codescene/code-health-rules.json b/.codescene/code-health-rules.json index 11f678191..3202c4606 100644 --- a/.codescene/code-health-rules.json +++ b/.codescene/code-health-rules.json @@ -51,10 +51,10 @@ "matching_content_path_doc" : "**/*", "rules" : [ { "name" : "Brain Method", - "weight" : 0.0 + "weight" : 0.5 }, { "name" : "Bumpy Road Ahead", - "weight" : 0.0 + "weight" : 0.5 }, { "name" : "Code Duplication", "weight" : 0.0 @@ -99,7 +99,7 @@ "weight" : 0.0 }, { "name" : "Low Cohesion", - "weight" : 0.0 + "weight" : 0.5 }, { "name" : "Missing Arguments Abstractions", "weight" : 0.0