{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"]}},{"id":"D33","name":"JS/npm Dependency Vulnerabilities","shortDescription":{"text":"JS/npm Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D33","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"]}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D38","name":"OSV Dependency Vulnerabilities","shortDescription":{"text":"OSV Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D38","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"]}}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"AstDependenciesFinder.collectFromNode (cyclomatic 34): AstDependenciesFinder.collectFromNode has cyclomatic complexity 34 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Service/Analysis/DependenciesFinder/Ast/AstDependenciesFinder.php"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"81ca69d1855c9ba9856a2d5c6a7abacf6ced71d6d6acb044d38c4812a82544e5"}},{"ruleId":"D1","level":"warning","message":{"text":"PHPCleanArchitectureFacade.__construct (cyclomatic 21): PHPCleanArchitectureFacade.__construct has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/PHPCleanArchitectureFacade.php"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"22dcf8da93ea9b331ddff352e979b931d51e77feb37959500ce61c196afd74d9"}},{"ruleId":"D2","level":"warning","message":{"text":"AstDependenciesFinder.collectFromNode (cognitive 45): AstDependenciesFinder.collectFromNode has cognitive complexity 45 (threshold 15). Drivers by points: loops 25, if/else 13, boolean chains 7 (nesting depth added 21). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Service/Analysis/DependenciesFinder/Ast/AstDependenciesFinder.php"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d8377e248a9b190af22a8929c63fc42fd2c9503276a2030d70ca5845c12cb99"}},{"ruleId":"D2","level":"warning","message":{"text":"PHPCleanArchitectureFacade.check (cognitive 36): PHPCleanArchitectureFacade.check has cognitive complexity 36 (threshold 15). Drivers by points: loops 21, if/else 15 (nesting depth added 23). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/PHPCleanArchitectureFacade.php"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fc3383ffcd1aaf33e11c7c87e1f6a6b6d2c1ec159d8c908ce498e3bed8807c7"}},{"ruleId":"D2","level":"warning","message":{"text":"PHPCleanArchitectureFacade.__construct (cognitive 33): PHPCleanArchitectureFacade.__construct has cognitive complexity 33 (threshold 15). Drivers by points: if/else 16, loops 13, boolean chains 4 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/PHPCleanArchitectureFacade.php"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b304640c3cabb64710e504ebc98136f85731921cabdc79514b8720f3b785de5"}},{"ruleId":"D2","level":"warning","message":{"text":"SourceFileFinder.find (cognitive 29): SourceFileFinder.find has cognitive complexity 29 (threshold 15). Drivers by points: if/else 21, loops 8 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Service/Analysis/SourceFileFinder.php"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"67d1dfb54866fbb1a0ef5a2e0da66aee95bd5f4361b2dca3b07208c16cb9a2ad"}},{"ruleId":"D2","level":"warning","message":{"text":"Restrictions.getIllegalDependencyUnitsOfCode (cognitive 20): Restrictions.getIllegalDependencyUnitsOfCode has cognitive complexity 20 (threshold 15). Drivers by points: if/else 17, loops 3 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Model/Restrictions.php"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e896f32197a874242018052f2865a772e7fbfaa6d597f6d08652206634c9c83"}},{"ruleId":"D2","level":"warning","message":{"text":"ReportDataBuilder.legacyMetrics (cognitive 20): ReportDataBuilder.legacyMetrics has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 11, if/else 6, boolean chains 2, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Service/Report/SpaReport/ReportDataBuilder.php"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"526e0503d176011ae9135638d58553784c4865794ef7d4413d809fc9bf7f166b"}},{"ruleId":"D2","level":"warning","message":{"text":"PHPCleanArchitectureFacade.allowedStateConfig (cognitive 19): PHPCleanArchitectureFacade.allowedStateConfig has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10, loops 6, boolean chains 3 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/PHPCleanArchitectureFacade.php"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca63ad74bb9324f74a8753863339c8ccbd9375d88ced5f28c55baac4866e6bfb"}},{"ruleId":"D2","level":"warning","message":{"text":"ReportDataBuilder.build (cognitive 18): ReportDataBuilder.build has cognitive complexity 18 (threshold 15). Drivers by points: loops 14, if/else 4 (nesting depth added 10). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Service/Report/SpaReport/ReportDataBuilder.php"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"1818d809eabbc03545474a2f98a29c09f7a9c0e5b31bd3a6e8bef565e937856e"}},{"ruleId":"D2","level":"warning","message":{"text":"UnitOfCode.filterDependenciesByPaths (cognitive 17): UnitOfCode.filterDependenciesByPaths has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10, loops 4, boolean chains 3 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Model/UnitOfCode.php"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"3923d39590986a16a83ed2e8a2630e43a577169f442551b14681e6be9e2ac6d1"}},{"ruleId":"D2","level":"warning","message":{"text":"ComponentAnalyzer.analyze (cognitive 17): ComponentAnalyzer.analyze has cognitive complexity 17 (threshold 15). Drivers by points: loops 10, if/else 7 (nesting depth added 10). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Service/Analysis/ComponentAnalyzer.php"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0945088feaa43b52ca5eb2c640c6b18593bc5d2532aca724ec29c68504906bb"}},{"ruleId":"D2","level":"warning","message":{"text":"ConfigTreeRunner.defaultScanPaths (cognitive 16): ConfigTreeRunner.defaultScanPaths has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 6, if/else 5, loops 3, boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ConfigTreeRunner.php"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"420ff483c6bf62b42df42a216aa1387677be6a96658222cac14deb836889e5dc"}},{"ruleId":"D2","level":"warning","message":{"text":"Component.createByUnitOfCode (cognitive 16): Component.createByUnitOfCode has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11, boolean chains 3, loops 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Model/Component.php"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbf5d9357f2d9891842d85595d16d6d7d10603d0e6b1dd893ed302b8dc9044e0"}},{"ruleId":"D2","level":"warning","message":{"text":"VendorBasedComponentsCreationService.create (cognitive 16): VendorBasedComponentsCreationService.create has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8, ternaries 4, boolean chains 3, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Service/VendorBasedComponentsCreationService.php"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"21353f3596b21b8ada96565af27a8a677c06d7c2e1c6eec1411869ba3b71ca24"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Component: TooManyMethods \u2014 33 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Model/Component.php"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"d62b210ba29c1d604e42941b70058af19062c4a79b46c07d76e6a31d0c8f27bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/Service/Report/SpaReport/ReportRenderingService.php:133-148 | src/Service/Report/SpaReport/ReportSuiteRenderer.php:149-164 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Service/Report/SpaReport/ReportRenderingService.php:133\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Service/Report/SpaReport/ReportRenderingService.php"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"73fc6571536811d4cc699c46b2937f5114bf6cbddbb2e38151bf29b800040349"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): src/ConfigTreeRunner.php:332-344 | src/PHPCleanArchitectureFacade.php:208-220 | src/Service/Report/History/ReportHistorySnapshotBuilder.php:203-215 | src/Service/Report/History/ReportHistoryStorage.php:227-239 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ConfigTreeRunner.php"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"95d9ea38697c9c33b9eb41b3f1794759b90d2eeb0e9c9d74a3ab9391608cc536"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/ConfigTreeRunner.php:259-271 | src/Service/Report/SpaReport/ReportSuiteRenderer.php:86-98 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ConfigTreeRunner.php"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"d937150798d833c3a49450ae75b7f39704d536760b4f9b8f6d616f62f02561e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): src/ConfigTreeRunner.php:245-254 | src/Service/Report/History/ReportHistoryStorage.php:159-168 | src/Service/Report/SpaReport/ReportSuiteRenderer.php:72-81 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ConfigTreeRunner.php"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"9097a56ec88a25c9f1aeb8a4ede165cb8ea228017331f69f87bd2dd94de36ce3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/Model/Component.php:382-391 | src/Model/Component.php:403-412 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Model/Component.php:382\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Model/Component.php"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"50dd0b52c5fed4c29ce3fed96beeb8def2f64c27aaf9773a867e5f1ed9066e2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/Service/Report/SpaReport/ReportAssetInliner.php:31-39 | src/Service/Report/SpaReport/ReportAssetInliner.php:61-69 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Service/Report/SpaReport/ReportAssetInliner.php"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac413dab2aff5992da0ffebac0cd36a9e7bf8b8ba6a4640bd3448737cb73acf2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/Infrastructure/Event/Listener/Analysis/ComponentAnalysisEventListener.php:55-60 | src/Infrastructure/Event/Listener/Report/ComponentReportRenderingEventListener.php:55-60 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Infrastructure/Event/Listener/Analysis/ComponentAnalysisEventListener.php"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"80b40aeecf8760c54c4d2f1910704f60f1045aca90e65609b7d83ad9d2576ca1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: frontend/report-app/src/main.jsx: frontend/report-app/src/main.jsx changed 65 times in last 90 days, max complexity 54. 2 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, cover the area it touches with tests, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/report-app/src/main.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3723397cc2675e8d3804059f5d46a84ce5c58391255c848a256b3ddfa2cf888"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/PHPCleanArchitectureFacade.php: src/PHPCleanArchitectureFacade.php changed 9 times in last 90 days, max complexity 21. 1 of those changes was a fix/bug commit, so the churn is repair rather than feature work. Before the next change lands here, cover the area it touches with tests, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/PHPCleanArchitectureFacade.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"07c102f65d3c498669f86e1b53a3d447c82c443923471063bf2457fce6bd9da6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Service/Analysis/DependenciesFinder/Ast/AstDependenciesFinder.php: src/Service/Analysis/DependenciesFinder/Ast/AstDependenciesFinder.php changed 3 times in last 90 days, max complexity 34. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, behind tests written first."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Service/Analysis/DependenciesFinder/Ast/AstDependenciesFinder.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4903c8f8e49ff051031c76a42a8ba17300806dca9b7ec9917ff31c07522aeff8"}},{"ruleId":"D16","level":"warning","message":{"text":"single-maintainer \u2014 knowledge-concentration (bus factor) risk: single-maintainer \u2014 knowledge-concentration (bus factor) risk (1 author(s) across 206 commit(s) sampled)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b4b49d961df742f0e507f4cc5c8094fb077ba0391a27fd015d18320865187719"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fb03e8398d6624cb9fa1b8fcfac1b1c715451b8bf101b7c84b3e31e1ce856080"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"86df76a61067c7e178cbabc694a8af0b5e867d2e8fe16904fc67bb2bed5a6142"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1fd7d7b4619df63ac70a9192c4341f266124b4d8e722be6c94006381c40d94aa"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ca99287f7d552ba61d44432bf1b34949a6a4c1d7671b6e2a7560b7a1e7baabec"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6120cac81f62db402c32280c3ffe14f937f7bc56c4c812ac1b0383e773fcce83"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: main.jsx \u2194 ReportDataBuilder.php: \u0060frontend/report-app/src/main.jsx\u0060 and \u0060src/Service/Report/SpaReport/ReportDataBuilder.php\u0060 change together 80% of the time (8 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well) and are written in DIFFERENT LANGUAGES, so no import can join them and they cannot be co-located into one unit \u2014 they compile and ship as separate artifacts. What binds them is a CONTRACT across that boundary \u2014 an event or message name, a route, a serialised shape \u2014 that each side currently spells out on its own, which is exactly why a change to one drags the other. Declare that contract once where both sides read it (a shared schema, a generated constants file, an interface-definition file) so a change on one side fails the other\u0027s build instead of drifting silently; where the surface is too small to be worth that, name the counterpart in a comment on both sides so the next reader finds it. There is nothing here to merge."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"frontend/report-app/src/main.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"774363c8de52ea81e801a1374824d1ad30afb39358299ae4b8c7a2643e61a482"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"687d120c4b86e874c4a18b9e2e6a47a81b9e089cd0d2612ac9dd490090ca15e0"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7b38b39dd2de89a2013fa5a3279c6f9b970f2f6ac09179ce60c8ad1e77af6329"}},{"ruleId":"D38","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c4eb44825d25c5ba353156d088d635b1ed94fc6a7b33210643d30e2987342df1"}},{"ruleId":"D38","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"89b9d69a4446285856e2419f666537f78135366ccc2f0449fd3d35568e139819"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"CWE-353","shortDescription":{"text":"CWE-353"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Command Injection","shortDescription":{"text":"Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"OS Command Injection","shortDescription":{"text":"OS Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Cross-site Scripting (XSS)","shortDescription":{"text":"Cross-site Scripting (XSS)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"SQL Injection","shortDescription":{"text":"SQL Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Code Injection","shortDescription":{"text":"Code Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":9,"secretScannerRunsExcluded":0}},"redactionTokens":["A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."]}]}