feat: deliver policy-driven Git Validator 2.0

This commit is contained in:
NuklearRabbit
2026-07-29 18:24:27 +02:00
parent 7b05c953b6
commit a0733875c4
18 changed files with 502 additions and 133 deletions
+62 -46
View File
@@ -1,5 +1,5 @@
{
"generatedAt": "2026-07-29T16:10:50.148Z",
"generatedAt": "2026-07-29T16:20:01.552Z",
"thresholds": {
"preferredMaximumLines": 750,
"justificationRequiredLines": 1000
@@ -7,6 +7,21 @@
"over750": [],
"over1000": [],
"cyclomaticHotspots": [
{
"file": "src/renderer/actions/shell.js",
"lines": 506,
"branches": 98,
"functions": 84,
"ipcHandlers": 0,
"responsibilities": [
"inventory",
"deployment",
"git",
"renderer",
"updates"
],
"hotspotScore": 128
},
{
"file": "src/main/server-inventory.cjs",
"lines": 578,
@@ -22,20 +37,6 @@
],
"hotspotScore": 119
},
{
"file": "src/renderer/actions/shell.js",
"lines": 481,
"branches": 89,
"functions": 81,
"ipcHandlers": 0,
"responsibilities": [
"inventory",
"deployment",
"git",
"renderer"
],
"hotspotScore": 109
},
{
"file": "src/main/git-service.cjs",
"lines": 632,
@@ -49,6 +50,21 @@
}
],
"mixedResponsibilityModules": [
{
"file": "src/renderer/actions/shell.js",
"lines": 506,
"branches": 98,
"functions": 84,
"ipcHandlers": 0,
"responsibilities": [
"inventory",
"deployment",
"git",
"renderer",
"updates"
],
"hotspotScore": 128
},
{
"file": "src/main/server-inventory.cjs",
"lines": 578,
@@ -66,7 +82,7 @@
},
{
"file": "src/renderer/app.js",
"lines": 669,
"lines": 667,
"branches": 74,
"functions": 110,
"ipcHandlers": 0,
@@ -80,20 +96,6 @@
],
"hotspotScore": 114
},
{
"file": "src/renderer/actions/shell.js",
"lines": 481,
"branches": 89,
"functions": 81,
"ipcHandlers": 0,
"responsibilities": [
"inventory",
"deployment",
"git",
"renderer"
],
"hotspotScore": 109
},
{
"file": "src/main/ipc.cjs",
"lines": 749,
@@ -128,8 +130,8 @@
},
{
"file": "src/renderer/views.js",
"lines": 695,
"branches": 52,
"lines": 693,
"branches": 53,
"functions": 138,
"ipcHandlers": 0,
"responsibilities": [
@@ -140,7 +142,7 @@
"security",
"updates"
],
"hotspotScore": 92
"hotspotScore": 93
},
{
"file": "src/renderer/actions/setup-and-settings.js",
@@ -203,7 +205,7 @@
},
{
"file": "main.cjs",
"lines": 442,
"lines": 443,
"branches": 33,
"functions": 53,
"ipcHandlers": 0,
@@ -236,9 +238,9 @@
},
{
"file": "src/main/config-store.cjs",
"lines": 615,
"lines": 652,
"branches": 47,
"functions": 82,
"functions": 86,
"ipcHandlers": 0,
"responsibilities": [
"inventory",
@@ -341,9 +343,9 @@
},
{
"file": "src/renderer/events.js",
"lines": 170,
"branches": 30,
"functions": 25,
"lines": 172,
"branches": 31,
"functions": 26,
"ipcHandlers": 0,
"responsibilities": [
"inventory",
@@ -352,6 +354,20 @@
"renderer",
"security"
],
"hotspotScore": 61
},
{
"file": "src/main/git-validator-service.cjs",
"lines": 588,
"branches": 40,
"functions": 74,
"ipcHandlers": 0,
"responsibilities": [
"deployment",
"git",
"security",
"updates"
],
"hotspotScore": 60
},
{
@@ -429,9 +445,9 @@
},
{
"file": "preload.cjs",
"lines": 158,
"lines": 162,
"branches": 2,
"functions": 119,
"functions": 123,
"ipcHandlers": 0,
"responsibilities": [
"inventory",
@@ -446,9 +462,9 @@
},
{
"file": "src/renderer/mock-deployment-bridge.js",
"lines": 661,
"lines": 678,
"branches": 11,
"functions": 83,
"functions": 87,
"ipcHandlers": 0,
"responsibilities": [
"inventory",
@@ -655,10 +671,10 @@
},
{
"file": "src/main/ipc/repository-handlers.cjs",
"lines": 390,
"lines": 411,
"branches": 16,
"functions": 75,
"ipcHandlers": 47,
"functions": 79,
"ipcHandlers": 51,
"responsibilities": [
"git",
"ipc"