pumuki-ast-hooks 5.3.3 → 5.3.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,16 +2,16 @@
2
2
  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
3
3
  AST INTELLIGENCE - VIOLATION REPORT
4
4
  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
5
- Generated: 2025-12-25T22:29:39.631Z
6
- Status: FAILED
7
- Blocked by: CRITICAL violations
5
+ Generated: 2025-12-29T15:38:11.133Z
6
+ Status: PASSED
7
+
8
8
 
9
9
  📊 SUMMARY:
10
- Total Violations: 556
11
- - 🚨 CRITICAL: 257
10
+ Total Violations: 546
11
+ - 🚨 CRITICAL: 0
12
12
  - ⚠️ HIGH: 0
13
- - ⚡ MEDIUM: 99
14
- - ℹ️ LOW: 200
13
+ - ⚡ MEDIUM: 0
14
+ - ℹ️ LOW: 546
15
15
 
16
16
 
17
17
  📊 IMPACT ANALYSIS:
@@ -24,1315 +24,27 @@ Blocked by: CRITICAL violations
24
24
  Risk Profile: MINIMAL_RISK
25
25
 
26
26
 
27
- 🚨 CRITICAL ISSUES (MUST FIX):
28
-
29
- 1. backend.antipattern.god_classes
30
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/CompositionRoot.js:9
31
- Score: 50/100
32
- God class detected: 8 methods, 0 properties, 78 lines, complexity 10, concerns 2 - VIOLATES SRP
33
-
34
- 2. backend.antipattern.god_classes
35
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/bin/install.js:16
36
- Score: 50/100
37
- God class detected: 24 methods, 0 properties, 957 lines, complexity 85, concerns 7 - VIOLATES SRP
38
-
39
- 3. backend.antipattern.god_classes
40
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/bin/setup-eslint.js:14
41
- Score: 50/100
42
- God class detected: 5 methods, 0 properties, 92 lines, complexity 5, concerns 3 - VIOLATES SRP
43
-
44
- 4. backend.antipattern.god_classes
45
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/bin/violations-api.js:6
46
- Score: 50/100
47
- God class detected: 10 methods, 0 properties, 141 lines, complexity 18, concerns 4 - VIOLATES SRP
48
-
49
- 5. backend.antipattern.god_classes
50
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/infrastructure/ast/backend/analyzers/BackendArchitectureDetector.js:12
51
- Score: 50/100
52
- God class detected: 4 methods, 0 properties, 127 lines, complexity 10, concerns 2 - VIOLATES SRP
53
-
54
- 6. backend.antipattern.god_classes
55
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/infrastructure/ast/backend/analyzers/BackendPatternDetector.js:4
56
- Score: 50/100
57
- God class detected: 1 methods, 0 properties, 16 lines, complexity 3, concerns 2 - VIOLATES SRP
58
-
59
- 7. backend.testing.mocks
60
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/__tests__/CompositionRoot.spec.js:1
61
- Score: 50/100
62
- Mock usage in tests - prefer spies over mocks when possible
63
-
64
- 8. backend.testing.mocks
65
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/__tests__/CompositionRoot.spec.js:2
66
- Score: 50/100
67
- Mock usage in tests - prefer spies over mocks when possible
68
-
69
- 9. backend.testing.mocks
70
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/__tests__/CompositionRoot.spec.js:3
71
- Score: 50/100
72
- Mock usage in tests - prefer spies over mocks when possible
73
-
74
- 10. backend.testing.mocks
75
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/__tests__/CompositionRoot.spec.js:4
76
- Score: 50/100
77
- Mock usage in tests - prefer spies over mocks when possible
78
-
79
- 11. backend.testing.mocks
80
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/__tests__/CompositionRoot.spec.js:5
81
- Score: 50/100
82
- Mock usage in tests - prefer spies over mocks when possible
83
-
84
- 12. backend.testing.mocks
85
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/__tests__/CompositionRoot.spec.js:6
86
- Score: 50/100
87
- Mock usage in tests - prefer spies over mocks when possible
88
-
89
- 13. backend.antipattern.god_classes
90
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/commands/index.js:3
91
- Score: 50/100
92
- God class detected: 0 methods, 0 properties, 5 lines, complexity 0, concerns 0 - VIOLATES SRP
93
-
94
- 14. backend.antipattern.god_classes
95
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/commands/index.js:10
96
- Score: 50/100
97
- God class detected: 0 methods, 0 properties, 5 lines, complexity 0, concerns 0 - VIOLATES SRP
98
-
99
- 15. backend.antipattern.god_classes
100
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/commands/index.js:17
101
- Score: 50/100
102
- God class detected: 0 methods, 0 properties, 5 lines, complexity 0, concerns 0 - VIOLATES SRP
103
-
104
- 16. backend.antipattern.god_classes
105
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/commands/index.js:24
106
- Score: 50/100
107
- God class detected: 0 methods, 0 properties, 5 lines, complexity 0, concerns 0 - VIOLATES SRP
108
-
109
- 17. backend.antipattern.god_classes
110
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/commands/index.js:31
111
- Score: 50/100
112
- God class detected: 0 methods, 0 properties, 5 lines, complexity 0, concerns 0 - VIOLATES SRP
113
-
114
- 18. backend.antipattern.god_classes
115
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/commands/index.js:38
116
- Score: 50/100
117
- God class detected: 2 methods, 0 properties, 16 lines, complexity 1, concerns 0 - VIOLATES SRP
118
-
119
- 19. backend.error.custom_exceptions
120
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/commands/index.js:50
121
- Score: 50/100
122
- Generic Error/Exception thrown - create custom exception classes for better error handling
123
-
124
- 20. backend.antipattern.god_classes
125
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/queries/index.js:1
126
- Score: 50/100
127
- God class detected: 0 methods, 0 properties, 4 lines, complexity 0, concerns 0 - VIOLATES SRP
128
-
129
- 21. backend.antipattern.god_classes
130
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/queries/index.js:7
131
- Score: 50/100
132
- God class detected: 0 methods, 0 properties, 5 lines, complexity 0, concerns 0 - VIOLATES SRP
133
-
134
- 22. backend.antipattern.god_classes
135
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/queries/index.js:14
136
- Score: 50/100
137
- God class detected: 0 methods, 0 properties, 4 lines, complexity 0, concerns 0 - VIOLATES SRP
138
-
139
- 23. backend.antipattern.god_classes
140
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/queries/index.js:20
141
- Score: 50/100
142
- God class detected: 0 methods, 0 properties, 5 lines, complexity 0, concerns 0 - VIOLATES SRP
143
-
144
- 24. backend.antipattern.god_classes
145
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/queries/index.js:27
146
- Score: 50/100
147
- God class detected: 0 methods, 0 properties, 4 lines, complexity 0, concerns 0 - VIOLATES SRP
148
-
149
- 25. backend.antipattern.god_classes
150
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/queries/index.js:33
151
- Score: 50/100
152
- God class detected: 2 methods, 0 properties, 16 lines, complexity 1, concerns 0 - VIOLATES SRP
153
-
154
- 26. backend.error.custom_exceptions
155
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/queries/index.js:45
156
- Score: 50/100
157
- Generic Error/Exception thrown - create custom exception classes for better error handling
158
-
159
- 27. backend.antipattern.god_classes
160
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/services/AutonomousOrchestrator.js:5
161
- Score: 50/100
162
- God class detected: 14 methods, 0 properties, 355 lines, complexity 48, concerns 3 - VIOLATES SRP
163
-
164
- 28. backend.security.missing_audit_logging
165
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/services/AutonomousOrchestrator.js:1
166
- Score: 50/100
167
- Audit logging not detected - add structured audit logs
168
-
169
- 29. backend.antipattern.god_classes
170
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/services/ContextDetectionEngine.js:6
171
- Score: 50/100
172
- God class detected: 11 methods, 0 properties, 183 lines, complexity 24, concerns 3 - VIOLATES SRP
173
-
174
- 30. backend.security.missing_audit_logging
175
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/services/ContextDetectionEngine.js:1
176
- Score: 50/100
177
- Audit logging not detected - add structured audit logs
178
-
179
- 31. backend.antipattern.god_classes
180
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/services/DynamicRulesLoader.js:4
181
- Score: 50/100
182
- God class detected: 7 methods, 0 properties, 174 lines, complexity 17, concerns 2 - VIOLATES SRP
183
-
184
- 32. backend.security.missing_audit_logging
185
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/services/DynamicRulesLoader.js:1
186
- Score: 50/100
187
- Audit logging not detected - add structured audit logs
188
-
189
- 33. backend.security.missing_audit_logging
190
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/services/GitTreeState.js:1
191
- Score: 50/100
192
- Audit logging not detected - add structured audit logs
193
-
194
- 34. backend.antipattern.god_classes
195
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/services/HookSystemScheduler.js:4
196
- Score: 50/100
197
- God class detected: 4 methods, 0 properties, 71 lines, complexity 9, concerns 1 - VIOLATES SRP
198
-
199
- 35. backend.security.missing_audit_logging
200
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/services/HookSystemScheduler.js:1
201
- Score: 50/100
202
- Audit logging not detected - add structured audit logs
203
-
204
- 36. backend.antipattern.god_classes
205
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/services/IntelligentCommitAnalyzer.js:5
206
- Score: 50/100
207
- God class detected: 11 methods, 0 properties, 219 lines, complexity 33, concerns 0 - VIOLATES SRP
208
-
209
- 37. backend.security.missing_audit_logging
210
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/services/IntelligentCommitAnalyzer.js:1
211
- Score: 50/100
212
- Audit logging not detected - add structured audit logs
213
-
214
- 38. backend.antipattern.god_classes
215
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/services/IntelligentGitTreeMonitor.js:4
216
- Score: 50/100
217
- God class detected: 2 methods, 0 properties, 112 lines, complexity 6, concerns 3 - VIOLATES SRP
218
-
219
- 39. backend.security.missing_audit_logging
220
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/services/IntelligentGitTreeMonitor.js:1
221
- Score: 50/100
222
- Audit logging not detected - add structured audit logs
223
-
224
- 40. backend.antipattern.god_classes
225
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/services/PlatformDetectionService.js:5
226
- Score: 50/100
227
- God class detected: 7 methods, 0 properties, 161 lines, complexity 28, concerns 2 - VIOLATES SRP
228
-
229
- 41. backend.security.missing_audit_logging
230
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/services/PlatformDetectionService.js:2
231
- Score: 50/100
232
- Audit logging not detected - add structured audit logs
233
-
234
- 42. backend.antipattern.god_classes
235
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/services/PlaybookRunner.js:7
236
- Score: 50/100
237
- God class detected: 2 methods, 0 properties, 29 lines, complexity 4, concerns 2 - VIOLATES SRP
238
-
239
- 43. backend.error.custom_exceptions
240
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/services/PlaybookRunner.js:20
241
- Score: 50/100
242
- Generic Error/Exception thrown - create custom exception classes for better error handling
243
-
244
- 44. backend.error.custom_exceptions
245
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/services/PlaybookRunner.js:31
246
- Score: 50/100
247
- Generic Error/Exception thrown - create custom exception classes for better error handling
248
-
249
- 45. backend.security.missing_audit_logging
250
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/services/PlaybookRunner.js:1
251
- Score: 50/100
252
- Audit logging not detected - add structured audit logs
253
-
254
- 46. backend.antipattern.god_classes
255
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/services/PredictiveHookAdvisor.js:6
256
- Score: 50/100
257
- God class detected: 3 methods, 0 properties, 48 lines, complexity 7, concerns 1 - VIOLATES SRP
258
-
259
- 47. backend.antipattern.god_classes
260
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/services/RealtimeGuardPlugin.js:3
261
- Score: 50/100
262
- God class detected: 3 methods, 0 properties, 57 lines, complexity 6, concerns 1 - VIOLATES SRP
263
-
264
- 48. backend.security.missing_audit_logging
265
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/services/RealtimeGuardPlugin.js:1
266
- Score: 50/100
267
- Audit logging not detected - add structured audit logs
268
-
269
- 49. backend.antipattern.god_classes
270
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/services/RealtimeGuardService.js:28
271
- Score: 50/100
272
- God class detected: 47 methods, 0 properties, 1621 lines, complexity 231, concerns 7 - VIOLATES SRP
273
-
274
- 50. backend.antipattern.god_classes
275
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/services/SmartDirtyTreeAnalyzer.js:3
276
- Score: 50/100
277
- God class detected: 11 methods, 0 properties, 291 lines, complexity 35, concerns 2 - VIOLATES SRP
278
-
279
- 51. backend.security.missing_audit_logging
280
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/services/SmartDirtyTreeAnalyzer.js:1
281
- Score: 50/100
282
- Audit logging not detected - add structured audit logs
283
-
284
- 52. backend.antipattern.god_classes
285
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/state/HookSystemStateMachine.js:8
286
- Score: 50/100
287
- God class detected: 5 methods, 0 properties, 48 lines, complexity 6, concerns 2 - VIOLATES SRP
288
-
289
- 53. backend.error.custom_exceptions
290
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/state/HookSystemStateMachine.js:49
291
- Score: 50/100
292
- Generic Error/Exception thrown - create custom exception classes for better error handling
293
-
294
- 54. backend.antipattern.god_classes
295
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/use-cases/AnalyzeCodebaseUseCase.js:3
296
- Score: 50/100
297
- God class detected: 2 methods, 0 properties, 49 lines, complexity 6, concerns 1 - VIOLATES SRP
298
-
299
- 55. backend.antipattern.god_classes
300
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/use-cases/AnalyzeStagedFilesUseCase.js:4
301
- Score: 50/100
302
- God class detected: 2 methods, 0 properties, 86 lines, complexity 15, concerns 0 - VIOLATES SRP
303
-
304
- 56. backend.antipattern.god_classes
305
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/use-cases/AutoExecuteAIStartUseCase.js:21
306
- Score: 50/100
307
- God class detected: 2 methods, 0 properties, 92 lines, complexity 9, concerns 2 - VIOLATES SRP
308
-
309
- 57. backend.error.custom_exceptions
310
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/use-cases/AutoExecuteAIStartUseCase.js:67
311
- Score: 50/100
312
- Generic Error/Exception thrown - create custom exception classes for better error handling
313
-
314
- 58. backend.error.custom_exceptions
315
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/use-cases/AutoExecuteAIStartUseCase.js:71
316
- Score: 50/100
317
- Generic Error/Exception thrown - create custom exception classes for better error handling
318
-
319
- 59. backend.security.missing_audit_logging
320
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/use-cases/AutoExecuteAIStartUseCase.js:1
321
- Score: 50/100
322
- Audit logging not detected - add structured audit logs
323
-
324
- 60. backend.antipattern.god_classes
325
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/use-cases/BlockCommitUseCase.js:4
326
- Score: 50/100
327
- God class detected: 2 methods, 0 properties, 84 lines, complexity 9, concerns 1 - VIOLATES SRP
328
-
329
- 61. backend.antipattern.god_classes
330
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/use-cases/GenerateAuditReportUseCase.js:2
331
- Score: 50/100
332
- God class detected: 6 methods, 0 properties, 160 lines, complexity 11, concerns 1 - VIOLATES SRP
333
-
334
- 62. backend.testing.mocks
335
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/bin/__tests__/auto-fix-violations.spec.js:5
336
- Score: 50/100
337
- Mock usage in tests - prefer spies over mocks when possible
338
-
339
- 63. backend.testing.mocks
340
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/bin/__tests__/auto-fix-violations.spec.js:6
341
- Score: 50/100
342
- Mock usage in tests - prefer spies over mocks when possible
343
-
344
- 64. backend.error.custom_exceptions
345
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/bin/__tests__/check-version.spec.js:72
346
- Score: 50/100
347
- Generic Error/Exception thrown - create custom exception classes for better error handling
348
-
349
- 65. backend.error.custom_exceptions
350
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/bin/__tests__/check-version.spec.js:108
351
- Score: 50/100
352
- Generic Error/Exception thrown - create custom exception classes for better error handling
353
-
354
- 66. backend.error.custom_exceptions
355
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/bin/__tests__/check-version.spec.js:117
356
- Score: 50/100
357
- Generic Error/Exception thrown - create custom exception classes for better error handling
358
-
359
- 67. backend.error.custom_exceptions
360
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/bin/__tests__/check-version.spec.js:182
361
- Score: 50/100
362
- Generic Error/Exception thrown - create custom exception classes for better error handling
363
-
364
- 68. backend.error.custom_exceptions
365
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/bin/__tests__/check-version.spec.js:198
366
- Score: 50/100
367
- Generic Error/Exception thrown - create custom exception classes for better error handling
368
-
369
- 69. backend.error.custom_exceptions
370
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/bin/__tests__/check-version.spec.js:210
371
- Score: 50/100
372
- Generic Error/Exception thrown - create custom exception classes for better error handling
373
-
374
- 70. backend.error.custom_exceptions
375
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/bin/__tests__/check-version.spec.js:231
376
- Score: 50/100
377
- Generic Error/Exception thrown - create custom exception classes for better error handling
378
-
379
- 71. backend.testing.mocks
380
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/bin/__tests__/check-version.spec.js:5
381
- Score: 50/100
382
- Mock usage in tests - prefer spies over mocks when possible
383
-
384
- 72. backend.testing.mocks
385
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/bin/__tests__/check-version.spec.js:6
386
- Score: 50/100
387
- Mock usage in tests - prefer spies over mocks when possible
388
-
389
- 73. backend.antipattern.god_classes
390
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/domain/entities/AuditResult.js:4
391
- Score: 50/100
392
- God class detected: 18 methods, 0 properties, 199 lines, complexity 6, concerns 0 - VIOLATES SRP
393
-
394
- 74. backend.error.custom_exceptions
395
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/domain/entities/AuditResult.js:17
396
- Score: 50/100
397
- Generic Error/Exception thrown - create custom exception classes for better error handling
398
-
399
- 75. backend.antipattern.god_classes
400
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/domain/entities/Finding.js:2
401
- Score: 50/100
402
- God class detected: 15 methods, 0 properties, 140 lines, complexity 8, concerns 1 - VIOLATES SRP
403
-
404
- 76. backend.error.custom_exceptions
405
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/domain/entities/Finding.js:18
406
- Score: 50/100
407
- Generic Error/Exception thrown - create custom exception classes for better error handling
408
-
409
- 77. backend.error.custom_exceptions
410
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/domain/entities/Finding.js:23
411
- Score: 50/100
412
- Generic Error/Exception thrown - create custom exception classes for better error handling
413
-
414
- 78. backend.error.custom_exceptions
415
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/domain/entities/Finding.js:27
416
- Score: 50/100
417
- Generic Error/Exception thrown - create custom exception classes for better error handling
418
-
419
- 79. backend.error.custom_exceptions
420
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/domain/entities/Finding.js:30
421
- Score: 50/100
422
- Generic Error/Exception thrown - create custom exception classes for better error handling
423
-
424
- 80. backend.antipattern.god_classes
425
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/domain/entities/SeverityConfig.js:36
426
- Score: 50/100
427
- God class detected: 6 methods, 0 properties, 29 lines, complexity 0, concerns 0 - VIOLATES SRP
428
-
429
- 81. backend.antipattern.god_classes
430
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/domain/entities/SeverityConfig.ts:51
431
- Score: 50/100
432
- God class detected: 8 methods, 0 properties, 37 lines, complexity 0, concerns 0 - VIOLATES SRP
433
-
434
- 82. backend.antipattern.god_classes
435
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/domain/events/index.js:1
436
- Score: 50/100
437
- God class detected: 0 methods, 0 properties, 7 lines, complexity 0, concerns 0 - VIOLATES SRP
438
-
439
- 83. backend.antipattern.god_classes
440
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/domain/events/index.js:10
441
- Score: 50/100
442
- God class detected: 0 methods, 0 properties, 4 lines, complexity 0, concerns 0 - VIOLATES SRP
443
-
444
- 84. backend.antipattern.god_classes
445
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/domain/events/index.js:16
446
- Score: 50/100
447
- God class detected: 0 methods, 0 properties, 4 lines, complexity 0, concerns 0 - VIOLATES SRP
448
-
449
- 85. backend.antipattern.god_classes
450
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/domain/events/index.js:22
451
- Score: 50/100
452
- God class detected: 0 methods, 0 properties, 4 lines, complexity 0, concerns 0 - VIOLATES SRP
453
-
454
- 86. backend.antipattern.god_classes
455
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/domain/events/index.js:28
456
- Score: 50/100
457
- God class detected: 0 methods, 0 properties, 4 lines, complexity 0, concerns 0 - VIOLATES SRP
458
-
459
- 87. backend.antipattern.god_classes
460
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/domain/events/index.js:34
461
- Score: 50/100
462
- God class detected: 0 methods, 0 properties, 4 lines, complexity 0, concerns 0 - VIOLATES SRP
463
-
464
- 88. backend.antipattern.god_classes
465
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/domain/events/index.js:40
466
- Score: 50/100
467
- God class detected: 4 methods, 0 properties, 33 lines, complexity 3, concerns 0 - VIOLATES SRP
468
-
469
- 89. backend.antipattern.god_classes
470
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/domain/ports/IAstPort.js:7
471
- Score: 50/100
472
- God class detected: 6 methods, 0 properties, 56 lines, complexity 0, concerns 0 - VIOLATES SRP
473
-
474
- 90. backend.error.custom_exceptions
475
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/domain/ports/IAstPort.js:15
476
- Score: 50/100
477
- Generic Error/Exception thrown - create custom exception classes for better error handling
478
-
479
- 91. backend.error.custom_exceptions
480
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/domain/ports/IAstPort.js:25
481
- Score: 50/100
482
- Generic Error/Exception thrown - create custom exception classes for better error handling
483
-
484
- 92. backend.error.custom_exceptions
485
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/domain/ports/IAstPort.js:34
486
- Score: 50/100
487
- Generic Error/Exception thrown - create custom exception classes for better error handling
488
-
489
- 93. backend.error.custom_exceptions
490
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/domain/ports/IAstPort.js:43
491
- Score: 50/100
492
- Generic Error/Exception thrown - create custom exception classes for better error handling
493
-
494
- 94. backend.error.custom_exceptions
495
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/domain/ports/IAstPort.js:52
496
- Score: 50/100
497
- Generic Error/Exception thrown - create custom exception classes for better error handling
498
-
499
- 95. backend.error.custom_exceptions
500
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/domain/ports/IAstPort.js:61
501
- Score: 50/100
502
- Generic Error/Exception thrown - create custom exception classes for better error handling
503
-
504
- 96. backend.antipattern.god_classes
505
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/domain/ports/IEvidencePort.js:7
506
- Score: 50/100
507
- God class detected: 9 methods, 0 properties, 75 lines, complexity 0, concerns 0 - VIOLATES SRP
508
-
509
- 97. backend.error.custom_exceptions
510
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/domain/ports/IEvidencePort.js:13
511
- Score: 50/100
512
- Generic Error/Exception thrown - create custom exception classes for better error handling
513
-
514
- 98. backend.error.custom_exceptions
515
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/domain/ports/IEvidencePort.js:22
516
- Score: 50/100
517
- Generic Error/Exception thrown - create custom exception classes for better error handling
518
-
519
- 99. backend.error.custom_exceptions
520
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/domain/ports/IEvidencePort.js:30
521
- Score: 50/100
522
- Generic Error/Exception thrown - create custom exception classes for better error handling
523
-
524
- 100. backend.error.custom_exceptions
525
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/domain/ports/IEvidencePort.js:38
526
- Score: 50/100
527
- Generic Error/Exception thrown - create custom exception classes for better error handling
528
-
529
- 101. backend.error.custom_exceptions
530
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/domain/ports/IEvidencePort.js:47
531
- Score: 50/100
532
- Generic Error/Exception thrown - create custom exception classes for better error handling
533
-
534
- 102. backend.error.custom_exceptions
535
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/domain/ports/IEvidencePort.js:56
536
- Score: 50/100
537
- Generic Error/Exception thrown - create custom exception classes for better error handling
538
-
539
- 103. backend.error.custom_exceptions
540
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/domain/ports/IEvidencePort.js:64
541
- Score: 50/100
542
- Generic Error/Exception thrown - create custom exception classes for better error handling
543
-
544
- 104. backend.error.custom_exceptions
545
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/domain/ports/IEvidencePort.js:72
546
- Score: 50/100
547
- Generic Error/Exception thrown - create custom exception classes for better error handling
548
-
549
- 105. backend.error.custom_exceptions
550
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/domain/ports/IEvidencePort.js:80
551
- Score: 50/100
552
- Generic Error/Exception thrown - create custom exception classes for better error handling
553
-
554
- 106. backend.antipattern.god_classes
555
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/domain/ports/IGitPort.js:7
556
- Score: 50/100
557
- God class detected: 9 methods, 0 properties, 78 lines, complexity 0, concerns 1 - VIOLATES SRP
558
-
559
- 107. backend.error.custom_exceptions
560
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/domain/ports/IGitPort.js:13
561
- Score: 50/100
562
- Generic Error/Exception thrown - create custom exception classes for better error handling
563
-
564
- 108. backend.error.custom_exceptions
565
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/domain/ports/IGitPort.js:21
566
- Score: 50/100
567
- Generic Error/Exception thrown - create custom exception classes for better error handling
568
-
569
- 109. backend.error.custom_exceptions
570
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/domain/ports/IGitPort.js:29
571
- Score: 50/100
572
- Generic Error/Exception thrown - create custom exception classes for better error handling
573
-
574
- 110. backend.error.custom_exceptions
575
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/domain/ports/IGitPort.js:37
576
- Score: 50/100
577
- Generic Error/Exception thrown - create custom exception classes for better error handling
578
-
579
- 111. backend.error.custom_exceptions
580
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/domain/ports/IGitPort.js:46
581
- Score: 50/100
582
- Generic Error/Exception thrown - create custom exception classes for better error handling
583
-
584
- 112. backend.error.custom_exceptions
585
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/domain/ports/IGitPort.js:55
586
- Score: 50/100
587
- Generic Error/Exception thrown - create custom exception classes for better error handling
588
-
589
- 113. backend.error.custom_exceptions
590
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/domain/ports/IGitPort.js:64
591
- Score: 50/100
592
- Generic Error/Exception thrown - create custom exception classes for better error handling
593
-
594
- 114. backend.error.custom_exceptions
595
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/domain/ports/IGitPort.js:73
596
- Score: 50/100
597
- Generic Error/Exception thrown - create custom exception classes for better error handling
598
-
599
- 115. backend.error.custom_exceptions
600
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/domain/ports/IGitPort.js:83
601
- Score: 50/100
602
- Generic Error/Exception thrown - create custom exception classes for better error handling
603
-
604
- 116. backend.antipattern.god_classes
605
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/domain/ports/INotificationPort.js:9
606
- Score: 50/100
607
- God class detected: 2 methods, 0 properties, 22 lines, complexity 0, concerns 1 - VIOLATES SRP
608
-
609
- 117. backend.error.custom_exceptions
610
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/domain/ports/INotificationPort.js:21
611
- Score: 50/100
612
- Generic Error/Exception thrown - create custom exception classes for better error handling
613
-
614
- 118. backend.error.custom_exceptions
615
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/domain/ports/INotificationPort.js:29
616
- Score: 50/100
617
- Generic Error/Exception thrown - create custom exception classes for better error handling
618
-
619
- 119. backend.antipattern.god_classes
620
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/domain/repositories/IFindingsRepository.js:2
621
- Score: 50/100
622
- God class detected: 6 methods, 0 properties, 24 lines, complexity 0, concerns 1 - VIOLATES SRP
623
-
624
- 120. backend.error.custom_exceptions
625
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/domain/repositories/IFindingsRepository.js:4
626
- Score: 50/100
627
- Generic Error/Exception thrown - create custom exception classes for better error handling
628
-
629
- 121. backend.error.custom_exceptions
630
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/domain/repositories/IFindingsRepository.js:8
631
- Score: 50/100
632
- Generic Error/Exception thrown - create custom exception classes for better error handling
633
-
634
- 122. backend.error.custom_exceptions
635
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/domain/repositories/IFindingsRepository.js:12
636
- Score: 50/100
637
- Generic Error/Exception thrown - create custom exception classes for better error handling
638
-
639
- 123. backend.error.custom_exceptions
640
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/domain/repositories/IFindingsRepository.js:16
641
- Score: 50/100
642
- Generic Error/Exception thrown - create custom exception classes for better error handling
643
-
644
- 124. backend.error.custom_exceptions
645
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/domain/repositories/IFindingsRepository.js:20
646
- Score: 50/100
647
- Generic Error/Exception thrown - create custom exception classes for better error handling
648
-
649
- 125. backend.error.custom_exceptions
650
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/domain/repositories/IFindingsRepository.js:24
651
- Score: 50/100
652
- Generic Error/Exception thrown - create custom exception classes for better error handling
653
-
654
- 126. backend.antipattern.god_classes
655
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/domain/rules/CommitBlockingRules.js:2
656
- Score: 50/100
657
- God class detected: 7 methods, 0 properties, 138 lines, complexity 8, concerns 0 - VIOLATES SRP
658
-
659
- 127. backend.antipattern.god_classes
660
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/infrastructure/adapters/AstAnalyzerAdapter.js:10
661
- Score: 50/100
662
- God class detected: 7 methods, 0 properties, 138 lines, complexity 12, concerns 2 - VIOLATES SRP
663
-
664
- 128. backend.antipattern.god_classes
665
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/infrastructure/adapters/FileEvidenceAdapter.js:26
666
- Score: 50/100
667
- God class detected: 12 methods, 0 properties, 111 lines, complexity 12, concerns 3 - VIOLATES SRP
668
-
669
- 129. backend.error.custom_exceptions
670
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/infrastructure/adapters/FileEvidenceAdapter.js:87
671
- Score: 50/100
672
- Generic Error/Exception thrown - create custom exception classes for better error handling
673
-
674
- 130. backend.antipattern.god_classes
675
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/infrastructure/adapters/GitCliAdapter.js:8
676
- Score: 50/100
677
- God class detected: 17 methods, 0 properties, 103 lines, complexity 5, concerns 3 - VIOLATES SRP
678
-
679
- 131. backend.antipattern.god_classes
680
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/infrastructure/adapters/LegacyAnalyzerAdapter.js:5
681
- Score: 50/100
682
- God class detected: 3 methods, 0 properties, 54 lines, complexity 6, concerns 0 - VIOLATES SRP
683
-
684
- 132. backend.antipattern.god_classes
685
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/infrastructure/adapters/MacOSNotificationAdapter.js:4
686
- Score: 50/100
687
- God class detected: 5 methods, 0 properties, 93 lines, complexity 7, concerns 3 - VIOLATES SRP
688
-
689
- 133. backend.antipattern.god_classes
690
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/infrastructure/cache/CacheService.ts:31
691
- Score: 50/100
692
- God class detected: 11 methods, 3 properties, 115 lines, complexity 11, concerns 0 - VIOLATES SRP
693
-
694
- 134. backend.security.missing_audit_logging
695
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/infrastructure/cache/CacheService.ts:6
696
- Score: 50/100
697
- Audit logging not detected - add structured audit logs
698
-
699
- 135. backend.antipattern.god_classes
700
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/infrastructure/core/GitOperations.js:3
701
- Score: 50/100
702
- God class detected: 5 methods, 0 properties, 45 lines, complexity 10, concerns 3 - VIOLATES SRP
703
-
704
- 136. backend.antipattern.god_classes
705
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/infrastructure/core/GitOperations.ts:7
706
- Score: 50/100
707
- God class detected: 7 methods, 0 properties, 103 lines, complexity 14, concerns 4 - VIOLATES SRP
708
-
709
- 137. backend.antipattern.god_classes
710
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/infrastructure/events/EventListeners.js:5
711
- Score: 50/100
712
- God class detected: 10 methods, 0 properties, 139 lines, complexity 14, concerns 4 - VIOLATES SRP
713
-
714
- 138. backend.antipattern.god_classes
715
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/infrastructure/external-tools/GitOperations.js:6
716
- Score: 50/100
717
- God class detected: 4 methods, 0 properties, 46 lines, complexity 9, concerns 1 - VIOLATES SRP
718
-
719
- 139. backend.antipattern.god_classes
720
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/infrastructure/mcp/evidence-watcher.js:96
721
- Score: 50/100
722
- God class detected: 2 methods, 0 properties, 182 lines, complexity 14, concerns 1 - VIOLATES SRP
723
-
724
- 140. backend.antipattern.god_classes
725
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/infrastructure/reporting/report-generator.js:5
726
- Score: 50/100
727
- God class detected: 20 methods, 0 properties, 401 lines, complexity 29, concerns 2 - VIOLATES SRP
728
-
729
- 141. backend.antipattern.god_classes
730
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/infrastructure/reporting/severity-tracker.js:5
731
- Score: 50/100
732
- God class detected: 6 methods, 0 properties, 98 lines, complexity 10, concerns 4 - VIOLATES SRP
733
-
734
- 142. backend.antipattern.god_classes
735
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/infrastructure/repositories/FileFindingsRepository.js:8
736
- Score: 50/100
737
- God class detected: 7 methods, 0 properties, 78 lines, complexity 14, concerns 3 - VIOLATES SRP
738
-
739
- 143. backend.antipattern.god_classes
740
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/infrastructure/severity/severity-evaluator.js:13
741
- Score: 50/100
742
- God class detected: 9 methods, 0 properties, 268 lines, complexity 30, concerns 2 - VIOLATES SRP
743
-
744
- 144. backend.antipattern.god_classes
745
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/infrastructure/telemetry/TelemetryService.js:4
746
- Score: 50/100
747
- God class detected: 7 methods, 0 properties, 159 lines, complexity 13, concerns 3 - VIOLATES SRP
748
-
749
- 145. backend.antipattern.god_classes
750
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/infrastructure/utils/token-manager.js:5
751
- Score: 50/100
752
- God class detected: 6 methods, 0 properties, 114 lines, complexity 6, concerns 3 - VIOLATES SRP
753
-
754
- 146. backend.testing.mocks
755
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/infrastructure/ast/backend/analyzers/__tests__/BackendArchitectureDetector.spec.js:5
756
- Score: 50/100
757
- Mock usage in tests - prefer spies over mocks when possible
758
-
759
- 147. backend.testing.mocks
760
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/infrastructure/ast/backend/analyzers/__tests__/BackendArchitectureDetector.spec.js:6
761
- Score: 50/100
762
- Mock usage in tests - prefer spies over mocks when possible
763
-
764
- 148. backend.testing.mocks
765
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/infrastructure/ast/backend/analyzers/__tests__/BackendArchitectureDetector.spec.js:8
766
- Score: 50/100
767
- Mock usage in tests - prefer spies over mocks when possible
768
-
769
- 149. backend.testing.mocks
770
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/infrastructure/ast/backend/analyzers/__tests__/BackendArchitectureDetector.spec.js:11
771
- Score: 50/100
772
- Mock usage in tests - prefer spies over mocks when possible
773
-
774
- 150. backend.testing.mocks
775
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/infrastructure/ast/backend/analyzers/__tests__/BackendArchitectureDetector.spec.js:14
776
- Score: 50/100
777
- Mock usage in tests - prefer spies over mocks when possible
778
-
779
- 151. backend.testing.mocks
780
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/infrastructure/ast/backend/analyzers/__tests__/BackendArchitectureDetector.spec.js:17
781
- Score: 50/100
782
- Mock usage in tests - prefer spies over mocks when possible
783
-
784
- 152. backend.testing.mocks
785
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/infrastructure/ast/backend/analyzers/__tests__/BackendArchitectureDetector.spec.js:20
786
- Score: 50/100
787
- Mock usage in tests - prefer spies over mocks when possible
788
-
789
- 153. backend.testing.mocks
790
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/infrastructure/ast/backend/analyzers/__tests__/BackendArchitectureDetector.spec.js:23
791
- Score: 50/100
792
- Mock usage in tests - prefer spies over mocks when possible
793
-
794
- 154. backend.error.custom_exceptions
795
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/infrastructure/ast/backend/analyzers/__tests__/BackendPatternDetector.spec.js:40
796
- Score: 50/100
797
- Generic Error/Exception thrown - create custom exception classes for better error handling
798
-
799
- 155. backend.error.custom_exceptions
800
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/infrastructure/ast/backend/analyzers/__tests__/BackendPatternDetector.spec.js:50
801
- Score: 50/100
802
- Generic Error/Exception thrown - create custom exception classes for better error handling
803
-
804
- 156. backend.testing.mocks
805
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/infrastructure/ast/backend/analyzers/__tests__/BackendPatternDetector.spec.js:5
806
- Score: 50/100
807
- Mock usage in tests - prefer spies over mocks when possible
808
-
809
- 157. backend.antipattern.god_classes
810
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/infrastructure/ast/backend/analyzers/detectors/CleanArchitectureDetector.js:3
811
- Score: 50/100
812
- God class detected: 1 methods, 0 properties, 46 lines, complexity 6, concerns 1 - VIOLATES SRP
813
-
814
- 158. backend.antipattern.god_classes
815
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/infrastructure/ast/backend/analyzers/detectors/CQRSDetector.js:3
816
- Score: 50/100
817
- God class detected: 1 methods, 0 properties, 35 lines, complexity 2, concerns 0 - VIOLATES SRP
818
-
819
- 159. backend.antipattern.god_classes
820
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/infrastructure/ast/backend/analyzers/detectors/FeatureFirstCleanDetector.js:3
821
- Score: 50/100
822
- God class detected: 1 methods, 0 properties, 68 lines, complexity 9, concerns 1 - VIOLATES SRP
823
-
824
- 160. backend.antipattern.god_classes
825
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/infrastructure/ast/backend/analyzers/detectors/LayeredArchitectureDetector.js:3
826
- Score: 50/100
827
- God class detected: 1 methods, 0 properties, 19 lines, complexity 2, concerns 1 - VIOLATES SRP
828
-
829
- 161. backend.antipattern.god_classes
830
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/infrastructure/ast/backend/analyzers/detectors/MVCDetector.js:3
831
- Score: 50/100
832
- God class detected: 1 methods, 0 properties, 26 lines, complexity 4, concerns 1 - VIOLATES SRP
833
-
834
- 162. backend.antipattern.god_classes
835
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/infrastructure/ast/backend/analyzers/detectors/OnionArchitectureDetector.js:3
836
- Score: 50/100
837
- God class detected: 1 methods, 0 properties, 26 lines, complexity 3, concerns 0 - VIOLATES SRP
838
-
839
- 163. backend.security.missing_audit_logging
840
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/services/__tests__/AutonomousOrchestrator.spec.js:1
841
- Score: 50/100
842
- Audit logging not detected - add structured audit logs
843
-
844
- 164. backend.security.missing_audit_logging
845
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/services/__tests__/ContextDetectionEngine.spec.js:1
846
- Score: 50/100
847
- Audit logging not detected - add structured audit logs
848
-
849
- 165. backend.security.missing_audit_logging
850
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/services/__tests__/DynamicRulesLoader.spec.js:1
851
- Score: 50/100
852
- Audit logging not detected - add structured audit logs
853
-
854
- 166. backend.error.custom_exceptions
855
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/services/__tests__/GitTreeState.spec.js:85
856
- Score: 50/100
857
- Generic Error/Exception thrown - create custom exception classes for better error handling
858
-
859
- 167. backend.security.missing_audit_logging
860
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/services/__tests__/GitTreeState.spec.js:1
861
- Score: 50/100
862
- Audit logging not detected - add structured audit logs
863
-
864
- 168. backend.testing.mocks
865
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/services/__tests__/GitTreeState.spec.js:4
866
- Score: 50/100
867
- Mock usage in tests - prefer spies over mocks when possible
868
-
869
- 169. backend.security.missing_audit_logging
870
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/services/__tests__/HookSystemScheduler.spec.js:1
871
- Score: 50/100
872
- Audit logging not detected - add structured audit logs
873
-
874
- 170. backend.testing.mocks
875
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/services/__tests__/HookSystemScheduler.spec.js:5
876
- Score: 50/100
877
- Mock usage in tests - prefer spies over mocks when possible
878
-
879
- 171. backend.testing.mocks
880
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/services/__tests__/HookSystemScheduler.spec.js:6
881
- Score: 50/100
882
- Mock usage in tests - prefer spies over mocks when possible
883
-
884
- 172. backend.security.missing_audit_logging
885
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/services/__tests__/IntelligentGitTreeMonitor.spec.js:1
886
- Score: 50/100
887
- Audit logging not detected - add structured audit logs
888
-
889
- 173. backend.testing.mocks
890
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/services/__tests__/IntelligentGitTreeMonitor.spec.js:5
891
- Score: 50/100
892
- Mock usage in tests - prefer spies over mocks when possible
893
-
894
- 174. backend.testing.mocks
895
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/services/__tests__/IntelligentGitTreeMonitor.spec.js:6
896
- Score: 50/100
897
- Mock usage in tests - prefer spies over mocks when possible
898
-
899
- 175. backend.security.missing_audit_logging
900
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/services/__tests__/PlatformDetectionService.spec.js:1
901
- Score: 50/100
902
- Audit logging not detected - add structured audit logs
903
-
904
- 176. backend.security.missing_audit_logging
905
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/services/__tests__/PlaybookRunner.spec.js:1
906
- Score: 50/100
907
- Audit logging not detected - add structured audit logs
908
-
909
- 177. backend.testing.mocks
910
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/services/__tests__/PlaybookRunner.spec.js:6
911
- Score: 50/100
912
- Mock usage in tests - prefer spies over mocks when possible
913
-
914
- 178. backend.security.missing_audit_logging
915
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/services/__tests__/RealtimeGuardPlugin.spec.js:1
916
- Score: 50/100
917
- Audit logging not detected - add structured audit logs
918
-
919
- 179. backend.error.custom_exceptions
920
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/services/__tests__/RealtimeGuardService.critical.spec.js:227
921
- Score: 50/100
922
- Generic Error/Exception thrown - create custom exception classes for better error handling
923
-
924
- 180. backend.security.missing_audit_logging
925
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/services/__tests__/RealtimeGuardService.critical.spec.js:1
926
- Score: 50/100
927
- Audit logging not detected - add structured audit logs
928
-
929
- 181. backend.testing.mocks
930
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/services/__tests__/RealtimeGuardService.critical.spec.js:5
931
- Score: 50/100
932
- Mock usage in tests - prefer spies over mocks when possible
933
-
934
- 182. backend.testing.mocks
935
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/services/__tests__/RealtimeGuardService.critical.spec.js:6
936
- Score: 50/100
937
- Mock usage in tests - prefer spies over mocks when possible
938
-
939
- 183. backend.testing.mocks
940
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/services/__tests__/RealtimeGuardService.critical.spec.js:7
941
- Score: 50/100
942
- Mock usage in tests - prefer spies over mocks when possible
943
-
944
- 184. backend.testing.mocks
945
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/services/__tests__/RealtimeGuardService.critical.spec.js:8
946
- Score: 50/100
947
- Mock usage in tests - prefer spies over mocks when possible
948
-
949
- 185. backend.testing.mocks
950
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/services/__tests__/RealtimeGuardService.critical.spec.js:9
951
- Score: 50/100
952
- Mock usage in tests - prefer spies over mocks when possible
953
-
954
- 186. backend.testing.mocks
955
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/services/__tests__/RealtimeGuardService.critical.spec.js:10
956
- Score: 50/100
957
- Mock usage in tests - prefer spies over mocks when possible
958
-
959
- 187. backend.antipattern.god_classes
960
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/services/evidence/EvidenceContextManager.js:23
961
- Score: 50/100
962
- God class detected: 9 methods, 0 properties, 137 lines, complexity 17, concerns 5 - VIOLATES SRP
963
-
964
- 188. backend.error.custom_exceptions
965
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/services/evidence/EvidenceContextManager.js:55
966
- Score: 50/100
967
- Generic Error/Exception thrown - create custom exception classes for better error handling
968
-
969
- 189. backend.security.missing_audit_logging
970
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/services/evidence/EvidenceContextManager.js:1
971
- Score: 50/100
972
- Audit logging not detected - add structured audit logs
973
-
974
- 190. backend.antipattern.god_classes
975
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/services/guard/GuardAutoManagerService.js:6
976
- Score: 50/100
977
- God class detected: 20 methods, 0 properties, 425 lines, complexity 66, concerns 6 - VIOLATES SRP
978
-
979
- 191. backend.antipattern.god_classes
980
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/services/logging/UnifiedLogger.js:4
981
- Score: 50/100
982
- God class detected: 9 methods, 0 properties, 136 lines, complexity 16, concerns 2 - VIOLATES SRP
983
-
984
- 192. backend.error.custom_exceptions
985
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/services/logging/UnifiedLogger.js:34
986
- Score: 50/100
987
- Generic Error/Exception thrown - create custom exception classes for better error handling
988
-
989
- 193. backend.error.custom_exceptions
990
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/services/logging/UnifiedLogger.js:59
991
- Score: 50/100
992
- Generic Error/Exception thrown - create custom exception classes for better error handling
993
-
994
- 194. backend.antipattern.god_classes
995
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/services/monitoring/EvidenceMonitorService.js:21
996
- Score: 50/100
997
- God class detected: 7 methods, 0 properties, 139 lines, complexity 17, concerns 3 - VIOLATES SRP
998
-
999
- 195. backend.security.missing_audit_logging
1000
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/services/monitoring/EvidenceMonitorService.js:1
1001
- Score: 50/100
1002
- Audit logging not detected - add structured audit logs
1003
-
1004
- 196. backend.antipattern.god_classes
1005
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/services/monitoring/GitTreeMonitorService.js:1
1006
- Score: 50/100
1007
- God class detected: 6 methods, 0 properties, 111 lines, complexity 16, concerns 3 - VIOLATES SRP
1008
-
1009
- 197. backend.antipattern.god_classes
1010
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/services/monitoring/HealthCheckService.js:4
1011
- Score: 50/100
1012
- God class detected: 4 methods, 0 properties, 112 lines, complexity 18, concerns 4 - VIOLATES SRP
1013
-
1014
- 198. backend.antipattern.god_classes
1015
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/services/monitoring/HeartbeatMonitorService.js:4
1016
- Score: 50/100
1017
- God class detected: 3 methods, 0 properties, 55 lines, complexity 7, concerns 3 - VIOLATES SRP
1018
-
1019
- 199. backend.antipattern.god_classes
1020
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/services/notification/NotificationCenterService.js:23
1021
- Score: 50/100
1022
- God class detected: 19 methods, 0 properties, 451 lines, complexity 44, concerns 6 - VIOLATES SRP
1023
-
1024
- 200. backend.antipattern.god_classes
1025
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/services/recovery/AutoRecoveryManager.js:3
1026
- Score: 50/100
1027
- God class detected: 8 methods, 0 properties, 132 lines, complexity 11, concerns 4 - VIOLATES SRP
1028
-
1029
- 201. backend.security.missing_audit_logging
1030
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/services/recovery/AutoRecoveryManager.js:1
1031
- Score: 50/100
1032
- Audit logging not detected - add structured audit logs
1033
-
1034
- 202. backend.antipattern.god_classes
1035
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/services/token/CursorTokenService.js:6
1036
- Score: 50/100
1037
- God class detected: 5 methods, 0 properties, 165 lines, complexity 33, concerns 5 - VIOLATES SRP
1038
-
1039
- 203. backend.error.custom_exceptions
1040
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/services/token/CursorTokenService.js:68
1041
- Score: 50/100
1042
- Generic Error/Exception thrown - create custom exception classes for better error handling
1043
-
1044
- 204. backend.error.custom_exceptions
1045
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/services/token/CursorTokenService.js:89
1046
- Score: 50/100
1047
- Generic Error/Exception thrown - create custom exception classes for better error handling
1048
-
1049
- 205. backend.antipattern.god_classes
1050
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/services/token/TokenMonitorService.js:8
1051
- Score: 50/100
1052
- God class detected: 8 methods, 0 properties, 266 lines, complexity 30, concerns 5 - VIOLATES SRP
1053
-
1054
- 206. backend.security.missing_audit_logging
1055
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/use-cases/__tests__/AnalyzeStagedFilesUseCase.spec.js:1
1056
- Score: 50/100
1057
- Audit logging not detected - add structured audit logs
1058
-
1059
- 207. backend.security.missing_audit_logging
1060
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/use-cases/__tests__/AutoExecuteAIStartUseCase.spec.js:1
1061
- Score: 50/100
1062
- Audit logging not detected - add structured audit logs
1063
-
1064
- 208. backend.error.custom_exceptions
1065
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/use-cases/__tests__/BlockCommitUseCase.spec.js:117
1066
- Score: 50/100
1067
- Generic Error/Exception thrown - create custom exception classes for better error handling
1068
-
1069
- 209. backend.antipattern.god_classes
1070
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/infrastructure/ast/common/BDDTDDWorkflowRules.js:17
1071
- Score: 50/100
1072
- God class detected: 10 methods, 0 properties, 434 lines, complexity 22, concerns 4 - VIOLATES SRP
1073
-
1074
- 210. backend.error.custom_exceptions
1075
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/infrastructure/core/__tests__/GitOperations.spec.js:41
1076
- Score: 50/100
1077
- Generic Error/Exception thrown - create custom exception classes for better error handling
1078
-
1079
- 211. backend.error.custom_exceptions
1080
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/infrastructure/core/__tests__/GitOperations.spec.js:68
1081
- Score: 50/100
1082
- Generic Error/Exception thrown - create custom exception classes for better error handling
1083
-
1084
- 212. backend.error.custom_exceptions
1085
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/infrastructure/core/__tests__/GitOperations.spec.js:92
1086
- Score: 50/100
1087
- Generic Error/Exception thrown - create custom exception classes for better error handling
1088
-
1089
- 213. backend.error.custom_exceptions
1090
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/infrastructure/core/__tests__/GitOperations.spec.js:112
1091
- Score: 50/100
1092
- Generic Error/Exception thrown - create custom exception classes for better error handling
1093
-
1094
- 214. backend.error.custom_exceptions
1095
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/infrastructure/core/__tests__/GitOperations.spec.js:133
1096
- Score: 50/100
1097
- Generic Error/Exception thrown - create custom exception classes for better error handling
1098
-
1099
- 215. backend.testing.mocks
1100
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/infrastructure/core/__tests__/GitOperations.spec.js:4
1101
- Score: 50/100
1102
- Mock usage in tests - prefer spies over mocks when possible
1103
-
1104
- 216. backend.antipattern.god_classes
1105
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/infrastructure/severity/analyzers/maintainability-analyzer.js:2
1106
- Score: 50/100
1107
- God class detected: 5 methods, 0 properties, 96 lines, complexity 20, concerns 0 - VIOLATES SRP
1108
-
1109
- 217. backend.antipattern.god_classes
1110
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/infrastructure/severity/analyzers/performance-analyzer.js:2
1111
- Score: 50/100
1112
- God class detected: 6 methods, 0 properties, 105 lines, complexity 23, concerns 1 - VIOLATES SRP
1113
-
1114
- 218. backend.antipattern.god_classes
1115
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/infrastructure/severity/analyzers/security-analyzer.js:2
1116
- Score: 50/100
1117
- God class detected: 5 methods, 0 properties, 100 lines, complexity 19, concerns 1 - VIOLATES SRP
1118
-
1119
- 219. backend.antipattern.god_classes
1120
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/infrastructure/severity/analyzers/stability-analyzer.js:2
1121
- Score: 50/100
1122
- God class detected: 4 methods, 0 properties, 81 lines, complexity 15, concerns 0 - VIOLATES SRP
1123
-
1124
- 220. backend.antipattern.god_classes
1125
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/infrastructure/severity/context/context-builder.js:6
1126
- Score: 50/100
1127
- God class detected: 28 methods, 0 properties, 313 lines, complexity 34, concerns 5 - VIOLATES SRP
1128
-
1129
- 221. backend.antipattern.god_classes
1130
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/infrastructure/severity/policies/gate-policies.js:5
1131
- Score: 50/100
1132
- God class detected: 6 methods, 0 properties, 129 lines, complexity 13, concerns 2 - VIOLATES SRP
1133
-
1134
- 222. backend.security.missing_audit_logging
1135
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/services/evidence/__tests__/EvidenceContextManager.spec.js:1
1136
- Score: 50/100
1137
- Audit logging not detected - add structured audit logs
1138
-
1139
- 223. backend.security.missing_audit_logging
1140
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/services/guard/__tests__/GuardAutoManagerService.spec.js:1
1141
- Score: 50/100
1142
- Audit logging not detected - add structured audit logs
1143
-
1144
- 224. backend.security.missing_audit_logging
1145
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/services/monitoring/__tests__/EvidenceMonitorService.spec.js:1
1146
- Score: 50/100
1147
- Audit logging not detected - add structured audit logs
1148
-
1149
- 225. backend.security.missing_audit_logging
1150
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/services/monitoring/__tests__/GitTreeMonitorService.spec.js:1
1151
- Score: 50/100
1152
- Audit logging not detected - add structured audit logs
1153
-
1154
- 226. backend.error.custom_exceptions
1155
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/services/monitoring/__tests__/HealthCheckService.spec.js:51
1156
- Score: 50/100
1157
- Generic Error/Exception thrown - create custom exception classes for better error handling
1158
-
1159
- 227. backend.security.missing_audit_logging
1160
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/services/monitoring/__tests__/HealthCheckService.spec.js:1
1161
- Score: 50/100
1162
- Audit logging not detected - add structured audit logs
1163
-
1164
- 228. backend.security.missing_audit_logging
1165
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/services/monitoring/__tests__/HeartbeatMonitorService.spec.js:1
1166
- Score: 50/100
1167
- Audit logging not detected - add structured audit logs
1168
-
1169
- 229. backend.security.missing_audit_logging
1170
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/services/notification/__tests__/NotificationCenterService.spec.js:1
1171
- Score: 50/100
1172
- Audit logging not detected - add structured audit logs
1173
-
1174
- 230. backend.security.missing_audit_logging
1175
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/services/recovery/__tests__/AutoRecoveryManager.spec.js:1
1176
- Score: 50/100
1177
- Audit logging not detected - add structured audit logs
1178
-
1179
- 231. backend.security.missing_audit_logging
1180
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/services/token/__tests__/CursorTokenService.spec.js:1
1181
- Score: 50/100
1182
- Audit logging not detected - add structured audit logs
1183
-
1184
- 232. backend.security.missing_audit_logging
1185
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/services/token/__tests__/TokenMonitorService.spec.js:1
1186
- Score: 50/100
1187
- Audit logging not detected - add structured audit logs
1188
-
1189
- 233. backend.antipattern.god_classes
1190
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/infrastructure/ast/backend/analyzers/BackendArchitectureDetector.js:12
1191
- Score: 50/100
1192
- God class detected: 4 methods, 0 properties, 127 lines, complexity 10, concerns 2 - VIOLATES SRP
1193
-
1194
- 234. backend.antipattern.god_classes
1195
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/infrastructure/ast/backend/analyzers/BackendPatternDetector.js:4
1196
- Score: 50/100
1197
- God class detected: 1 methods, 0 properties, 16 lines, complexity 3, concerns 2 - VIOLATES SRP
1198
-
1199
- 235. backend.testing.mocks
1200
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/infrastructure/ast/common/__tests__/BDDTDDWorkflowRules.spec.js:5
1201
- Score: 50/100
1202
- Mock usage in tests - prefer spies over mocks when possible
1203
-
1204
- 236. backend.testing.mocks
1205
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/infrastructure/ast/common/__tests__/BDDTDDWorkflowRules.spec.js:6
1206
- Score: 50/100
1207
- Mock usage in tests - prefer spies over mocks when possible
1208
-
1209
- 237. backend.testing.mocks
1210
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/infrastructure/ast/common/__tests__/BDDTDDWorkflowRules.spec.js:7
1211
- Score: 50/100
1212
- Mock usage in tests - prefer spies over mocks when possible
1213
-
1214
- 238. backend.testing.mocks
1215
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/infrastructure/ast/common/__tests__/documentation-analyzer.spec.js:5
1216
- Score: 50/100
1217
- Mock usage in tests - prefer spies over mocks when possible
1218
-
1219
- 239. backend.testing.mocks
1220
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/infrastructure/ast/common/__tests__/monorepo-health-analyzer.spec.js:9
1221
- Score: 50/100
1222
- Mock usage in tests - prefer spies over mocks when possible
1223
-
1224
- 240. backend.testing.mocks
1225
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/infrastructure/ast/common/__tests__/monorepo-health-analyzer.spec.js:10
1226
- Score: 50/100
1227
- Mock usage in tests - prefer spies over mocks when possible
1228
-
1229
- 241. backend.testing.mocks
1230
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/infrastructure/ast/backend/analyzers/__tests__/BackendArchitectureDetector.spec.js:5
1231
- Score: 50/100
1232
- Mock usage in tests - prefer spies over mocks when possible
1233
-
1234
- 242. backend.testing.mocks
1235
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/infrastructure/ast/backend/analyzers/__tests__/BackendArchitectureDetector.spec.js:6
1236
- Score: 50/100
1237
- Mock usage in tests - prefer spies over mocks when possible
1238
-
1239
- 243. backend.testing.mocks
1240
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/infrastructure/ast/backend/analyzers/__tests__/BackendArchitectureDetector.spec.js:8
1241
- Score: 50/100
1242
- Mock usage in tests - prefer spies over mocks when possible
1243
-
1244
- 244. backend.testing.mocks
1245
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/infrastructure/ast/backend/analyzers/__tests__/BackendArchitectureDetector.spec.js:11
1246
- Score: 50/100
1247
- Mock usage in tests - prefer spies over mocks when possible
1248
-
1249
- 245. backend.testing.mocks
1250
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/infrastructure/ast/backend/analyzers/__tests__/BackendArchitectureDetector.spec.js:14
1251
- Score: 50/100
1252
- Mock usage in tests - prefer spies over mocks when possible
1253
-
1254
- 246. backend.testing.mocks
1255
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/infrastructure/ast/backend/analyzers/__tests__/BackendArchitectureDetector.spec.js:17
1256
- Score: 50/100
1257
- Mock usage in tests - prefer spies over mocks when possible
1258
-
1259
- 247. backend.testing.mocks
1260
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/infrastructure/ast/backend/analyzers/__tests__/BackendArchitectureDetector.spec.js:20
1261
- Score: 50/100
1262
- Mock usage in tests - prefer spies over mocks when possible
1263
-
1264
- 248. backend.testing.mocks
1265
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/infrastructure/ast/backend/analyzers/__tests__/BackendArchitectureDetector.spec.js:23
1266
- Score: 50/100
1267
- Mock usage in tests - prefer spies over mocks when possible
1268
-
1269
- 249. backend.error.custom_exceptions
1270
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/infrastructure/ast/backend/analyzers/__tests__/BackendPatternDetector.spec.js:40
1271
- Score: 50/100
1272
- Generic Error/Exception thrown - create custom exception classes for better error handling
1273
-
1274
- 250. backend.error.custom_exceptions
1275
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/infrastructure/ast/backend/analyzers/__tests__/BackendPatternDetector.spec.js:50
1276
- Score: 50/100
1277
- Generic Error/Exception thrown - create custom exception classes for better error handling
1278
-
1279
- 251. backend.testing.mocks
1280
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/infrastructure/ast/backend/analyzers/__tests__/BackendPatternDetector.spec.js:5
1281
- Score: 50/100
1282
- Mock usage in tests - prefer spies over mocks when possible
1283
-
1284
- 252. backend.antipattern.god_classes
1285
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/infrastructure/ast/backend/analyzers/detectors/CleanArchitectureDetector.js:3
1286
- Score: 50/100
1287
- God class detected: 1 methods, 0 properties, 46 lines, complexity 6, concerns 1 - VIOLATES SRP
1288
-
1289
- 253. backend.antipattern.god_classes
1290
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/infrastructure/ast/backend/analyzers/detectors/CQRSDetector.js:3
1291
- Score: 50/100
1292
- God class detected: 1 methods, 0 properties, 35 lines, complexity 2, concerns 0 - VIOLATES SRP
1293
-
1294
- 254. backend.antipattern.god_classes
1295
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/infrastructure/ast/backend/analyzers/detectors/FeatureFirstCleanDetector.js:3
1296
- Score: 50/100
1297
- God class detected: 1 methods, 0 properties, 68 lines, complexity 9, concerns 1 - VIOLATES SRP
1298
-
1299
- 255. backend.antipattern.god_classes
1300
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/infrastructure/ast/backend/analyzers/detectors/LayeredArchitectureDetector.js:3
1301
- Score: 50/100
1302
- God class detected: 1 methods, 0 properties, 19 lines, complexity 2, concerns 1 - VIOLATES SRP
1303
-
1304
- 256. backend.antipattern.god_classes
1305
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/infrastructure/ast/backend/analyzers/detectors/MVCDetector.js:3
1306
- Score: 50/100
1307
- God class detected: 1 methods, 0 properties, 26 lines, complexity 4, concerns 1 - VIOLATES SRP
1308
-
1309
- 257. backend.antipattern.god_classes
1310
- File: /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/infrastructure/ast/backend/analyzers/detectors/OnionArchitectureDetector.js:3
1311
- Score: 50/100
1312
- God class detected: 1 methods, 0 properties, 26 lines, complexity 3, concerns 0 - VIOLATES SRP
1313
-
1314
-
1315
27
  💡 TOP RECOMMENDATIONS:
1316
28
 
1317
- 1. [Priority 1] backend.config.missing_env_separation
1318
- /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/infrastructure/ast/backend/clean-architecture-analyzer.js:1
1319
- Score: 50/100
29
+ 1. [Priority 1] backend.database.raw_sql
30
+ /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/infrastructure/orchestration/intelligent-audit.js:307
31
+ Score: 8/100
1320
32
 
1321
- 2. [Priority 2] backend.auth.missing_cors
1322
- /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/infrastructure/ast/backend/clean-architecture-analyzer.js:1
1323
- Score: 50/100
33
+ 2. [Priority 2] backend.database.raw_sql
34
+ /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/services/monitoring/EvidenceMonitor.js:50
35
+ Score: 8/100
1324
36
 
1325
- 3. [Priority 3] backend.config.missing_env_separation
1326
- /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/infrastructure/ast/backend/ddd-analyzer.js:1
1327
- Score: 50/100
37
+ 3. [Priority 3] backend.error.empty_catch
38
+ /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/services/logging/UnifiedLogger.js:40
39
+ Score: 5/100
1328
40
 
1329
- 4. [Priority 4] backend.auth.missing_cors
1330
- /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/infrastructure/ast/backend/ddd-analyzer.js:1
1331
- Score: 50/100
41
+ 4. [Priority 4] backend.error.empty_catch
42
+ /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/services/notification/NotificationCenterService.js:33
43
+ Score: 5/100
1332
44
 
1333
- 5. [Priority 5] backend.config.missing_env_separation
1334
- /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/infrastructure/ast/backend/feature-first-analyzer.js:1
1335
- Score: 50/100
45
+ 5. [Priority 5] backend.database.raw_sql
46
+ /Users/juancarlosmerlosalbarracin/Developer/Projects/ast-intelligence-hooks/scripts/hooks-system/application/services/__tests__/RealtimeGuardService.critical.spec.js:288
47
+ Score: 4/100
1336
48
 
1337
49
 
1338
50
  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━