{"$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":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"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"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"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"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"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"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"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":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AXB1","name":"Runtime evidence locked \u2014 no reproducible boot","shortDescription":{"text":"Runtime evidence locked \u2014 no reproducible boot"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB1"},{"id":"C2","name":"Access Controls","shortDescription":{"text":"Access Controls"},"helpUri":"https://codehealth.canine.dev/dimensions/C2"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"ParseApiDetail.parseApiMethod (cyclomatic 58): ParseApiDetail.parseApiMethod has cyclomatic complexity 58 (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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: src/parses/ParseApiDetail.php holds 3 of the 9 methods over the threshold \u2014 including the worst \u2014 and 59 of the 86 points over it (69%), 9.8\u00D7 the next-largest file (src/utils/Helper.php at 6). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/parses/ParseApiDetail.php"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"290d54d00fde4efc5a070c9e3e76b3fd34a8a962ec86e34de200bedaeb73a466"}},{"ruleId":"D1","level":"warning","message":{"text":"ParseApiDetail.handleAnnotationsParamItem (cyclomatic 28): ParseApiDetail.handleAnnotationsParamItem has cyclomatic complexity 28 (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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: src/parses/ParseApiDetail.php holds 3 of the 9 methods over the threshold \u2014 including the worst \u2014 and 59 of the 86 points over it (69%), 9.8\u00D7 the next-largest file (src/utils/Helper.php at 6). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/parses/ParseApiDetail.php"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"8768bb2d5044ba8eaab9934e0ad12c899f5a5cc4e9474509b6335e796ddf854c"}},{"ruleId":"D1","level":"warning","message":{"text":"Helper.handleAppsConfig (cyclomatic 21): Helper.handleAppsConfig 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/utils/Helper.php"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"2853c1991e18a289e16cff8a3547985aaf6a0cd2363accb5f24409dcc492845a"}},{"ruleId":"D1","level":"warning","message":{"text":"Index.createTable (cyclomatic 20): Index.createTable has cyclomatic complexity 20 (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/generator/Index.php"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"babd8093465f0f294c489b07f100ed7c40bf70dbd812747e6cfb178759426614"}},{"ruleId":"D1","level":"warning","message":{"text":"ConfigProvider.getFeConfig (cyclomatic 20): ConfigProvider.getFeConfig has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/utils/ConfigProvider.php"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"e412d8dc90f22e2aa44a0b7f0b0984845640b7d546e1613cc7d1831f0a4694ee"}},{"ruleId":"D1","level":"warning","message":{"text":"ParseAnnotation.getParameters (cyclomatic 19): ParseAnnotation.getParameters has cyclomatic complexity 19 (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/parses/ParseAnnotation.php"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"4589c0aabff29a92f2eca95f75694000a0f8379b63ffe4e7f8c4851d0295f52c"}},{"ruleId":"D1","level":"warning","message":{"text":"DirAndFile.findClasses (cyclomatic 19): DirAndFile.findClasses has cyclomatic complexity 19 (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/utils/DirAndFile.php"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d0264e29bdce2c0690412e2fa7a31eb44dcdae4013f7527cdf84122ac290ef6"}},{"ruleId":"D1","level":"warning","message":{"text":"ParseApiDetail.handleApiBaseInfo (cyclomatic 18): ParseApiDetail.handleApiBaseInfo has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: src/parses/ParseApiDetail.php holds 3 of the 9 methods over the threshold \u2014 including the worst \u2014 and 59 of the 86 points over it (69%), 9.8\u00D7 the next-largest file (src/utils/Helper.php at 6). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/parses/ParseApiDetail.php"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2345c998b63adf9ba52e2c0115ec184aff4d511ac25b262b7a4290ca05b6d62"}},{"ruleId":"D1","level":"warning","message":{"text":"ParseModel.parseModelTable (cyclomatic 18): ParseModel.parseModelTable has cyclomatic complexity 18 (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/parses/ParseModel.php"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b801fb2e0034a7c77a2c5d20b3921b5650780e084f262948be92da62561a554"}},{"ruleId":"D2","level":"warning","message":{"text":"ParseApiDetail.parseApiMethod (cognitive 70): ParseApiDetail.parseApiMethod has cognitive complexity 70 (threshold 15). Drivers by points: boolean chains 33, if/else 20 (24 pts), ternaries 6 (13 pts) (nesting depth added 11). 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/parses/ParseApiDetail.php holds 11 of the 38 methods over the threshold \u2014 including the worst \u2014 and 175 of the 502 points over it (35%), 2.1\u00D7 the next-largest file (src/generator/ParseTemplate.php at 82). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/parses/ParseApiDetail.php"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"6603d2988294c09a3ee90e25a04f1be5d08ce956c1cdac2aff005306e3baab52"}},{"ruleId":"D2","level":"warning","message":{"text":"ParseTemplate.replaceForeach (cognitive 61): ParseTemplate.replaceForeach has cognitive complexity 61 (threshold 15). Drivers by points: if/else 8 (38 pts), loops 4 (20 pts), boolean chains 3 (nesting depth added 46). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/generator/ParseTemplate.php"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ff6eaf3bc00eb5842ee8ee82a7eab991d0ea6b2bbb37764de0cfedd2339d250"}},{"ruleId":"D2","level":"warning","message":{"text":"ParseApiDetail.handleAnnotationsParamItem (cognitive 57): ParseApiDetail.handleAnnotationsParamItem has cognitive complexity 57 (threshold 15). Drivers by points: if/else 22 (40 pts), boolean chains 8, loops 2 (5 pts), ternaries 2 (4 pts) (nesting depth added 23). 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/parses/ParseApiDetail.php holds 11 of the 38 methods over the threshold \u2014 including the worst \u2014 and 175 of the 502 points over it (35%), 2.1\u00D7 the next-largest file (src/generator/ParseTemplate.php at 82). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/parses/ParseApiDetail.php"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"44d80bf9c6c05a6f04c76fa2271ee1b2709a037e60f3109214609e1f0046eea1"}},{"ruleId":"D2","level":"warning","message":{"text":"ParseAnnotation.getParameters (cognitive 55): ParseAnnotation.getParameters has cognitive complexity 55 (threshold 15). Drivers by points: if/else 14 (31 pts), ternaries 2 (11 pts), loops 2 (7 pts), boolean chains 6 (nesting depth added 31). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/parses/ParseAnnotation.php"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"1802ed50ffc164e90ee0db3bf1520f5709d828e9ee418ff9741803f9f62d90a8"}},{"ruleId":"D2","level":"warning","message":{"text":"Index.createTable (cognitive 37): Index.createTable has cognitive complexity 37 (threshold 15). Drivers by points: if/else 14 (28 pts), boolean chains 5, ternaries 1 (2 pts), error handling 1, loops 1 (nesting depth added 15). 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/generator/Index.php"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"afaf3f19eddf90c03eca0bba3617a3c4bbad1d8b2896609af3704910e1b0c47e"}},{"ruleId":"D2","level":"warning","message":{"text":"DirAndFile.findClasses (cognitive 35): DirAndFile.findClasses has cognitive complexity 35 (threshold 15). Drivers by points: if/else 7 (22 pts), loops 4 (10 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 22). 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/utils/DirAndFile.php"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"a85327b918a1367de78a88d6efc1f82dfe117a00e6df3b5474371f45a7b9d9cd"}},{"ruleId":"D2","level":"warning","message":{"text":"Helper.handleAppsConfig (cognitive 35): Helper.handleAppsConfig has cognitive complexity 35 (threshold 15). Drivers by points: if/else 11 (25 pts), boolean chains 8, loops 1, ternaries 1 (nesting depth added 14). 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/utils/Helper.php"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"197225fad5fd474c7025d64c7ba1ed463e9d18c29d99676c676510b103e360ff"}},{"ruleId":"D2","level":"warning","message":{"text":"Controller.createAllCache (cognitive 34): Controller.createAllCache has cognitive complexity 34 (threshold 15). Drivers by points: if/else 4 (16 pts), loops 3 (12 pts), boolean chains 4, error handling 1 (2 pts) (nesting depth added 22). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Controller.php"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6e10dec1c5c6dab0c9c192795f80202fbd9332e9abab5b8c51599c69aab2ec2"}},{"ruleId":"D2","level":"warning","message":{"text":"Index.checkFilesAndHandleParams (cognitive 33): Index.checkFilesAndHandleParams has cognitive complexity 33 (threshold 15). Drivers by points: if/else 10 (26 pts), ternaries 1 (4 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 20). 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/generator/Index.php"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"18bcb2c79d604a6346258fd2bbbc5ff2418f1511b1451287fb5c0da92b5a3930"}},{"ruleId":"D2","level":"warning","message":{"text":"ParseTemplate.replaceParams (cognitive 33): ParseTemplate.replaceParams has cognitive complexity 33 (threshold 15). Drivers by points: if/else 14 (31 pts), ternaries 1 (2 pts) (nesting depth added 18). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/generator/ParseTemplate.php"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"592660a4614df12686d4f92d1ca81ffb983772d8bf028a25b5a64a01af8641db"}},{"ruleId":"D2","level":"warning","message":{"text":"ParseApiDetail.handleEventAnnotation (cognitive 32): ParseApiDetail.handleEventAnnotation has cognitive complexity 32 (threshold 15). Drivers by points: if/else 13 (27 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/parses/ParseApiDetail.php holds 11 of the 38 methods over the threshold \u2014 including the worst \u2014 and 175 of the 502 points over it (35%), 2.1\u00D7 the next-largest file (src/generator/ParseTemplate.php at 82). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/parses/ParseApiDetail.php"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"37719287905de49b88b6a5c77499d20b77ca056b98ea3c9bb4c1af5b69f38670"}},{"ruleId":"D2","level":"warning","message":{"text":"ParseModel.parseModelTable (cognitive 32): ParseModel.parseModelTable has cognitive complexity 32 (threshold 15). Drivers by points: if/else 13 (26 pts), boolean chains 2, loops 1 (2 pts), error handling 1, ternaries 1 (nesting depth added 14). 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/parses/ParseModel.php"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"547f4990ccd02d0d9e83043f4897890ecc9aa1c5740b4a385073d9a323da6cac"}},{"ruleId":"D2","level":"warning","message":{"text":"ParseCodeTemplate.renderCode (cognitive 31): ParseCodeTemplate.renderCode has cognitive complexity 31 (threshold 15). Drivers by points: if/else 11 (23 pts), loops 2 (6 pts), boolean chains 2 (nesting depth added 16). 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/parses/ParseCodeTemplate.php"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"3651baf1de071fd2a2c8611cd3214cfab7285f71df2909413dbf93f5565e5e91"}},{"ruleId":"D2","level":"warning","message":{"text":"ParseTemplate.getObjectValueByKeys (cognitive 30): ParseTemplate.getObjectValueByKeys has cognitive complexity 30 (threshold 15). Drivers by points: if/else 11 (23 pts), loops 2 (6 pts), boolean chains 1 (nesting depth added 16). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/generator/ParseTemplate.php"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"849076b634a4eb01492660aedb694af68b3f76c0d6d3363f061b16e7c831daf9"}},{"ruleId":"D2","level":"warning","message":{"text":"ParseApiDetail.autoCreateUrl (cognitive 28): ParseApiDetail.autoCreateUrl has cognitive complexity 28 (threshold 15). Drivers by points: if/else 7 (16 pts), match/switch 1 (5 pts), boolean chains 4, ternaries 2, loops 1 (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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/parses/ParseApiDetail.php holds 11 of the 38 methods over the threshold \u2014 including the worst \u2014 and 175 of the 502 points over it (35%), 2.1\u00D7 the next-largest file (src/generator/ParseTemplate.php at 82). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/parses/ParseApiDetail.php"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"a37bf6a41b41826b02d6300d9a6c89fad5c9fd4cdb362062ebdad17ad9bad3fa"}},{"ruleId":"D2","level":"warning","message":{"text":"ParseApiDetail.renderRef (cognitive 26): ParseApiDetail.renderRef has cognitive complexity 26 (threshold 15). Drivers by points: if/else 14 (22 pts), ternaries 1 (3 pts), error handling 1 (nesting depth added 10). 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/parses/ParseApiDetail.php holds 11 of the 38 methods over the threshold \u2014 including the worst \u2014 and 175 of the 502 points over it (35%), 2.1\u00D7 the next-largest file (src/generator/ParseTemplate.php at 82). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/parses/ParseApiDetail.php"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"167410098b97ee6a81780bdd70ab7dd727b0324102a9b086a4f601a0e681f988"}},{"ruleId":"D2","level":"warning","message":{"text":"Auth.checkAuth (cognitive 24): Auth.checkAuth has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (18 pts), boolean chains 4, ternaries 2 (nesting depth added 8). 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/Auth.php"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbfb0d2f8aaba23886fb471c078a3f67152af2accdb72621738f99dabfaf5323"}},{"ruleId":"D2","level":"warning","message":{"text":"ParseApiDetail.handleApiResponseError (cognitive 24): ParseApiDetail.handleApiResponseError has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 6, loops 1 (2 pts) (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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/parses/ParseApiDetail.php holds 11 of the 38 methods over the threshold \u2014 including the worst \u2014 and 175 of the 502 points over it (35%), 2.1\u00D7 the next-largest file (src/generator/ParseTemplate.php at 82). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/parses/ParseApiDetail.php"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"1655c6c89c5fe9d463b2a3de15fd0607f85a004f31eb67592df1315c623852df"}},{"ruleId":"D2","level":"warning","message":{"text":"ParseApiDetail.handleApiBaseInfo (cognitive 24): ParseApiDetail.handleApiBaseInfo has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 7, ternaries 2 (4 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/parses/ParseApiDetail.php holds 11 of the 38 methods over the threshold \u2014 including the worst \u2014 and 175 of the 502 points over it (35%), 2.1\u00D7 the next-largest file (src/generator/ParseTemplate.php at 82). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/parses/ParseApiDetail.php"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"82c52b98d5b3c6b25e960236e14963e9f61b952cfd093a008f934ba85f0e40e1"}},{"ruleId":"D2","level":"warning","message":{"text":"ParseApiDetail.filterParamsField (cognitive 24): ParseApiDetail.filterParamsField has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 5, 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/parses/ParseApiDetail.php holds 11 of the 38 methods over the threshold \u2014 including the worst \u2014 and 175 of the 502 points over it (35%), 2.1\u00D7 the next-largest file (src/generator/ParseTemplate.php at 82). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/parses/ParseApiDetail.php"},"region":{"startLine":757}}}],"partialFingerprints":{"codehealthFindingId/v1":"612f1b7c2a786273ed98f2b176707874406349b04f7ae76722f03fdbc8c961e2"}},{"ruleId":"D2","level":"warning","message":{"text":"ConfigProvider.getFeConfig (cognitive 24): ConfigProvider.getFeConfig has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 10, if/else 4 (8 pts), boolean chains 4, loops 1 (2 pts) (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/utils/ConfigProvider.php"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc551a137b422b4f40586d1c7573048b6785b2a26a3da5b2f50a170252833f02"}},{"ruleId":"D2","level":"warning","message":{"text":"Index.checkModels (cognitive 23): Index.checkModels has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (20 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 14). 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/generator/Index.php"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1883b49dbbc6a2bc4ffce506974e8eecf769cd08bfba2084f3fb8b8c9e5834f"}},{"ruleId":"D2","level":"warning","message":{"text":"ParseApiMenus.renderApiMenus (cognitive 23): ParseApiMenus.renderApiMenus has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 5, loops 2 (5 pts) (nesting depth added 8). 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/parses/ParseApiMenus.php"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d5f86043d04f18f095ad3156c764a086f0e5ae8447ff6aee56dd60e7804cd31"}},{"ruleId":"D2","level":"warning","message":{"text":"DirAndFile.getClassList (cognitive 23): DirAndFile.getClassList has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 2 (5 pts), boolean chains 2 (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/utils/DirAndFile.php"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a5349a2914193c16223bc4c6b355536764c706eaa1fe42077b38954d6a1546c"}},{"ruleId":"D2","level":"warning","message":{"text":"AutoRegisterRouts.getAppApis (cognitive 22): AutoRegisterRouts.getAppApis has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 5, loops 2 (5 pts) (nesting depth added 8). 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/utils/AutoRegisterRouts.php"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b91692ea08a985ea002e043b0b7a81a418fc675e2f35071aaf6fcc0d77f5714"}},{"ruleId":"D2","level":"warning","message":{"text":"ParseModel.getTableDocument (cognitive 21): ParseModel.getTableDocument has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (19 pts), boolean chains 1, loops 1 (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/parses/ParseModel.php"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"448504aaae2dfb61e85e82adab2ec35accec712387192cc5a3fcd7088d71e8b3"}},{"ruleId":"D2","level":"warning","message":{"text":"ParseApiDetail.handleMethodParams (cognitive 19): ParseApiDetail.handleMethodParams has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 10). 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/parses/ParseApiDetail.php holds 11 of the 38 methods over the threshold \u2014 including the worst \u2014 and 175 of the 502 points over it (35%), 2.1\u00D7 the next-largest file (src/generator/ParseTemplate.php at 82). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/parses/ParseApiDetail.php"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"b89bddae6b75e75d0c76ee74bf950c425a5f6d5dd8d4aa76f9a67df79fb81576"}},{"ruleId":"D2","level":"warning","message":{"text":"ParseApiMenus.parseController (cognitive 19): ParseApiMenus.parseController has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 4, loops 1 (nesting depth added 4). 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/parses/ParseApiMenus.php"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd0aacde4bda15c2be2856f422f72808449aedc9fc73f97fd2ceb28b5097ea60"}},{"ruleId":"D2","level":"warning","message":{"text":"ThinkPHPService.register (cognitive 19): ThinkPHPService.register has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (15 pts), loops 2 (4 pts) (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/providers/ThinkPHPService.php"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4f78415bdc1f01ebe1eeeedc474de66b958188814b99cac9d6032561598812e"}},{"ruleId":"D2","level":"warning","message":{"text":"ParseTemplate.parseLabel (cognitive 18): ParseTemplate.parseLabel has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 2, loops 1 (nesting depth added 8). 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/generator/ParseTemplate.php"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c81512ca5294fc4fdb174d3ab52cc34697c2680eddc0b1b74817e82643e91be"}},{"ruleId":"D2","level":"warning","message":{"text":"ParseApiDetail.handleApiResponseSuccess (cognitive 18): ParseApiDetail.handleApiResponseSuccess has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 5, ternaries 1 (nesting depth added 4). 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/parses/ParseApiDetail.php holds 11 of the 38 methods over the threshold \u2014 including the worst \u2014 and 175 of the 502 points over it (35%), 2.1\u00D7 the next-largest file (src/generator/ParseTemplate.php at 82). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/parses/ParseApiDetail.php"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"9784e8ac6669894843a6c4c46765950ecbfb3ee9fa20d6ad64029053db73774d"}},{"ruleId":"D2","level":"warning","message":{"text":"ParseApiDetail.mergeResponseSuccessParam (cognitive 18): ParseApiDetail.mergeResponseSuccessParam has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (13 pts), boolean chains 3, loops 1 (2 pts) (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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: src/parses/ParseApiDetail.php holds 11 of the 38 methods over the threshold \u2014 including the worst \u2014 and 175 of the 502 points over it (35%), 2.1\u00D7 the next-largest file (src/generator/ParseTemplate.php at 82). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/parses/ParseApiDetail.php"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c0eb212a22571c529d37342a8bf49b81017cec8a14bcd929dbdc13ced79d285"}},{"ruleId":"D2","level":"warning","message":{"text":"ParseApiMenus.scanDir (cognitive 18): ParseApiMenus.scanDir has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 3 (4 pts), ternaries 4, boolean chains 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/parses/ParseApiMenus.php"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"127632bf6b5cf626cfe0322f1b5388b29ef073a98351c7f30e1c6e3b6e7e66c5"}},{"ruleId":"D2","level":"warning","message":{"text":"Index.create (cognitive 17): Index.create has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 2 (4 pts), boolean chains 1 (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/generator/Index.php"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd9c0ab1156e47350f99e26adedfb4d0632657d4e9391b46352792c0dc3fd40a"}},{"ruleId":"D2","level":"warning","message":{"text":"DirAndFile.getDirTree (cognitive 17): DirAndFile.getDirTree has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/utils/DirAndFile.php"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"64e06db3db9316552981c4d5e7ff3ee8b35e53b14ac5aad873bceec718d69ba7"}},{"ruleId":"D2","level":"warning","message":{"text":"ParseApiMenus.mergeApiGroup (cognitive 16): ParseApiMenus.mergeApiGroup has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 2, loops 1 (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/parses/ParseApiMenus.php"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"30b0d04e0674c75334b9889ed8c87a9fc96bd14552a135029a2916271bdc7dec"}},{"ruleId":"D2","level":"warning","message":{"text":"ParseMarkdown.getContent (cognitive 16): ParseMarkdown.getContent has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (8 pts), loops 2 (6 pts), boolean chains 2 (nesting depth added 8). 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/parses/ParseMarkdown.php"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"657584caeb6c6cabfe3554dc861906ac65151190e6738813c60c102d235f312d"}},{"ruleId":"D2","level":"warning","message":{"text":"Helper.replaceCurrentAppTemplate (cognitive 16): Helper.replaceCurrentAppTemplate has cognitive complexity 16 (threshold 15). Drivers by points: loops 3 (10 pts), if/else 3 (5 pts), boolean chains 1 (nesting depth added 9). 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/utils/Helper.php"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"8acbf53cfdc08afefe853b31a42750a5837103e6de172501e2fdccc9ffe17472"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ParseApiDetail: ClassTooLong \u2014 460 significant lines (blank, comment-only and punctuation-only lines excluded), 19 methods. The bar is 400 significant lines; this is 60 over it, 1.15\u00D7 the bar. 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/parses/ParseApiDetail.php"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"37df7f77e2b139323825196005328addcbe8a4b20349ac6233a9957ff88b9234"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/middleware/HyperfMiddleware.php:36-45 | src/middleware/WebmanMiddleware.php:40-49 | src/providers/ThinkPHP5Service.php:45-54 | src/providers/ThinkPHPService.php:19-28 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/middleware/HyperfMiddleware.php"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6581854cfb443f0c5113f6f899c0889951fe644dc24c4829567f29bf74adb17"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): src/parses/ParseApiMenus.php:44-85 | src/utils/AutoRegisterRouts.php:55-79 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/parses/ParseApiMenus.php"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"986d765ee022165a77f04bbf83e006b4e1da2ec81c40b997a3de4404b0ba8892"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): src/providers/HyperfService.php:21-50 | src/providers/WebmanService.php:14-41 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/providers/HyperfService.php"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8c73fcc56e5c65962a9f0501f1cf8a47c837221bfc24688a9260ea0e0f086c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): src/generator/ParseTemplate.php:74-93 | src/generator/ParseTemplate.php:122-148 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/generator/ParseTemplate.php"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb5e0585e4bf5e9079f801bf2a4b760ebed096aa058c38eec13c4c310ea216fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): src/Controller.php:439-449 | src/Controller.php:459-471 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Controller.php"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"e057671a04a5bb682e823b067e149af17367416414f796c12c745723a96795f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): src/parses/ParseApiMenus.php:277-289 | src/utils/Helper.php:367-377 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/parses/ParseApiMenus.php"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2cbcebb56695d103db89a133aaf22203e590f81318cccab33ec9f77b373a298"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): src/Controller.php:406-413 | src/Controller.php:422-430 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Controller.php"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"69754fe58e6cd8c1aeea299f71b11ad646c1c82c0d2566d40d937705b3e2bd8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): src/middleware/LaravelMiddleware.php:11-15 | src/middleware/ThinkPHPMiddleware.php:11-15 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/middleware/LaravelMiddleware.php"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fcb3802f747fba65b793ca526491928a70f70e54c86fe0b266d9595a479e826"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u201322 lines \u00D7 3): src/parses/ParseApiDetail.php:240-245 | src/parses/ParseApiDetail.php:290-311 | src/parses/ParseApiDetail.php:353-374 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/parses/ParseApiDetail.php:240\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/parses/ParseApiDetail.php:313\u0060 calls \u0060mergeResponseSuccessParam\u0060 and \u0060src/parses/ParseApiDetail.php:376\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/parses/ParseApiDetail.php"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"e854c75c208ba1a398d39d98ee98226dac9819490dff7afe312859ecb14834a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): src/middleware/HyperfMiddleware.php:36-45 | src/middleware/WebmanMiddleware.php:40-49 | src/providers/ThinkPHP5Service.php:45-54 | src/providers/ThinkPHPService.php:19-28 \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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/middleware/HyperfMiddleware.php"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"d60d003eb480297dad45eb04d0c9b97928fe01227931fef103100a47cc9cfcaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/parses/ParseApiDetail.php:504-513 | src/parses/ParseApiDetail.php:518-527 \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/parses/ParseApiDetail.php:504\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/parses/ParseApiDetail.php"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"80fa3eaa79f0ab2af2477fc54b474e44699c3b0ee8f991e3b2d89d689bb90e2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/providers/HyperfService.php:26-34 | src/providers/WebmanService.php:19-27 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/providers/HyperfService.php:26\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/providers/HyperfService.php"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"9de819d94a94601557c2fa5e1e878f3e8abad9020f37af577b2b77ff69463eea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): src/providers/HyperfService.php:30-35 | src/providers/LaravelService.php:35-40 | src/providers/WebmanService.php:23-28 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/providers/HyperfService.php:30\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/providers/HyperfService.php"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b276b6a1fdf372f00cd37a9764d37631ade2b51c2186d4eec40426cdd5abed2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/parses/ParseApiDetail.php:328-333 | src/parses/ParseApiDetail.php:495-500 \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/parses/ParseApiDetail.php"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"99b0d2bed2578b1501a4da5aa37e71f1a9fa694d024cda6eb05c049d756dda17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): src/parses/ParseApiDetail.php:121-125 | src/parses/ParseApiDetail.php:135-139 | src/parses/ParseApiDetail.php:173-177 | src/parses/ParseApiDetail.php:185-189 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/parses/ParseApiDetail.php:121\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/parses/ParseApiDetail.php"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"5161a9f728710d5e990970b976a0a4cd00d205fd617f169979bb70513be854a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/providers/ThinkPHP5Service.php:32-36 | src/providers/ThinkPHPService.php:62-67 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/providers/ThinkPHPService.php:68\u0060 calls \u0060empty\u0060, \u0060middleware\u0060 and \u0060src/providers/ThinkPHP5Service.php:37\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/providers/ThinkPHP5Service.php"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"db329f6c925d2f2afeba656078902ddb2ec34f4359ac33aa0677e042b73aa9e0"}},{"ruleId":"D5","level":"error","message":{"text":"Circular dependency: src \u2192 src/exception \u2192 src/utils \u2192 src (one cycle inside a mutually-dependent group of 6 modules)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Auth.php"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"29260a539b156ca78366885ae5026245eb65c3a20361e5b57ea5f3016479a949"}},{"ruleId":"D5","level":"error","message":{"text":"Circular dependency: src/middleware \u2192 src/providers \u2192 src/middleware"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/middleware/HyperfMiddleware.php"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a42aa232b123ff663159547bb5777aa467b24933bb11f99611808b2edd5b745"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: src/exception: src/exception: abstractness 0.00, instability 0.20, distance 0.80 \u2014 zone of pain \u2014 concrete and depended on by 4 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b75fae18a4b7be26968fb37d3a97618675141dc347a93d16bf62918d226ce824"}},{"ruleId":"D8","level":"error","message":{"text":"No automated tests: No automated tests \u2014 no test code was found in this repository. Untested code is the largest single risk to changing it safely. Start with the code you change most often: add a suite in a framework a runner can collect (PHPUnit or Pest), and run it in CI so the gap cannot reopen."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3132564c6310e5d01a231f252a02d5d2f5a542c0a8fa29a14c89693f1e3df871"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/parses/ParseApiDetail.php: src/parses/ParseApiDetail.php changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in ParseApiDetail.handleApiBaseInfo at line 392. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2024-09-26..2024-12-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272024-09-26 22:04:46 \u002B08:00\u0027 --until=\u00272024-12-25 22:04:46 \u002B08:00\u0027 --full-history --no-merges -- src/parses/ParseApiDetail.php\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/parses/ParseApiDetail.php"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c907af3e103d5eee3bc3679a0e17a084181ca984f2ebf83ab0827fa0abeb46f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement getApidocConfig() method. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/providers/CommonService.php"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"42bb2b7c500569e3b2191c00537aa2f5674ab39bc869b1db6f4be5350f8a68f0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement registerRoute() method. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/providers/CommonService.php"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"9500079d841c9d7936754ca96693f5fb908b3c76ec285dae19f85e7528e5f329"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement registerRoute() method. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/middleware/HyperfMiddleware.php"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"114ce82b4c4a21c3095cf95e2767d01a0301e94a21e89dcc2468132d9cfff7fd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement databaseQuery() method. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/providers/CommonService.php"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"f95b0c2c5b63cd1a3ae3c7c5522edab6427825023de0c86aac96066c4e128c72"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement getRootPath() method. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/providers/CommonService.php"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf54555824f94a75dd8b467f1aa8b15f3aa3e03d0925522592b979e4d6d7c67e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement getRuntimePath() method. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/providers/CommonService.php"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bcea9de7a9a513a8f71e67464266f83a5f647231cc6a0e6c5df49fb83dbd46f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement setLang() method. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/providers/CommonService.php"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2815a2c811d28f14606773d05967e916e47a5b97e804065b243bb225ec1d70a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement getLang() method. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/providers/CommonService.php"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"a170f6d7532956fff3314d2e5781a9bb5e6a552dda5358feff3791a5ea92ea2a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement handleResponseJson() method. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/providers/CommonService.php"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c5ff742fc3efb104de62fac69a659a3c3e080bea49810b600c4382c105e3a17"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement getTablePrefix() method. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/providers/CommonService.php"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"349dad45759668418a7d45a6b2e28b90e230cd857028c321ea43886df6ffc131"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: the repository is a published Composer package (\u0060name\u0060 in \u0060composer.json\u0060) and neither \u0060README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c33a5992d4bd6ac1ea4b853ae69753fcd7e0410099c58731c86be53325ba8c96"}},{"ruleId":"D29","level":"warning","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":"cf9d7c3a22dac83409f760c7ef4c089d35403d9f6b79be6133c5a145a40338e6"},"taxa":[{"id":"CWE-208","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-697","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D34","level":"note","message":{"text":"Dormant codebase: 22 of 22 significant files have no living knowledge \u2014 the codebase as a whole is dormant, not 22 separate risks. Counted over 22 of the 75 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over. Re-engage owners or document before change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4c69f1e54b7dd6fe9029dd02df6ba8f8145b789f2f18dbdaa086c40ded49dba6"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/parses/ParseApiDetail.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"694b72277b5b630b36f6e5e7d76364abce1289240119ff76241770ec944e6ab2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/utils/Helper.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab8626523d3c216a79431cb15680e7ca71b0305d51bdf3eaa70c6133e03154d5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Controller.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd4596149ec3fdf98d655377bee7919048c25441dd874f774ed9e25b112d544d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/generator/Index.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"934bee6f2ff41847ed9a87e7e31c014c608faa2b663ce53e9482d7525990453f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/generator/ParseTemplate.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eb477f9fcc9092319f9bbff253e12f1364505da2410d07d1fcf0551f7119c65"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/parses/ParseApiMenus.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"06c64136433e52c3dea17bb3f42fab2162b2e2ab4a12fa7adf3709e82e3e7b3d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/utils/DirAndFile.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e05c6c7b1afaa7c53e4cab0ff3d1d890cd12bc0b1c931232867751130bd33b2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/parses/ParseAnnotation.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"262437fac02df06f149549a9d416265d9bd7307f2c2e5a141f19c889c62ddd36"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/utils/Cache.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"026daa028ef624290b0b968bff964fdfb14b16c521ede6ae3059dbc9b42ac652"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Auth.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2f57f48985ea91c0c72f4fbdb2f92fbf24c3d784dd085353262ad95ab29a378"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/parses/ParseModel.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"734bdf03279366db6a7d1c6b9134708f5aafe5428f4a4a445f9c8c334eb0002f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/utils/ApiShare.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ffbb6bcde54f70c283cae0c3711c93e988863911fc9f3280cfaeb2761669690"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/providers/BaseService.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"17293b1ae1e87d9d7d7edd0c9155540f468149a8111cfac7d0f9a1bad2153511"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/utils/AutoRegisterRouts.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1edf445e5fb73edbd310940477995c1ef077a81d53112aa5b4fb8a3ce52dcd2b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/parses/ParseMarkdown.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4149965133b34fa20d7079a68bf5d5452ea9a90ca3c7e9e0f2ab741372dd0242"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/utils/ConfigProvider.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c555f5af35bbb47d232b412df67243ea2a378c2acb3a832046b5338f603f07cf"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/providers/ThinkPHPService.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b753c90ef42599f160e50079cee504590c0c20987620ec5c428dedb880e8b5e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/exception/ErrorException.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"641088df5a853a9f2dd7b657d2dbd69c3a5d4c550e08337d026a8ddd43b5c900"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/providers/LaravelService.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eac1bc43802c058f0016d2f2464f9b62c19ac600865db42699b1ae9aad09590"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/parses/ParseCodeTemplate.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d38413f1e571184be5f172150183f29765c77904dcd39693d7c0b09557441478"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/providers/ThinkPHP5Service.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c487ac7cae23480a10a1333dcd0184145163b63e1b2b65a6442e801a076e0c3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/middleware/WebmanMiddleware.php"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"433ff8954bf9307d4d521b7ba61b2c6e0ba684b54fce9b70c83165d895235f0a"}},{"ruleId":"AX3","level":"error","message":{"text":"Project dependency cycle: The projects src \u2192 src/exception \u2192 src/utils \u2192 src (one cycle inside a mutually-dependent group of 6 projects) form a reference cycle. Cyclic dependencies prevent independent build/test/deploy, blur ownership, and tend to grow into a big ball of mud. Break the cycle by extracting the shared types into a separate project both can reference."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Auth.php"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"11bcb387be222679bfe8ebb810677bc718d2c0cf8982ed51a9f830a2a9ae3223"}},{"ruleId":"AX3","level":"error","message":{"text":"Project dependency cycle: The projects src/middleware \u2192 src/providers \u2192 src/middleware form a reference cycle. Cyclic dependencies prevent independent build/test/deploy, blur ownership, and tend to grow into a big ball of mud. Break the cycle by extracting the shared types into a separate project both can reference."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/middleware/HyperfMiddleware.php"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0bbd189082a7ac16eb7fc8f00e644567254c3347782a99fcc8b1870ee6e45d7"}},{"ruleId":"C2","level":"warning","message":{"text":"No authorization: This repository serves requests \u2014 a Laravel route (Route::match) (src/providers/LaravelService.php:41) \u2014 and no route guard, auth-gate middleware, global guard or imperative check that refuses a caller (401/403, an Unauthorized/Forbidden error) was found: its endpoints may be unprotected."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/providers/LaravelService.php"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"15e6ef174c4f5a31240f2b777798ca793429fd56228a0550e61feb1ef4b140a7"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M2","level":"note","message":{"text":"No architecture diagram/doc: No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named \u0060architecture\u0060 or \u0060design\u0060 in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape \u2014 no \u0060## Architecture\u0060 heading, no \u0022architecture overview\u0022/\u0022high-level design\u0022 phrasing, no \u0022the architecture is \u2026\u0022 introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document \u2014 not evidence that nobody wrote the shape down."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0c190e7c159d1850ee706c3ac4486e151e8a4fe169de4bf61436b9f399654f06"}},{"ruleId":"P1","level":"warning","message":{"text":"No CI pipeline: No CI workflow found (.github/workflows, azure-pipelines.yml, .gitlab-ci.yml, \u2026) \u2014 changes aren\u0027t gated by an automated build/test."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"44f01af96e50474fba2df84d95ddf4f7e1d34c29c307830b9efc9057daa6b670"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add phpstan or psalm (or \u0060semgrep --config=auto\u0060, which runs on any language) \u2014 this repository has no CI pipeline yet, so run it locally to clear the existing findings, then make it a step of the first workflow you add so a regression fails the build. What was searched, so you can tell an absence from a miss: the 0 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!empty($app[\u0027items\u0027]) \u0026\u0026 count($app[\u0027items\u0027])\u0060 appears character-identically in 2 files \u2014 src/utils/ApiShare.php, src/utils/Helper.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/utils/ApiShare.php"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"3062e4d31cd7059986a65d801a4d4cf43286fa797e22c8816ebb907254d8b87c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!empty($config[\u0027auto_url\u0027]) \u0026\u0026 !empty($config[\u0027auto_url\u0027][\u0027filter_keys\u0027])\u0060 appears character-identically in 6 files \u2014 src/middleware/HyperfMiddleware.php, src/middleware/WebmanMiddleware.php, src/parses/ParseApiDetail.php, src/providers/LaravelService.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/middleware/HyperfMiddleware.php"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b44e5fd994ed20ccd0137ff45907165bcc217116c80fa5d8f5f1f04b15a0d86"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!empty($config[\u0027cache\u0027]) \u0026\u0026 $config[\u0027cache\u0027][\u0027enable\u0027]\u0060 appears character-identically in 2 files \u2014 src/Controller.php, src/providers/BaseService.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Controller.php"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd7817865c111778de94398e3f48e3786ef609b64a4d6fe67e3bebb4b8b98f68"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!empty($config[\u0027ignored_methods\u0027]) \u0026\u0026 in_array($refMethod-\u003Ename, $config[\u0027ignored_methods\u0027])\u0060 appears character-identically in 2 files \u2014 src/parses/ParseApiDetail.php, src/parses/ParseApiMenus.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/parses/ParseApiDetail.php"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"4157e3f3d941fea811d740a736159ec058cb5e5c4a345d919536851ef09f7fc7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!empty($controllers) \u0026\u0026 count($controllers) \u003E 0\u0060 appears character-identically in 3 files \u2014 src/parses/ParseApiMenus.php, src/parses/ParseCodeTemplate.php, src/utils/AutoRegisterRouts.php. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/parses/ParseApiMenus.php"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a346482452fcad6f380c46912296949d5492f4656799d939cff5c366aee93f6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (\\Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/utils/DirAndFile.php"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"9001f53927c535d93e9dc6b9891a62e961214c4177374bf0502ccab2e50dfa81"}},{"ruleId":"X5","level":"note","message":{"text":"PHP static analysis does not check null everywhere: This repository commits no PHPStan or Psalm configuration (\u0060phpstan.neon[.dist]\u0060, \u0060phpstan.dist.neon\u0060, \u0060psalm.xml[.dist]\u0060, or one a composer.json script names with \u0060--configuration\u0060), so nothing checks null: a \u0060?Customer\u0060 reaches \u0060-\u003Ename()\u0060 silently and throws \u0060Error: Call to a member function name() on null\u0060 the first time it is null. If the build passes a level on a command line instead, put it in a committed configuration \u2014 this check reads configuration, and configuration is all it can read."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4ee877508ebc333ebff2765634874753d7fd67f71ea749a6c333792a59b461d7"}}],"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-208","guid":"9afb1e8d-bcf4-2f50-bd88-5c132c0e93d7","name":"CWE-208","shortDescription":{"text":"CWE-208"},"helpUri":"https://cwe.mitre.org/data/definitions/208.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-697","guid":"61fcce2f-e722-1753-b9b3-ef38f4650b8a","name":"CWE-697","shortDescription":{"text":"CWE-697"},"helpUri":"https://cwe.mitre.org/data/definitions/697.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"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":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"}]}],"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":1,"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."]}]}