{"$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":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"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":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"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":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"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":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"],"owasp":"A02: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":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"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":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"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":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"P7","name":"Outbound HTTP resilience","shortDescription":{"text":"Outbound HTTP resilience"},"helpUri":"https://codehealth.canine.dev/dimensions/P7"},{"id":"R1","name":"Type Safety","shortDescription":{"text":"Type Safety"},"helpUri":"https://codehealth.canine.dev/dimensions/R1"},{"id":"R10","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/R10"},{"id":"R2","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/R2"},{"id":"R3","name":"Large Files","shortDescription":{"text":"Large Files"},"helpUri":"https://codehealth.canine.dev/dimensions/R3"},{"id":"R4","name":"Test Coverage","shortDescription":{"text":"Test Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/R4"},{"id":"R6","name":"Tooling","shortDescription":{"text":"Tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/R6"},{"id":"R7","name":"Dead Code","shortDescription":{"text":"Dead Code"},"helpUri":"https://codehealth.canine.dev/dimensions/R7"},{"id":"R8","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/R8"},{"id":"R9","name":"Circular Imports","shortDescription":{"text":"Circular Imports"},"helpUri":"https://codehealth.canine.dev/dimensions/R9"},{"id":"S1","name":"Web-Security Posture","shortDescription":{"text":"Web-Security Posture"},"helpUri":"https://codehealth.canine.dev/dimensions/S1"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"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":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"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":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"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":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"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":"JobDeserializer.deserialize (cyclomatic 99): JobDeserializer.deserialize has cyclomatic complexity 99 (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/main/scala/org/apache/mesos/chronos/utils/JobDeserializer.scala"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7f3645027f1a97d13778f70a9ffbe23b19fcb500f4c35669ab70ca42e2f2280"}},{"ruleId":"D2","level":"warning","message":{"text":"JobDeserializer.deserialize (cognitive 192): JobDeserializer.deserialize has cognitive complexity 192 (threshold 15). Drivers by points: if/else 87 (121 pts), boolean chains 32, match/switch 9 (31 pts), loops 4 (8 pts) (nesting depth added 60). 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/main/scala/org/apache/mesos/chronos/utils/JobDeserializer.scala"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"acbbb3951d281318477f564f4c6934737041b2d722c390f855e2a2e4f9cc6d72"}},{"ruleId":"D2","level":"warning","message":{"text":"RedirectFilter.doFilter (cognitive 48): RedirectFilter.doFilter has cognitive complexity 48 (threshold 15). Drivers by points: if/else 9 (25 pts), loops 3 (14 pts), match/switch 2 (4 pts), error handling 1 (3 pts), boolean chains 2 (nesting depth added 31). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/scala/org/apache/mesos/chronos/scheduler/api/RedirectFilter.scala"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ebde7fac6da937ab1543e8af2a6a8c8f4ff1ea74d42b74de12e485f78f7054d"}},{"ruleId":"D2","level":"warning","message":{"text":"JobForm.toJS (cognitive 34): JobForm.toJS has cognitive complexity 34 (threshold 15). Drivers by points: if/else 13 (31 pts), boolean chains 3 (nesting depth added 18). None of this is in the body itself: all 34 points belong to 2 function literals inside it that branch (lines 409, 432). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/ui/models/JobForm.js"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"b57e2738cae5145d2625f54c3acc74676a1f56bece65264a54151cdd871a6beb"}},{"ruleId":"D2","level":"warning","message":{"text":"JobScheduler.handleFailedTask (cognitive 32): JobScheduler.handleFailedTask has cognitive complexity 32 (threshold 15). Drivers by points: if/else 8 (16 pts), error handling 2 (6 pts), match/switch 2 (6 pts), boolean chains 4 (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/main/scala/org/apache/mesos/chronos/scheduler/jobs/JobScheduler.scala"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"f16598a98aaddcb06816782778817e5cf0bb7b6d4126a91618d2f62952b37c31"}},{"ruleId":"D2","level":"warning","message":{"text":"MesosTaskBuilder.getMesosTaskInfoBuilder (cognitive 25): MesosTaskBuilder.getMesosTaskInfoBuilder has cognitive complexity 25 (threshold 15). Drivers by points: if/else 17 (23 pts), boolean chains 2 (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/main/scala/org/apache/mesos/chronos/scheduler/mesos/MesosTaskBuilder.scala"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c4e61cf1316e68d2229afa9f82c4881e5f9a5a141d17b6d600ced7669518abf"}},{"ruleId":"D2","level":"warning","message":{"text":"JobStats.insertToStatTable (cognitive 19): JobStats.insertToStatTable has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8, match/switch 8, error handling 3. 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/main/scala/org/apache/mesos/chronos/scheduler/jobs/stats/JobStats.scala"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7162f592719eaf1e0d5df0c10d00e1edd9aacb26366b4f5452e7b3097a81d4c"}},{"ruleId":"D2","level":"warning","message":{"text":"Iso8601JobResource.post (cognitive 18): Iso8601JobResource.post has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (12 pts), match/switch 2 (4 pts), error handling 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/scala/org/apache/mesos/chronos/scheduler/api/Iso8601JobResource.scala"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"11956d287b1f9ed32cec49be9180d8149fb29a50465a41d8162d996c93b85f68"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: JobSerializer.serialize: MethodTooLong \u2014 serialize runs 214 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 114 over it, 2.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/scala/org/apache/mesos/chronos/utils/JobSerializer.scala"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c54458034dfe4bdc14414ec290cbb4317c6ebd852a6324ede8277d372dad2ed"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: JobScheduler: ClassTooLong \u2014 454 significant lines (blank, comment-only and punctuation-only lines excluded), 24 methods. The bar is 400 significant lines; this is 54 over it, 1.14\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/main/scala/org/apache/mesos/chronos/scheduler/jobs/JobScheduler.scala"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ec3e8559b6ab35ba77881a59b05c249355e04a3c30c1b48ec3a78ef04b64974"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (15 members, 50\u002B identical tokens): src/main/scala/org/apache/mesos/chronos/scheduler/api/DependentJobResource.scala:34-99 | src/main/scala/org/apache/mesos/chronos/scheduler/api/GraphManagementResource.scala:36-54 | src/main/scala/org/apache/mesos/chronos/scheduler/api/GraphManagementResource.scala:60-80 | src/main/scala/org/apache/mesos/chronos/scheduler/api/Iso8601JobResource.scala:33-133 | src/main/scala/org/apache/mesos/chronos/scheduler/api/JobManagementResource.scala:49-122 | src/main/scala/org/apache/mesos/chronos/scheduler/api/JobManagementResource.scala:126-152 | src/main/scala/org/apache/mesos/chronos/scheduler/api/JobManagementResource.scala:159-182 | src/main/scala/org/apache/mesos/chronos/scheduler/api/JobManagementResource.scala:187-207 | src/main/scala/org/apache/mesos/chronos/scheduler/api/JobManagementResource.scala:215-234 | src/main/scala/org/apache/mesos/chronos/scheduler/api/JobManagementResource.scala:245-276 | src/main/scala/org/apache/mesos/chronos/scheduler/api/JobManagementResource.scala:281-321 | src/main/scala/org/apache/mesos/chronos/scheduler/api/JobManagementResource.scala:326-360 | src/main/scala/org/apache/mesos/chronos/scheduler/api/JobManagementResource.scala:370-424 | src/main/scala/org/apache/mesos/chronos/scheduler/api/StatsResource.scala:45-79 | src/main/scala/org/apache/mesos/chronos/scheduler/api/TaskManagementResource.scala:34-58 \u2014 These 15 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 15 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 15 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/scala/org/apache/mesos/chronos/scheduler/api/DependentJobResource.scala"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a1b5e767755d00d12518f8b012dd6074ea1d47767e416c6fec5ca8018f138f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/main/scala/org/apache/mesos/chronos/scheduler/jobs/stats/JobStats.scala:121-157 | src/main/scala/org/apache/mesos/chronos/scheduler/jobs/stats/JobStats.scala:287-316 | src/main/scala/org/apache/mesos/chronos/scheduler/jobs/stats/JobStats.scala:371-412 | src/main/scala/org/apache/mesos/chronos/scheduler/jobs/stats/JobStats.scala:520-579 \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/main/scala/org/apache/mesos/chronos/scheduler/jobs/stats/JobStats.scala"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7298dd51c6cb4b4a62927d5aece2c6cfbc4fc1265a440081f5b2b3615d5b916"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): src/main/scala/org/apache/mesos/chronos/notification/MattermostClient.scala:14-60 | src/main/scala/org/apache/mesos/chronos/notification/SlackClient.scala:14-59 \u2014 These two members are one piece of code written twice and then edited apart: 46 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/main/scala/org/apache/mesos/chronos/notification/MattermostClient.scala"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"eee1af75f35af59a7afdd5b6fdca94d54e42715055e37941b5a48075401dbc5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): src/main/scala/org/apache/mesos/chronos/scheduler/jobs/stats/JobStats.scala:429-452 | src/main/scala/org/apache/mesos/chronos/scheduler/jobs/stats/JobStats.scala:454-477 \u2014 These two members are one piece of code written twice and then edited apart: 24 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/main/scala/org/apache/mesos/chronos/scheduler/jobs/stats/JobStats.scala"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"65beac8a197850026732d451d2d3704189da6048f7d791f1590fb7ceb7356c66"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): src/main/scala/org/apache/mesos/chronos/scheduler/jobs/constraints/LikeConstraint.scala:15-33 | src/main/scala/org/apache/mesos/chronos/scheduler/jobs/constraints/UnlikeConstraint.scala:15-33 \u2014 These two members are one piece of code written twice and then edited apart: 19 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/main/scala/org/apache/mesos/chronos/scheduler/jobs/constraints/LikeConstraint.scala"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"39c374b2c313f3f4d8f1a34144bc82faa12d9b18a2a4b3709d9b22394467b4bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): src/main/scala/org/apache/mesos/chronos/notification/MattermostClient.scala:16-43 | src/main/scala/org/apache/mesos/chronos/notification/SlackClient.scala:16-43 \u2014 before extracting anything, compare \u0060src/main/scala/org/apache/mesos/chronos/notification/MattermostClient.scala\u0060 and \u0060src/main/scala/org/apache/mesos/chronos/notification/SlackClient.scala\u0060 as WHOLE FILES: 95% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/scala/org/apache/mesos/chronos/notification/MattermostClient.scala:16\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/main/scala/org/apache/mesos/chronos/notification/MattermostClient.scala:44\u0060 calls \u0060setRequestProperty\u0060 and \u0060src/main/scala/org/apache/mesos/chronos/notification/SlackClient.scala:45\u0060 does not \u2014 after which the two agree again for 4 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/main/scala/org/apache/mesos/chronos/notification/MattermostClient.scala"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"69924736b088b38db897da6b0f7ec6368a3b142ee6d76ddb945a47764014805a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): src/main/scala/org/apache/mesos/chronos/scheduler/jobs/stats/JobStats.scala:432-452 | src/main/scala/org/apache/mesos/chronos/scheduler/jobs/stats/JobStats.scala:457-477 \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/main/scala/org/apache/mesos/chronos/scheduler/jobs/stats/JobStats.scala:432\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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/main/scala/org/apache/mesos/chronos/scheduler/jobs/stats/JobStats.scala"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"d18433ad482c43adf852d7d0cabbf89a8581a6c5896e09206750bbddd97582f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): src/main/scala/org/apache/mesos/chronos/utils/JobDeserializer.scala:393-413 | src/main/scala/org/apache/mesos/chronos/utils/JobDeserializer.scala:431-451 \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/main/scala/org/apache/mesos/chronos/utils/JobDeserializer.scala"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"1065a25f1243c598f4859c724278880a9b1f75828b342001b51d489c12d2c771"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 15): src/main/scala/org/apache/mesos/chronos/scheduler/api/DependentJobResource.scala:84-99 | src/main/scala/org/apache/mesos/chronos/scheduler/api/GraphManagementResource.scala:39-54 | src/main/scala/org/apache/mesos/chronos/scheduler/api/GraphManagementResource.scala:65-80 | src/main/scala/org/apache/mesos/chronos/scheduler/api/Iso8601JobResource.scala:117-133 | src/main/scala/org/apache/mesos/chronos/scheduler/api/JobManagementResource.scala:107-122 | src/main/scala/org/apache/mesos/chronos/scheduler/api/JobManagementResource.scala:137-152 | src/main/scala/org/apache/mesos/chronos/scheduler/api/JobManagementResource.scala:167-182 | src/main/scala/org/apache/mesos/chronos/scheduler/api/JobManagementResource.scala:192-207 | src/main/scala/org/apache/mesos/chronos/scheduler/api/JobManagementResource.scala:219-234 | src/main/scala/org/apache/mesos/chronos/scheduler/api/JobManagementResource.scala:261-276 | src/main/scala/org/apache/mesos/chronos/scheduler/api/JobManagementResource.scala:306-321 | src/main/scala/org/apache/mesos/chronos/scheduler/api/JobManagementResource.scala:345-360 | src/main/scala/org/apache/mesos/chronos/scheduler/api/JobManagementResource.scala:409-424 | src/main/scala/org/apache/mesos/chronos/scheduler/api/StatsResource.scala:64-79 | src/main/scala/org/apache/mesos/chronos/scheduler/api/TaskManagementResource.scala:42-58 \u2014 there are 15 copies across 6 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 15 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/scala/org/apache/mesos/chronos/scheduler/api/DependentJobResource.scala:84\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/main/scala/org/apache/mesos/chronos/scheduler/api/GraphManagementResource.scala:56\u0060 calls \u0060Produces\u0060, \u0060Array\u0060 and \u0060src/main/scala/org/apache/mesos/chronos/scheduler/api/JobManagementResource.scala:154\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/main/scala/org/apache/mesos/chronos/scheduler/api/DependentJobResource.scala"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"2654f5abf072e6fc3558ee43ca9dfe323164cf2f85508046fa353f64aa7d1ecd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): src/main/scala/org/apache/mesos/chronos/utils/JobDeserializer.scala:390-406 | src/main/scala/org/apache/mesos/chronos/utils/JobDeserializer.scala:428-444 | src/main/scala/org/apache/mesos/chronos/utils/JobDeserializer.scala:465-481 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/scala/org/apache/mesos/chronos/utils/JobDeserializer.scala"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b7fddb4ad550e3ec918a4763fa4f5bd778f4dff21ab50ec7f94bee5e7bb6692"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): src/main/scala/org/apache/mesos/chronos/notification/HttpClient.scala:78-92 | src/main/scala/org/apache/mesos/chronos/notification/MattermostClient.scala:46-60 | src/main/scala/org/apache/mesos/chronos/notification/SlackClient.scala:45-59 \u2014 before extracting anything, compare \u0060src/main/scala/org/apache/mesos/chronos/notification/MattermostClient.scala\u0060 and \u0060src/main/scala/org/apache/mesos/chronos/notification/SlackClient.scala\u0060 as WHOLE FILES: 95% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/scala/org/apache/mesos/chronos/notification/HttpClient.scala:78\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/main/scala/org/apache/mesos/chronos/notification/HttpClient.scala:75\u0060 calls \u0060setRequestProperty\u0060 and \u0060src/main/scala/org/apache/mesos/chronos/notification/MattermostClient.scala:44\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/main/scala/org/apache/mesos/chronos/notification/HttpClient.scala"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ae56de0175ce66130bc154b7f4fb55fc440380da4ebe963183ce35630508983"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): src/main/scala/org/apache/mesos/chronos/scheduler/jobs/JobScheduler.scala:164-174 | src/main/scala/org/apache/mesos/chronos/scheduler/jobs/JobScheduler.scala:219-230 \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/main/scala/org/apache/mesos/chronos/scheduler/jobs/JobScheduler.scala:164\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/main/scala/org/apache/mesos/chronos/scheduler/jobs/JobScheduler.scala"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"197106b8865e6b28e29dfd9b5d2306923badc6ac57df7dc8609b2338f109577c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): src/main/scala/org/apache/mesos/chronos/scheduler/jobs/stats/JobStats.scala:147-155 | src/main/scala/org/apache/mesos/chronos/scheduler/jobs/stats/JobStats.scala:306-314 | src/main/scala/org/apache/mesos/chronos/scheduler/jobs/stats/JobStats.scala:403-411 | src/main/scala/org/apache/mesos/chronos/scheduler/jobs/stats/JobStats.scala:569-577 \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/main/scala/org/apache/mesos/chronos/scheduler/jobs/stats/JobStats.scala:147\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/main/scala/org/apache/mesos/chronos/scheduler/jobs/stats/JobStats.scala"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5c28ad176818809888264b2c26bd4aa7b7ad8991084e56487afe6e8aa8a3426"}},{"ruleId":"D12","level":"warning","message":{"text":"No Gemfile.lock committed by an application: This repository declares 12 gem(s) across 1 Bundler manifest(s) and ships no application \u0060.gemspec\u0060, so it is an APPLICATION \u2014 but no \u0060Gemfile.lock\u0060 is committed. Nothing records the versions a working build resolved to, so \u0060bundle install\u0060 re-resolves against whatever rubygems.org serves today and two deploys of this commit are not guaranteed to be the same deploy. Run \u0060bundle install\u0060 and commit the resulting \u0060Gemfile.lock\u0060. (A published GEM correctly omits its lock, which is why this is asked only of a repository that ships no .gemspec.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"cce86a6764b0429f696055851835123ad1dee71ace60575c329aed06e5e6bcd7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add support for more containers when they\u0027re added. \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/main/scala/org/apache/mesos/chronos/utils/JobDeserializer.scala"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"50da9657c04952d7978bf8d94808be9f4c68e26e56ea707753960fa4eef68fc1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO(FL): Redo string parsing once namespacing the states is implemented in chronos. \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/main/scala/org/apache/mesos/chronos/scheduler/state/MesosStatePersistenceStore.scala"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"496498ae418ee6b82777c298ff8afe9d58ff68e83bd4b2363e4786587fd8b28b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO(FL): Add task serialization such that in-flight tasks are accounted for. \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/main/scala/org/apache/mesos/chronos/scheduler/state/MesosStatePersistenceStore.scala"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"d99becbe0007d23c872fd2be1f3ca90004f949727d1ecdfc5abd248553eb53aa"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO(FL): Add proper retry logic into the persistence. \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/main/scala/org/apache/mesos/chronos/scheduler/state/MesosStatePersistenceStore.scala"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7e1dba871bd7b20e5e7ba24aeef4382ec6517441596b56cba1d1cadc7c9e0fa"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO(FL): Persist the UPDATED task or job into ZK such that on failover / reload, we don\u0027t have to step through the \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/main/scala/org/apache/mesos/chronos/scheduler/mesos/MesosJobFramework.scala"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff39ba4d366edff5fec1b5eb67e8389889f983f7ef1d4f899196b4863adf229d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO(FL): Handle this case! In practice this isn\u0027t a problem as we have retries. \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/main/scala/org/apache/mesos/chronos/scheduler/mesos/MesosJobFramework.scala"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"046e96a95eb180cac9ab572e80eba97f92d5d6f52127452685541e50c4103888"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO(FL): Allow adding more fine grained resource controls. \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/main/scala/org/apache/mesos/chronos/scheduler/mesos/MesosTaskBuilder.scala"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb3b9044b7b78dee9c03ffcc4dacd9698b71f79a0fdcafa83879044cf6727b7a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO add APPC image support \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/main/scala/org/apache/mesos/chronos/scheduler/mesos/MesosTaskBuilder.scala"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5fab5e2163f67d1a21e44959d2f6c5728d238f56d814f4896c77750da382890"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO add setCredential \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/main/scala/org/apache/mesos/chronos/scheduler/mesos/MesosTaskBuilder.scala"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"b09eb19ee58a8284d6e1216791f4edb21c5633e53fdd04f51a7edae59572ff09"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO add protocol, portMappings, requires mesos \u003E= 1.1.0 \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/main/scala/org/apache/mesos/chronos/scheduler/mesos/MesosTaskBuilder.scala"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b7a39a076d1bdadedba18b520b5ec66523e371963a7e42764634170a0db3635"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO(FL) Represent the schedule as a data structure instead of a string. \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/main/scala/org/apache/mesos/chronos/scheduler/jobs/JobSchedule.scala"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f5b7e816ab00be669f22a5d5369f648021d202594c281c2e64bb8648299e2e7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO(FL): Take some methods out of this class. \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/main/scala/org/apache/mesos/chronos/scheduler/jobs/JobScheduler.scala"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f978a9bbcd80cc60d6208b82d0dfa6921e8f139c0357741ccc3686e0c57b9b4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO(FL): Ensure we\u0027re using job-ids rather than relying on jobs names for identification. \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/main/scala/org/apache/mesos/chronos/scheduler/jobs/JobScheduler.scala"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"f802014d1c3d8efd5285aab8d19e83fa721fbb639cc083edf08d75511aa743e7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO(FL): Ensure we\u0027re using job-ids rather than relying on jobs names for identification. \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/main/scala/org/apache/mesos/chronos/scheduler/api/DependentJobResource.scala"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"b39c22583189f3e069ce1300862ea2a2b7c3d0627cd149de8bd1dde6746b771c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO(FL): Ensure that the job for the given x exists. Lock. \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/main/scala/org/apache/mesos/chronos/scheduler/jobs/JobScheduler.scala"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf019422e772f19782bb978ee3a9e2a011ded2c18fa53d2d99e5cda8976282d8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO(FL): Fix this, as it is very inefficient since we\u0027re parsing twice. \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/main/scala/org/apache/mesos/chronos/scheduler/jobs/JobUtils.scala"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"79d1d855f16a181adbbd30ec2d7eec3a648b3dbc896eebd823bf5cf23b42cd23"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO(FL): Think about pulling the state updating into the TaskManager. \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/main/scala/org/apache/mesos/chronos/scheduler/jobs/ScheduledTask.scala"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b59efe90fbf38de1fed535bc192364b6886e9350d8e1b4aea3dd1da96438875"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO(FL): Avoid locking on every lookup. \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/main/scala/org/apache/mesos/chronos/scheduler/graph/JobGraph.scala"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3d76d9c0d9cfa62d2a65e92c1eb0524e8fd7e480f4a15098a3a885df64cf1a2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO(FL): This method has some pretty serious side-effects. Refactor. \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/main/scala/org/apache/mesos/chronos/scheduler/graph/JobGraph.scala"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"5facff1bc38cd0491952da87371fd6274c72d296e8dcdb37298eecca44147ea4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO(FL): Make functional, making locking more efficient \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/main/scala/org/apache/mesos/chronos/scheduler/graph/JobGraph.scala"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"e506b084688aca572fed0ce02d4a448e073e5a617afb7f8c375d9ef07c064bfb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO(FL): Only bind this if config.dependentJobs is turned on. \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/main/scala/org/apache/mesos/chronos/scheduler/config/MainModule.scala"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"52f15fa0d814484a629d5ae3932b6f36b45e8fda084a36559fe00f09450fb3cd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO(FL): Be consistent and do everything in millis \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/main/scala/org/apache/mesos/chronos/scheduler/config/SchedulerConfiguration.scala"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ddb56c48af83b9529d448e41edd40bcb2631b92f6e4aa3b346372de06e3813f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO(FL): Consider using Sindi or Subcut for DI. \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/main/scala/org/apache/mesos/chronos/scheduler/config/ZookeeperModule.scala"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"509b78d38f1d99ae2693f8daa59d0de1a8ee51a8275fb71ca302ad6fe59e58cc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO(FL): Put all the logic for registering, deregistering and replacing dependency based jobs into one place. \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/main/scala/org/apache/mesos/chronos/scheduler/api/DependentJobResource.scala"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bbcd8b147d485959f09532d2de6a3c8a7314ff491216e50c24296fff13c3592"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO(FL): Create a case class that removes epsilon from the dependent. \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/main/scala/org/apache/mesos/chronos/scheduler/api/GraphManagementResource.scala"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7fa473ad6503456ff63ea36ab043df01464041ec20252b726f3d931949273f2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO(FL): Create a case class that removes epsilon from the dependent. \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/main/scala/org/apache/mesos/chronos/scheduler/api/JobManagementResource.scala"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fdd2cb5348b6e75389ca73fe15ad07ee3b6d195c3cb7f97dbc6e8eebbb44e57"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO(FL): Create a case class that removes epsilon from the dependent. \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/main/scala/org/apache/mesos/chronos/scheduler/api/TaskManagementResource.scala"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a55dd788509c9cc8c70ad23ce836f8f77f00a7dcf843afda122ecb5157ffaa2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO(FL): Create a wrapper class that handles adding \u0026 removing jobs! \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/main/scala/org/apache/mesos/chronos/scheduler/api/Iso8601JobResource.scala"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"e546a4ec92d353ea22a5ab39161400ca7aa2c77e91a0431075260fe8439d3724"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060. ADRs are expected here because \u0060pom.xml\u0060 makes this repository a deployable product (line 372)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pom.xml"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"73441b099d00905c340033bc34d2658fc4c752315eef835d5cd8de1f9034cbef"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 1 of 2 project(s) overshoot their size bounds, lowering Project Cohesion to 3.7/10. The most over is \u0060(repository root)\u0060 (6376 LoC, 114 module-visible types across 12 directories). Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d0bb1e064c42288b45d7bcd02eb483235b6b90b6e7f8e29e2325d916803493f1"},"taxa":[{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"330b0778cd67dd49ec7ea04935a6093d1cb40cc3637b3fc2c4f521e20f4263ed"},"taxa":[{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"e1852a9567a9238d720971b018f20c7932560fbe8eaa7c8193e17bebaeb14080"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"f8e348e2bb252956586345299ae5f3919401961a5a0c9781f38b6e98c4bb70d2"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c0d0999bf31c2f69c5922d88cef5d6d4f4f4e0c30c62532e6d12fbfd9dd3950f"},"properties":{"dependency":{"package":"net.jpountz.lz4:lz4","version":"1.3.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a31eefe6b254f08720156ed98826342e2925214770e4d6de9b833f220f66d3d0"},"properties":{"dependency":{"package":"org.apache.commons:commons-email","version":"1.3.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"36428c67e358c870ef80aa14b7a6bb66799ec615607ed85e10874ce295bdb818"},"properties":{"dependency":{"package":"com.google.guava:guava","version":"16.0.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","SNYK-JAVA-COMGOOGLEGUAVA-1015415"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"f22af0e7286d1b07ad881341b12929a0a50dc38e33773b9a25d1f457be956f2a"},"properties":{"dependency":{"package":"junit:junit","version":"4.12","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"5526f1d2ff71b0a1044d27e049b70f89d8b347a3161f0c3fdfe510f1dd082bea"},"properties":{"dependency":{"package":"org.apache.commons:commons-lang3","version":"3.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fe2d688610b51e0a5a02c7c5dd1724a4986e40f2689fb84510e2ec0164c27d6a"}},{"ruleId":"D31","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":"5cfed0ee4e80785ce23c7083cffdead9acc6c64f9dce56a00ca7178bd3d7bee5"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"ef665e20e5b5f251991a486be859c1765fe756cd8153159afe71f468182797de"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"955f7d765b6551eee72be0cbfffb8f340c84aede872fa883855391766713e6e0"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ce944c7f28fe9c866d6c3729ee7b6bedd938f0f22f2367bc81366d85d1d334ce"}},{"ruleId":"D34","level":"note","message":{"text":"Dormant codebase: 29 of 29 significant files have no living knowledge \u2014 the codebase as a whole is dormant, not 29 separate risks. Counted over 29 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/main/scala/org/apache/mesos/chronos/scheduler/jobs/JobScheduler.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"48b5c54b606f69ee734b159dcc241245d20582dd0c5b2b9b2f069275ab3b6317"}},{"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/main/scala/org/apache/mesos/chronos/scheduler/jobs/stats/JobStats.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeeb98c86e6a4eca3d8a844805de46538ea4de18bf6d75737c816d0d508c00ca"}},{"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/main/scala/org/apache/mesos/chronos/utils/JobDeserializer.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"907bdcffe2825fef9934e71e217bb2a0d6ac9ccd4627446753c4bb4b49881bb7"}},{"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/main/scala/org/apache/mesos/chronos/scheduler/api/JobManagementResource.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e37f967b28c2d63aa8871c0ab957bb8829421e8237e1255ab75d464c618134d"}},{"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/main/scala/org/apache/mesos/chronos/scheduler/mesos/MesosJobFramework.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0002cf45b6f512288731344701a31d3e6bd3dcc2695ca1dcfac7231cfa19c022"}},{"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/main/scala/org/apache/mesos/chronos/scheduler/mesos/MesosTaskBuilder.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b48231cf839434558f4621cc5a621bbeba989a438a8dec7dec3b6adb0a35180"}},{"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/main/scala/org/apache/mesos/chronos/scheduler/jobs/TaskManager.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ecd7cbcdd311cf40abf05b009f244f9b95afb68e3d4d81a7aa65211b0d5496c"}},{"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/main/scala/org/apache/mesos/chronos/utils/JobSerializer.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a16c899dda56b6b8e8bb15356261c93dc472ccfb63e68c77b515adfaf2e5b614"}},{"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/main/scala/org/apache/mesos/chronos/scheduler/jobs/Jobs.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c95ac4ad37345e25ab4d407f7b0a2389d2ec39efef2cbcf08152219b15a68e4c"}},{"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/main/scala/org/apache/mesos/chronos/scheduler/graph/JobGraph.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b73c1760e5ae2571c3285f8b1bc5227726e62c504aca99f5fd719ee33b047806"}},{"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/main/scala/org/apache/mesos/chronos/scheduler/config/SchedulerConfiguration.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"04cd6c07da74e2a13f539eded8cd96038dc07f6d87103095bd53901c7b857c5e"}},{"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/main/scala/org/apache/mesos/chronos/scheduler/config/MainModule.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5a1712d0adbcc8853352ebcb92b0ebefbdd4cd8418700a45a13deeab3c4107e"}},{"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/main/scala/org/apache/mesos/chronos/scheduler/jobs/JobUtils.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffa4d4efb019ff2b37f113d9f29cff7be7900983b7c8220df353903e9b9b0159"}},{"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/main/scala/org/apache/mesos/chronos/scheduler/api/Iso8601JobResource.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f3f877f382a481dce4592d9b974a54d0e8cc8661967e0247286a323a37a15dd"}},{"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/main/scala/org/apache/mesos/chronos/scheduler/api/RedirectFilter.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"363ab013119fa2085c1b172e3c33c84ec48c8ddfe88789f47413d388f5534141"}},{"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/main/scala/org/apache/mesos/chronos/scheduler/state/MesosStatePersistenceStore.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0a265374d082259290a25ae91c5cb5a1f9488637b6e407a09facaeb539497e9"}},{"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/main/scala/org/apache/mesos/chronos/scheduler/api/DependentJobResource.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ab8148581d1b77f5dc2ebd0f995f03471b0e0f855fb87cdadb11e887f3fc751"}},{"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/main/scala/org/apache/mesos/chronos/scheduler/mesos/SchedulerDriverBuilder.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e84613621e9b8c756111b4276541d0785ee0bf991152245f66408680a873a3a"}},{"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/main/scala/org/apache/mesos/chronos/scheduler/config/ZookeeperModule.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa26f14a5ce413a15950eb71c6b09dc66c5e5b799ee9a5fb679ea2839e8f6676"}},{"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/main/scala/org/apache/mesos/chronos/scheduler/api/WebJarServlet.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f70a6b55788ed758cbb4f93a572ed710d9c5d4558bb97f9c65cf49f569c638c"}},{"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/main/scala/org/apache/mesos/chronos/notification/HttpClient.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f106692a4be3e3817e6919dfcf503bf0e362e997a9c9ad62913cf37da03bf16a"}},{"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/main/scala/org/apache/mesos/chronos/scheduler/jobs/TaskUtils.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a21689db33b98b64cd4351dcaadbd7138d66eeba7fe479807631e7ecc0263b79"}},{"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/main/scala/org/apache/mesos/chronos/scheduler/api/ChronosRestModule.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f28b51e46260635b660dc30cc08b647894ef336869174f48f5cfca3d6da15975"}},{"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/main/scala/org/apache/mesos/chronos/scheduler/jobs/Iso8601Expressions.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"45ba7566a09bdb86879081c1880c8706a8c6ae2fe6334b67eab56430ede8eb69"}},{"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/main/scala/org/apache/mesos/chronos/scheduler/api/StatsResource.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cb7e4cf73bdd75f29abe458a6463636c917736c58bb1cffa1259af04a086ede"}},{"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/main/scala/org/apache/mesos/chronos/scheduler/mesos/MesosOfferReviverActor.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3296cd9b6dbd21348689b07d1c6c5f8f8a03c9ef860e19a2ff5f1d0c4a3401ba"}},{"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/main/scala/org/apache/mesos/chronos/scheduler/jobs/TaskStat.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"926244fa0ea1e1df14b875eb71102b12d141f7eabd121645ae6bb8a78a4b7af4"}},{"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/main/scala/org/apache/mesos/chronos/scheduler/api/GraphManagementResource.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e5dd7cedddbe57ccd6b1776c3117e9e310192beaa11b1b73f47f8f611d054e1"}},{"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/main/scala/org/apache/mesos/chronos/scheduler/jobs/Containers.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"65dcdce1918f2e3fde49731f2d6d7684ab6021f5118496515bf6202c714d9618"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: JobDeserializer.scala \u2194 JobSerializer.scala: \u0060src/main/scala/org/apache/mesos/chronos/utils/JobDeserializer.scala\u0060 and \u0060src/main/scala/org/apache/mesos/chronos/utils/JobSerializer.scala\u0060 change together 91% of the time (20 of the 22 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 20 shared commits counted here, the most recent 3 are \u0060c1348ddf\u0060 Add max completion time to taskInfo (#881); \u0060950121dd\u0060 Support fetcher output_file parameter. (#788); \u00607c3523c3\u0060 Unified containers, cni networks and external volume support (#763) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/scala/org/apache/mesos/chronos/utils/JobDeserializer.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea825309b792d88778c5540c35f25a9c7a08665097d9994c438ce1894a6bfefa"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: MesosTaskBuilder.scala \u2194 JobSerializer.scala: \u0060src/main/scala/org/apache/mesos/chronos/scheduler/mesos/MesosTaskBuilder.scala\u0060 and \u0060src/main/scala/org/apache/mesos/chronos/utils/JobSerializer.scala\u0060 change together 55% of the time (12 of the 22 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 12 shared commits counted here, the most recent 3 are \u0060c1348ddf\u0060 Add max completion time to taskInfo (#881); \u0060950121dd\u0060 Support fetcher output_file parameter. (#788); \u00607c3523c3\u0060 Unified containers, cni networks and external volume support (#763) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/scala/org/apache/mesos/chronos/scheduler/mesos/MesosTaskBuilder.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cb26a4c07ba56193da6c133f502127ae9ff82d8950b7e3ef50af79cd8900395"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"CI pipeline targets a decommissioned service: The pipeline is well-formed, but the only CI definition is \u0060.travis.yml\u0060, and its \u0060README.md\u0060 build badge still points at \u0060travis-ci.org\u0060 \u2014 a service shut down in June 2021. No other CI is configured in this repository, so nothing has been building or testing changes here since that shutdown \u2014 the steps below describe a gate that is not running. Porting it is mostly mechanical: the build and test commands already written here are what a replacement pipeline would run."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"94fa49939f4e75dfcbfaabad72be66184852fe80bd9db87538e6e15223919a47"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 1/3 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060.\u0060, \u0060src/main/resources/ui\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add scalafix or scapegoat (or \u0060semgrep --config=auto\u0060, which runs on any language) as a CI step. What was searched, so you can tell an absence from a miss: the 1 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":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060src/main/resources/ui/package.json\u0060 declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices \u2014 including after an advisory is published against it. Add a \u0060.github/dependabot.yml\u0060 with one \u0060package-ecosystem\u0060 entry per ecosystem the tree uses (or an enabled \u0060renovate.json\u0060), and gate pull requests with \u0060actions/dependency-review-action\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/ui/package.json"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"282fb2be259b27aa0c98ce9df1003981df63d886d60c13e559d4a64bc87de0e1"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060HttpClient(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/scala/org/apache/mesos/chronos/notification/HttpClient.scala"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"aca57b2831690aa6ffc215b1b6a4ecf0ec97f00b079b65def511c87de1b38c78"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060.openConnection(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/scala/org/apache/mesos/chronos/scheduler/api/RedirectFilter.scala"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"b137bf66e0bcbc65d23ee69743dc7a2ca0225e1c7ec8bb10a9a6d972323c93af"}},{"ruleId":"R1","level":"warning","message":{"text":"Type Safety: 0 typed \u00B7 13 plain JS \u2014 the untyped files are src/main/resources/ui/components/Footer.js, src/main/resources/ui/components/Header.js, src/main/resources/ui/components/JobEditor.js, src/main/resources/ui/components/JobSummaryView.js, src/main/resources/ui/components/JsonEditor.js, src/main/resources/ui/components/Main.js (\u002B7 more)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d00ee7953f55325a823d27e5db9657c80ca9b9861c0c0abf8fe487cd3fa586d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): src/main/resources/ui/components/JobEditor.js:33 \u00B7 src/main/resources/ui/components/JobEditor.js:79 \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/main/resources/ui/components/JobEditor.js"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"75ba0fd604bd99a468b36c3d031b51eca3be42b34a4a2e3d577e0decae628e0e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): src/main/resources/ui/components/JobEditor.js:142 \u00B7 src/main/resources/ui/components/JobEditor.js:175 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/ui/components/JobEditor.js"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb29849a11173518d975311215fb3dbe84e96b2e021d821e58c127dfe74b0e2b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): src/main/resources/ui/webpack-release.config.js:15 \u00B7 src/main/resources/ui/webpack.config.js:17 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/ui/webpack-release.config.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c50975cbd899b56c8e33139c894f352561969fea914032e5a4ca354d605bef7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/main/resources/ui/models/JobForm.js:248 \u00B7 src/main/resources/ui/models/JobForm.js:263 \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/main/resources/ui/models/JobForm.js"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"548efba32872adb76445622f196d36bc5dcf6f7a86486b2b57196b0a4d1f5a3f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/main/resources/ui/components/JobEditor.js:248 \u00B7 src/main/resources/ui/components/JsonEditor.js:118 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/ui/components/JobEditor.js"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"134552f831de050db32b32b21d56ba2054c57d343fb37a0d8728947f4a2d0676"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/main/resources/ui/server.js:122 \u00B7 src/main/resources/ui/server.js:136 \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/main/resources/ui/server.js"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfc63b161087b2479d699ea35bc8212b0c3d598dcd7d07ffefe2335b23bf3431"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/main/resources/ui/components/JsonEditor.js:73 \u00B7 src/main/resources/ui/models/JobForm.js:395 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/ui/components/JsonEditor.js"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"0718cae17b06001c6a95124663e8bab4e7ef76f6785785d047a29cc88a133da5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): src/main/resources/ui/models/JobForm.js:280 \u00B7 src/main/resources/ui/models/JobForm.js:298 \u00B7 src/main/resources/ui/models/JobForm.js:313 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/ui/models/JobForm.js"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4bc1d71759bab9190bb882734007859cdca990b37ddd18fad5d90ae71460b30"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/main/resources/ui/components/JobSummaryView.js:62 \u00B7 src/main/resources/ui/components/JobSummaryView.js:71 \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/main/resources/ui/components/JobSummaryView.js"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8b2154c4319dd71dae23eb29daf1d40d80148a09e614217839556d21ccfb722"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/main/resources/ui/server.js:92 \u00B7 src/main/resources/ui/server.js:100 \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/main/resources/ui/server.js"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2a6bbc3eb008d4093b0963b607f7d0fb6b383f44cb6e3e915f96d5c6926a41b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/main/resources/ui/components/JobEditor.js:279 \u00B7 src/main/resources/ui/components/JobEditor.js:286 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/ui/components/JobEditor.js"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"651a4117087339a162e156efcc8c62931c4e26212f5a4a3a00d3439850e11728"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 24): (anonymous) has cyclomatic complexity 12 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/ui/models/JobForm.js"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3518cb7ca01d5c53d99ef718ff4b0311039e6e25d93421c31058a42e21a6b4a"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/resources/ui/models/JobForm.js: 432 lines of code: src/main/resources/ui/models/JobForm.js has 432 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/ui/models/JobForm.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbd657860079bb404e0c2012384ef4d2ab2485ea8314d4b94bc03b1f7ef7082a"}},{"ruleId":"R4","level":"warning","message":{"text":"Test Coverage: 0% of 13 production file(s) reachable from 0 test file(s) via the import graph \u2014 \u0027production\u0027 here is the RESIDUE: every source file left once tests, tooling, generated output, config, declarations and declaration-only modules, fixture corpora, type fixtures, behaviour-free data modules, re-export barrels, registration/constant data modules and service workers are set aside, so the percentage is taken over a smaller denominator than the workspace\u0027s file count"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"64e0e3511eb969fb4720b196e7d3799e1714077217351c3c56a27b50e3e21220"}},{"ruleId":"R6","level":"warning","message":{"text":"No test or typecheck script: test \u2717 \u00B7 lint \u2713 \u00B7 typecheck \u2717 \u2014 read from this repository\u0027s package.json scripts and corroborated against its CI workflows. A script counts when its name or command matches the step: \u0060test\u0060 for the suite, \u0060lint\u0060 or \u0060prettier\u0060 for linting, \u0060typecheck\u0060/\u0060type-check\u0060/\u0060tsc\u0060 for type checking. \u2717 therefore means no script or CI step under those names was found, NOT that the step is absent from your pipeline \u2014 a task invoked by a runner this check does not read, or named something else entirely, is not seen and is worth confirming before acting on a cross. A \u2713 means the wiring is DECLARED \u2014 a script or CI step under those names exists. It is not a statement that the step passes, or that it runs at all: nothing here installs a dependency or executes a suite."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"53484d7d02bbf1aa1fb3d1163371a5b52fa0aa7301d11eed5ec2dc836c72924b"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027mobx-react-form\u0027: Declared in src/main/resources/ui/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"00c08951c0c490aa1d4404c8c3eb9a97aaefbdb9db4ad53af8975430d955aaa7"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027validatorjs\u0027: Declared in src/main/resources/ui/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"31780cc2ea7c8002dd2ab287eee6cd913a7dc4f6583765019d823f11e575375a"}},{"ruleId":"S1","level":"note","message":{"text":"No app-layer HTTPS enforcement detected: This repository runs an HTTP server and nothing in its Scala source or committed configuration secures the transport: no HTTPS served (akka/pekko-http \u0060ConnectionContext.httpsServer\u0060/\u0060enableHttps\u0060, an http4s builder\u0027s \u0060withTLS\u0060, Jetty\u0027s \u0060SslContextFactory\u0060, zio-http\u0027s \u0060SSLConfig\u0060, Play\u0027s \u0060https.port\u0060), no \u0060Strict-Transport-Security\u0060 header, HSTS middleware or Play \u0060RedirectHttpsFilter\u0060, no \u0060X-Forwarded-Proto\u0060 read or Play \u0060play.http.forwarded.trustedProxies\u0060 for a TLS-terminating proxy \u2014 so its traffic may cross the network in clear text. (\u22122.0 on this card.) The server: src/main/scala/org/apache/mesos/chronos/scheduler/api/WebJarServlet.scala:12 \u2014 \u0060HttpServlet\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8697c7a8b4c37084f15e81b8ec84d4cf62954730be74a0816d39b2127a21fd9b"}},{"ruleId":"S1","level":"note","message":{"text":"No security response headers detected: None of the 11 security response headers the OWASP Secure Headers Project recommends (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, X-Frame-Options, \u2026) is set on a response this repository\u0027s Scala server sends \u2014 defense in depth, even when a proxy could set them. (\u22122.0 on this card.) The server: src/main/scala/org/apache/mesos/chronos/scheduler/api/WebJarServlet.scala:12 \u2014 \u0060HttpServlet\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bd19c680309417e132c0be93c2002123f0664b42afe6172b1319da65a6a57ba7"}},{"ruleId":"SC1","level":"warning","message":{"text":"JavaScript dependencies are not locked: src/main/resources/ui/package.json declares dependencies that no committed lockfile resolves \u2014 there is no package-lock.json / yarn.lock / pnpm-lock.yaml / bun.lock beside it, and no locked workspace above it names it \u2014 so its installs aren\u0027t reproducible (SSDF PW.4.4). Commit its package manager\u0027s lockfile (or add it to the locked workspace) and install from it (\u0060npm ci\u0060, \u0060yarn --immutable\u0060, \u0060pnpm i --frozen-lockfile\u0060 or \u0060bun i --frozen-lockfile\u0060). Advisory \u2014 never scored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/resources/ui/package.json"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"5882725b14edb15b1a58f1bddd49520aa22668899669173ffae45b7993cf6e93"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060message.nonEmpty \u0026\u0026 message.get.nonEmpty\u0060 appears character-identically in 4 files \u2014 src/main/scala/org/apache/mesos/chronos/notification/HttpClient.scala, src/main/scala/org/apache/mesos/chronos/notification/MailClient.scala, src/main/scala/org/apache/mesos/chronos/notification/MattermostClient.scala, src/main/scala/org/apache/mesos/chronos/notification/SlackClient.scala. 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/main/scala/org/apache/mesos/chronos/notification/HttpClient.scala"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d77e30feb43194ed1d3d607673fc328d66149fa90b402a16f57d233b4bfd198"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060fine\u0060 at line 299 is called with an argument built by \u0060dependents.mkString(\u0022\u2026\u0022)\u0060 (line 300), whose cost grows with the collection it walks. Scala evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because fine is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: the logger takes a built \u0060String\u0060 (SLF4J, Akka/Pekko \u0060LoggingAdapter\u0060, \u0060context.log\u0060), and there is no \u0060isDebugEnabled\u0060/\u0060isTraceEnabled\u0060 test and no debug flag."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/scala/org/apache/mesos/chronos/scheduler/jobs/JobScheduler.scala"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b121da8e86ef155a043910229ddd88c7ac29535c9e624a793efcd313c0a8a0e"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060fine\u0060 at line 172 is called with an argument built by \u0060results.mkString(\u0022\u2026\u0022)\u0060 (line 172), whose cost grows with the collection it walks. Scala evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because fine is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: the logger takes a built \u0060String\u0060 (SLF4J, Akka/Pekko \u0060LoggingAdapter\u0060, \u0060context.log\u0060), and there is no \u0060isDebugEnabled\u0060/\u0060isTraceEnabled\u0060 test and no debug flag."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/scala/org/apache/mesos/chronos/scheduler/graph/JobGraph.scala"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"37d60cbb4c60b585947baa64336bba82b98844a7c79a88656cb73efb003b375b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060case _: 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/main/scala/org/apache/mesos/chronos/scheduler/jobs/JobScheduler.scala"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"25002438ebff50c59b66f2fd43f5aa59f012b21b847beecc9bc36d986b06e3bb"}},{"ruleId":"X5","level":"note","message":{"text":"Scala\u0027s null is not held to the type system everywhere: No build over this repository\u0027s 74 Scala product file(s) passes \u0060-Yexplicit-nulls\u0060, enables WartRemover\u0027s \u0060Null\u0060 wart or runs Scalafix\u0027s \u0060DisableSyntax.noNulls\u0060, so every reference type admits null and nothing reports a \u0060null\u0060 written into the code or returned from a Java API \u2014 the first one to reach a method call is a \u0060NullPointerException\u0060. \u0060Option\u0060 by convention is a habit no tool here holds the code to."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"23e7c3c6da50151f07723c64ca4f881fd5903e713d143161a7c0594ad7ba29cc"}}],"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-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-457","guid":"b62874fe-6222-8b5b-8ade-9527ad1cbb4a","name":"CWE-457","shortDescription":{"text":"CWE-457"},"helpUri":"https://cwe.mitre.org/data/definitions/457.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.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-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"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":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"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/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"}]}],"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":15,"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."]}]}