{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"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":"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":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D24","name":"Comment Value","shortDescription":{"text":"Comment Value"},"helpUri":"https://codehealth.canine.dev/dimensions/D24"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"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":"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":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","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-1059"],"owasp":"A02: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":"AC1","name":"Text alternatives","shortDescription":{"text":"Text alternatives"},"helpUri":"https://codehealth.canine.dev/dimensions/AC1"},{"id":"AC2","name":"Forms \u0026 labels","shortDescription":{"text":"Forms \u0026 labels"},"helpUri":"https://codehealth.canine.dev/dimensions/AC2"},{"id":"AC3","name":"Page structure","shortDescription":{"text":"Page structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AC3"},{"id":"AC4","name":"Keyboard semantics","shortDescription":{"text":"Keyboard semantics"},"helpUri":"https://codehealth.canine.dev/dimensions/AC4"},{"id":"AC5","name":"ARIA correctness","shortDescription":{"text":"ARIA correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/AC5"},{"id":"AC6","name":"Visual \u0026 motion safety","shortDescription":{"text":"Visual \u0026 motion safety"},"helpUri":"https://codehealth.canine.dev/dimensions/AC6"},{"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":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"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":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"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":"R5","name":"Dependency Freshness","shortDescription":{"text":"Dependency Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/R5"},{"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":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"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":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"Menus.Menus.init (cyclomatic 1146): Menus.Menus.init has cyclomatic complexity 1146 (threshold 15). Of this number, 113 points are the body\u0027s own statements and 1033 belong to 244 function items inside it that branch. 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/webapp/js/diagramly/Menus.js"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"82d92a1ddb848318422ee967e44629e2a871ce94836aca7a72a9726cf80aa90c"}},{"ruleId":"D1","level":"warning","message":{"text":"Extensions.addCompositeShape (cyclomatic 845): Extensions.addCompositeShape has cyclomatic complexity 845 (threshold 15). Of this number, 842 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. 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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":7711}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffc898f2203dbec30fc21f937470a2dcf4656cda6aa4089ad2b53d775aa8b3cc"}},{"ruleId":"D1","level":"warning","message":{"text":"Actions.Actions.init (cyclomatic 359): Actions.Actions.init has cyclomatic complexity 359 (threshold 15). Of this number, 33 points are the body\u0027s own statements and 326 belong to 101 function items inside it that branch. 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/webapp/js/grapheditor/Actions.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c2a146b3f191495cefc7fd71879632678151db4c89aa3197f23f3116ee8c27e"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.installMessageHandler (cyclomatic 338): EditorUi.EditorUi.installMessageHandler has cyclomatic complexity 338 (threshold 15). Most of this is not in the body itself: 7 of the 338 points are its own statements and the rest belongs to 36 function literals inside it that branch (lines 32406, 33033, 33879, \u2026). 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":32341}}}],"partialFingerprints":{"codehealthFindingId/v1":"abe8f46536be4f9770381aae701e19d40b88cee7cd0c5fda6f25635b3fb28f21"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.init (cyclomatic 327): EditorUi.EditorUi.init has cyclomatic complexity 327 (threshold 15). Of this number, 131 points are the body\u0027s own statements and 196 belong to 49 function items inside it that branch. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":22767}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad886204583d52694d2da3657b70241b05deb8dacecba951f44293fce5d2f97d"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.initCanvas (cyclomatic 327): EditorUi.EditorUi.initCanvas has cyclomatic complexity 327 (threshold 15). Of this number, 86 points are the body\u0027s own statements and 241 belong to 46 function items inside it that branch. 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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":5648}}}],"partialFingerprints":{"codehealthFindingId/v1":"9957e347c1c330ba3e7f13c6b2486201e825ac7da30de32c6a0cb786053a790e"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.doImportCsv (cyclomatic 321): EditorUi.EditorUi.doImportCsv has cyclomatic complexity 321 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 2 other methods here (EditorUi.EditorUi.doImportCsv::updateListItems, EditorUi.EditorUi.doImportCsv::getEdgeLabel) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":39560}}}],"partialFingerprints":{"codehealthFindingId/v1":"a784b16d47cd4873dde33935950fe7198b895ba36dbfdbe92cb98944876ebb77"}},{"ruleId":"D1","level":"warning","message":{"text":"Format.TextFormatPanel.addFont (cyclomatic 286): Format.TextFormatPanel.addFont has cyclomatic complexity 286 (threshold 15). Of this number, 66 points are the body\u0027s own statements and 220 belong to 45 function items inside it that branch. 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/webapp/js/grapheditor/Format.js"},"region":{"startLine":5025}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c6709bfbdfb19a8a9c49acd3cd63dc743084864513a56c2ae604e9b229075d5"}},{"ruleId":"D1","level":"warning","message":{"text":"Sidebar.Sidebar.createDragSource (cyclomatic 206): Sidebar.Sidebar.createDragSource has cyclomatic complexity 206 (threshold 15). Of this number, 76 points are the body\u0027s own statements and 130 belong to 10 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":6440}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe6b2c5f7c9bdf46f1c7b20c7871a55440b55f407395c69cd68ad05d45d86340"}},{"ruleId":"D1","level":"warning","message":{"text":"Editor.Editor.configure (cyclomatic 202): Editor.Editor.configure has cyclomatic complexity 202 (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/webapp/js/diagramly/Editor.js"},"region":{"startLine":3441}}}],"partialFingerprints":{"codehealthFindingId/v1":"e446dda3c0bfd40b6a355206277219c0339c931e1819945f4360a561d9757451"}},{"ruleId":"D1","level":"warning","message":{"text":"Shapes.mxShapeBasicRect2.strictDrawShape (cyclomatic 165): Shapes.mxShapeBasicRect2.strictDrawShape has cyclomatic complexity 165 (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/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":6106}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd82a918c78e2da03a0de05bbf3c9c66c17039301f4f9bb620220e80ebc5018f"}},{"ruleId":"D1","level":"warning","message":{"text":"Sidebar.Sidebar.addSearchPalette (cyclomatic 161): Sidebar.Sidebar.addSearchPalette has cyclomatic complexity 161 (threshold 15). Most of this is not in the body itself: 8 of the 161 points are its own statements and the rest belongs to 24 function items inside it that branch (a function literal at line 3594, a function literal at line 3052, a function literal at line 2958, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":2838}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7565b6c50ed3e6263f0c8d20a92c9a965c7cff181ae1f53d4a21f4b78435ba4"}},{"ruleId":"D1","level":"warning","message":{"text":"GraphViewer.GraphViewer.init (cyclomatic 154): GraphViewer.GraphViewer.init has cyclomatic complexity 154 (threshold 15). Of this number, 43 points are the body\u0027s own statements and 111 belong to 13 function literals inside it that branch. 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/webapp/js/diagramly/GraphViewer.js"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"f97abf9ece89cecdec823f67e17fd7f08627d2b7d3d6fd088487dd8d44b8f3cf"}},{"ruleId":"D1","level":"warning","message":{"text":"export.render::renderPage (cyclomatic 124): export.render::renderPage has cyclomatic complexity 124 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (export.render) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/export.js"},"region":{"startLine":1626}}}],"partialFingerprints":{"codehealthFindingId/v1":"5592ba39c35c56a9605d014cd472393159fbcbba618bd003965b36d48c73e1de"}},{"ruleId":"D1","level":"warning","message":{"text":"App.App.start (cyclomatic 121): App.App.start has cyclomatic complexity 121 (threshold 15). Of this number, 52 points are the body\u0027s own statements and 69 belong to 13 function literals inside it that branch. 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/webapp/js/diagramly/App.js"},"region":{"startLine":4281}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d54d2d8fe52909fb025328db449a3c596d35bcd1f3f49ac89d528e5a764b3f3"}},{"ruleId":"D1","level":"warning","message":{"text":"export.render (cyclomatic 117): export.render has cyclomatic complexity 117 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (export.render::renderPage) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/export.js"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1172a119b66c7f86b3bad56f7c05a5b8ecbce04988c4dd881e9a3de84efd533"}},{"ruleId":"D1","level":"warning","message":{"text":"getHexagonPerimeterPoint (cyclomatic 114): getHexagonPerimeterPoint has cyclomatic complexity 114 (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/webapp/mxgraph/src/view/mxPerimeter.js"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6eeb8c5cdb37c3dad5f761eabf0ccfed27a373dc1a44561908d7d3040965bb1"}},{"ruleId":"D1","level":"warning","message":{"text":"Embed.initGraph (cyclomatic 112): Embed.initGraph has cyclomatic complexity 112 (threshold 15). Of this number, 58 points are the body\u0027s own statements and 54 belong to 11 function items inside it that branch. 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/webapp/js/diagramly/Embed.js"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"8062af2c21994031592193bb6195f4f8d83cec3585f74bf14a43dd94170f3695"}},{"ruleId":"D1","level":"warning","message":{"text":"executeCustomActions (cyclomatic 112): executeCustomActions has cyclomatic complexity 112 (threshold 15). Most of this is not in the body itself: 4 of the 112 points are its own statements and the rest belongs to 9 function items inside it that branch (a function literal at line 13055, needsView, a function literal at line 13042, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":12980}}}],"partialFingerprints":{"codehealthFindingId/v1":"88564187ca9cd5a9813f047f8b196308d1e8abc7df6a1d33bbdee21cf65aff2e"}},{"ruleId":"D1","level":"warning","message":{"text":"initGraph (cyclomatic 112): initGraph has cyclomatic complexity 112 (threshold 15). Of this number, 50 points are the body\u0027s own statements and 62 belong to 21 function items inside it that branch. 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/webapp/js/embed.dev.js"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae3122e78b526fba95c1dd230658170faed98d59b3160afb73039ac2a47753fc"}},{"ruleId":"D1","level":"warning","message":{"text":"Dialogs.DataSourceDialog (cyclomatic 111): Dialogs.DataSourceDialog has cyclomatic complexity 111 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 95 belong to 25 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":23065}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f8e5090167eb2b64dc8b63a712f1531328c80a1370519e080f72c8cc06ef2da"}},{"ruleId":"D1","level":"warning","message":{"text":"DriveClient.DriveClient.saveFile (cyclomatic 109): DriveClient.DriveClient.saveFile has cyclomatic complexity 109 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 89 belong to 14 function literals inside it that branch. 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/webapp/js/diagramly/DriveClient.js"},"region":{"startLine":2183}}}],"partialFingerprints":{"codehealthFindingId/v1":"815821fcf11adae3507ca8b0cb1058da6423584b1623a04ed5dd3844271f6955"}},{"ruleId":"D1","level":"warning","message":{"text":"Minimal.EditorUi.initMinimalTheme (cyclomatic 108): Minimal.EditorUi.initMinimalTheme has cyclomatic complexity 108 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 81 belong to 25 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Minimal.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"b52dccb9dc337e15d857ca52e7f0d8cc78b995ac3471a332545c9be3587715b6"}},{"ruleId":"D1","level":"warning","message":{"text":"SegmentConnector (cyclomatic 108): SegmentConnector has cyclomatic complexity 108 (threshold 15). Of this number, 105 points are the body\u0027s own statements and 3 belong to 2 function items inside it that branch. 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/webapp/mxgraph/src/view/mxEdgeStyle.js"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"83a28bedab981c1f59de2623cac3aac131c59ce5aac8a197a3aee20e4acae9f3"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.libraryLoaded (cyclomatic 106): EditorUi.EditorUi.libraryLoaded has cyclomatic complexity 106 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 79 belong to 17 function literals inside it that branch. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":6149}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ea00a660d51ce4f9858d5b4f17ab97344b049ab578eae504647a12c6798b2eb"}},{"ruleId":"D1","level":"warning","message":{"text":"OrthConnector (cyclomatic 106): OrthConnector has cyclomatic complexity 106 (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/webapp/mxgraph/src/view/mxEdgeStyle.js"},"region":{"startLine":1141}}}],"partialFingerprints":{"codehealthFindingId/v1":"500b37640ebcdc23a56cf618bcb42fa98fa3d8e9804f7ce1991a95260c91bb08"}},{"ruleId":"D1","level":"warning","message":{"text":"App.App.loadFile (cyclomatic 105): App.App.loadFile has cyclomatic complexity 105 (threshold 15). Most of this is not in the body itself: 11 of the 105 points are its own statements and the rest belongs to 21 function literals inside it that branch (lines 7020, 7272, 7384, \u2026). 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/webapp/js/diagramly/App.js"},"region":{"startLine":7011}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e19594d56b0e00eaa1b7801dfa039f0cd93910e1541ae3773b9d5def3c55ea7"}},{"ruleId":"D1","level":"warning","message":{"text":"Dialogs.LayersWindow (cyclomatic 105): Dialogs.LayersWindow has cyclomatic complexity 105 (threshold 15). Most of this is not in the body itself: 4 of the 105 points are its own statements and the rest belongs to 31 function items inside it that branch (a function literal at line 5619, refresh::addLayer, renameLayer, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Dialogs.js"},"region":{"startLine":5350}}}],"partialFingerprints":{"codehealthFindingId/v1":"42cfb2122a5114babb1f2536fb8faaf5930c51c08237c2c52cd01d087b282dc9"}},{"ruleId":"D1","level":"warning","message":{"text":"App.App.main (cyclomatic 104): App.App.main has cyclomatic complexity 104 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (App.App.main::doMain) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":1006}}}],"partialFingerprints":{"codehealthFindingId/v1":"a75ee3528f9f250d730bdae2f6eb3a150408deba85b55a9e87c47aceb5a689cf"}},{"ruleId":"D1","level":"warning","message":{"text":"mxSvgCanvas2D.mxSvgCanvas2D.wrapSvgTextElement (cyclomatic 103): mxSvgCanvas2D.mxSvgCanvas2D.wrapSvgTextElement has cyclomatic complexity 103 (threshold 15). Of this number, 56 points are the body\u0027s own statements and 47 belong to 6 function items inside it that branch. 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/webapp/mxgraph/src/util/mxSvgCanvas2D.js"},"region":{"startLine":2589}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1ca7ad3ddb247e747d015d12059128e9f346a14aeb5edf7dfefc3a97844617a"}},{"ruleId":"D1","level":"warning","message":{"text":"Dialogs.ConnectionPointsDialog (cyclomatic 100): Dialogs.ConnectionPointsDialog has cyclomatic complexity 100 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 71 belong to 17 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":24961}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8a38999f08b983797a0625e69f72cbca3455484eaadcc2dd808f4b3580c279d"}},{"ruleId":"D1","level":"warning","message":{"text":"Format.DiagramStylePanel.addGraphStyles (cyclomatic 97): Format.DiagramStylePanel.addGraphStyles has cyclomatic complexity 97 (threshold 15). Most of this is not in the body itself: 10 of the 97 points are its own statements and the rest belongs to 17 function items inside it that branch (a function literal at line 9249, a function literal at line 9147, a function literal at line 9216, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Format.js"},"region":{"startLine":9130}}}],"partialFingerprints":{"codehealthFindingId/v1":"abc754b4c934601003906748f7b0f9ae9cb17c33e3a878e1dafdc421e789098d"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.Graph.connectVertex (cyclomatic 95): Graph.Graph.connectVertex has cyclomatic complexity 95 (threshold 15). Of this number, 58 points are the body\u0027s own statements and 37 belong to one function literal inside it that branches. 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":17522}}}],"partialFingerprints":{"codehealthFindingId/v1":"be7260dc958af662da650f8470b8b5d9229e9f386420ebd3b4ca674b4326be55"}},{"ruleId":"D1","level":"warning","message":{"text":"App.App.init (cyclomatic 93): App.App.init has cyclomatic complexity 93 (threshold 15). Of this number, 66 points are the body\u0027s own statements and 27 belong to 7 function literals inside it that branch. 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/webapp/js/diagramly/App.js"},"region":{"startLine":2032}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c71ad0751152710ec48eddf65b89802eb1bcb0446152c793096729ed705dae3"}},{"ruleId":"D1","level":"warning","message":{"text":"Dialogs.StyleRulesDialog (cyclomatic 93): Dialogs.StyleRulesDialog has cyclomatic complexity 93 (threshold 15). Most of this is not in the body itself: 2 of the 93 points are its own statements and the rest belongs to 29 function items inside it that branch (render, createKeySelect, createValueControl, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":21321}}}],"partialFingerprints":{"codehealthFindingId/v1":"42694074df4b020cf0bbd3b5a69b6e91ffe0282b58d00213949e93a31885028e"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.repairHasParentCycle (cyclomatic 92): EditorUi.repairHasParentCycle has cyclomatic complexity 92 (threshold 15). Of this number, 40 points are the body\u0027s own statements and 52 belong to 17 function items inside it that branch. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":21720}}}],"partialFingerprints":{"codehealthFindingId/v1":"09d516bd3902f4eb95ff4f2066ee0016a4f88e527b20153beba9857db3cf53d7"}},{"ruleId":"D1","level":"warning","message":{"text":"TidyFeatures.TidyFeatures.extract (cyclomatic 91): TidyFeatures.TidyFeatures.extract has cyclomatic complexity 91 (threshold 15). Of this number, 79 points are the body\u0027s own statements and 12 belong to 2 function items inside it that branch. 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/webapp/js/diagramly/tidy/TidyFeatures.js"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6696d3d00db54ab7cbbd568ecde6c9263ba3c7d61e38dd7a311df6bc05685b6"}},{"ruleId":"D1","level":"warning","message":{"text":"Dialogs.TextOutlineWindow (cyclomatic 89): Dialogs.TextOutlineWindow has cyclomatic complexity 89 (threshold 15). Most of this is not in the body itself: 1 of the 89 points is its own statement and the rest belongs to 19 function items inside it that branch (a function literal at line 5192, a function literal at line 5019, a function literal at line 5111, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Dialogs.js"},"region":{"startLine":4781}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a6a3ecfdb8c12aa46b82dba3d50118186440ff39d6149fac0d273b4fbd2bb9c"}},{"ruleId":"D1","level":"warning","message":{"text":"Dialogs.CreateDialog (cyclomatic 88): Dialogs.CreateDialog has cyclomatic complexity 88 (threshold 15). Of this number, 60 points are the body\u0027s own statements and 28 belong to 9 function items inside it that branch. 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":5029}}}],"partialFingerprints":{"codehealthFindingId/v1":"26a6a84afdf57bd86afbc20a3e28abb2f910d9ffc0a329ae110e7bcbf37825a0"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.print (cyclomatic 87): EditorUi.EditorUi.print has cyclomatic complexity 87 (threshold 15). Of this number, 36 points are the body\u0027s own statements and 51 belong to 6 function literals inside it that branch. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":29906}}}],"partialFingerprints":{"codehealthFindingId/v1":"a52c8b45f368d884c48c7ef454d9542035391ec1c74ab0815e8b173850378bbb"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.applyEdgesText (cyclomatic 86): EditorUi.EditorUi.applyEdgesText has cyclomatic complexity 86 (threshold 15). Of this number, 76 points are the body\u0027s own statements and 10 belong to 3 function items inside it that branch. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":36312}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c7e833c672ab229a581c3fa4d94ea0fe62193a996bd0b658c40594b09bd3557"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.Graph.prefixSvgIds (cyclomatic 85): Graph.Graph.prefixSvgIds has cyclomatic complexity 85 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 63 belong to 11 function items inside it that branch. 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":5474}}}],"partialFingerprints":{"codehealthFindingId/v1":"19e1375a909f8702dcbf0957b7bc9cb96bffa7ae635ff427ada8f7d48f7f5f40"}},{"ruleId":"D1","level":"warning","message":{"text":"mxStencil.mxStencil.drawNode (cyclomatic 85): mxStencil.mxStencil.drawNode has cyclomatic complexity 85 (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/webapp/mxgraph/src/shape/mxStencil.js"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"c43c80ae3aeea32693583f44534395752339a6851b4d65e803bf5a115fb0f499"}},{"ruleId":"D1","level":"warning","message":{"text":"Editor.Editor.convertImages (cyclomatic 84): Editor.Editor.convertImages has cyclomatic complexity 84 (threshold 15). Most of this is not in the body itself: 3 of the 84 points are its own statements and the rest belongs to 17 function items inside it that branch (a function literal at line 6527, a function literal at line 6709, a function literal at line 6676, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":6329}}}],"partialFingerprints":{"codehealthFindingId/v1":"528fffa92486686753cfc58d2a2e2e185aa001ba52e1b1ce0d761100663b4114"}},{"ruleId":"D1","level":"warning","message":{"text":"Dialogs.EditDataDialog (cyclomatic 82): Dialogs.EditDataDialog has cyclomatic complexity 82 (threshold 15). Of this number, 38 points are the body\u0027s own statements and 44 belong to 11 function items inside it that branch. 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/webapp/js/grapheditor/Dialogs.js"},"region":{"startLine":3880}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0ceb192441954741e6a9684de0d21272c1aa58a11eef2a0269ff6eb94680bfe"}},{"ruleId":"D1","level":"warning","message":{"text":"Format.ArrangePanel.addGeometry (cyclomatic 82): Format.ArrangePanel.addGeometry has cyclomatic complexity 82 (threshold 15). Of this number, 35 points are the body\u0027s own statements and 47 belong to 9 function items inside it that branch. 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/webapp/js/grapheditor/Format.js"},"region":{"startLine":3383}}}],"partialFingerprints":{"codehealthFindingId/v1":"60c1822f8aea60fb50a6f93e87068ee5419d8547afda7b9b905e43c60c7af34a"}},{"ruleId":"D1","level":"warning","message":{"text":"mxKubernetes.mxShapeKubernetesIcon2.paintVertexShape (cyclomatic 81): mxKubernetes.mxShapeKubernetesIcon2.paintVertexShape has cyclomatic complexity 81 (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/webapp/shapes/mxKubernetes.js"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"02893ae1e3931ee781f91ecae6bfd814a6bd9ebc6cd89e30d8e52a95be924d65"}},{"ruleId":"D1","level":"warning","message":{"text":"AnimationExport.AnimationExport.Player.executeBatch (cyclomatic 80): AnimationExport.AnimationExport.Player.executeBatch has cyclomatic complexity 80 (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/webapp/js/diagramly/gif/AnimationExport.js"},"region":{"startLine":714}}}],"partialFingerprints":{"codehealthFindingId/v1":"012b4355260590d35a6b539bb8318ff1bb41b02e9be97e674e32e748f919ef7c"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.importFiles (cyclomatic 79): EditorUi.EditorUi.importFiles has cyclomatic complexity 79 (threshold 15). Most of this is not in the body itself: 15 of the 79 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 17773, 17765, 17667, \u2026). 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":17625}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ee4295f865a2c2e18df00bab3a94f7312f6e0a2c025ec16a9169cadccfd54a8"}},{"ruleId":"D1","level":"warning","message":{"text":"Extensions.updateCell (cyclomatic 78): Extensions.updateCell has cyclomatic complexity 78 (threshold 15). Of this number, 65 points are the body\u0027s own statements and 13 belong to 2 function items inside it that branch. 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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":5951}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a0cc074652fdfe0fa63ebd7d8555d230b22263f737136dd6485b9b0d4cd058d"}},{"ruleId":"D1","level":"warning","message":{"text":"Utils.checkStreamContent (cyclomatic 78): Utils.checkStreamContent has cyclomatic complexity 78 (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/server/java/com/mxgraph/online/Utils.java"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"77beb337bc066f6c34a6e585b434f92bf0cb3bc9fc1b87dced9c795b4dfe7694"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 78): (anonymous) has cyclomatic complexity 78 (threshold 15). Most of this is not in the body itself: 1 of the 78 points is its own statement and the rest belongs to 46 function items inside it that branch (decodeVssx::(anonymous)::_loop_1, normalizeGraph, applyUncroppedImages, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":2801}}}],"partialFingerprints":{"codehealthFindingId/v1":"9465f9a980bb40b442b884b3be3d412af908291bec4cbc7a1533efcfcc7744a2"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::getControlPoints (cyclomatic 78): (anonymous)::getControlPoints has cyclomatic complexity 78 (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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":13860}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbb78d4a85cd641ebab0952924b1b5d9226894d018496b2d04fc47dfda1e4db0"}},{"ruleId":"D1","level":"warning","message":{"text":"Dialogs.LinkDialog (cyclomatic 77): Dialogs.LinkDialog has cyclomatic complexity 77 (threshold 15). Of this number, 35 points are the body\u0027s own statements and 42 belong to 15 function items inside it that branch. 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":6051}}}],"partialFingerprints":{"codehealthFindingId/v1":"f60fb6c1015e76bb6c406e3ac9adf33dce6abf5b229bbdef1646eeb5d575cd68"}},{"ruleId":"D1","level":"warning","message":{"text":"Dialogs.RevisionDialog (cyclomatic 77): Dialogs.RevisionDialog has cyclomatic complexity 77 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 58 belong to 21 function literals inside it that branch. 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":8653}}}],"partialFingerprints":{"codehealthFindingId/v1":"03336819ee7ea06d8c3cc57315517e14db0778d65d738d820a3bf1251fb78dfd"}},{"ruleId":"D1","level":"warning","message":{"text":"GraphViewer.GraphViewer.addToolbar (cyclomatic 77): GraphViewer.GraphViewer.addToolbar has cyclomatic complexity 77 (threshold 15). Of this number, 36 points are the body\u0027s own statements and 41 belong to 18 function literals inside it that branch. 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/webapp/js/diagramly/GraphViewer.js"},"region":{"startLine":1843}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7ba5674f68c52c36da42e61b0d90ecad8cb1f5b82359c1d0f12d13a3fc76f33"}},{"ruleId":"D1","level":"warning","message":{"text":"FindWindow::search (cyclomatic 77): FindWindow::search has cyclomatic complexity 77 (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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":10115}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7b623cf11c45f771864942f1d93cf9b84c61f6254556491caa0dddda0a3cac0"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.showExportDialog (cyclomatic 76): EditorUi.EditorUi.showExportDialog has cyclomatic complexity 76 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 2 other methods here (EditorUi.EditorUi.showExportDialog::getPresetValues, EditorUi.EditorUi.showExportDialog::setPresetValues) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":11787}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e3e3897144d0ba4b890ee15ee726de0ce94a6be3848b6c83c1806126a3ce479"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.installNativeClipboardHandler (cyclomatic 76): EditorUi.EditorUi.installNativeClipboardHandler has cyclomatic complexity 76 (threshold 15). Most of this is not in the body itself: 2 of the 76 points are its own statements and the rest belongs to 13 function literals inside it that branch (lines 24957, 25104, 24923, \u2026). 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":24873}}}],"partialFingerprints":{"codehealthFindingId/v1":"30be6b48f2400a1a6bb94ca1efec2d8fae3a1e8495f060988a23441f7a9971f7"}},{"ruleId":"D1","level":"warning","message":{"text":"DiffSync.EditorUi.patchPages (cyclomatic 75): DiffSync.EditorUi.patchPages has cyclomatic complexity 75 (threshold 15). Of this number, 41 points are the body\u0027s own statements and 34 belong to 2 function literals inside it that branch. 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/webapp/js/diagramly/DiffSync.js"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b3efecd616d19cc7bd03044ee4898e4e616fdeefb2f60516ea9174e59f4e503"}},{"ruleId":"D1","level":"warning","message":{"text":"GitLabClient.GitLabClient.showGitLabDialog (cyclomatic 75): GitLabClient.GitLabClient.showGitLabDialog has cyclomatic complexity 75 (threshold 15). Most of this is not in the body itself: 5 of the 75 points are its own statements and the rest belongs to 27 function literals inside it that branch (lines 1309, 1133, 987, \u2026). 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/webapp/js/diagramly/GitLabClient.js"},"region":{"startLine":808}}}],"partialFingerprints":{"codehealthFindingId/v1":"42e22a9d63867c9650e5b5c92e71c5b87b5a81538b14625cb9a4bea167b6add6"}},{"ruleId":"D1","level":"warning","message":{"text":"mxGraphMlCodec.mxGraphMlCodec.addLabels (cyclomatic 75): mxGraphMlCodec.mxGraphMlCodec.addLabels has cyclomatic complexity 75 (threshold 15). Of this number, 67 points are the body\u0027s own statements and 8 belong to 3 function items inside it that branch. 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/webapp/js/diagramly/graphml/mxGraphMlCodec.js"},"region":{"startLine":2486}}}],"partialFingerprints":{"codehealthFindingId/v1":"b90dcaab2a3b93167cedebe519721e1932bddcfa8d4bf15d603b35286d217832"}},{"ruleId":"D1","level":"warning","message":{"text":"mxFreehand.mxFreehand (cyclomatic 75): mxFreehand.mxFreehand has cyclomatic complexity 75 (threshold 15). Most of this is not in the body itself: 11 of the 75 points are its own statements and the rest belongs to 14 function items inside it that branch (a function literal at line 236, a function literal at line 396, a function literal at line 158, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/mxFreehand.js"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"dce85b873ad3b369fe72aa40ebfa76718be774001c29ab2f1b685621106ea302"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.Graph.setTextColor (cyclomatic 73): Graph.Graph.setTextColor has cyclomatic complexity 73 (threshold 15). Of this number, 66 points are the body\u0027s own statements and 7 belong to 3 function items inside it that branch. 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":3297}}}],"partialFingerprints":{"codehealthFindingId/v1":"9874aa8fc1b99e6bc68af09f8e364cee45c1653507075484464531b9084c672b"}},{"ruleId":"D1","level":"warning","message":{"text":"mxGraphMlCodec.mxGraphMlCodec.handleCompoundShape (cyclomatic 72): mxGraphMlCodec.mxGraphMlCodec.handleCompoundShape has cyclomatic complexity 72 (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/webapp/js/diagramly/graphml/mxGraphMlCodec.js"},"region":{"startLine":1267}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5a91198bb1f60bbc20c9bb76568300646fc366d5aa8d053c878cb8879976361"}},{"ruleId":"D1","level":"warning","message":{"text":"Tidy.Tidy.measure (cyclomatic 72): Tidy.Tidy.measure has cyclomatic complexity 72 (threshold 15). Of this number, 50 points are the body\u0027s own statements and 22 belong to 4 function literals inside it that branch. To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/tidy/Tidy.js"},"region":{"startLine":1023}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c3cb3d3f1fd68af1130e80159f8f24561ef18b028c65b9a16b9520467476b67"}},{"ruleId":"D1","level":"warning","message":{"text":"Dialogs.BackgroundImageDialog (cyclomatic 70): Dialogs.BackgroundImageDialog has cyclomatic complexity 70 (threshold 15). Of this number, 30 points are the body\u0027s own statements and 40 belong to 19 function items inside it that branch. 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":927}}}],"partialFingerprints":{"codehealthFindingId/v1":"6551643979ed146080317a8d08e27ebca4d2ba8468bd1fea554a2f69f82362c4"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.handleError (cyclomatic 70): EditorUi.EditorUi.handleError has cyclomatic complexity 70 (threshold 15). Of this number, 64 points are the body\u0027s own statements and 6 belong to 6 function literals inside it that branch. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":7701}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f6393c3722f932cc5c4e3978dc08c7a1cc840385c958b4284a2b115ad66adf3"}},{"ruleId":"D1","level":"warning","message":{"text":"mxGraph.mxGraph.fireMouseEvent (cyclomatic 70): mxGraph.mxGraph.fireMouseEvent has cyclomatic complexity 70 (threshold 15). Of this number, 69 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. 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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":14371}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0e34e8a90df369cd0e3aefd02f079e834d592d274c19838a2257f4b36bee351"}},{"ruleId":"D1","level":"warning","message":{"text":"mxConnectionHandler.mxConnectionHandler.mouseMove (cyclomatic 69): mxConnectionHandler.mxConnectionHandler.mouseMove has cyclomatic complexity 69 (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/webapp/mxgraph/src/handler/mxConnectionHandler.js"},"region":{"startLine":1248}}}],"partialFingerprints":{"codehealthFindingId/v1":"697db1a5de939dd398651a016293a4e8cd0480ecb11b360eb0ca95b22fc29bec"}},{"ruleId":"D1","level":"warning","message":{"text":"mxGraphHandler.mxGraphHandler.mouseMove (cyclomatic 69): mxGraphHandler.mxGraphHandler.mouseMove has cyclomatic complexity 69 (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/webapp/mxgraph/src/handler/mxGraphHandler.js"},"region":{"startLine":1237}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c5c3ffaa49473686e6f675e99a6092b25e481a3d5c19892d5fca084e0aafa2a"}},{"ruleId":"D1","level":"warning","message":{"text":"Dialogs.NewDialog (cyclomatic 68): Dialogs.NewDialog has cyclomatic complexity 68 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 3 other methods here (Dialogs.NewDialog::create, Dialogs.NewDialog::addButton, Dialogs.NewDialog::filterTemplates) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":2386}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c494c08cbab980a0b430b44702cc90d9e2170145df28f899f1f4dd3a8ebfc83"}},{"ruleId":"D1","level":"warning","message":{"text":"Tidy.Tidy.plan (cyclomatic 68): Tidy.Tidy.plan has cyclomatic complexity 68 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/tidy/Tidy.js"},"region":{"startLine":1412}}}],"partialFingerprints":{"codehealthFindingId/v1":"f275013ad84029ded44b8763f261d9922c957172e8d52d0a619b845aaecb4de0"}},{"ruleId":"D1","level":"warning","message":{"text":"Format.StyleFormatPanel.addStroke (cyclomatic 68): Format.StyleFormatPanel.addStroke has cyclomatic complexity 68 (threshold 15). Most of this is not in the body itself: 9 of the 68 points are its own statements and the rest belongs to 7 function items inside it that branch (a function literal at line 8257, a function literal at line 7857, a function literal at line 7814, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Format.js"},"region":{"startLine":7782}}}],"partialFingerprints":{"codehealthFindingId/v1":"d62dc87045feaa6b0f1b9ae8e4356f5ad94bc0a465e75be74670b17f279dbd50"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.mxChildChange.execute (cyclomatic 67): EditorUi.mxChildChange.execute has cyclomatic complexity 67 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (EditorUi.mxChildChange.execute::collect) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":22110}}}],"partialFingerprints":{"codehealthFindingId/v1":"193e577432f5aa1c31b83aea5838c00c381cab72292eba781630f5afb7f708b7"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.applyTableText (cyclomatic 67): EditorUi.EditorUi.applyTableText has cyclomatic complexity 67 (threshold 15). Of this number, 65 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":37416}}}],"partialFingerprints":{"codehealthFindingId/v1":"cba317b53a12606c3961aa138a963858e75245dda1de7e14df8ec0741340f1c4"}},{"ruleId":"D1","level":"warning","message":{"text":"GraphViewer.GraphViewer.addSizeHandler (cyclomatic 67): GraphViewer.GraphViewer.addSizeHandler has cyclomatic complexity 67 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 43 belong to 4 function literals inside it that branch. 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/webapp/js/diagramly/GraphViewer.js"},"region":{"startLine":1317}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f189e01ec59412164d1c611d22a0c5acb895b21435fc61fe75c5e0dba4e615e"}},{"ruleId":"D1","level":"warning","message":{"text":"random.Draw.loadPlugin() (cyclomatic 67): random.Draw.loadPlugin() has cyclomatic complexity 67 (threshold 15). Most of this is not in the body itself: 2 of the 67 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 205, 102, 435, \u2026). 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/webapp/plugins/random.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"9636be35dfaf68186ce7b1f4db012b507e48c78885e6fbe738cce6f4e42e8852"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 67): (anonymous) has cyclomatic complexity 67 (threshold 15). Most of this is not in the body itself: 2 of the 67 points are its own statements and the rest belongs to 13 function items inside it that branch (a function literal at line 205, a function literal at line 102, a function literal at line 435, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/plugins/random.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"282fe1d1dbffe19d741e6bc4869cec16356192de90bc15045ed143a36575dfd4"}},{"ruleId":"D1","level":"warning","message":{"text":"Sidebar.Sidebar.dropAndConnect (cyclomatic 66): Sidebar.Sidebar.dropAndConnect has cyclomatic complexity 66 (threshold 15). Of this number, 65 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. 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/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":5793}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0d83d9bb8a6d8cf6294924ca20c7f05b2a9e3800cf2607bfcb2baacbeaaac51"}},{"ruleId":"D1","level":"warning","message":{"text":"Dialogs.ParseDialog::parse (cyclomatic 64): Dialogs.ParseDialog::parse has cyclomatic complexity 64 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (Dialogs.ParseDialog) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":1520}}}],"partialFingerprints":{"codehealthFindingId/v1":"52e76e108eaefdfafffca77be88549ec024399b2483cf0126e2ad718632914ba"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 64): (anonymous) has cyclomatic complexity 64 (threshold 15). Most of this is not in the body itself: 1 of the 64 points is its own statement and the rest belongs to 37 function items inside it that branch (getIntAttr, getStyleString, isInsideTriangle, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":6410}}}],"partialFingerprints":{"codehealthFindingId/v1":"9084b2b361b3099139fca7774733eb39fa0829f11223719f0c7298a8ce448f0f"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.createDockManager (cyclomatic 63): EditorUi.EditorUi.createDockManager has cyclomatic complexity 63 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 45 belong to 10 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":25819}}}],"partialFingerprints":{"codehealthFindingId/v1":"d18e91e4d331f9c118f67b0b8b07ccf5b354b37ae0e16d657ea64649cc6d6acf"}},{"ruleId":"D1","level":"warning","message":{"text":"Menus.Menus.addInsertTableItem (cyclomatic 63): Menus.Menus.addInsertTableItem has cyclomatic complexity 63 (threshold 15). Most of this is not in the body itself: 11 of the 63 points are its own statements and the rest belongs to 8 function items inside it that branch (a function literal at line 1076, a function literal at line 831, extendPicker, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Menus.js"},"region":{"startLine":805}}}],"partialFingerprints":{"codehealthFindingId/v1":"e98f5f1b53915080a31ceee991e3b11e939560c7c71fb2430ff286ed9de9e0c5"}},{"ruleId":"D1","level":"warning","message":{"text":"DiffSync.EditorUi.patchPage (cyclomatic 62): DiffSync.EditorUi.patchPage has cyclomatic complexity 62 (threshold 15). Of this number, 50 points are the body\u0027s own statements and 12 belong to 3 function literals inside it that branch. 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/webapp/js/diagramly/DiffSync.js"},"region":{"startLine":1111}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fe3d418fca7879ce459fe5843c04883f090cf5ca381917ace1fbbd06ebc1674"}},{"ruleId":"D1","level":"warning","message":{"text":"Editor.PrintDialog.create (cyclomatic 62): Editor.PrintDialog.create has cyclomatic complexity 62 (threshold 15). Of this number, 50 points are the body\u0027s own statements and 12 belong to 6 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":14624}}}],"partialFingerprints":{"codehealthFindingId/v1":"e63ab967f824a4afc1788deb3000e84890bff8afd23e3783de021413f50426c3"}},{"ruleId":"D1","level":"warning","message":{"text":"mxSvgCanvas2D.mxSvgCanvas2D.plainText (cyclomatic 62): mxSvgCanvas2D.mxSvgCanvas2D.plainText has cyclomatic complexity 62 (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/webapp/mxgraph/src/util/mxSvgCanvas2D.js"},"region":{"startLine":3758}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b73aa6d71ccd2ebfb8422e3fac9f9632fedff1682536a21565d2a02b1bfb6fb"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::addGroup (cyclomatic 62): (anonymous)::addGroup has cyclomatic complexity 62 (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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":1012}}}],"partialFingerprints":{"codehealthFindingId/v1":"13512960a6dfd268fdd921736a77a4e94171c3ff110a2bddfae7b39c9cabf4d9"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::evenOddPath (cyclomatic 62): (anonymous)::evenOddPath has cyclomatic complexity 62 (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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":1429}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5d12690b709422e481b5fa6404c6cced5acaff3c7d079ce75b410af816bc2fb"}},{"ruleId":"D1","level":"warning","message":{"text":"Dialogs.MoreShapesDialog (cyclomatic 61): Dialogs.MoreShapesDialog has cyclomatic complexity 61 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 36 belong to 11 function literals inside it that branch. 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":18275}}}],"partialFingerprints":{"codehealthFindingId/v1":"af182057d06658c637b3c4ba40db86e920c74efc807e813c21048c1ad1d177db"}},{"ruleId":"D1","level":"warning","message":{"text":"DrawioFile.DrawioFile.patch (cyclomatic 61): DrawioFile.DrawioFile.patch has cyclomatic complexity 61 (threshold 15). Of this number, 52 points are the body\u0027s own statements and 9 belong to 2 function literals inside it that branch. 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/webapp/js/diagramly/DrawioFile.js"},"region":{"startLine":1374}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cde440ac8de55c344412b1d90ab08e08312a154df211dda17a93f9670ec10aa"}},{"ruleId":"D1","level":"warning","message":{"text":"DriveClient.DriveClient.executeRequest (cyclomatic 61): DriveClient.DriveClient.executeRequest has cyclomatic complexity 61 (threshold 15). Most of this is not in the body itself: 9 of the 61 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 450, 382, 429, \u2026). 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/webapp/js/diagramly/DriveClient.js"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4ff65463efb0e04d8a543d21d28ddf02e6c2c3ba7637d015eae4b00d2e92746"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.applyOutline (cyclomatic 61): EditorUi.EditorUi.applyOutline has cyclomatic complexity 61 (threshold 15). Of this number, 46 points are the body\u0027s own statements and 15 belong to 2 function items inside it that branch. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":35311}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf692f5b38fa31f3190c8c80fba0abe4ef3ddedda8633162020366f98f66f059"}},{"ruleId":"D1","level":"warning","message":{"text":"GitHubClient.GitHubClient.showGitHubDialog (cyclomatic 60): GitHubClient.GitHubClient.showGitHubDialog has cyclomatic complexity 60 (threshold 15). Most of this is not in the body itself: 3 of the 60 points are its own statements and the rest belongs to 19 function literals inside it that branch (lines 1241, 1094, 1137, \u2026). 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/webapp/js/diagramly/GitHubClient.js"},"region":{"startLine":896}}}],"partialFingerprints":{"codehealthFindingId/v1":"2104245b0394ee609185cf0a0224aa793318882dcdf30e55e7c35da6939b5759"}},{"ruleId":"D1","level":"warning","message":{"text":"Sidebar.Sidebar.createTooltip (cyclomatic 60): Sidebar.Sidebar.createTooltip has cyclomatic complexity 60 (threshold 15). Of this number, 38 points are the body\u0027s own statements and 22 belong to 6 function literals inside it that branch. 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/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d046246d9e859592ad47557fba003c76d7162873ac97ec48ce0fa520d36913c"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.addMenuHandler (cyclomatic 59): EditorUi.EditorUi.addMenuHandler has cyclomatic complexity 59 (threshold 15). Most of this is not in the body itself: 6 of the 59 points are its own statements and the rest belongs to 11 function literals inside it that branch (lines 11702, 11550, 11762, \u2026). 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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":11542}}}],"partialFingerprints":{"codehealthFindingId/v1":"e59e15e2fa9ae7eedc0e2de7a3f9e68e6adc9ef14a20ab1b7e217fae4af1f4df"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.mxGraphView.updateLineJumps (cyclomatic 59): Graph.mxGraphView.updateLineJumps has cyclomatic complexity 59 (threshold 15). Of this number, 55 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":31567}}}],"partialFingerprints":{"codehealthFindingId/v1":"4caf814370b0eb0959b3aaa86b084389b34f6a443989d33c11b25936d4502506"}},{"ruleId":"D1","level":"warning","message":{"text":"Dialogs.FilePropertiesDialog (cyclomatic 58): Dialogs.FilePropertiesDialog has cyclomatic complexity 58 (threshold 15). Of this number, 38 points are the body\u0027s own statements and 20 belong to 10 function literals inside it that branch. 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":24473}}}],"partialFingerprints":{"codehealthFindingId/v1":"b16fb6c04399e290d0fd133cdc749702399b12eb135c15a470bcc4cd3b353602"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::fitStencilBounds (cyclomatic 58): (anonymous)::fitStencilBounds has cyclomatic complexity 58 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":1835}}}],"partialFingerprints":{"codehealthFindingId/v1":"30e8bc38de66addf335393415785c59997c513bde96f5097cd658ea3addb3fc5"}},{"ruleId":"D1","level":"warning","message":{"text":"Extensions.createOrgChart (cyclomatic 57): Extensions.createOrgChart has cyclomatic complexity 57 (threshold 15). Of this number, 39 points are the body\u0027s own statements and 18 belong to 2 function items inside it that branch. 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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":14078}}}],"partialFingerprints":{"codehealthFindingId/v1":"767a11b2a2340d8c571ead3b7fcdd9ced98f6b45582137094e3d8d632d5908ac"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.fileLoaded (cyclomatic 56): EditorUi.EditorUi.fileLoaded has cyclomatic complexity 56 (threshold 15). Of this number, 38 points are the body\u0027s own statements and 18 belong to 4 function literals inside it that branch. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":5256}}}],"partialFingerprints":{"codehealthFindingId/v1":"b625151579da71907667482090c2b85f64b1a356169f131e6d3064b923f23773"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.showConfigurationEditorDialog (cyclomatic 56): EditorUi.EditorUi.showConfigurationEditorDialog has cyclomatic complexity 56 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 34 belong to 10 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":6918}}}],"partialFingerprints":{"codehealthFindingId/v1":"728fd0c73a33361fa34db425f7cc387a061d5b3dfd0f16d0333247b15a68bab8"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.Graph.initLayoutManager (cyclomatic 56): Graph.Graph.initLayoutManager has cyclomatic complexity 56 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 36 belong to 4 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":12824}}}],"partialFingerprints":{"codehealthFindingId/v1":"688791ca226add7429264d4cf3e55c4d237d45f15380f65b7026db8c419ff105"}},{"ruleId":"D1","level":"warning","message":{"text":"DrawioFileSync.DrawioFileSync.catchup (cyclomatic 55): DrawioFileSync.DrawioFileSync.catchup has cyclomatic complexity 55 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 39 belong to 2 function literals inside it that branch. This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DrawioFileSync.js"},"region":{"startLine":3614}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e02f06878800fb981d2ff5daee38d08938402f8e4bbbcc25ae7fe054cdfde58"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.pasteCells (cyclomatic 55): EditorUi.EditorUi.pasteCells has cyclomatic complexity 55 (threshold 15). Of this number, 52 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":28720}}}],"partialFingerprints":{"codehealthFindingId/v1":"a582ebaacc5fcf2c097db0b2ca54ccbb9000961c7c4c1c6d626c85f6615c0670"}},{"ruleId":"D1","level":"warning","message":{"text":"SimpleClassic.EditorUi.createMenubarForTheme (cyclomatic 55): SimpleClassic.EditorUi.createMenubarForTheme has cyclomatic complexity 55 (threshold 15). Of this number, 30 points are the body\u0027s own statements and 25 belong to 4 function literals inside it that branch. 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/webapp/js/diagramly/SimpleClassic.js"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f99b0f2c8b2903a241883204c157169ef3ec5aea37b7b6415e54c9d3833830d"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.Graph.pasteCellStyles (cyclomatic 55): Graph.Graph.pasteCellStyles has cyclomatic complexity 55 (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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":11443}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0111b77bd31db0a32941595ed4bfbc0270ead945c78b001f1b67682bba77536"}},{"ruleId":"D1","level":"warning","message":{"text":"ElectronApp.EditorUi.init (cyclomatic 54): ElectronApp.EditorUi.init has cyclomatic complexity 54 (threshold 15). Most of this is not in the body itself: 3 of the 54 points are its own statements and the rest belongs to 10 function items inside it that branch (a function literal at line 544, a function literal at line 522, a function literal at line 458, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ElectronApp.js"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"de0e2545754a4471d7f050011d2a51214e62d8dc56f45ec09262e43306d27659"}},{"ruleId":"D1","level":"warning","message":{"text":"MiroImporter.MiroImporter::parseStyles (cyclomatic 54): MiroImporter.MiroImporter::parseStyles has cyclomatic complexity 54 (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/webapp/js/diagramly/miro/MiroImporter.js"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1e9217b521bf44ed226f21b4a2367b6028837c952bfe3046dc8e40b859f3097"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.createShapePicker (cyclomatic 54): EditorUi.EditorUi.createShapePicker has cyclomatic complexity 54 (threshold 15). Most of this is not in the body itself: 15 of the 54 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 2778, 2739, 2924, \u2026). 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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":2675}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b7a4a1e793097d048f8d6cefbba99b47074500d14482cc3f26b3c6b3caf7066"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.Graph.replacePlaceholders (cyclomatic 54): Graph.Graph.replacePlaceholders has cyclomatic complexity 54 (threshold 15). Of this number, 49 points are the body\u0027s own statements and 5 belong to 2 function literals inside it that branch. 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":16602}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab6e7c1fe5886117094579535310cfc70bf31e8490d76687c43b3887845eda1c"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.mxConnector.paintCutCurve (cyclomatic 54): Graph.mxConnector.paintCutCurve has cyclomatic complexity 54 (threshold 15). Of this number, 30 points are the body\u0027s own statements and 24 belong to 5 function items inside it that branch. 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":32018}}}],"partialFingerprints":{"codehealthFindingId/v1":"967c491e0fd0fb63af57e32125c31892503ea1a4a063fe5a342176da8341f435"}},{"ruleId":"D1","level":"warning","message":{"text":"Sidebar.Sidebar.createDropHandler (cyclomatic 54): Sidebar.Sidebar.createDropHandler has cyclomatic complexity 54 (threshold 15). Most of this is not in the body itself: 2 of the 54 points are its own statements and the rest belongs to one function literal inside it that branches (line 5471). The decisions are inside the literal, 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 literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":5466}}}],"partialFingerprints":{"codehealthFindingId/v1":"f723ffb9f48d2a9eb58c8e7c879f66aae4f71c69b10b43215a2caf5e985212df"}},{"ruleId":"D1","level":"warning","message":{"text":"mxElectrical.mxShapeElectricalQFPIC.paintVertexShape (cyclomatic 54): mxElectrical.mxShapeElectricalQFPIC.paintVertexShape has cyclomatic complexity 54 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/shapes/mxElectrical.js"},"region":{"startLine":1168}}}],"partialFingerprints":{"codehealthFindingId/v1":"90c24ff8e7692b4879af518524c9d9cf2baf9ca3e01e9149f0b26873d9dc4867"}},{"ruleId":"D1","level":"warning","message":{"text":"Dialogs.ColorDialog (cyclomatic 53): Dialogs.ColorDialog has cyclomatic complexity 53 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 2 other methods here (Dialogs.ColorDialog::buildFinalColor, Dialogs.ColorDialog::addCurrentToRecent) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Dialogs.js"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ad069639268b0b55820fb9d199ba47c10ad7b440e7c8bed3b385489d42ed4ad"}},{"ruleId":"D1","level":"warning","message":{"text":"App.App.loadLibraries (cyclomatic 52): App.App.loadLibraries has cyclomatic complexity 52 (threshold 15). Most of this is not in the body itself: 7 of the 52 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 7701, 7658, 7737, \u2026). 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/webapp/js/diagramly/App.js"},"region":{"startLine":7633}}}],"partialFingerprints":{"codehealthFindingId/v1":"98604695ed0dac360700a9ad028ff08b55851237d7fc3de2738efa4820d1aa57"}},{"ruleId":"D1","level":"warning","message":{"text":"ElkLayout.ElkLayoutBindings.runWithDialog (cyclomatic 52): ElkLayout.ElkLayoutBindings.runWithDialog has cyclomatic complexity 52 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (ElkLayout.ElkLayoutBindings.runWithDialog::collect) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ElkLayout.js"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb1e8f941d209203ee4b53cb4ed5d0a7b0f4be3d3daf3aaf645a87c39f606c83"}},{"ruleId":"D1","level":"warning","message":{"text":"Pages.EditorUi.addTabDragListeners (cyclomatic 52): Pages.EditorUi.addTabDragListeners has cyclomatic complexity 52 (threshold 15). Most of this is not in the body itself: 1 of the 52 points is its own statement and the rest belongs to 5 function literals inside it that branch (lines 3648, 3575, 3489, \u2026). 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/webapp/js/diagramly/Pages.js"},"region":{"startLine":3484}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb38708a200bf97c76626f3c17c5976c45e58f755e729d24dab94de70ee3f44a"}},{"ruleId":"D1","level":"warning","message":{"text":"Dialogs.MarkupDialog (cyclomatic 52): Dialogs.MarkupDialog has cyclomatic complexity 52 (threshold 15). Most of this is not in the body itself: 6 of the 52 points are its own statements and the rest belongs to 20 function items inside it that branch (applyFormat, a function literal at line 2774, a function literal at line 2946, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Dialogs.js"},"region":{"startLine":2571}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f94f442295ab08396bd4eb4a78d2bac01ef749f7fd8a4b1e1b7888a702e9b4f"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.Graph.isLabelBoxFree (cyclomatic 52): Graph.Graph.isLabelBoxFree has cyclomatic complexity 52 (threshold 15). Most of this is not in the body itself: 3 of the 52 points are its own statements and the rest belongs to 7 function items inside it that branch (a function literal at line 29414, hitsOutline, overlaps, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":29346}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b47636b33ddd54917dd3de44bf0b596093a348beb4ae16a62b6ec255de782c4"}},{"ruleId":"D1","level":"warning","message":{"text":"nextcloud.Draw.loadPlugin() (cyclomatic 52): nextcloud.Draw.loadPlugin() has cyclomatic complexity 52 (threshold 15). Most of this is not in the body itself: 11 of the 52 points are its own statements and the rest belongs to 21 function literals inside it that branch (lines 183, 13, 200, \u2026). 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/webapp/plugins/nextcloud.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6808821698a85c256039cefd58faf3584b59c72d2213dfe7a70ab9460338711"}},{"ruleId":"D1","level":"warning","message":{"text":"positionBoxes::visitorEdgeFunc (cyclomatic 52): positionBoxes::visitorEdgeFunc has cyclomatic complexity 52 (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/webapp/js/orgchart/mxOrgChartLayout.js"},"region":{"startLine":708}}}],"partialFingerprints":{"codehealthFindingId/v1":"cac2b8c67dc0d4bde4f78ada9f0202c916c0286f60030a000e8d3192e1f7bc19"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 52): (anonymous) has cyclomatic complexity 52 (threshold 15). Most of this is not in the body itself: 1 of the 52 points is its own statement and the rest belongs to 48 function items inside it that branch (saveFile, a function literal at line 13, a function literal at line 200, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/plugins/nextcloud.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"f21881d5ced91e812210183e829abf6fddd65f562a443e801fcb4d7885341533"}},{"ruleId":"D1","level":"warning","message":{"text":"App.App.toggleUserPanel (cyclomatic 51): App.App.toggleUserPanel has cyclomatic complexity 51 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 31 belong to 9 function literals inside it that branch. 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/webapp/js/diagramly/App.js"},"region":{"startLine":9379}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea025ad3c9347542ec0382797be0f7948417823d726e268bf91f452bbb6ef2e9"}},{"ruleId":"D1","level":"warning","message":{"text":"Dialogs.AnimationDialog::renderStepField (cyclomatic 51): Dialogs.AnimationDialog::renderStepField has cyclomatic complexity 51 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 5 other methods here (Dialogs.AnimationDialog, Dialogs.AnimationDialog::loadFromContext, Dialogs.AnimationDialog::formatSelectorText, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 6 times rather than 6 independent problems. Splitting this body alone leaves the other 5 exactly as they are. Where these are variations on one operation, the change that clears all 6 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":15950}}}],"partialFingerprints":{"codehealthFindingId/v1":"a860d46cc90c9122cb4382d557ec761c03e974e9983c03e82062c57e0ee05795"}},{"ruleId":"D1","level":"warning","message":{"text":"SimpleClassic.EditorUi.createPickerMenuForTheme (cyclomatic 51): SimpleClassic.EditorUi.createPickerMenuForTheme has cyclomatic complexity 51 (threshold 15). Most of this is not in the body itself: 12 of the 51 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 308, 343, 326, \u2026). 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/webapp/js/diagramly/SimpleClassic.js"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"400d785e7c49835e6ad06a5449cf0b94a020576add759fc07893b50bdc4c8332"}},{"ruleId":"D1","level":"warning","message":{"text":"mxGuide.mxGuide.move (cyclomatic 51): mxGuide.mxGuide.move has cyclomatic complexity 51 (threshold 15). Of this number, 31 points are the body\u0027s own statements and 20 belong to 4 function items inside it that branch. 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/webapp/mxgraph/src/util/mxGuide.js"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9ff207081f243155622d1aa902c7ad3e8f3f2e3aaac6b1e7f5ac5f497aa9046"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.updateDiagram (cyclomatic 50): EditorUi.EditorUi.updateDiagram has cyclomatic complexity 50 (threshold 15). Of this number, 49 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":4913}}}],"partialFingerprints":{"codehealthFindingId/v1":"ada51347139a418378f5922e08dad7b8670614e4f4ef424163b09bc61a2c72c5"}},{"ruleId":"D1","level":"warning","message":{"text":"LayoutPicker.EditorUi.keepLockedGeometries.\u003Creturned closure\u003E (cyclomatic 50): LayoutPicker.EditorUi.keepLockedGeometries.\u003Creturned closure\u003E has cyclomatic complexity 50 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 30 belong to 7 function items inside it that branch. To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/LayoutPicker.js"},"region":{"startLine":734}}}],"partialFingerprints":{"codehealthFindingId/v1":"83a697d02c7a788d3cf6eaeee835120266f7b2936083404e8d6e5843fa48e6d8"}},{"ruleId":"D1","level":"warning","message":{"text":"LibavoidRouting.LibavoidRouting.solveMovePreview (cyclomatic 50): LibavoidRouting.LibavoidRouting.solveMovePreview has cyclomatic complexity 50 (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/webapp/js/diagramly/LibavoidRouting.js"},"region":{"startLine":3638}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d01cc533e1d6ca9ab5d02e6ce9586d72b54ef1379116a9d45ad21e57718c4b2"}},{"ruleId":"D1","level":"warning","message":{"text":"P2PCollab.P2PCollab::processMsg (cyclomatic 50): P2PCollab.P2PCollab::processMsg has cyclomatic complexity 50 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 2 other methods here (P2PCollab.P2PCollab, P2PCollab.P2PCollab::sendMessage) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/P2PCollab.js"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6210c4fe25172ebc496c301e9200b7f56f86765e5a62088848eee23924ad8e1"}},{"ruleId":"D1","level":"warning","message":{"text":"createPopover (cyclomatic 50): createPopover has cyclomatic complexity 50 (threshold 15). Most of this is not in the body itself: 4 of the 50 points are its own statements and the rest belongs to 9 function items inside it that branch (a function literal at line 1602, a function literal at line 1821, a function literal at line 1585, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/InlineToolbar.js"},"region":{"startLine":1517}}}],"partialFingerprints":{"codehealthFindingId/v1":"30b4e382883096798cd89f1f8dc52454fec7617ca20c67254c90de7d75afe074"}},{"ruleId":"D1","level":"warning","message":{"text":"Dialogs.EmbedDialog (cyclomatic 49): Dialogs.EmbedDialog has cyclomatic complexity 49 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 21 belong to 6 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a711e69b78292e2b57b6d5f10772f6997913e0daed7768faf2aa0e2fa5d2b25"}},{"ruleId":"D1","level":"warning","message":{"text":"Dialogs.FreehandWindow (cyclomatic 49): Dialogs.FreehandWindow has cyclomatic complexity 49 (threshold 15). Most of this is not in the body itself: 10 of the 49 points are its own statements and the rest belongs to 11 function items inside it that branch (updateMode, updateName, getActiveMode, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":11181}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcb7d03044c566830e2a84906817c8e69986bd2f4eb4a646a07985eeea77b3db"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.focusTabStopInDirection (cyclomatic 49): EditorUi.EditorUi.focusTabStopInDirection has cyclomatic complexity 49 (threshold 15). Of this number, 43 points are the body\u0027s own statements and 6 belong to one function literal inside it that branches. 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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":4456}}}],"partialFingerprints":{"codehealthFindingId/v1":"55c615d7e144540740c9ef85e81e7f5d5786eeaa271cda05efffd85059b5dc6d"}},{"ruleId":"D1","level":"warning","message":{"text":"mxArchiMate3.mxArchiMate3Application.foreground (cyclomatic 49): mxArchiMate3.mxArchiMate3Application.foreground has cyclomatic complexity 49 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/shapes/mxArchiMate3.js"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9b74ac72ce151264b5fedfbda76d3a1f21ac93f5ed1913fbbe17fea5816dfbe"}},{"ruleId":"D1","level":"warning","message":{"text":"mxElectrical.mxShapeElectricalDualInLineIC.paintVertexShape (cyclomatic 49): mxElectrical.mxShapeElectricalDualInLineIC.paintVertexShape has cyclomatic complexity 49 (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/webapp/shapes/mxElectrical.js"},"region":{"startLine":770}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2d802dda2e4cd95c9f44df21a4365c4fd6683aaf0f1eb2bd5deb63f84c979f5"}},{"ruleId":"D1","level":"warning","message":{"text":"DriveClient.DriveClient.getXmlFile (cyclomatic 48): DriveClient.DriveClient.getXmlFile has cyclomatic complexity 48 (threshold 15). Most of this is not in the body itself: 5 of the 48 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 1986, 2112, 1983, \u2026). 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/webapp/js/diagramly/DriveClient.js"},"region":{"startLine":1964}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed029bac46734fbce71dc392da966d3213a8857dd2e8da6006d24c768010f299"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.showAnimatedGifExportDialog (cyclomatic 48): EditorUi.EditorUi.showAnimatedGifExportDialog has cyclomatic complexity 48 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 31 belong to 5 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":8300}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb6e893a262793471a2240dada84c2780ec1a77336b39bc2d0564252b3e3355a"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.getEmbedCellChange (cyclomatic 48): EditorUi.EditorUi.getEmbedCellChange has cyclomatic complexity 48 (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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":20282}}}],"partialFingerprints":{"codehealthFindingId/v1":"98156a393211d8f52d493c6a89617c1ec16accd04ad4141da05f4316bc3a1311"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.installShapePicker (cyclomatic 48): EditorUi.EditorUi.installShapePicker has cyclomatic complexity 48 (threshold 15). Most of this is not in the body itself: 7 of the 48 points are its own statements and the rest belongs to 16 function items inside it that branch (a function literal at line 2202, a function literal at line 2427, a function literal at line 2245, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":2165}}}],"partialFingerprints":{"codehealthFindingId/v1":"d25021f063a8943791ae842bbc2ce66f3682f32db5b17a54e0e251e3bace045d"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.Graph.addFlowRingsToNode (cyclomatic 48): Graph.Graph.addFlowRingsToNode has cyclomatic complexity 48 (threshold 15). Of this number, 47 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":23688}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaaf890181a84f5daec0ce676df573ff3f7be714b57fcf1093b3f7a9e0f8f3e4"}},{"ruleId":"D1","level":"warning","message":{"text":"convertHtmlInlineToSvg (cyclomatic 48): convertHtmlInlineToSvg has cyclomatic complexity 48 (threshold 15). Of this number, 46 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. 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/webapp/mxgraph/src/util/mxUtils.js"},"region":{"startLine":6552}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0b354bc454e46fc9d6e2668c373695ab07c0f0a18a0115d48c6e0c0e2158af0"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.mxTerminalChange.execute (cyclomatic 47): EditorUi.mxTerminalChange.execute has cyclomatic complexity 47 (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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":21407}}}],"partialFingerprints":{"codehealthFindingId/v1":"916ad44bb21a0dc1012b43af1244c79321fea11ecfb743e83ab066fb414061cd"}},{"ruleId":"D1","level":"warning","message":{"text":"libavoid-routing.AvoidRouting.computeRoutes::solveWith (cyclomatic 47): libavoid-routing.AvoidRouting.computeRoutes::solveWith has cyclomatic complexity 47 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (libavoid-routing.AvoidRouting.computeRoutes) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/libavoid-js/libavoid-routing.js"},"region":{"startLine":1203}}}],"partialFingerprints":{"codehealthFindingId/v1":"a93923fcfa2767843a44b3d71012a53f9407695827c979c33d51a09d9f7ce378"}},{"ruleId":"D1","level":"warning","message":{"text":"mxStackLayout.mxStackLayout.execute (cyclomatic 47): mxStackLayout.mxStackLayout.execute has cyclomatic complexity 47 (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/webapp/mxgraph/src/layout/mxStackLayout.js"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"a62e8f2c642a8b399f0af73a681524874c8a69317f8b31e0c264e9b8b3df6beb"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 47): (anonymous) has cyclomatic complexity 47 (threshold 15). Most of this is not in the body itself: 1 of the 47 points is its own statement and the rest belongs to 11 function items inside it that branch (a function literal at line 7303, getLineEndType, LineStyle, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":7268}}}],"partialFingerprints":{"codehealthFindingId/v1":"09bc1e04fd5c1091f2f5fe7c840aa8adfcc512c0b8f77606e45b29107746bf24"}},{"ruleId":"D1","level":"warning","message":{"text":"Editor.Editor.exportToCanvas (cyclomatic 46): Editor.Editor.exportToCanvas has cyclomatic complexity 46 (threshold 15). Most of this is not in the body itself: 13 of the 46 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 8060, 8049, 8167, \u2026). 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/webapp/js/diagramly/Editor.js"},"region":{"startLine":8005}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff1bb25c5d6b4ea9646b7661f30536f6c156722d9e92b6ab7d65c8baf07dd836"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.exportSvg (cyclomatic 46): EditorUi.EditorUi.exportSvg has cyclomatic complexity 46 (threshold 15). Most of this is not in the body itself: 15 of the 46 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 9729, 9819, 9867, \u2026). 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":9661}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c8621994350ee543094a1d9873b2b959c184c2859e6993a6941873e13c17db2"}},{"ruleId":"D1","level":"warning","message":{"text":"Pages.EditorUi.updateTabContainer (cyclomatic 46): Pages.EditorUi.updateTabContainer has cyclomatic complexity 46 (threshold 15). Of this number, 42 points are the body\u0027s own statements and 4 belong to 2 function items inside it that branch. 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/webapp/js/diagramly/Pages.js"},"region":{"startLine":3176}}}],"partialFingerprints":{"codehealthFindingId/v1":"48c4904e2c9a764e4ba35b8a735f4a131b671825e04dadf2fb56ba3bd7278a06"}},{"ruleId":"D1","level":"warning","message":{"text":"createTagsDialog (cyclomatic 46): createTagsDialog has cyclomatic complexity 46 (threshold 15). Most of this is not in the body itself: 4 of the 46 points are its own statements and the rest belongs to 16 function items inside it that branch (a function literal at line 11144, a function literal at line 11199, refreshTags, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":11069}}}],"partialFingerprints":{"codehealthFindingId/v1":"9565b84085c26d90ede6e80c00a8edd9e913092af84c32d14aaf2d4ffd246438"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 46): (anonymous) has cyclomatic complexity 46 (threshold 15). Most of this is not in the body itself: 1 of the 46 points is its own statement and the rest belongs to 13 function items inside it that branch (decompressCellStyle, selectRoot, compressCellStyle, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/io/mxModelCodec.js"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"973920030669f64127eca38dc23fb0a95ed5577451a3a95847b86493baed956b"}},{"ruleId":"D1","level":"warning","message":{"text":"Dialogs.SelectorChips.create.cellListField (cyclomatic 45): Dialogs.SelectorChips.create.cellListField has cyclomatic complexity 45 (threshold 15). Most of this is not in the body itself: 9 of the 45 points are its own statements and the rest belongs to 10 function items inside it that branch (a function literal at line 7223, updateChip, missingIds, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":7103}}}],"partialFingerprints":{"codehealthFindingId/v1":"c72b2d176bee2acd70377442c1b5ca60fd8d66a407d6c9c8dc25acad133791d8"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.updateActionStates (cyclomatic 45): EditorUi.EditorUi.updateActionStates has cyclomatic complexity 45 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":41885}}}],"partialFingerprints":{"codehealthFindingId/v1":"8acef8d32c2c2375cbc3abb7538c5df443f504dbc33081b3a6ff43a863a1297d"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.openDatabase (cyclomatic 45): EditorUi.EditorUi.openDatabase has cyclomatic complexity 45 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 29 belong to 8 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":42714}}}],"partialFingerprints":{"codehealthFindingId/v1":"138d600a9f6a28591e7e811c85dd5983d5046b2975fe1d07cda2cac4d49c575d"}},{"ruleId":"D1","level":"warning","message":{"text":"Extensions.convertTxt2Html::startBlockTag (cyclomatic 45): Extensions.convertTxt2Html::startBlockTag has cyclomatic complexity 45 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (Extensions.convertTxt2Html::startTag) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Extensions.js"},"region":{"startLine":4102}}}],"partialFingerprints":{"codehealthFindingId/v1":"caa44d7205008d0723825211f2b10343e2c55061f220edaed9a707e9d63e77f2"}},{"ruleId":"D1","level":"warning","message":{"text":"LibavoidRouting.LibavoidRouting.connectionPreview (cyclomatic 45): LibavoidRouting.LibavoidRouting.connectionPreview has cyclomatic complexity 45 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/LibavoidRouting.js"},"region":{"startLine":3297}}}],"partialFingerprints":{"codehealthFindingId/v1":"df6016631bf9617c2ecc4389d46c480af09f1b5e0e237b01522fad8618993031"}},{"ruleId":"D1","level":"warning","message":{"text":"Shapes.mxEdgeStyle.SequenceMessage (cyclomatic 45): Shapes.mxEdgeStyle.SequenceMessage has cyclomatic complexity 45 (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/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":4257}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9111654319b9125b4a0e4ab81a897d9f59b08d6b89b464e08ecdf00efd9afe7"}},{"ruleId":"D1","level":"warning","message":{"text":"mxEdgeHandler.mxEdgeHandler.mouseMove (cyclomatic 45): mxEdgeHandler.mxEdgeHandler.mouseMove has cyclomatic complexity 45 (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/webapp/mxgraph/src/handler/mxEdgeHandler.js"},"region":{"startLine":1865}}}],"partialFingerprints":{"codehealthFindingId/v1":"157fea2428fa5551569b1abbed5c4fc47be60479000f6dbc090a2a74954e12aa"}},{"ruleId":"D1","level":"warning","message":{"text":"mxEdgeHandler.mxEdgeHandler.mouseUp (cyclomatic 45): mxEdgeHandler.mxEdgeHandler.mouseUp has cyclomatic complexity 45 (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/webapp/mxgraph/src/handler/mxEdgeHandler.js"},"region":{"startLine":2023}}}],"partialFingerprints":{"codehealthFindingId/v1":"01f6477d72ac61d90c64207dba3f09ba911fb97f2f642d0e172418e851a25009"}},{"ruleId":"D1","level":"warning","message":{"text":"mxPopupMenu.mxPopupMenu.addItem (cyclomatic 45): mxPopupMenu.mxPopupMenu.addItem has cyclomatic complexity 45 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 26 belong to 7 function literals inside it that branch. 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/webapp/mxgraph/src/util/mxPopupMenu.js"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"38c3fdc0bae1c2d470d4c1e8813c096532f769bcd71cdb192b5d651ca031b77c"}},{"ruleId":"D1","level":"warning","message":{"text":"mxGraph.mxGraph.getEdgeShapeOutline (cyclomatic 45): mxGraph.mxGraph.getEdgeShapeOutline has cyclomatic complexity 45 (threshold 15). Of this number, 38 points are the body\u0027s own statements and 7 belong to 4 function items inside it that branch. 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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":12416}}}],"partialFingerprints":{"codehealthFindingId/v1":"a99a5f291dc6c1d16416f86ecc95130e49041ee14b62572177ef6124c16c487b"}},{"ruleId":"D1","level":"warning","message":{"text":"create.cellListField (cyclomatic 45): create.cellListField has cyclomatic complexity 45 (threshold 15). Most of this is not in the body itself: 9 of the 45 points are its own statements and the rest belongs to 14 function items inside it that branch (a function literal at line 7223, updateChip, missingIds, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":7103}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1dc9ca17da8a7faaf25b292a8de63daf56310302830cc0e88cd520877f1bb10"}},{"ruleId":"D1","level":"warning","message":{"text":"App.App.updateButtonContainer (cyclomatic 44): App.App.updateButtonContainer has cyclomatic complexity 44 (threshold 15). Of this number, 43 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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/webapp/js/diagramly/App.js"},"region":{"startLine":7908}}}],"partialFingerprints":{"codehealthFindingId/v1":"78a51ee91cff1ec813feb404c6a920f10447780330470daa08f0437fac0e5d14"}},{"ruleId":"D1","level":"warning","message":{"text":"Dialogs.ImageDialog (cyclomatic 44): Dialogs.ImageDialog has cyclomatic complexity 44 (threshold 15). Most of this is not in the body itself: 9 of the 44 points are its own statements and the rest belongs to 14 function items inside it that branch (insertImage, a function literal at line 5683, a function literal at line 5924, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":5614}}}],"partialFingerprints":{"codehealthFindingId/v1":"588b5e56daab3a29df2c614320e19417f3919643ec0485c7672b12831a0a891a"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.downloadRequestBuilder (cyclomatic 44): EditorUi.EditorUi.downloadRequestBuilder has cyclomatic complexity 44 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":4425}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e41d6b05b3b4c6c0c817326bce307a77dc72c49ae41ecb812b5798c2af8ab05"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.replaceLockedGroupChildren (cyclomatic 44): EditorUi.EditorUi.replaceLockedGroupChildren has cyclomatic complexity 44 (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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":14827}}}],"partialFingerprints":{"codehealthFindingId/v1":"198fb11342eaa2d79a9e7e12fe26e6957e4311f15648cd8c6fa1e00e301bdfa4"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.applyExternalImages (cyclomatic 44): EditorUi.EditorUi.applyExternalImages has cyclomatic complexity 44 (threshold 15). Of this number, 43 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":19959}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f56537f49db84d248b8822175b75efe004da1398a1ae26a3139f1c0ce7c6c09"}},{"ruleId":"D1","level":"warning","message":{"text":"Dialogs.ColorPicker (cyclomatic 44): Dialogs.ColorPicker has cyclomatic complexity 44 (threshold 15). Most of this is not in the body itself: 3 of the 44 points are its own statements and the rest belongs to 8 function items inside it that branch (fromHSV, hsv2rgb, a function literal at line 277, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Dialogs.js"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"9589964b27fe9806f4775d95d07eacf7d31ecfbfbca43811b87c5a216a60d926"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.updateSelectionStateForCell (cyclomatic 44): EditorUi.EditorUi.updateSelectionStateForCell has cyclomatic complexity 44 (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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":2047}}}],"partialFingerprints":{"codehealthFindingId/v1":"80797012ae5367146d775fee834b00774f1ca1409b981f33e6ade4f4eb95451d"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.Graph.getLoopAroundPoints (cyclomatic 44): Graph.Graph.getLoopAroundPoints has cyclomatic complexity 44 (threshold 15). Of this number, 36 points are the body\u0027s own statements and 8 belong to 2 function items inside it that branch. 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":10898}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e2331c2d07d8fce5aadd80d29efa20e8aba42ad3fcb2054d68ab9d0274b3ed2"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.mxGraphView.updateTieLayout (cyclomatic 44): Graph.mxGraphView.updateTieLayout has cyclomatic complexity 44 (threshold 15). Of this number, 40 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":33655}}}],"partialFingerprints":{"codehealthFindingId/v1":"f56a09a6e8bdda5e521f980b867e5171c7b7c175b36ddbb24b363582403d278b"}},{"ruleId":"D1","level":"warning","message":{"text":"libavoid-routing.AvoidRouting.withOutsideLabels (cyclomatic 44): libavoid-routing.AvoidRouting.withOutsideLabels has cyclomatic complexity 44 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 19 belong to 3 function items inside it that branch. 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/webapp/js/libavoid-js/libavoid-routing.js"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"358cf16000c88d8b75801f18ffeac49d7f3d77aa6e8850815efe29ea776fd2e6"}},{"ruleId":"D1","level":"warning","message":{"text":"mxVertexHandler.mxVertexHandler.union (cyclomatic 44): mxVertexHandler.mxVertexHandler.union has cyclomatic complexity 44 (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/webapp/mxgraph/src/handler/mxVertexHandler.js"},"region":{"startLine":1692}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b91e5623ddc753c363fbffe56cbeff1c24ae6cad67ac3717afa7facdb49f1d4"}},{"ruleId":"D1","level":"warning","message":{"text":"mxPopupMenu.mxPopupMenu.keyDown (cyclomatic 44): mxPopupMenu.mxPopupMenu.keyDown has cyclomatic complexity 44 (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/webapp/mxgraph/src/util/mxPopupMenu.js"},"region":{"startLine":1052}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6ecab5845824d11ff39e780fd50156216de6832a7106ce32d5c2d485ec853f4"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 44): (anonymous) has cyclomatic complexity 44 (threshold 15). Most of this is not in the body itself: 1 of the 44 points is its own statement and the rest belongs to 26 function items inside it that branch (processGeoElem, mxVsdxGeometry, getIndex, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":3794}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bcb449c41c8268e28331e03c885e936161fbb354eb1dc8a74c20441d5c438b6"}},{"ruleId":"D1","level":"warning","message":{"text":"Dialogs.AnimationDialog::makeStepRow (cyclomatic 43): Dialogs.AnimationDialog::makeStepRow has cyclomatic complexity 43 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: 5 other methods here (Dialogs.AnimationDialog, Dialogs.AnimationDialog::loadFromContext, Dialogs.AnimationDialog::formatSelectorText, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 6 times rather than 6 independent problems. Splitting this body alone leaves the other 5 exactly as they are. Where these are variations on one operation, the change that clears all 6 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":16367}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3403599653520cc6496d6dc0bbcf29c0ab30e0f526fcd8569ec7476e22e0201"}},{"ruleId":"D1","level":"warning","message":{"text":"Editor.Editor.readGraphState (cyclomatic 43): Editor.Editor.readGraphState has cyclomatic complexity 43 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Editor.js"},"region":{"startLine":1779}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1129539a64e560b5346c5b3f90493abdf0d00c533602f6dcee52338af290dbf"}},{"ruleId":"D1","level":"warning","message":{"text":"mxVertexHandler.mxVertexHandler.redrawHandles (cyclomatic 43): mxVertexHandler.mxVertexHandler.redrawHandles has cyclomatic complexity 43 (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/webapp/mxgraph/src/handler/mxVertexHandler.js"},"region":{"startLine":1947}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f0e1ba2a613a1a53101db43a4954e63e17c6bd15bf05100ebec5ee05e65fc3f"}},{"ruleId":"D1","level":"warning","message":{"text":"DiffSync.EditorUi.diffCell (cyclomatic 42): DiffSync.EditorUi.diffCell has cyclomatic complexity 42 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DiffSync.js"},"region":{"startLine":2563}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c4b42ec8c358e164017bd9d2325cfd002574ae5363ee494e44f6f6f446db45d"}},{"ruleId":"D1","level":"warning","message":{"text":"Extensions.importLucidPage (cyclomatic 42): Extensions.importLucidPage has cyclomatic complexity 42 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (Extensions.importLucidPage::addLine) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Extensions.js"},"region":{"startLine":6641}}}],"partialFingerprints":{"codehealthFindingId/v1":"41a05b17d57072b4fade23e832a002db3cd0542a5061c413f09e3825e3a06a88"}},{"ruleId":"D1","level":"warning","message":{"text":"mxConnectionHandler.mxConnectionHandler.connect (cyclomatic 42): mxConnectionHandler.mxConnectionHandler.connect has cyclomatic complexity 42 (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/webapp/mxgraph/src/handler/mxConnectionHandler.js"},"region":{"startLine":1918}}}],"partialFingerprints":{"codehealthFindingId/v1":"91903e8aaef07ee877d8b921c7f694fdbdfbc894355df878c502a93f61f8b965"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::addConnectedEdge (cyclomatic 42): (anonymous)::addConnectedEdge has cyclomatic complexity 42 (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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":2233}}}],"partialFingerprints":{"codehealthFindingId/v1":"17023b163cfd930958099be4cf345f90ccd99b77346c45e7d4531c8a1be976d5"}},{"ruleId":"D1","level":"warning","message":{"text":"App.App.saveFile (cyclomatic 41): App.App.saveFile has cyclomatic complexity 41 (threshold 15). Most of this is not in the body itself: 13 of the 41 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 6363, 6311, 6438, \u2026). 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/webapp/js/diagramly/App.js"},"region":{"startLine":6303}}}],"partialFingerprints":{"codehealthFindingId/v1":"39cc6008d930a11f1ed683de41ba40858b585729b20551084ae21c2820f9bccd"}},{"ruleId":"D1","level":"warning","message":{"text":"App.App.convertFile (cyclomatic 41): App.App.convertFile has cyclomatic complexity 41 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 23 belong to 6 function literals inside it that branch. 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/webapp/js/diagramly/App.js"},"region":{"startLine":8893}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1e4cf1652a431965155491636aaec84f37e8a4fd947db4936da952d0fefada1"}},{"ruleId":"D1","level":"warning","message":{"text":"Dialogs.StorageDialog (cyclomatic 41): Dialogs.StorageDialog has cyclomatic complexity 41 (threshold 15). Most of this is not in the body itself: 9 of the 41 points are its own statements and the rest belongs to 8 function items inside it that branch (addLogo, addButtons, a function literal at line 126, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"710f52bd6fab340b068bc75af196ab1c80d7b260aba1d4ae921a4caa27e16e73"}},{"ruleId":"D1","level":"warning","message":{"text":"Editor.Editor.initMath (cyclomatic 41): Editor.Editor.initMath has cyclomatic complexity 41 (threshold 15). Most of this is not in the body itself: 13 of the 41 points are its own statements and the rest belongs to 10 function items inside it that branch (a function literal at line 5527, a function literal at line 5328, a function literal at line 5416, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":5317}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5f89856342690f4b355bb0526057b3688430d7972a6fb9650e395f1055dca94"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.insertCellEditorDrop (cyclomatic 41): EditorUi.EditorUi.insertCellEditorDrop has cyclomatic complexity 41 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 16 belong to 5 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":29230}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b5712518e9ecdef53affa2428a1974503378d99b88f892e38556fdfa1a2c47f"}},{"ruleId":"D1","level":"warning","message":{"text":"Extensions.convertText (cyclomatic 41): Extensions.convertText has cyclomatic complexity 41 (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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":4549}}}],"partialFingerprints":{"codehealthFindingId/v1":"26bcce6253b3c3294f407261063a9caedbb7f048bd247fb9470f7fffc21a3deb"}},{"ruleId":"D1","level":"warning","message":{"text":"ForceExplorer.ForceExplorer.applySharedState (cyclomatic 41): ForceExplorer.ForceExplorer.applySharedState has cyclomatic complexity 41 (threshold 15). Of this number, 39 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. 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/webapp/js/diagramly/ForceExplorer.js"},"region":{"startLine":1700}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5e67ad730a257df74799013347026957a15f35f6b66b074dedb29f4c1b3bdac"}},{"ruleId":"D1","level":"warning","message":{"text":"Trees.EditorUi.addTrees (cyclomatic 41): Trees.EditorUi.addTrees has cyclomatic complexity 41 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 4 other methods here (Trees.EditorUi.addTrees::collectTreeRemoval, Trees.EditorUi.addTrees::getTreeDirection, Trees.EditorUi.addTrees::addSibling, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 5 times rather than 5 independent problems. Splitting this body alone leaves the other 4 exactly as they are. Where these are variations on one operation, the change that clears all 5 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Trees.js"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea0ef6caab18fe2d6ff7412c31436f2bd4a9bac30a450a110fa3041c77b1e31a"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.createKeyHandler::nudge (cyclomatic 41): EditorUi.EditorUi.createKeyHandler::nudge has cyclomatic complexity 41 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (EditorUi.EditorUi.createKeyHandler) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":11074}}}],"partialFingerprints":{"codehealthFindingId/v1":"00df6e2abfa9076abe723ddc67002f9f8212903c743dedaf3ea7266cb910d768"}},{"ruleId":"D1","level":"warning","message":{"text":"mxAtlassian.mxAtlassianJiraIssue.paintForeground (cyclomatic 41): mxAtlassian.mxAtlassianJiraIssue.paintForeground has cyclomatic complexity 41 (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/webapp/shapes/mxAtlassian.js"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"09495285929433e331f6e43be5498db7108a928fd77e0953c68a82d14774b816"}},{"ruleId":"D1","level":"warning","message":{"text":"mxAtlassian2.mxShapeAtlassian2Icon.styleChanged (cyclomatic 41): mxAtlassian2.mxShapeAtlassian2Icon.styleChanged has cyclomatic complexity 41 (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/webapp/shapes/mxAtlassian2.js"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"15bffd69161d065a8ae2a9d0b70d2dfce3ca4084604c5477468d3ea6cba0e9fd"}},{"ruleId":"D1","level":"warning","message":{"text":"convertTxt2Html (cyclomatic 41): convertTxt2Html has cyclomatic complexity 41 (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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":3986}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d6926e6288b528ee4fd52ab6894c6154b3e112c45ac07095803e38a9941c57a"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.showPublishLinkDialog (cyclomatic 40): EditorUi.EditorUi.showPublishLinkDialog has cyclomatic complexity 40 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 15 belong to 5 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":11056}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e75b0957d9686649d3f725c4e7a6bc248d182965caa3c775185b0440a037ed3"}},{"ruleId":"D1","level":"warning","message":{"text":"LibavoidRouting.LibavoidRouting.previewEndpointDrag (cyclomatic 40): LibavoidRouting.LibavoidRouting.previewEndpointDrag has cyclomatic complexity 40 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/LibavoidRouting.js"},"region":{"startLine":2970}}}],"partialFingerprints":{"codehealthFindingId/v1":"200124fd3f3d4847674217677a4386483aa47ed05506d1d96ecf78b324a83911"}},{"ruleId":"D1","level":"warning","message":{"text":"OneDriveClient.OneDriveClient.getFile (cyclomatic 40): OneDriveClient.OneDriveClient.getFile has cyclomatic complexity 40 (threshold 15). Most of this is not in the body itself: 2 of the 40 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 694, 719, 837, \u2026). 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/webapp/js/diagramly/OneDriveClient.js"},"region":{"startLine":690}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac8a3f2682ddb9a9bc88d31af4b27b22b2f90251ef7d430bdefc669bf6d0c8e7"}},{"ruleId":"D1","level":"warning","message":{"text":"Menus.Menus.addInsertTableCellItem (cyclomatic 40): Menus.Menus.addInsertTableCellItem has cyclomatic complexity 40 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 23 belong to 7 function literals inside it that branch. 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/webapp/js/grapheditor/Menus.js"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"669ec0527caba0c1131e1b427de589fe432106272eb4cb2d0573f7d869c4fa0c"}},{"ruleId":"D1","level":"warning","message":{"text":"mxGraph.mxGraph.cellsRemoved (cyclomatic 40): mxGraph.mxGraph.cellsRemoved has cyclomatic complexity 40 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 24 belong to 2 function literals inside it that branch. 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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":5177}}}],"partialFingerprints":{"codehealthFindingId/v1":"db765a37cbcc132db448ca69faed25d2d3f1b93cc630c966762b1c2105d74423"}},{"ruleId":"D1","level":"warning","message":{"text":"Dialogs.SaveDialog::addStorageEntry (cyclomatic 39): Dialogs.SaveDialog::addStorageEntry has cyclomatic complexity 39 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 2 other methods here (Dialogs.SaveDialog, Dialogs.SaveDialog::addStorageEntries) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":4595}}}],"partialFingerprints":{"codehealthFindingId/v1":"99f8ca7dbbf581dc7bb212f405b0c33b3738379e78007e6a9b674b05cdbfa49a"}},{"ruleId":"D1","level":"warning","message":{"text":"DiffSync.EditorUi.patchCellRecursive (cyclomatic 39): DiffSync.EditorUi.patchCellRecursive has cyclomatic complexity 39 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 18 belong to 2 function items inside it that branch. 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/webapp/js/diagramly/DiffSync.js"},"region":{"startLine":1527}}}],"partialFingerprints":{"codehealthFindingId/v1":"9172df70a57fc9b4a064e437a274fdaeab2b20cab850cab5e17770012f312197"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.replaceAlternateContent (cyclomatic 39): EditorUi.EditorUi.replaceAlternateContent has cyclomatic complexity 39 (threshold 15). Most of this is not in the body itself: 4 of the 39 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 9979, a function literal at line 9937, replaceElt, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":9921}}}],"partialFingerprints":{"codehealthFindingId/v1":"34b2887715ebb4a68b8338cabee10079e1e8d3711bb1f6001c3158a462cce19c"}},{"ruleId":"D1","level":"warning","message":{"text":"Pages.Graph.saveViewState (cyclomatic 39): Pages.Graph.saveViewState has cyclomatic complexity 39 (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/webapp/js/diagramly/Pages.js"},"region":{"startLine":1672}}}],"partialFingerprints":{"codehealthFindingId/v1":"b79e3f312ca7cab6c6f426c4c59eb166ee037d45e95ca8f0be808cb2dd68e628"}},{"ruleId":"D1","level":"warning","message":{"text":"Tidy.Tidy.ops.removeOverlaps (cyclomatic 39): Tidy.Tidy.ops.removeOverlaps has cyclomatic complexity 39 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 12 belong to 5 function items inside it that branch. 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/webapp/js/diagramly/tidy/Tidy.js"},"region":{"startLine":2004}}}],"partialFingerprints":{"codehealthFindingId/v1":"25b57b7ce6e15eeadf32547866fd15e1436b11f4cbe7460f5674732598837325"}},{"ruleId":"D1","level":"warning","message":{"text":"InlineToolbar.InlineToolbar.getCellOptions (cyclomatic 39): InlineToolbar.InlineToolbar.getCellOptions has cyclomatic complexity 39 (threshold 15). Of this number, 38 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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/webapp/js/grapheditor/InlineToolbar.js"},"region":{"startLine":4345}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a7ed9a24b53e57639ddb763477adb5f60732a8a64c9e29e1695cd668171f36c"}},{"ruleId":"D1","level":"warning","message":{"text":"Menus.Menus.addPopupMenuCellItems (cyclomatic 39): Menus.Menus.addPopupMenuCellItems has cyclomatic complexity 39 (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/webapp/js/grapheditor/Menus.js"},"region":{"startLine":1781}}}],"partialFingerprints":{"codehealthFindingId/v1":"158f4dad8555c577959b1fe3450b58563882fe30b3fb7d7466b31c6294e503cf"}},{"ruleId":"D1","level":"warning","message":{"text":"Sidebar.Sidebar.searchEntries (cyclomatic 39): Sidebar.Sidebar.searchEntries has cyclomatic complexity 39 (threshold 15). Of this number, 37 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. 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/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":2582}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d568bc187b7936543a201321ec9b2a322bb70a823237bf1571942b2328a701c"}},{"ruleId":"D1","level":"warning","message":{"text":"mxSvgCanvas2D.mxSvgCanvas2D.createCss (cyclomatic 39): mxSvgCanvas2D.mxSvgCanvas2D.createCss has cyclomatic complexity 39 (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/webapp/mxgraph/src/util/mxSvgCanvas2D.js"},"region":{"startLine":2351}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1e9e733df751bc002a4cb216411b4ab0d0c594a9622dce0fef9f34d9f4c952e"}},{"ruleId":"D1","level":"warning","message":{"text":"getColorSchemeStyles (cyclomatic 39): getColorSchemeStyles has cyclomatic complexity 39 (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/webapp/js/diagramly/Editor.js"},"region":{"startLine":10410}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2403e2af502c05ee06c13cab35a0daa789326b76b22de85da027fdf40de59ab"}},{"ruleId":"D1","level":"warning","message":{"text":"installInputHandler (cyclomatic 39): installInputHandler has cyclomatic complexity 39 (threshold 15). Most of this is not in the body itself: 7 of the 39 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 698, 802, 847, \u2026). 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/webapp/js/grapheditor/Format.js"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2340139fa6eb8d410f4396e94905dafb83b202ed341254558f064c0f796f9d8"}},{"ruleId":"D1","level":"warning","message":{"text":"ColorDialog::setColor (cyclomatic 39): ColorDialog::setColor has cyclomatic complexity 39 (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/webapp/js/grapheditor/Dialogs.js"},"region":{"startLine":1685}}}],"partialFingerprints":{"codehealthFindingId/v1":"07001a9f017686cea69d657b42abc705540d563b662a4191f162c3eed116790b"}},{"ruleId":"D1","level":"warning","message":{"text":"Dialogs.DraftDialog (cyclomatic 38): Dialogs.DraftDialog has cyclomatic complexity 38 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 21 belong to 8 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":9516}}}],"partialFingerprints":{"codehealthFindingId/v1":"e06a0192192851a813ed0a8a44ad4c1ed6c02de3da6453001bd766d8f3f898e6"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.showBanner (cyclomatic 38): EditorUi.EditorUi.showBanner has cyclomatic complexity 38 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 12 belong to 3 function literals inside it that branch. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":8042}}}],"partialFingerprints":{"codehealthFindingId/v1":"01f9c4efee24c4bfffd73f4d37ec1f639d850128341c1bac7eae26979a0de360"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.encodeEmbedPng (cyclomatic 38): EditorUi.EditorUi.encodeEmbedPng has cyclomatic complexity 38 (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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":19703}}}],"partialFingerprints":{"codehealthFindingId/v1":"179a161cd2652734570afdc26bb74e779393bb07f4d1e76a397f0fd24a88bfdb"}},{"ruleId":"D1","level":"warning","message":{"text":"GraphViewer.GraphViewer.showLightbox (cyclomatic 38): GraphViewer.GraphViewer.showLightbox has cyclomatic complexity 38 (threshold 15). Of this number, 36 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. 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/webapp/js/diagramly/GraphViewer.js"},"region":{"startLine":2610}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dd7ee5c1672c1f60cf74ca0aefcd5652ee9d96815bfa90e35fbbc20764b4692"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.getImageForMarker (cyclomatic 38): EditorUi.EditorUi.getImageForMarker has cyclomatic complexity 38 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":5257}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6007c1a571b02a0253f05647c13dd3460d1c3637c1cc18b0365b001ac36bf9f"}},{"ruleId":"D1","level":"warning","message":{"text":"Format.ArrangePanel.addTable (cyclomatic 38): Format.ArrangePanel.addTable has cyclomatic complexity 38 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 12 belong to 6 function literals inside it that branch. 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/webapp/js/grapheditor/Format.js"},"region":{"startLine":2460}}}],"partialFingerprints":{"codehealthFindingId/v1":"af96b00b3e4b310495b6bf07f0c780d24e24f1b11594696d8b96c185f14c649a"}},{"ruleId":"D1","level":"warning","message":{"text":"Format.StyleFormatPanel.addFill (cyclomatic 38): Format.StyleFormatPanel.addFill has cyclomatic complexity 38 (threshold 15). Most of this is not in the body itself: 11 of the 38 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 7572, a function literal at line 7670, a function literal at line 7477, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Format.js"},"region":{"startLine":7450}}}],"partialFingerprints":{"codehealthFindingId/v1":"c012807c12153bf8ab320789787844214e257f16123b75f8235182ef117a7010"}},{"ruleId":"D1","level":"warning","message":{"text":"mxOrgChartLayout.mxOrgChartLayout.getRoutePoints (cyclomatic 38): mxOrgChartLayout.mxOrgChartLayout.getRoutePoints has cyclomatic complexity 38 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 10 belong to 3 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/orgchart/mxOrgChartLayout.js"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"6212b0e160edcdbef62ae7c672b4a497a21ed094ae8ef1f2a77bd9b49f659c80"}},{"ruleId":"D1","level":"warning","message":{"text":"mxGraphHandler.mxGraphHandler.updateLivePreview (cyclomatic 38): mxGraphHandler.mxGraphHandler.updateLivePreview has cyclomatic complexity 38 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 16 belong to one function literal inside it that branches. 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/webapp/mxgraph/src/handler/mxGraphHandler.js"},"region":{"startLine":1490}}}],"partialFingerprints":{"codehealthFindingId/v1":"e51f4d5ad68efc9ba530733c29e4dbe6059d15112c0845950dbdaaf52477f0b8"}},{"ruleId":"D1","level":"warning","message":{"text":"mxPanningManager.mxPanningManager (cyclomatic 38): mxPanningManager.mxPanningManager has cyclomatic complexity 38 (threshold 15). Most of this is not in the body itself: 9 of the 38 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 100, 198, 236, \u2026). 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/webapp/mxgraph/src/util/mxPanningManager.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"268004de9a1c5d30bb01856466d02c6a59c2f8756cad9939da33b87e165f8bbc"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 38): (anonymous) has cyclomatic complexity 38 (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/webapp/js/diagramly/App.js"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"8193f1600d42e574786640e50bef8edc4d71ee519578251499893d9c848eb76a"}},{"ruleId":"D1","level":"warning","message":{"text":"TrianglePerimeter (cyclomatic 38): TrianglePerimeter has cyclomatic complexity 38 (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/webapp/mxgraph/src/view/mxPerimeter.js"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"26c10f5feb83ce5c7f9ea8eee5940609f4de64a4025eb9169ddcf438823499d0"}},{"ruleId":"D1","level":"warning","message":{"text":"DrawioFileSync.DrawioFileSync.fileSaved (cyclomatic 37): DrawioFileSync.DrawioFileSync.fileSaved has cyclomatic complexity 37 (threshold 15). Of this number, 30 points are the body\u0027s own statements and 7 belong to one function literal inside it that branches. This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DrawioFileSync.js"},"region":{"startLine":4262}}}],"partialFingerprints":{"codehealthFindingId/v1":"e30e79daf112e7364cad5ab4d456f6c35f14abe9bf4dcdb27b63b20ee451a1d6"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.createKeyHandler (cyclomatic 37): EditorUi.EditorUi.createKeyHandler has cyclomatic complexity 37 (threshold 15). Most of this is not in the body itself: 11 of the 37 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 2481, 2494, 2504, \u2026). 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":2471}}}],"partialFingerprints":{"codehealthFindingId/v1":"186992b945aac1a8dfa5631d7ebe4368794419323b2c7c4bb699872a4fb282ca"}},{"ruleId":"D1","level":"warning","message":{"text":"GraphViewer.GraphViewer.showLocalLightbox (cyclomatic 37): GraphViewer.GraphViewer.showLocalLightbox has cyclomatic complexity 37 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 12 belong to 5 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/GraphViewer.js"},"region":{"startLine":2733}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc340f4639db9d68d98a1c8f3c2743aff0d68aa2d6a37b2f149680ded2ea0295"}},{"ruleId":"D1","level":"warning","message":{"text":"SpringMove.SpringMove.tick (cyclomatic 37): SpringMove.SpringMove.tick has cyclomatic complexity 37 (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/webapp/js/diagramly/SpringMove.js"},"region":{"startLine":1039}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa3ab94aff6cd6f04c4d124563f500256600bf9f026bbb3e51e61b3f00e03a84"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.updateActionStates (cyclomatic 37): EditorUi.EditorUi.updateActionStates has cyclomatic complexity 37 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":8945}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea53921f0274aa58b90aed923fb666e404470d8cd82dada4ee886fd004ae885d"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.createKeyHandler (cyclomatic 37): EditorUi.EditorUi.createKeyHandler has cyclomatic complexity 37 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (EditorUi.EditorUi.createKeyHandler::nudge) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":10922}}}],"partialFingerprints":{"codehealthFindingId/v1":"829b408c99e284876f40bd74cbbe8f72f6969483381d33e94d1f840ebd91867a"}},{"ruleId":"D1","level":"warning","message":{"text":"Shapes.MermaidBlockArrowShape.redrawPath (cyclomatic 37): Shapes.MermaidBlockArrowShape.redrawPath has cyclomatic complexity 37 (threshold 15). Of this number, 34 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":9486}}}],"partialFingerprints":{"codehealthFindingId/v1":"e90c13abf2cf54ffc61062215677b226d989d71c075f3020408b5c77a806ee1d"}},{"ruleId":"D1","level":"warning","message":{"text":"mxSvgCanvas2D.mxSvgCanvas2D.updateTextNodes (cyclomatic 37): mxSvgCanvas2D.mxSvgCanvas2D.updateTextNodes has cyclomatic complexity 37 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 16 belong to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxSvgCanvas2D.js"},"region":{"startLine":2204}}}],"partialFingerprints":{"codehealthFindingId/v1":"0270a7fa54b4b30293bf73947ef3193c6a26c8e04d7eba95c5eb4ea80d0f5732"}},{"ruleId":"D1","level":"warning","message":{"text":"mxGraph.mxGraph.isEventIgnored (cyclomatic 37): mxGraph.mxGraph.isEventIgnored has cyclomatic complexity 37 (threshold 15). Of this number, 35 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":14060}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d27698c961be98dd6f5f356ed429bae8e76b3d762906367cf374486b874e488"}},{"ruleId":"D1","level":"warning","message":{"text":"mxGraphView.mxGraphView.installListeners (cyclomatic 37): mxGraphView.mxGraphView.installListeners has cyclomatic complexity 37 (threshold 15). Most of this is not in the body itself: 13 of the 37 points are its own statements and the rest belongs to 9 function items inside it that branch (a function literal at line 4796, a function literal at line 4722, a function literal at line 4812, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxGraphView.js"},"region":{"startLine":4691}}}],"partialFingerprints":{"codehealthFindingId/v1":"38a9fd2437b099625612607701734bfd0b99983e145b17a0f7426140d83e8a8e"}},{"ruleId":"D1","level":"warning","message":{"text":"update.Draw.loadPlugin() (cyclomatic 37): update.Draw.loadPlugin() has cyclomatic complexity 37 (threshold 15). Most of this is not in the body itself: 7 of the 37 points are its own statements and the rest belongs to 6 function items inside it that branch (createDemoResponse, scheduleUpdates, parseResponse, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/plugins/update.js"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8bf7952c3dc454a56483ba38e3d77409c0f0cba256a4299649d6e5ee30b98ed"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 37): (anonymous) has cyclomatic complexity 37 (threshold 15). Most of this is not in the body itself: 7 of the 37 points are its own statements and the rest belongs to 9 function items inside it that branch (createDemoResponse, scheduleUpdates, parseResponse, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/plugins/update.js"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ec333d703bf449bace66a9f6d9157cbfd4a38d83277fe72d82d9a4bc89da866"}},{"ruleId":"D1","level":"warning","message":{"text":"Editor.Editor.extractGraphModelFromPdf (cyclomatic 36): Editor.Editor.extractGraphModelFromPdf has cyclomatic complexity 36 (threshold 15). Of this number, 34 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. 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/webapp/js/diagramly/Editor.js"},"region":{"startLine":3120}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b387cae827fe258a59e62d7af5b8787872a8de6b76055bb494bc4348baec09c"}},{"ruleId":"D1","level":"warning","message":{"text":"Editor.Editor.drawSvgWithHtmlInCanvas (cyclomatic 36): Editor.Editor.drawSvgWithHtmlInCanvas has cyclomatic complexity 36 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 15 belong to 5 function items inside it that branch. 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/webapp/js/diagramly/Editor.js"},"region":{"startLine":7735}}}],"partialFingerprints":{"codehealthFindingId/v1":"0105e104f889259694c695e94dd4e1a05d645207e743b1fb416c4317a5ee884e"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.installResizeHandler (cyclomatic 36): EditorUi.EditorUi.installResizeHandler has cyclomatic complexity 36 (threshold 15). Most of this is not in the body itself: 7 of the 36 points are its own statements and the rest belongs to 12 function literals inside it that branch (lines 26280, 26200, 26345, \u2026). 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":26160}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfb6dd811b6c70a0bb76214fb0c036bf5b08cae79799eb6e93362f085c586d1a"}},{"ruleId":"D1","level":"warning","message":{"text":"GraphViewer.GraphViewer.getModelNodeBounds (cyclomatic 36): GraphViewer.GraphViewer.getModelNodeBounds has cyclomatic complexity 36 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (GraphViewer.GraphViewer.getModelNodeBounds::getOrigin) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/GraphViewer.js"},"region":{"startLine":3430}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b7c0adcecf56fcf9931b2fc9846a5eabd403d856046ee0f8aaee7235ff3d7a2"}},{"ruleId":"D1","level":"warning","message":{"text":"mxRuler.mxRuler::drawRuler (cyclomatic 36): mxRuler.mxRuler::drawRuler has cyclomatic complexity 36 (threshold 15). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/mxRuler.js"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"91eff744f1489764aeb128ec8ca1f99e0d66f12b32f1f2a1fde9f5fda1685015"}},{"ruleId":"D1","level":"warning","message":{"text":"Format.StyleFormatPanel.addEffects (cyclomatic 36): Format.StyleFormatPanel.addEffects has cyclomatic complexity 36 (threshold 15). Most of this is not in the body itself: 1 of the 36 points is its own statement and the rest belongs to 4 function literals inside it that branch (lines 8650, 8684, 8640, \u2026). 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/webapp/js/grapheditor/Format.js"},"region":{"startLine":8612}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c4fb23e97ea08858d4d525e0a7f5ea3d68f1de28316fe137971bee6782f368a"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.Graph.parseStyleRule (cyclomatic 36): Graph.Graph.parseStyleRule has cyclomatic complexity 36 (threshold 15). Of this number, 32 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":18071}}}],"partialFingerprints":{"codehealthFindingId/v1":"434ad97e82fae13fca9e8d76ac1fda037a66b60334c8e3e639880bad9ee8d78d"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.HoverIcons.repaint (cyclomatic 36): Graph.HoverIcons.repaint has cyclomatic complexity 36 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 14 belong to 2 function literals inside it that branch. 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":24638}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a8798b76e367ce5e8ce56dfd1e086383115fe27ec3e97ccdbaaf42ec340d522"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.HoverIcons.update (cyclomatic 36): Graph.HoverIcons.update has cyclomatic complexity 36 (threshold 15). Of this number, 34 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":24907}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a9ad6ce388464ccbb69baae2706d4d3f4e1d15f274ad4efdac7453f8f7bb4d2"}},{"ruleId":"D1","level":"warning","message":{"text":"mxArrowConnector.mxArrowConnector.paintEdgeShape (cyclomatic 36): mxArrowConnector.mxArrowConnector.paintEdgeShape has cyclomatic complexity 36 (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/webapp/mxgraph/src/shape/mxArrowConnector.js"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b10b9109105f7bdb8e63905e4d1cfbd44673b43347a6962fb32d4b6717b10c2"}},{"ruleId":"D1","level":"warning","message":{"text":"mxGuide.mxGuide.snapDistance (cyclomatic 36): mxGuide.mxGuide.snapDistance has cyclomatic complexity 36 (threshold 15). Of this number, 34 points are the body\u0027s own statements and 2 belong to 2 function items inside it that branch. 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/webapp/mxgraph/src/util/mxGuide.js"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"8452916ad55d655add07782f9279942dd95032b754ac9348473bd9c4e7268c53"}},{"ruleId":"D1","level":"warning","message":{"text":"mxGraph.mxGraph.getBoundingBoxFromGeometry (cyclomatic 36): mxGraph.mxGraph.getBoundingBoxFromGeometry has cyclomatic complexity 36 (threshold 15). Of this number, 34 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. 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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":8095}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8f5fb930c5b0e07eb4795f7aa5f7f6cddf78145f335e832d900200cad7900de"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi (cyclomatic 36): EditorUi has cyclomatic complexity 36 (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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a88f5103dee532274d6a20f2b3d445de6470efacb69d6a649dec2abc9043230"}},{"ruleId":"D1","level":"warning","message":{"text":"Dialogs.SaveDialog (cyclomatic 35): Dialogs.SaveDialog has cyclomatic complexity 35 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 2 other methods here (Dialogs.SaveDialog::addStorageEntry, Dialogs.SaveDialog::addStorageEntries) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":4424}}}],"partialFingerprints":{"codehealthFindingId/v1":"f000ba403c8b3583c7b087ada73c6ed1da6aa5e3baa032ac2f492cfe8492044e"}},{"ruleId":"D1","level":"warning","message":{"text":"DrawioFile.DrawioFile.handleWriteRevoked (cyclomatic 35): DrawioFile.DrawioFile.handleWriteRevoked has cyclomatic complexity 35 (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/webapp/js/diagramly/DrawioFile.js"},"region":{"startLine":2338}}}],"partialFingerprints":{"codehealthFindingId/v1":"866f48d2fbf91d90e5ebf2c8d76567620a2a7258c9cfda5e51682af8e5c5bebf"}},{"ruleId":"D1","level":"warning","message":{"text":"DrawioFileSync.DrawioFileSync.stripPendingInserts (cyclomatic 35): DrawioFileSync.DrawioFileSync.stripPendingInserts has cyclomatic complexity 35 (threshold 15). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DrawioFileSync.js"},"region":{"startLine":1983}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ded45092dbc5cd00110cab9a5f2da5cfb008796bab67007261d81bdb9646878"}},{"ruleId":"D1","level":"warning","message":{"text":"DrawioFileSync.DrawioFileSync.merge (cyclomatic 35): DrawioFileSync.DrawioFileSync.merge has cyclomatic complexity 35 (threshold 15). Of this number, 33 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DrawioFileSync.js"},"region":{"startLine":3246}}}],"partialFingerprints":{"codehealthFindingId/v1":"60f40c31d9d19dee7194bb1cb7877cef781ab38f676ab2f0519838b02788a5fe"}},{"ruleId":"D1","level":"warning","message":{"text":"Editor.Graph.createTagsDialog.refreshTags (cyclomatic 35): Editor.Graph.createTagsDialog.refreshTags has cyclomatic complexity 35 (threshold 15). Most of this is not in the body itself: 5 of the 35 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 11144, 11199, 11297, \u2026). 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/webapp/js/diagramly/Editor.js"},"region":{"startLine":11124}}}],"partialFingerprints":{"codehealthFindingId/v1":"37a2747b4de0fb83fe712013ff0cfe798940c8f1c3f30f71a4f7af16818bc2d8"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.createFileData (cyclomatic 35): EditorUi.EditorUi.createFileData has cyclomatic complexity 35 (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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":3015}}}],"partialFingerprints":{"codehealthFindingId/v1":"81ee1d8cb23f5fbcf4a608eb051303b6f8135b70c251bd5ae02acfb00bd1bcac"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.importXml (cyclomatic 35): EditorUi.EditorUi.importXml has cyclomatic complexity 35 (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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":13999}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9c1288794ee10023b6df22dcc1a7236b04476a85f4c0c5f7eb654da89e48609"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.collectCellImages (cyclomatic 35): EditorUi.EditorUi.collectCellImages has cyclomatic complexity 35 (threshold 15). Of this number, 34 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":18631}}}],"partialFingerprints":{"codehealthFindingId/v1":"87b789a1bca3a9e9e52155e73c83a8c64c4b979c4e39818b94fc5f369c740cfe"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.addFileDropHandler (cyclomatic 35): EditorUi.EditorUi.addFileDropHandler has cyclomatic complexity 35 (threshold 15). Most of this is not in the body itself: 3 of the 35 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 30531, 30517, 30622, \u2026). 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":30495}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2831ad9ad0ee20fbeea07043e47916d9f9dbf440fb53e0e52cfd2b7d5607015"}},{"ruleId":"D1","level":"warning","message":{"text":"Tidy.Tidy.collect::visit (cyclomatic 35): Tidy.Tidy.collect::visit has cyclomatic complexity 35 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (Tidy.Tidy.collect) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/tidy/Tidy.js"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd221f81fcc4209eab4c6612f7dba616b0fd32ba4769a1b327b889d7d5eff94b"}},{"ruleId":"D1","level":"warning","message":{"text":"Tidy.Tidy.getStructure (cyclomatic 35): Tidy.Tidy.getStructure has cyclomatic complexity 35 (threshold 15). Of this number, 32 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/tidy/Tidy.js"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9867026b6c0a6a6dcf44c276364f167889516173922a5d98c0d9c7f209452ba"}},{"ruleId":"D1","level":"warning","message":{"text":"Dialogs.ExportDialog (cyclomatic 35): Dialogs.ExportDialog has cyclomatic complexity 35 (threshold 15). Most of this is not in the body itself: 5 of the 35 points are its own statements and the rest belongs to 8 function items inside it that branch (formatChanged, a function literal at line 3725, checkValues, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Dialogs.js"},"region":{"startLine":3340}}}],"partialFingerprints":{"codehealthFindingId/v1":"001afaf706f5a45387f6cd2cf75bd93d472dbcac5b2648663f2498000561629a"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.mxText.paint (cyclomatic 35): Graph.mxText.paint has cyclomatic complexity 35 (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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":8131}}}],"partialFingerprints":{"codehealthFindingId/v1":"749ac2029d4f90ff2ce6a048a9624862ebb90fe5059cf3c0ae647b39e134f717"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.Graph.getAutoLabelPlacement (cyclomatic 35): Graph.Graph.getAutoLabelPlacement has cyclomatic complexity 35 (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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":29813}}}],"partialFingerprints":{"codehealthFindingId/v1":"08f517d90869b3578eae918244f72078361684770e52092f3a4962626f707144"}},{"ruleId":"D1","level":"warning","message":{"text":"mxEdgeHandler.mxEdgeHandler.updatePreviewState (cyclomatic 35): mxEdgeHandler.mxEdgeHandler.updatePreviewState has cyclomatic complexity 35 (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/webapp/mxgraph/src/handler/mxEdgeHandler.js"},"region":{"startLine":1465}}}],"partialFingerprints":{"codehealthFindingId/v1":"67cfedf85d964b0ef102b2c2739c209e4c9e05c630baf45fc9ed16034ab4f325"}},{"ruleId":"D1","level":"warning","message":{"text":"mxCellEditor.mxCellEditor.resize (cyclomatic 35): mxCellEditor.mxCellEditor.resize has cyclomatic complexity 35 (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/webapp/mxgraph/src/view/mxCellEditor.js"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ee75f638189f44704813d9092dae454623a5bd2ea87e2e21d1f8a874dde7647"}},{"ruleId":"D1","level":"warning","message":{"text":"mxPrintPreview.mxPrintPreview.open (cyclomatic 35): mxPrintPreview.mxPrintPreview.open has cyclomatic complexity 35 (threshold 15). Of this number, 32 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. 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/webapp/mxgraph/src/view/mxPrintPreview.js"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"a12759b825f6404bb4932515f77ca226d366e7ce4d3a6dedf0ef5fce475a2ea5"}},{"ruleId":"D1","level":"warning","message":{"text":"mxBpmnShape2.mxShapeBpmn2Task2.paintVertexShape (cyclomatic 35): mxBpmnShape2.mxShapeBpmn2Task2.paintVertexShape has cyclomatic complexity 35 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/shapes/bpmn/mxBpmnShape2.js"},"region":{"startLine":1880}}}],"partialFingerprints":{"codehealthFindingId/v1":"868bf3fabd49008f681a465378dd988a03298852e94883e9069796172cd9e174"}},{"ruleId":"D1","level":"warning","message":{"text":"addStyles (cyclomatic 35): addStyles has cyclomatic complexity 35 (threshold 15). Most of this is not in the body itself: 9 of the 35 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 10202, 10191, 10176, \u2026). 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/webapp/js/diagramly/Editor.js"},"region":{"startLine":10137}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f5f2081bd97e887ef075078d0f4e71803cf753f293102db814f9a9871e7a76c"}},{"ruleId":"D1","level":"warning","message":{"text":"addTrees::moveCells (cyclomatic 35): addTrees::moveCells has cyclomatic complexity 35 (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/webapp/js/diagramly/Trees.js"},"region":{"startLine":853}}}],"partialFingerprints":{"codehealthFindingId/v1":"2262fe14bf28974b15e25061dd81af6995d27b82086a6d83767172ebaaf3c776"}},{"ruleId":"D1","level":"warning","message":{"text":"App.App.pickFolder (cyclomatic 34): App.App.pickFolder has cyclomatic complexity 34 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 13 belong to 3 function literals inside it that branch. 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/webapp/js/diagramly/App.js"},"region":{"startLine":8574}}}],"partialFingerprints":{"codehealthFindingId/v1":"b554045676839bcd742b7b1191cae6969a1bb0f32c5bcc40d59054762d24f7ac"}},{"ruleId":"D1","level":"warning","message":{"text":"Dialogs.CropImageDialog (cyclomatic 34): Dialogs.CropImageDialog has cyclomatic complexity 34 (threshold 15). Most of this is not in the body itself: 2 of the 34 points are its own statements and the rest belongs to 10 function items inside it that branch (init, applyInputs, calcClipPath, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":19129}}}],"partialFingerprints":{"codehealthFindingId/v1":"32a1a251ee0b8a9c33568c2dfb50c562e66e5e94fa7f34cd6209fb7a57cbddea"}},{"ruleId":"D1","level":"warning","message":{"text":"DiffSync.EditorUi.diffPages (cyclomatic 34): DiffSync.EditorUi.diffPages has cyclomatic complexity 34 (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/webapp/js/diagramly/DiffSync.js"},"region":{"startLine":1944}}}],"partialFingerprints":{"codehealthFindingId/v1":"86249b85e6768f97e6a2a59987862f6bfacdf12e9d5952f3e9b9d1b663996c53"}},{"ruleId":"D1","level":"warning","message":{"text":"Editor.Editor.extractGraphModel (cyclomatic 34): Editor.Editor.extractGraphModel has cyclomatic complexity 34 (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/webapp/js/diagramly/Editor.js"},"region":{"startLine":2926}}}],"partialFingerprints":{"codehealthFindingId/v1":"461558a5a8694236fa820f3b056173de890f81d806e9631b035bc6baace6ed75"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.createEmbedSvg (cyclomatic 34): EditorUi.EditorUi.createEmbedSvg has cyclomatic complexity 34 (threshold 15). Of this number, 33 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":13101}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b998bcd6c9efa13c21183accfdad5bb1d0d5410f1baf641c72b20d224fac4d2"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.insertTextAt (cyclomatic 34): EditorUi.EditorUi.insertTextAt has cyclomatic complexity 34 (threshold 15). Of this number, 31 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":16965}}}],"partialFingerprints":{"codehealthFindingId/v1":"c445ac3a4f6f1ddb8e2a66f48dd4c9b6b7a63b8eb88af98b63fe54e34c9cb256"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.CommentsWindow::addComment (cyclomatic 34): EditorUi.CommentsWindow::addComment has cyclomatic complexity 34 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: one other method here (EditorUi.CommentsWindow::installMentionHandler::updateMenu) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":45460}}}],"partialFingerprints":{"codehealthFindingId/v1":"477e155910e5a8ab17371980aa7043edf1a415b01cf4ce344d5d27b2955fec9d"}},{"ruleId":"D1","level":"warning","message":{"text":"LibavoidRouting.LibavoidRouting.snapPoints (cyclomatic 34): LibavoidRouting.LibavoidRouting.snapPoints has cyclomatic complexity 34 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/LibavoidRouting.js"},"region":{"startLine":1650}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f251d3332eeb0f8a309131a08d1817bfc03ac405e5a9852d1d4a479b559a4ed"}},{"ruleId":"D1","level":"warning","message":{"text":"Trees.EditorUi.addTrees::addSibling (cyclomatic 34): Trees.EditorUi.addTrees::addSibling has cyclomatic complexity 34 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 4 other methods here (Trees.EditorUi.addTrees, Trees.EditorUi.addTrees::collectTreeRemoval, Trees.EditorUi.addTrees::getTreeDirection, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 5 times rather than 5 independent problems. Splitting this body alone leaves the other 4 exactly as they are. Where these are variations on one operation, the change that clears all 5 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Trees.js"},"region":{"startLine":1150}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9818e50c894e38f4e02dde0b63e4a6124cf6a5f1667a92e8d81d99402e3d2b8"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.Graph.writeContainerLayoutGeometries (cyclomatic 34): Graph.Graph.writeContainerLayoutGeometries has cyclomatic complexity 34 (threshold 15). Of this number, 33 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":14733}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8e97e56edffb03310a738575ac03dbc77d440fc009b37950bd9f6f785b877d2"}},{"ruleId":"D1","level":"warning","message":{"text":"Shapes.CurvedTextShape.paintForeground (cyclomatic 34): Shapes.CurvedTextShape.paintForeground has cyclomatic complexity 34 (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/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":8621}}}],"partialFingerprints":{"codehealthFindingId/v1":"29f6328e8b6a69efe7d32bcaab73a47165b9db9665799517932c8f65c5c504d8"}},{"ruleId":"D1","level":"warning","message":{"text":"trees.Draw.loadPlugin()::addSibling (cyclomatic 34): trees.Draw.loadPlugin()::addSibling has cyclomatic complexity 34 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 2 other methods here (trees.Draw.loadPlugin(), trees.Draw.loadPlugin()::selectCell) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/plugins/trees/trees.js"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"10127b00f4c2897064b8e6275baee2a81fe157e62e6c6bc23bc9686f734e9039"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::handle (cyclomatic 34): (anonymous)::handle has cyclomatic complexity 34 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":9147}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc4c5f63276516e51f074996c8a059484cf63b3f1e376d8c6ce787553807b6e6"}},{"ruleId":"D1","level":"warning","message":{"text":"App (cyclomatic 34): App has cyclomatic complexity 34 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 18 belong to 6 function literals inside it that branch. 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/webapp/js/diagramly/App.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf2f9ee0c1eaa280927102d68ec429b11a154ff93cedc170f621a8d7d410262b"}},{"ruleId":"D1","level":"warning","message":{"text":"addTrees::onKeyDown (cyclomatic 34): addTrees::onKeyDown has cyclomatic complexity 34 (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/webapp/js/diagramly/Trees.js"},"region":{"startLine":1549}}}],"partialFingerprints":{"codehealthFindingId/v1":"c46377e2c013fee88f12dc47b79a4aa7025e3dd6d33f4573e01ac060dbe0b6cd"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::addSibling (cyclomatic 34): (anonymous)::addSibling has cyclomatic complexity 34 (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/webapp/plugins/trees/trees.js"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfef9dc58d0433fbae06e164beb1cf14606798401164762cec824427ea58d295"}},{"ruleId":"D1","level":"warning","message":{"text":"App.App.getThumbnail (cyclomatic 33): App.App.getThumbnail has cyclomatic complexity 33 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 10 belong to 5 function literals inside it that branch. 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/webapp/js/diagramly/App.js"},"region":{"startLine":3638}}}],"partialFingerprints":{"codehealthFindingId/v1":"32e2ad712f0a7abbe28e8e438381fb33d7e0a3de737ca3152693f0cbf521f173"}},{"ruleId":"D1","level":"warning","message":{"text":"App.App.executeCreateObject (cyclomatic 33): App.App.executeCreateObject has cyclomatic complexity 33 (threshold 15). Most of this is not in the body itself: 13 of the 33 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 4822, 4937, 4807, \u2026). 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/webapp/js/diagramly/App.js"},"region":{"startLine":4794}}}],"partialFingerprints":{"codehealthFindingId/v1":"00bf46bc74ef85a7a6031a2be98e1ca0a2ddd4cce68b7d6fc4190be8546f19bb"}},{"ruleId":"D1","level":"warning","message":{"text":"App.App.saveLibrary (cyclomatic 33): App.App.saveLibrary has cyclomatic complexity 33 (threshold 15). Most of this is not in the body itself: 11 of the 33 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 6179, 6159, 6247, \u2026). 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/webapp/js/diagramly/App.js"},"region":{"startLine":6150}}}],"partialFingerprints":{"codehealthFindingId/v1":"8764659c484a42d01a53ee636f9498218c3e095bc4fdb0c028c851a62ca0ed11"}},{"ruleId":"D1","level":"warning","message":{"text":"App.App.createFile (cyclomatic 33): App.App.createFile has cyclomatic complexity 33 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 5 belong to 2 function literals inside it that branch. 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/webapp/js/diagramly/App.js"},"region":{"startLine":6718}}}],"partialFingerprints":{"codehealthFindingId/v1":"836bef30db1e1554ae0721a37120d2ba6b67167035db7e1f6cd378f0ae8c3f58"}},{"ruleId":"D1","level":"warning","message":{"text":"DrawioFile.DrawioFile.mergeFile (cyclomatic 33): DrawioFile.DrawioFile.mergeFile has cyclomatic complexity 33 (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/webapp/js/diagramly/DrawioFile.js"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c602c2475da80ad911fa410047dda1d8e82f419b475166281e430930bac00d2"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.importFile (cyclomatic 33): EditorUi.EditorUi.importFile has cyclomatic complexity 33 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 7 belong to 2 function literals inside it that branch. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":17474}}}],"partialFingerprints":{"codehealthFindingId/v1":"75ead26511cce8b968c4bff021dc04c8563ece06dbdde0b2b63fed3f9cffdaa7"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.setOutlineOrder (cyclomatic 33): EditorUi.EditorUi.setOutlineOrder has cyclomatic complexity 33 (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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":35653}}}],"partialFingerprints":{"codehealthFindingId/v1":"04bdf0a0aaeb3be5643c6135bc8f15550de6097c7237c9e1a6374a2286f8b033"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.applyListText (cyclomatic 33): EditorUi.EditorUi.applyListText has cyclomatic complexity 33 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 5 belong to 2 function items inside it that branch. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":36892}}}],"partialFingerprints":{"codehealthFindingId/v1":"284a392be0728550e04b016b9878a5a176bd968d1550076e5f8866af08fbbb7b"}},{"ruleId":"D1","level":"warning","message":{"text":"ForceExplorer.ForceExplorer.updateBullets (cyclomatic 33): ForceExplorer.ForceExplorer.updateBullets has cyclomatic complexity 33 (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/webapp/js/diagramly/ForceExplorer.js"},"region":{"startLine":4632}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2a48a753ab36aa5dd219798cc8fbbb7dd4c8b12139343af066ad2d7b7e1254d"}},{"ruleId":"D1","level":"warning","message":{"text":"LibavoidRouting.LibavoidRouting.createRouteEdges (cyclomatic 33): LibavoidRouting.LibavoidRouting.createRouteEdges has cyclomatic complexity 33 (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/webapp/js/diagramly/LibavoidRouting.js"},"region":{"startLine":1990}}}],"partialFingerprints":{"codehealthFindingId/v1":"8de7e24e94b9faf9165298509e6e839a7e5604b1fd4386d25db7b0a495fafbfe"}},{"ruleId":"D1","level":"warning","message":{"text":"TidyStyle.Tidy.getRole (cyclomatic 33): TidyStyle.Tidy.getRole has cyclomatic complexity 33 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/tidy/TidyStyle.js"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee47fab362c788c1ae367e7059784dc177cbc6731fe5ea3fb5f974a5ba2debd2"}},{"ruleId":"D1","level":"warning","message":{"text":"Editor.FilenameDialog (cyclomatic 33): Editor.FilenameDialog has cyclomatic complexity 33 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 15 belong to 7 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Editor.js"},"region":{"startLine":4410}}}],"partialFingerprints":{"codehealthFindingId/v1":"57ef20c14b2fd1734876505363480e9e1ff9f212e4c89c40a286c04131e16b50"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.findCommonProperties (cyclomatic 33): EditorUi.EditorUi.findCommonProperties has cyclomatic complexity 33 (threshold 15). Most of this is not in the body itself: 15 of the 33 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 1616, 1676). 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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":1614}}}],"partialFingerprints":{"codehealthFindingId/v1":"af179626d2f9ffdc4fb240f83e396899b4cd04fbf0f2857da537c9b04265cd66"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.TableLayout.execute (cyclomatic 33): Graph.TableLayout.execute has cyclomatic complexity 33 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 6 belong to one function literal inside it that branches. 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":27179}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dcc08e9fb698abb2cf05a058ecdea8772c980e62bb3195b1455aaaf930f9c3a"}},{"ruleId":"D1","level":"warning","message":{"text":"mxODPicker.mxODPicker (cyclomatic 33): mxODPicker.mxODPicker has cyclomatic complexity 33 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: 2 other methods here (mxODPicker.mxODPicker::fillFolderFiles, mxODPicker.mxODPicker::fillFolderFiles::renderList) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/onedrive/mxODPicker.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3f35a1f3150a2cacbc7686d0b70727ae2a9de9e7dc13339d276d4081118e727"}},{"ruleId":"D1","level":"warning","message":{"text":"mxSvgCanvas2D.mxSvgCanvas2D.getAlternateTextLines (cyclomatic 33): mxSvgCanvas2D.mxSvgCanvas2D.getAlternateTextLines has cyclomatic complexity 33 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxSvgCanvas2D.js"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad12faebbb6145e4a23ae232a2ac244059a9b1f17e660fa2c83fbf4cc0131069"}},{"ruleId":"D1","level":"warning","message":{"text":"mxGraph.mxGraph.cloneCells (cyclomatic 33): mxGraph.mxGraph.cloneCells has cyclomatic complexity 33 (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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":4596}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a4a9400865a45ccf3fe33e92fa49ca806be74e20dcaf3e8884ee70eeb5edf40"}},{"ruleId":"D1","level":"warning","message":{"text":"mxBpmnShape2.mxShapeBpmn2Task.paintVertexShape (cyclomatic 33): mxBpmnShape2.mxShapeBpmn2Task.paintVertexShape has cyclomatic complexity 33 (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/webapp/shapes/bpmn/mxBpmnShape2.js"},"region":{"startLine":1578}}}],"partialFingerprints":{"codehealthFindingId/v1":"e25f3b9f0ed56b785a53db5c2a906d271444b522dffcf0ee541bc706302070fe"}},{"ruleId":"D1","level":"warning","message":{"text":"ProxyServlet.doGet (cyclomatic 33): ProxyServlet.doGet has cyclomatic complexity 33 (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/server/java/com/mxgraph/online/ProxyServlet.java"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"24283aaa9e223ab2ab63ef9dd4ac0e06d3c42441af486937030a8006a1bf545a"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::getControlPoints::nurbsSegsTo (cyclomatic 33): (anonymous)::getControlPoints::nurbsSegsTo has cyclomatic complexity 33 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":14097}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e30c4b6273baabc92533e28ce07804b2bb81b2e3dcc173d8211f1997f72d71b"}},{"ruleId":"D1","level":"warning","message":{"text":"createDragSource::dragOver (cyclomatic 33): createDragSource::dragOver has cyclomatic complexity 33 (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/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":6700}}}],"partialFingerprints":{"codehealthFindingId/v1":"15460df4f4d7253f4279e41a845cffab974866367dab147a44a699bbcd26617e"}},{"ruleId":"D1","level":"warning","message":{"text":"Dialogs.ParseDialog (cyclomatic 32): Dialogs.ParseDialog has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (Dialogs.ParseDialog::parse) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":1514}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb07301d4aa5a1a8a3592cc202120f9dbac6fa00efe757be177a787f003c66e6"}},{"ruleId":"D1","level":"warning","message":{"text":"Dialogs.PluginsDialog (cyclomatic 32): Dialogs.PluginsDialog has cyclomatic complexity 32 (threshold 15). Most of this is not in the body itself: 13 of the 32 points are its own statements and the rest belongs to 7 function items inside it that branch (a function literal at line 18949, refreshAddOptions, refresh, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":18811}}}],"partialFingerprints":{"codehealthFindingId/v1":"cce6f6823de899821f00c7a6d7935945bee180c4169870b05b2cbc12d2260a2c"}},{"ruleId":"D1","level":"warning","message":{"text":"Dialogs.FontDialog (cyclomatic 32): Dialogs.FontDialog has cyclomatic complexity 32 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 15 belong to 4 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":23963}}}],"partialFingerprints":{"codehealthFindingId/v1":"a066457c5e549577f2ce9e195a316436c3663bfbf9f00ff3fd51ddd6a87432dd"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.editContainerLayout (cyclomatic 32): EditorUi.EditorUi.editContainerLayout has cyclomatic complexity 32 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 5 belong to 2 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":37848}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bed721c84ba057633dae64badca03e8d8baa70bce10618bf69b00fbf4a2507f"}},{"ruleId":"D1","level":"warning","message":{"text":"LightboxModern.LightboxModern.updateLanguages (cyclomatic 32): LightboxModern.LightboxModern.updateLanguages has cyclomatic complexity 32 (threshold 15). Of this number, 30 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. 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/webapp/js/diagramly/LightboxModern.js"},"region":{"startLine":2240}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b0f8384df6ae978723a52287f78bdbabffa2c66134b3ac608b96f841d7313b2"}},{"ruleId":"D1","level":"warning","message":{"text":"Format.BaseFormatPanel.installInputHandler.update (cyclomatic 32): Format.BaseFormatPanel.installInputHandler.update has cyclomatic complexity 32 (threshold 15). Of this number, 31 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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/webapp/js/grapheditor/Format.js"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6f70055d313748acc24f32b17127e9d924040124ae5336508b8ac191f1abe83"}},{"ruleId":"D1","level":"warning","message":{"text":"Format.ArrangePanel.init (cyclomatic 32): Format.ArrangePanel.init has cyclomatic complexity 32 (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/webapp/js/grapheditor/Format.js"},"region":{"startLine":2310}}}],"partialFingerprints":{"codehealthFindingId/v1":"07b92449e5f9c2cbfe4fe6532605575410c6a717010480bdd2c1b1005978f333"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.LabelBoxIndex.add (cyclomatic 32): Graph.LabelBoxIndex.add has cyclomatic complexity 32 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 13 belong to 3 function items inside it that branch. To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":29570}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0da18aeadeef1b11025b37cc38158029f65a04e6728b01286a632a6e5d0463f"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.mxGraphView.updateCurveLineJumps (cyclomatic 32): Graph.mxGraphView.updateCurveLineJumps has cyclomatic complexity 32 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 6 belong to 2 function items inside it that branch. 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":31777}}}],"partialFingerprints":{"codehealthFindingId/v1":"09ef26ceca8cdd798307b5b1b118a518f79417735f66d791d080a0a1bde7f502"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.mxGraphView.updateFixedPointSpacing (cyclomatic 32): Graph.mxGraphView.updateFixedPointSpacing has cyclomatic complexity 32 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 8 belong to 2 function items inside it that branch. 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":32573}}}],"partialFingerprints":{"codehealthFindingId/v1":"b540861dd638c23a456e220a6549b5c0b41477969405875286eba57c95e4afab"}},{"ruleId":"D1","level":"warning","message":{"text":"InlineToolbar.InlineToolbar.createPopover.position (cyclomatic 32): InlineToolbar.InlineToolbar.createPopover.position has cyclomatic complexity 32 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/InlineToolbar.js"},"region":{"startLine":1602}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a7064a14451b3e14269351af71bfcb4c7a73999950953df3ec6b7d788ba6ac8"}},{"ruleId":"D1","level":"warning","message":{"text":"mxLeanMap.mxShapeLeanTimeline.paintVertexShape (cyclomatic 32): mxLeanMap.mxShapeLeanTimeline.paintVertexShape has cyclomatic complexity 32 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/shapes/mxLeanMap.js"},"region":{"startLine":1999}}}],"partialFingerprints":{"codehealthFindingId/v1":"72029e00375b4be59add8b88566187f05423a8d108d05b252db41f33c8807475"}},{"ruleId":"D1","level":"warning","message":{"text":"main::doLoad::(anonymous)::realMain (cyclomatic 32): main::doLoad::(anonymous)::realMain has cyclomatic complexity 32 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":1466}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbdda636d1705c4d4911529682ea5f08bb48921bfd5c7a4e48849ee96095eefc"}},{"ruleId":"D1","level":"warning","message":{"text":"App.App.fileCreated (cyclomatic 31): App.App.fileCreated has cyclomatic complexity 31 (threshold 15). Most of this is not in the body itself: 14 of the 31 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 6887, 6900, 6937, \u2026). 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/webapp/js/diagramly/App.js"},"region":{"startLine":6832}}}],"partialFingerprints":{"codehealthFindingId/v1":"959ae3b046c72e23cba71fa4d4250bf6dcd7dba9d32e0c67e3305f059c5c4a80"}},{"ruleId":"D1","level":"warning","message":{"text":"Dialogs.LibraryDialog::addButton (cyclomatic 31): Dialogs.LibraryDialog::addButton has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (Dialogs.LibraryDialog) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":20059}}}],"partialFingerprints":{"codehealthFindingId/v1":"510c5525bc9e9289f57c317626d9c87b8a5f3262019ee26d72b359f236f8b74c"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.applySharedViewMode (cyclomatic 31): EditorUi.EditorUi.applySharedViewMode has cyclomatic complexity 31 (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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":1901}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed0150f89355aa52aee6787e1c1c140e45bc8c618f7cd352ca3ddb8a8b96d888"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.getCsvStyle (cyclomatic 31): EditorUi.EditorUi.getCsvStyle has cyclomatic complexity 31 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 12 belong to one function item inside it that branches. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":39307}}}],"partialFingerprints":{"codehealthFindingId/v1":"24b89be1cc73c47e423c9e11256a14e13c75e3be4c83b85f09ec21e8d412e589"}},{"ruleId":"D1","level":"warning","message":{"text":"ForceExplorer.ForceExplorer.predictBounds (cyclomatic 31): ForceExplorer.ForceExplorer.predictBounds has cyclomatic complexity 31 (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/webapp/js/diagramly/ForceExplorer.js"},"region":{"startLine":2092}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ad76bd28b31bb39b3120ef4e5a35f903e9d1bf241cceb1bd5c1003aee1cefc8"}},{"ruleId":"D1","level":"warning","message":{"text":"Dialogs.ColorWindow (cyclomatic 31): Dialogs.ColorWindow has cyclomatic complexity 31 (threshold 15). Most of this is not in the body itself: 4 of the 31 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 2134, 2068, 2094, \u2026). 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/webapp/js/grapheditor/Dialogs.js"},"region":{"startLine":1989}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6acde9626b8e0bff70aab7628f8d3a02efa643c8dd9c6b21b4f21f78f06b4df"}},{"ruleId":"D1","level":"warning","message":{"text":"Editor.Editor.createKeyboardGrid (cyclomatic 31): Editor.Editor.createKeyboardGrid has cyclomatic complexity 31 (threshold 15). Most of this is not in the body itself: 2 of the 31 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 1340, 1329). 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/webapp/js/grapheditor/Editor.js"},"region":{"startLine":1260}}}],"partialFingerprints":{"codehealthFindingId/v1":"a86627f5401582fa06651536015d5418ebb21c3fe46b1ff1853683976ccb6d56"}},{"ruleId":"D1","level":"warning","message":{"text":"Editor.mxGraphView.validateBackgroundStyles (cyclomatic 31): Editor.mxGraphView.validateBackgroundStyles has cyclomatic complexity 31 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Editor.js"},"region":{"startLine":4874}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3e3b551dab0de3ac17b2eabbbf19fb62836e207223f37843ff5b277496d7fa2"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.onKeyDown (cyclomatic 31): EditorUi.EditorUi.onKeyDown has cyclomatic complexity 31 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 10 belong to 2 function literals inside it that branch. 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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":3556}}}],"partialFingerprints":{"codehealthFindingId/v1":"87dc6676234c1e895f33071e639270db7f8e5d3ab6441991a98f51aa70b5b2af"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.installLineMarkerMenu (cyclomatic 31): EditorUi.EditorUi.installLineMarkerMenu has cyclomatic complexity 31 (threshold 15). Most of this is not in the body itself: 1 of the 31 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 7834, 7876). 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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":7826}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b915bbf0d7f0b9222c794244a446d5ae65a1f85163be3edd4cc711287c8ad04"}},{"ruleId":"D1","level":"warning","message":{"text":"Format.BaseFormatPanel.createColorOption::apply (cyclomatic 31): Format.BaseFormatPanel.createColorOption::apply has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (Format.BaseFormatPanel.createColorOption) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Format.js"},"region":{"startLine":1542}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7606776a86eaaabaa94579b1a95c0879855cbccfa78feb41d0d47d043e93799"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.Graph.optimizeNode (cyclomatic 31): Graph.Graph.optimizeNode has cyclomatic complexity 31 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":4580}}}],"partialFingerprints":{"codehealthFindingId/v1":"1657c2c68fc12cca740fbb0dbfa0fcc3da5439e744fc7a6535433c86a093cd50"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.Graph.clipSvgDataUri (cyclomatic 31): Graph.Graph.clipSvgDataUri has cyclomatic complexity 31 (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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":5184}}}],"partialFingerprints":{"codehealthFindingId/v1":"75e957563bf67167807f765615bf603ddc9fcf24a996ad02567662e69b5c1277"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.Graph.createLayouts (cyclomatic 31): Graph.Graph.createLayouts has cyclomatic complexity 31 (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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":14364}}}],"partialFingerprints":{"codehealthFindingId/v1":"f99cc9e4e1ab5c920ec5245981261d52a8024e9fbb447c337ada162574ade3ef"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.Graph.removeTieReferences (cyclomatic 31): Graph.Graph.removeTieReferences has cyclomatic complexity 31 (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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":21131}}}],"partialFingerprints":{"codehealthFindingId/v1":"80ce589d1c055bfec23d03d410ba4cb3d858212ce70c41e32063c05fc5cf9319"}},{"ruleId":"D1","level":"warning","message":{"text":"InlineToolbar.InlineToolbar.showTextMenu (cyclomatic 31): InlineToolbar.InlineToolbar.showTextMenu has cyclomatic complexity 31 (threshold 15). Most of this is not in the body itself: 14 of the 31 points are its own statements and the rest belongs to 7 function items inside it that branch (getValue, a function literal at line 3087, a function literal at line 2930, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/InlineToolbar.js"},"region":{"startLine":2863}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d433f2b7eb39ffcf28547670a12d4a329490fb8a8affd2774c6ff8a314fdde9"}},{"ruleId":"D1","level":"warning","message":{"text":"InlineToolbar.InlineToolbar.showShapeMenu (cyclomatic 31): InlineToolbar.InlineToolbar.showShapeMenu has cyclomatic complexity 31 (threshold 15). Most of this is not in the body itself: 8 of the 31 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 4784, 4901, 4826, \u2026). 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/webapp/js/grapheditor/InlineToolbar.js"},"region":{"startLine":4733}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0284dbd92f78f8d0614dabfa76df0705c16b51cf82e82c2315e8f36bcf90377"}},{"ruleId":"D1","level":"warning","message":{"text":"Sidebar.Sidebar.getDropAndConnectGeometry (cyclomatic 31): Sidebar.Sidebar.getDropAndConnectGeometry has cyclomatic complexity 31 (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/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":6038}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a2ddc6becdfe60568bbc3a35f3a2de021b8937bf70792071b01e5da55756854"}},{"ruleId":"D1","level":"warning","message":{"text":"mxSvgCanvas2D.mxSvgCanvas2D.addNode (cyclomatic 31): mxSvgCanvas2D.mxSvgCanvas2D.addNode has cyclomatic complexity 31 (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/webapp/mxgraph/src/util/mxSvgCanvas2D.js"},"region":{"startLine":1172}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2e35042a65d70ceec706715eae6186928ffef2aa52e3a3bd6345bb6d92a79d0"}},{"ruleId":"D1","level":"warning","message":{"text":"mxSvgCanvas2D.mxSvgCanvas2D.image (cyclomatic 31): mxSvgCanvas2D.mxSvgCanvas2D.image has cyclomatic complexity 31 (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/webapp/mxgraph/src/util/mxSvgCanvas2D.js"},"region":{"startLine":1743}}}],"partialFingerprints":{"codehealthFindingId/v1":"01d5c4e0a8577ec92681d7f4c12de6d0dffcc3f52b326ff224d2f368028eadb6"}},{"ruleId":"D1","level":"warning","message":{"text":"mxSvgCanvas2D.mxSvgCanvas2D.text (cyclomatic 31): mxSvgCanvas2D.mxSvgCanvas2D.text has cyclomatic complexity 31 (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/webapp/mxgraph/src/util/mxSvgCanvas2D.js"},"region":{"startLine":3327}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c497fae6d17cc3db017ef3c8e7664b74d08b8a3449489d59f127e1780a9a675"}},{"ruleId":"D1","level":"warning","message":{"text":"mxCellRenderer.mxCellRenderer.redrawLabel (cyclomatic 31): mxCellRenderer.mxCellRenderer.redrawLabel has cyclomatic complexity 31 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxCellRenderer.js"},"region":{"startLine":1151}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bf5f954a4179ca050f12bf791def7dfa0428a09716c82f456592e6e1713df76"}},{"ruleId":"D1","level":"warning","message":{"text":"mxGraph.mxGraph.fit (cyclomatic 31): mxGraph.mxGraph.fit has cyclomatic complexity 31 (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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":3039}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef63e32ac2b0644b682d49c188d00be7213557c1666a8f587a8a1e4794de9bd1"}},{"ruleId":"D1","level":"warning","message":{"text":"mxGraph.mxGraph.moveCells (cyclomatic 31): mxGraph.mxGraph.moveCells has cyclomatic complexity 31 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. 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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":6660}}}],"partialFingerprints":{"codehealthFindingId/v1":"99856ea4fd2db706a76d6b96028f14478b5ceab6c71bd99569a6f3b1281c335b"}},{"ruleId":"D1","level":"warning","message":{"text":"mxBpmnShape2.mxBpmnShape.redrawPath (cyclomatic 31): mxBpmnShape2.mxBpmnShape.redrawPath has cyclomatic complexity 31 (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/webapp/shapes/bpmn/mxBpmnShape2.js"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"ded521aef8763a5f57193dc89f2fb9522ace75bbf1f5962e2b629a34ecd47949"}},{"ruleId":"D1","level":"warning","message":{"text":"AbsAuth.doGetAbst (cyclomatic 31): AbsAuth.doGetAbst has cyclomatic complexity 31 (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/server/java/com/mxgraph/online/AbsAuth.java"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"993319260b909bf873f1132fb74a3cfb2faf003113161febaa165136e356adf5"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 31): (anonymous) has cyclomatic complexity 31 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac0772b286a7c3555145498e0b083c27dd645c3a88103f3d2f13c943de953a33"}},{"ruleId":"D1","level":"warning","message":{"text":"App.App.isModeEnabled (cyclomatic 30): App.App.isModeEnabled has cyclomatic complexity 30 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":6619}}}],"partialFingerprints":{"codehealthFindingId/v1":"31962b06e348704258b5483cfde4521e18bd8b43133cad9a31c62d9ab79402ba"}},{"ruleId":"D1","level":"warning","message":{"text":"DriveClient.DriveClient.authorizeStep2 (cyclomatic 30): DriveClient.DriveClient.authorizeStep2 has cyclomatic complexity 30 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 12 belong to 2 function literals inside it that branch. 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/webapp/js/diagramly/DriveClient.js"},"region":{"startLine":1010}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac55e1989eebd4ec95f9d2b21f5ea1dceb45e7cb3a913717e6123c04da52eb09"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.setFileData (cyclomatic 30): EditorUi.EditorUi.setFileData has cyclomatic complexity 30 (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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":3932}}}],"partialFingerprints":{"codehealthFindingId/v1":"84fc92a5bad7cc4844a1d8072b16970303bc749668e1a385bb427bc2d73de4c2"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.createLink (cyclomatic 30): EditorUi.EditorUi.createLink has cyclomatic complexity 30 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":10579}}}],"partialFingerprints":{"codehealthFindingId/v1":"68a5364d514221b91d5dd0e48194efca7eaa9d197e76eb877f0438482da31a43"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.createHtml (cyclomatic 30): EditorUi.EditorUi.createHtml has cyclomatic complexity 30 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":10671}}}],"partialFingerprints":{"codehealthFindingId/v1":"eecf2723da75c7d0fb708d449ebe18ba8342ca328aa35ceab52bbc0a60171108"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.showExportDialog::setPresetValues (cyclomatic 30): EditorUi.EditorUi.showExportDialog::setPresetValues has cyclomatic complexity 30 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: 2 other methods here (EditorUi.EditorUi.showExportDialog, EditorUi.EditorUi.showExportDialog::getPresetValues) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":12622}}}],"partialFingerprints":{"codehealthFindingId/v1":"fad807dd0adede92d8d529693ccb39a1bb9425777b94f3306339235eb6b8c06f"}},{"ruleId":"D1","level":"warning","message":{"text":"ElectronApp.App.readGraphFile (cyclomatic 30): ElectronApp.App.readGraphFile has cyclomatic complexity 30 (threshold 15). Most of this is not in the body itself: 7 of the 30 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 1437, 1444, 1578, \u2026). 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/webapp/js/diagramly/ElectronApp.js"},"region":{"startLine":1389}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e52dbab37dde03baec2b292e0fc61f3fea31c67c7a74cb86fea7724297d4c05"}},{"ruleId":"D1","level":"warning","message":{"text":"GraphViewer.GraphViewer.getLazySize (cyclomatic 30): GraphViewer.GraphViewer.getLazySize has cyclomatic complexity 30 (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/webapp/js/diagramly/GraphViewer.js"},"region":{"startLine":3362}}}],"partialFingerprints":{"codehealthFindingId/v1":"97722c580cad3fc53012c31113c5d4accfcd2b60001cdf28a22d505aca44efc4"}},{"ruleId":"D1","level":"warning","message":{"text":"TidyStyle.Tidy.styleEdges (cyclomatic 30): TidyStyle.Tidy.styleEdges has cyclomatic complexity 30 (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/webapp/js/diagramly/tidy/TidyStyle.js"},"region":{"startLine":1721}}}],"partialFingerprints":{"codehealthFindingId/v1":"363c2e71964515f8b06877aa2730a60017f02c055d7893723891dc5f0e3526ee"}},{"ruleId":"D1","level":"warning","message":{"text":"TidyWindow.TidyWindow.createThumbnail (cyclomatic 30): TidyWindow.TidyWindow.createThumbnail has cyclomatic complexity 30 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 10 belong to 5 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/tidy/TidyWindow.js"},"region":{"startLine":1518}}}],"partialFingerprints":{"codehealthFindingId/v1":"a486095f00090d28873c78bd606a4f4f4d203d007ace5881c95b040b3202bec5"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.destroy (cyclomatic 30): EditorUi.EditorUi.destroy has cyclomatic complexity 30 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":12049}}}],"partialFingerprints":{"codehealthFindingId/v1":"8886c6c6041c1d5c5a73a30948c97c1b8eb9b1a380efc985baad5551b8553b4b"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.Graph.exploreFromCell::exploreFromHere::rootChanged (cyclomatic 30): Graph.Graph.exploreFromCell::exploreFromHere::rootChanged has cyclomatic complexity 30 (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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":4204}}}],"partialFingerprints":{"codehealthFindingId/v1":"41d95895285b151511d347a48b9d7edbcce5b0eb79b963b05a2d013bdd916b88"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.Graph.computeShapeInsideSpacer::run (cyclomatic 30): Graph.Graph.computeShapeInsideSpacer::run has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 2 other methods here (Graph.Graph.computeShapeInsideSpacer, Graph.Graph.computeShapeInsideSpacer::run::probe) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":7726}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad9f9f2c14f8ea18d82b1215cb749f81590ab49384bd72c0de1b448521bb390e"}},{"ruleId":"D1","level":"warning","message":{"text":"Menus.Menus.init (cyclomatic 30): Menus.Menus.init has cyclomatic complexity 30 (threshold 15). Most of this is not in the body itself: 1 of the 30 points is its own statement and the rest belongs to 12 function literals inside it that branch (lines 227, 59, 317, \u2026). 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/webapp/js/grapheditor/Menus.js"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f48df0d888e448081e2fe7ba82af8d9fd71abcd5595c141f929ee1aaa810d7c"}},{"ruleId":"D1","level":"warning","message":{"text":"Omnibox.Omnibox.recordMenus (cyclomatic 30): Omnibox.Omnibox.recordMenus has cyclomatic complexity 30 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. 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/webapp/js/grapheditor/Omnibox.js"},"region":{"startLine":1026}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ccd6a67d6329e878f8bbf8d9f65b4c50814be47965fa426c01976d575d8df51"}},{"ruleId":"D1","level":"warning","message":{"text":"Omnibox.Omnibox.getFormatControl (cyclomatic 30): Omnibox.Omnibox.getFormatControl has cyclomatic complexity 30 (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/webapp/js/grapheditor/Omnibox.js"},"region":{"startLine":1543}}}],"partialFingerprints":{"codehealthFindingId/v1":"8298681547c29ced75e530435d6fd9e14407b6601b1d9597b7fd07783889d99f"}},{"ruleId":"D1","level":"warning","message":{"text":"Shapes.TableShape.paintCollapsedOutline (cyclomatic 30): Shapes.TableShape.paintCollapsedOutline has cyclomatic complexity 30 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 5 belong to 2 function items inside it that branch. 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/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c86cc58ebca89d6202e17ea425a07ac4edc510975606b30f0f9aec40a235caa"}},{"ruleId":"D1","level":"warning","message":{"text":"mxEdgeHandler.mxEdgeHandler.getPreviewPoints (cyclomatic 30): mxEdgeHandler.mxEdgeHandler.getPreviewPoints has cyclomatic complexity 30 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. 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/webapp/mxgraph/src/handler/mxEdgeHandler.js"},"region":{"startLine":1311}}}],"partialFingerprints":{"codehealthFindingId/v1":"052842d3dc1718f68e3268192b4bc01b684a7ad441f62c71167f3137ebeb7eac"}},{"ruleId":"D1","level":"warning","message":{"text":"mxVertexHandler.mxVertexHandler.start (cyclomatic 30): mxVertexHandler.mxVertexHandler.start has cyclomatic complexity 30 (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/webapp/mxgraph/src/handler/mxVertexHandler.js"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccd91daa38c1a4361e262f03663ae4d1858f7c4ab9eac0c4607f86b846a8f1a6"}},{"ruleId":"D1","level":"warning","message":{"text":"mxGraph.mxGraph.getConnectionPoint (cyclomatic 30): mxGraph.mxGraph.getConnectionPoint has cyclomatic complexity 30 (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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":7439}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e39b5ab8c5b60d7bbe0b4b8fed002784369e6bac71cce90d0b0b4cc9c4e8d60"}},{"ruleId":"D1","level":"warning","message":{"text":"mxGraph.mxGraph.getCells (cyclomatic 30): mxGraph.mxGraph.getCells has cyclomatic complexity 30 (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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":13126}}}],"partialFingerprints":{"codehealthFindingId/v1":"01e0a3e8f9e70c95cbee56f28c61dfbe0bc84a49d6ea46e5d984097bf012e85b"}},{"ruleId":"D1","level":"warning","message":{"text":"mxGraphView.mxGraphView.updateFixedPointSpacing (cyclomatic 30): mxGraphView.mxGraphView.updateFixedPointSpacing has cyclomatic complexity 30 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 8 belong to 2 function items inside it that branch. 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/webapp/mxgraph/src/view/mxGraphView.js"},"region":{"startLine":3353}}}],"partialFingerprints":{"codehealthFindingId/v1":"f568fff293828a6dcc8826a76bfb055add467a10163ffc951e80e9e6f3dbddcf"}},{"ruleId":"D1","level":"warning","message":{"text":"EntityRelation (cyclomatic 30): EntityRelation has cyclomatic complexity 30 (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/webapp/mxgraph/src/view/mxEdgeStyle.js"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"973712380dfb59200da12373667f61a36d2dd55f1823153a0c59f9eecd01f244"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::encodeCell (cyclomatic 30): (anonymous)::encodeCell has cyclomatic complexity 30 (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/webapp/mxgraph/src/io/mxGraphViewCodec.js"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aad97a42ce89619e73bddde48bfd86ae56d7f473e60715c9d7901aaa2c7a0f2"}},{"ruleId":"D1","level":"warning","message":{"text":"Editor.Editor.replaceLightDarkFunctions (cyclomatic 29): Editor.Editor.replaceLightDarkFunctions has cyclomatic complexity 29 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 9 belong to one function item inside it that branches. 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/webapp/js/diagramly/Editor.js"},"region":{"startLine":1742}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc88805436486b57eecd1888261a6e7f85c7113840d40e29deac2ca3a96e3419"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.openFileHandle (cyclomatic 29): EditorUi.EditorUi.openFileHandle has cyclomatic complexity 29 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 7 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: EditorUi.EditorUi.createSpinner (cyclomatic 30) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":30752}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1213bfc431a7e118144ab22cc561270c3ec68a495d6c9b6a865c44454e0eeb9"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.initializeEmbedMode (cyclomatic 29): EditorUi.EditorUi.initializeEmbedMode has cyclomatic complexity 29 (threshold 15). Most of this is not in the body itself: 6 of the 29 points are its own statements and the rest belongs to one function literal inside it that branches (line 31228). The decisions are inside the literal, 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 literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest. This is NOT this file\u0027s highest cyclomatic complexity: EditorUi.EditorUi.createSpinner (cyclomatic 30) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":31217}}}],"partialFingerprints":{"codehealthFindingId/v1":"a31175eb7f02a9fdc2a4403759e7f46b2c36914d87757bac2cfc61fd374722ba"}},{"ruleId":"D1","level":"warning","message":{"text":"ForceExplorer.ForceExplorer.update (cyclomatic 29): ForceExplorer.ForceExplorer.update has cyclomatic complexity 29 (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/webapp/js/diagramly/ForceExplorer.js"},"region":{"startLine":2457}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e34be4785b5cd471a59bea889d000d86577ba850d79844187d299a8843a08e5"}},{"ruleId":"D1","level":"warning","message":{"text":"LayoutPicker.LayoutPreviews.run (cyclomatic 29): LayoutPicker.LayoutPreviews.run has cyclomatic complexity 29 (threshold 15). Most of this is not in the body itself: 10 of the 29 points are its own statements and the rest belongs to 4 function items inside it that branch (a function literal at line 1581, next, a function literal at line 1681, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/LayoutPicker.js"},"region":{"startLine":1558}}}],"partialFingerprints":{"codehealthFindingId/v1":"a401efbabcbbf5a372f039d8cf7d620b1309c2292fbc794c0e7a22fcc2666544"}},{"ruleId":"D1","level":"warning","message":{"text":"Sidebar.Sidebar.installPaletteDragReorder (cyclomatic 29): Sidebar.Sidebar.installPaletteDragReorder has cyclomatic complexity 29 (threshold 15). Most of this is not in the body itself: 4 of the 29 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 824, 928, 812). 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/webapp/js/diagramly/sidebar/Sidebar.js"},"region":{"startLine":801}}}],"partialFingerprints":{"codehealthFindingId/v1":"62a3b5e3198614505b483cea53bb6e67dcecc136aab30603804c94036b36b0fc"}},{"ruleId":"D1","level":"warning","message":{"text":"Tidy.Tidy.tryCandidate (cyclomatic 29): Tidy.Tidy.tryCandidate has cyclomatic complexity 29 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 11 belong to 2 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/tidy/Tidy.js"},"region":{"startLine":2871}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f914c7b0d832753f26476f974616c9f32761f5532864aba34469bd796b561e2"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.Graph.sanitizeElkLayoutOptions (cyclomatic 29): Graph.Graph.sanitizeElkLayoutOptions has cyclomatic complexity 29 (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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":14995}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8a81ca8b2955052e2bc6d792a5cd972f8f205757ddab260dfeae661ae97c82d"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.Graph.parseDataSource (cyclomatic 29): Graph.Graph.parseDataSource has cyclomatic complexity 29 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":18831}}}],"partialFingerprints":{"codehealthFindingId/v1":"dff69af1b6b40a8e6c834f8c2d934613740b02f33994f4b85d7a84ff8f3f280b"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.Graph.addTextOutlineButton (cyclomatic 29): Graph.Graph.addTextOutlineButton has cyclomatic complexity 29 (threshold 15). Most of this is not in the body itself: 2 of the 29 points are its own statements and the rest belongs to 9 function items inside it that branch (escape, setVisible, keydown, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":23234}}}],"partialFingerprints":{"codehealthFindingId/v1":"a18a2e6ff71af1b6a7c23348e69a0a7b47292e1a2be528bcf9c0c2aecb3a3f9c"}},{"ruleId":"D1","level":"warning","message":{"text":"InlineToolbar.InlineToolbar.getPosition (cyclomatic 29): InlineToolbar.InlineToolbar.getPosition has cyclomatic complexity 29 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 13 belong to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/InlineToolbar.js"},"region":{"startLine":1238}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f200394f1e692ac85db5f0fa12c7e98d74a6b0a92a0847d514cec4705ecce8e"}},{"ruleId":"D1","level":"warning","message":{"text":"InlineToolbar.InlineToolbar.showTableMenu (cyclomatic 29): InlineToolbar.InlineToolbar.showTableMenu has cyclomatic complexity 29 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 12 belong to 7 function literals inside it that branch. 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/webapp/js/grapheditor/InlineToolbar.js"},"region":{"startLine":4103}}}],"partialFingerprints":{"codehealthFindingId/v1":"e176553fa171e1eb4f8ca5162d353051b0de507f4f2f9e3f1ddccb8815412d3d"}},{"ruleId":"D1","level":"warning","message":{"text":"InlineToolbar.InlineToolbar.getShapeSelection (cyclomatic 29): InlineToolbar.InlineToolbar.getShapeSelection has cyclomatic complexity 29 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/InlineToolbar.js"},"region":{"startLine":4619}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2d263be76ffa9254473f2bad248b8408c20ef247be9c8cc18844980a03bcd05"}},{"ruleId":"D1","level":"warning","message":{"text":"Omnibox.Omnibox.keyDown (cyclomatic 29): Omnibox.Omnibox.keyDown has cyclomatic complexity 29 (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/webapp/js/grapheditor/Omnibox.js"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"28a3d031fadffea610692a19b00881183c4a32959f5f9b891d4c1b2f99537822"}},{"ruleId":"D1","level":"warning","message":{"text":"libavoid-routing.AvoidRouting.shapePin (cyclomatic 29): libavoid-routing.AvoidRouting.shapePin has cyclomatic complexity 29 (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/webapp/js/libavoid-js/libavoid-routing.js"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ea04eb5d3d74556e5631d75280173933d85e271f67a4cfd120b31009b2aa6d9"}},{"ruleId":"D1","level":"warning","message":{"text":"mxEdgeHandler.mxEdgeHandler.redrawHandles (cyclomatic 29): mxEdgeHandler.mxEdgeHandler.redrawHandles has cyclomatic complexity 29 (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/webapp/mxgraph/src/handler/mxEdgeHandler.js"},"region":{"startLine":2654}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b88e19ea7f2066fb268567f2427daa3e5b89f15fba3faf34cefc6ca3ee454b3"}},{"ruleId":"D1","level":"warning","message":{"text":"mxSvgCanvas2D.mxSvgCanvas2D.addTextBackground (cyclomatic 29): mxSvgCanvas2D.mxSvgCanvas2D.addTextBackground has cyclomatic complexity 29 (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/webapp/mxgraph/src/util/mxSvgCanvas2D.js"},"region":{"startLine":4163}}}],"partialFingerprints":{"codehealthFindingId/v1":"4af94dd632ddc218f79d4172e84cee65b187b6881ed7fab73bb9d0c982ba666b"}},{"ruleId":"D1","level":"warning","message":{"text":"mxPidMisc.mxShapePidColumn.foreground (cyclomatic 29): mxPidMisc.mxShapePidColumn.foreground has cyclomatic complexity 29 (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/webapp/shapes/pid2/mxPidMisc.js"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"253d9f4f68b4e1078de25d0e648eac2698b29ab31bbfc90ed2699c74211ec75e"}},{"ruleId":"D1","level":"warning","message":{"text":"EmbedServlet2.createEmbedJavaScript (cyclomatic 29): EmbedServlet2.createEmbedJavaScript has cyclomatic complexity 29 (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/server/java/com/mxgraph/online/EmbedServlet2.java"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee05f2a151f8839f8bf771f318220c5c37e78c0b05be0313cf59262db2384d5f"}},{"ruleId":"D1","level":"warning","message":{"text":"Dialogs.ChatWindow::renderResponseData (cyclomatic 28): Dialogs.ChatWindow::renderResponseData has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 2 other methods here (Dialogs.ChatWindow, Dialogs.ChatWindow::addExchange) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":12744}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c2a193948d70fcc0c07198f29031ef471181678e204ef0e36f60daf9ddfc2f2"}},{"ruleId":"D1","level":"warning","message":{"text":"Dialogs.EditGeometryDialog (cyclomatic 28): Dialogs.EditGeometryDialog has cyclomatic complexity 28 (threshold 15). Most of this is not in the body itself: 13 of the 28 points are its own statements and the rest belongs to 3 function items inside it that branch (applyFn, createInlineField, a function literal at line 19839). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":19615}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c3de00bad274a94a59802af6eeed12ac3716dd52468a8e64e942f2e89b936da"}},{"ruleId":"D1","level":"warning","message":{"text":"DiffSync.EditorUi.patchCell (cyclomatic 28): DiffSync.EditorUi.patchCell has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DiffSync.js"},"region":{"startLine":1731}}}],"partialFingerprints":{"codehealthFindingId/v1":"b14903c9e460043ee43aa4df77e72a1bd1b78b27719d0b6064576f42efba25ea"}},{"ruleId":"D1","level":"warning","message":{"text":"Editor.Editor.addMathTextLayer (cyclomatic 28): Editor.Editor.addMathTextLayer has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":5631}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a0f420f211b6fb061483622972b00adfee1c3fc4aef2c2675b5f2648403208e"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.addChromelessToolbarItems (cyclomatic 28): EditorUi.EditorUi.addChromelessToolbarItems has cyclomatic complexity 28 (threshold 15). Most of this is not in the body itself: 9 of the 28 points are its own statements and the rest belongs to 13 function literals inside it that branch (lines 9022, 9035, 9123, \u2026). 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. This is NOT this file\u0027s highest cyclomatic complexity: EditorUi.EditorUi.createSpinner (cyclomatic 30) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":8992}}}],"partialFingerprints":{"codehealthFindingId/v1":"32365040e2fc6b35363e42e16617e7d2e8250d712f02813c83c5e26646bba8c4"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.generateOpenAiMermaidDiagram.fn (cyclomatic 28): EditorUi.EditorUi.generateOpenAiMermaidDiagram.fn has cyclomatic complexity 28 (threshold 15). Most of this is not in the body itself: 2 of the 28 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 15446, 15384, 15440, \u2026). 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. This is NOT this file\u0027s highest cyclomatic complexity: EditorUi.EditorUi.createSpinner (cyclomatic 30) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":15377}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ecd4c0a1414153125a72f954b252ff648366f39b98a15f120786b668351a356"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.refreshDataSources (cyclomatic 28): EditorUi.EditorUi.refreshDataSources has cyclomatic complexity 28 (threshold 15). Most of this is not in the body itself: 6 of the 28 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 39119, 39153, 39134, \u2026). 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. This is NOT this file\u0027s highest cyclomatic complexity: EditorUi.EditorUi.createSpinner (cyclomatic 30) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":39101}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cc11d13ee202a9a190d4000cf51ac8b8b7470f885fabaf4c465fb3829e17a99"}},{"ruleId":"D1","level":"warning","message":{"text":"LayoutPicker.EditorUi.getLayoutFormValues (cyclomatic 28): LayoutPicker.EditorUi.getLayoutFormValues has cyclomatic complexity 28 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/LayoutPicker.js"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"100948a6856cab682c1530b33b1c9f228dd4459a106c20ca085b6983ab8811e0"}},{"ruleId":"D1","level":"warning","message":{"text":"LayoutPicker.EditorUi.applyLayoutList (cyclomatic 28): LayoutPicker.EditorUi.applyLayoutList has cyclomatic complexity 28 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 11 belong to 6 function items inside it that branch. 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/webapp/js/diagramly/LayoutPicker.js"},"region":{"startLine":941}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ded57fce5cf33641733ab80e3628a3c088ce8e2ce635cad9b882fc836f97ac5"}},{"ruleId":"D1","level":"warning","message":{"text":"LightboxModern.LightboxModern.createExportPanel (cyclomatic 28): LightboxModern.LightboxModern.createExportPanel has cyclomatic complexity 28 (threshold 15). Most of this is not in the body itself: 9 of the 28 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 2958, 3012, 2932, \u2026). 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/webapp/js/diagramly/LightboxModern.js"},"region":{"startLine":2914}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffc0c8121e1d0aba7b0a5b47ccc274a90d67a5bcdee8a92df4b5d5ca6381b7a3"}},{"ruleId":"D1","level":"warning","message":{"text":"LightboxModern.LightboxModern.keyDown (cyclomatic 28): LightboxModern.LightboxModern.keyDown has cyclomatic complexity 28 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/LightboxModern.js"},"region":{"startLine":3648}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bf03bf7f5fbaff5c360e8cea26034b7d026d4228ac6b3df49810bf71b277e7b"}},{"ruleId":"D1","level":"warning","message":{"text":"P2PCollab.P2PCollab::sendMessage (cyclomatic 28): P2PCollab.P2PCollab::sendMessage has cyclomatic complexity 28 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: 2 other methods here (P2PCollab.P2PCollab, P2PCollab.P2PCollab::processMsg) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/P2PCollab.js"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0c436026c14796e65cb2f52d0a9a5e18d70afaa442ad71263020d240f1a525d"}},{"ruleId":"D1","level":"warning","message":{"text":"Pages.EditorUi.addTabListeners (cyclomatic 28): Pages.EditorUi.addTabListeners has cyclomatic complexity 28 (threshold 15). Most of this is not in the body itself: 1 of the 28 points is its own statement and the rest belongs to 3 function literals inside it that branch (lines 4537, 4490, 4514). 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/webapp/js/diagramly/Pages.js"},"region":{"startLine":4440}}}],"partialFingerprints":{"codehealthFindingId/v1":"71dbd311b916545ab55026d4abd9267b9e77120595bd67afd82ef35cd88b64bd"}},{"ruleId":"D1","level":"warning","message":{"text":"mxGraphMlCodec.mxGraphMlCodec.mapObject (cyclomatic 28): mxGraphMlCodec.mxGraphMlCodec.mapObject has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/graphml/mxGraphMlCodec.js"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"d76de9fc302dc7d502e1c545bb4c5636f0a08b2b823753da13e2f08e9816e414"}},{"ruleId":"D1","level":"warning","message":{"text":"Editor.Editor.repairTruncatedXml (cyclomatic 28): Editor.Editor.repairTruncatedXml has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Editor.js"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"42c61e7ee60bb87824649e6af0a80b0aa37fede1969ace3ca2377e05e6a2cd22"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.getCellsForShapePicker (cyclomatic 28): EditorUi.EditorUi.getCellsForShapePicker has cyclomatic complexity 28 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 11 belong to 3 function items inside it that branch. 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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":2975}}}],"partialFingerprints":{"codehealthFindingId/v1":"e00f931df32177a6171b4e21e95480784101bc3470998b9d255fff6e341646c9"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.Graph.createSvgImageSymbol (cyclomatic 28): Graph.Graph.createSvgImageSymbol has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":6381}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e5a4221cc8ba3065a68f78e233c60640bd3101d41acaa699644cd7e4b19cf33"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.Graph.getTextOutline (cyclomatic 28): Graph.Graph.getTextOutline has cyclomatic complexity 28 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 13 belong to 2 function items inside it that branch. 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":23064}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf11c9f2b2457dfe3de4129ea07500cd044641d91f1d94e8fd5a34454b5ffc96"}},{"ruleId":"D1","level":"warning","message":{"text":"mxConnectionHandler.mxConnectionHandler.updateCurrentState (cyclomatic 28): mxConnectionHandler.mxConnectionHandler.updateCurrentState has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/handler/mxConnectionHandler.js"},"region":{"startLine":1076}}}],"partialFingerprints":{"codehealthFindingId/v1":"f48d1081b3d300fa345610fc8015062abda14b3717241774960ac82bdd1a6c15"}},{"ruleId":"D1","level":"warning","message":{"text":"mxSvgCanvas2D.mxSvgCanvas2D.getFillPattern (cyclomatic 28): mxSvgCanvas2D.mxSvgCanvas2D.getFillPattern has cyclomatic complexity 28 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxSvgCanvas2D.js"},"region":{"startLine":901}}}],"partialFingerprints":{"codehealthFindingId/v1":"64f9e7b30c271b5facf7a7e01ca51969df921366b717c6a500f6f65341d18e83"}},{"ruleId":"D1","level":"warning","message":{"text":"mxGraph.mxGraph.alignCells (cyclomatic 28): mxGraph.mxGraph.alignCells has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":3741}}}],"partialFingerprints":{"codehealthFindingId/v1":"19796c6cac13e537204ea47ee3d2dac134244e8644d8ca775f99c7c460814810"}},{"ruleId":"D1","level":"warning","message":{"text":"mxGraph.mxGraph.cellsAdded (cyclomatic 28): mxGraph.mxGraph.cellsAdded has cyclomatic complexity 28 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":4951}}}],"partialFingerprints":{"codehealthFindingId/v1":"77b65f39bf21f2afe7b2b3e0f025a5e11e0a336b39c6c573563a12dc13a78d72"}},{"ruleId":"D1","level":"warning","message":{"text":"mxGraphView.mxGraphView.getLabelPerimeterPoint (cyclomatic 28): mxGraphView.mxGraphView.getLabelPerimeterPoint has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxGraphView.js"},"region":{"startLine":3735}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9e56f1b8824d0bb9a67f180c473277d9c3c2f9ae0d33fc14c1d9cc848dbd840"}},{"ruleId":"D1","level":"warning","message":{"text":"mxBasic.mxShapeBasicPatternFillRect.paintVertexShape (cyclomatic 28): mxBasic.mxShapeBasicPatternFillRect.paintVertexShape has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/shapes/mxBasic.js"},"region":{"startLine":3642}}}],"partialFingerprints":{"codehealthFindingId/v1":"510c32c93e9a4373fc627d9362d234d7f443b6e640e17c3c5283af600a5a952e"}},{"ruleId":"D1","level":"warning","message":{"text":"addProperties (cyclomatic 28): addProperties has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":9265}}}],"partialFingerprints":{"codehealthFindingId/v1":"339c2fb89538f21cfec81d91d4e6f9f6d48b70dcd6c1842a433157856e4122cb"}},{"ruleId":"D1","level":"warning","message":{"text":"getPortConstraints (cyclomatic 28): getPortConstraints has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxUtils.js"},"region":{"startLine":3142}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb772861165ecc3573411d6cb84e51223d79652a1714c406afa849e9af3df980"}},{"ruleId":"D1","level":"warning","message":{"text":"convertHtmlBlocksToSvg::processBlockInlineContent (cyclomatic 28): convertHtmlBlocksToSvg::processBlockInlineContent has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxUtils.js"},"region":{"startLine":6184}}}],"partialFingerprints":{"codehealthFindingId/v1":"c035c6e4dfbe6512743185465be9dcd16e58dbd956b3e1a7cc641ad5f0734be6"}},{"ruleId":"D1","level":"warning","message":{"text":"App.App.pickFile (cyclomatic 27): App.App.pickFile has cyclomatic complexity 27 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 13 belong to 6 function literals inside it that branch. 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/webapp/js/diagramly/App.js"},"region":{"startLine":5834}}}],"partialFingerprints":{"codehealthFindingId/v1":"094840cb10e1ced5515f3496ed27bcc59420a75bb39d56bd42916429ffc470de"}},{"ruleId":"D1","level":"warning","message":{"text":"Dialogs.EditShapeDialog (cyclomatic 27): Dialogs.EditShapeDialog has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 7 of the 27 points are its own statements and the rest belongs to 3 function items inside it that branch (updateConstraints, updateShape, a function literal at line 21165). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":20938}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c7097f6f02377f3c5ea334ef1c0ba440b1d0b3d7e3528e0ab778c6e5b0ffa69"}},{"ruleId":"D1","level":"warning","message":{"text":"DrawioFile.DrawioFile.checksumError (cyclomatic 27): DrawioFile.DrawioFile.checksumError has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 11 of the 27 points are its own statements and the rest belongs to one function literal inside it that branches (line 938). The decisions are inside the literal, 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 literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DrawioFile.js"},"region":{"startLine":890}}}],"partialFingerprints":{"codehealthFindingId/v1":"b31eba2047e8f19397b714452bc4e3d0a9d9e84769e5a307b4f5028dbf97e1ea"}},{"ruleId":"D1","level":"warning","message":{"text":"DrawioFileSync.DrawioFileSync.handleMessageData (cyclomatic 27): DrawioFileSync.DrawioFileSync.handleMessageData has cyclomatic complexity 27 (threshold 15). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DrawioFileSync.js"},"region":{"startLine":985}}}],"partialFingerprints":{"codehealthFindingId/v1":"b72dada8a9179e0a3ef1ee2fdc6cc547f2cee2547e5870beb4aadc58bb7809f3"}},{"ruleId":"D1","level":"warning","message":{"text":"Editor.Editor.AnimationPlayer.play (cyclomatic 27): Editor.Editor.AnimationPlayer.play has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 8 of the 27 points are its own statements and the rest belongs to 3 function items inside it that branch (runStep, iter, a function literal at line 16111). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":15978}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d14b963e4b58f6ffd3553fffacbbbc8e28caedf3e01ef2f6fa39ffb178e0343"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.logError (cyclomatic 27): EditorUi.EditorUi.logError has cyclomatic complexity 27 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions. This is NOT this file\u0027s highest cyclomatic complexity: EditorUi.EditorUi.createSpinner (cyclomatic 30) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d6ba7b2cffe6b2944e4b4f6502bbf6f7c790dc462d37b4e916d7b15aa398de7"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.downloadFile (cyclomatic 27): EditorUi.EditorUi.downloadFile has cyclomatic complexity 27 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 4 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: EditorUi.EditorUi.createSpinner (cyclomatic 30) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":4244}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f350a69dcc58fee6f6994a9e2e5a62650be14dc3cb117f8ebeb86c78d9b0793"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.parseTableRows (cyclomatic 27): EditorUi.EditorUi.parseTableRows has cyclomatic complexity 27 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions. This is NOT this file\u0027s highest cyclomatic complexity: EditorUi.EditorUi.createSpinner (cyclomatic 30) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":37089}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ff06ae7b44e6342ff252f521a2294589ea5d0e0efc93759e528c34a416eb804"}},{"ruleId":"D1","level":"warning","message":{"text":"Extensions.createGroup (cyclomatic 27): Extensions.createGroup has cyclomatic complexity 27 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 9 belong to 2 function items inside it that branch. 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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":6507}}}],"partialFingerprints":{"codehealthFindingId/v1":"7650e6c009a786f6ac98bd58129b6238e239d35467517538a0e06bc9fb09def2"}},{"ruleId":"D1","level":"warning","message":{"text":"LibavoidRouting.LibavoidRouting.installAutoRouting::collectRestyled (cyclomatic 27): LibavoidRouting.LibavoidRouting.installAutoRouting::collectRestyled has cyclomatic complexity 27 (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/webapp/js/diagramly/LibavoidRouting.js"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"323f50c007754cf0aeeceffe761d060f6a4a6695358497d3c46063d83df01d00"}},{"ruleId":"D1","level":"warning","message":{"text":"LibavoidRouting.LibavoidRouting.livePreviewMove (cyclomatic 27): LibavoidRouting.LibavoidRouting.livePreviewMove has cyclomatic complexity 27 (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/webapp/js/diagramly/LibavoidRouting.js"},"region":{"startLine":3842}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dde25903fc92e877ba3adadda60bbc27b8198cfdab558f971a0602d117e4510"}},{"ruleId":"D1","level":"warning","message":{"text":"LightboxModern.LightboxModern.update (cyclomatic 27): LightboxModern.LightboxModern.update has cyclomatic complexity 27 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/LightboxModern.js"},"region":{"startLine":1993}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb7e5dff0d54e148e0e6eb2007beac2ef8786d3e6ed1399f3a7d0464192aa781"}},{"ruleId":"D1","level":"warning","message":{"text":"TrelloClient.TrelloClient.showTrelloDialog (cyclomatic 27): TrelloClient.TrelloClient.showTrelloDialog has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 2 of the 27 points are its own statements and the rest belongs to 12 function literals inside it that branch (lines 616, 475, 579, \u2026). 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/webapp/js/diagramly/TrelloClient.js"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2ebc5005f832fe94cba927f8b4dfbd4d374f6272df23426dcdda4866b60a75a"}},{"ruleId":"D1","level":"warning","message":{"text":"Sidebar.Sidebar.addCustomEntries (cyclomatic 27): Sidebar.Sidebar.addCustomEntries has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 9 of the 27 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 1696, 1714, 1761, \u2026). 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/webapp/js/diagramly/sidebar/Sidebar.js"},"region":{"startLine":1680}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e956b1d757f8aa6e881554186eeaeb2e292f8b6800d1397d5ada8b6ab0a92b3"}},{"ruleId":"D1","level":"warning","message":{"text":"Editor.mxGraph.updatePageBreaks (cyclomatic 27): Editor.mxGraph.updatePageBreaks has cyclomatic complexity 27 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 13 belong to one function literal inside it that branches. 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/webapp/js/grapheditor/Editor.js"},"region":{"startLine":5108}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fab894e9a2ca1755560912edccb572dbde9e5d9825761fbdd5a74098ca30324"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.Graph.copyCellStyles (cyclomatic 27): Graph.Graph.copyCellStyles has cyclomatic complexity 27 (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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":11322}}}],"partialFingerprints":{"codehealthFindingId/v1":"75b32a31dcd6bea757c66ca518006ed1fba9dd5cd7ff3f3e801d595e0e534376"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.Graph.runAsyncLayout (cyclomatic 27): Graph.Graph.runAsyncLayout has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 12 of the 27 points are its own statements and the rest belongs to 3 function items inside it that branch (a function literal at line 14225, next, finish). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":14147}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0a5be89a758c2f6692a963ad8e3f4127c4c12a519339f59dd14c7a1e3460711"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.HoverIcons.init (cyclomatic 27): Graph.HoverIcons.init has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 2 of the 27 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 24311, 24290, 24268, \u2026). 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":24196}}}],"partialFingerprints":{"codehealthFindingId/v1":"cabab365bce19e137b6f9ffcd82c25024c69f73a4aeb58f66c4357a9c0155729"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.Graph.getCollapsedTableBorders::process (cyclomatic 27): Graph.Graph.getCollapsedTableBorders::process has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (Graph.Graph.getCollapsedTableBorders::resolve) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":26353}}}],"partialFingerprints":{"codehealthFindingId/v1":"82f54abd6169a99463704fd47c01b8931d2533efd0c3511dd9041aff6a483cc4"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.moveTextBox (cyclomatic 27): Graph.moveTextBox has cyclomatic complexity 27 (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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":30261}}}],"partialFingerprints":{"codehealthFindingId/v1":"aab3f0bcea51ab92d756c130e8b254c2dafcbdf3a31b3c78f8ed7a24e499dd67"}},{"ruleId":"D1","level":"warning","message":{"text":"Sidebar.Sidebar.addClickHandler (cyclomatic 27): Sidebar.Sidebar.addClickHandler has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 5 of the 27 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 7416, 7498, 7466, \u2026). 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/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":7406}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8657c379a0069600bd36529215fc77d008855327a65aaf430752f1a1d2f82fd"}},{"ruleId":"D1","level":"warning","message":{"text":"mxConstraintHandler.mxConstraintHandler.update (cyclomatic 27): mxConstraintHandler.mxConstraintHandler.update has cyclomatic complexity 27 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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/webapp/mxgraph/src/handler/mxConstraintHandler.js"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"e96bffa77cddec3c0610b770433cd994eb564e53a763857cfa7d2c67b602a076"}},{"ruleId":"D1","level":"warning","message":{"text":"mxGraphHandler.mxGraphHandler.start (cyclomatic 27): mxGraphHandler.mxGraphHandler.start has cyclomatic complexity 27 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/handler/mxGraphHandler.js"},"region":{"startLine":1010}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ac0be411ff6c794abe28d89429055b4112ff001abef6f84eeb1a672534c2b86"}},{"ruleId":"D1","level":"warning","message":{"text":"mxGuide.mxGuide.moveDistance (cyclomatic 27): mxGuide.mxGuide.moveDistance has cyclomatic complexity 27 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxGuide.js"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"07303b575d015d20361fab827e617bed87189cde97861cd36f08e2c0142b7ca5"}},{"ruleId":"D1","level":"warning","message":{"text":"mxCellEditor.mxCellEditor.updateTextAreaStyle (cyclomatic 27): mxCellEditor.mxCellEditor.updateTextAreaStyle has cyclomatic complexity 27 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxCellEditor.js"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b40b036fac37efab37382975604ee63ae28ade040707eb28c92ddbd8ba74ce3"}},{"ruleId":"D1","level":"warning","message":{"text":"mxGraph.mxGraph.constrainChild (cyclomatic 27): mxGraph.mxGraph.constrainChild has cyclomatic complexity 27 (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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":6979}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2374f82246877417137d82a8b5628c517d72226104601ba014b137436557c5f"}},{"ruleId":"D1","level":"warning","message":{"text":"replay.Draw.loadPlugin() (cyclomatic 27): replay.Draw.loadPlugin() has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 4 of the 27 points are its own statements and the rest belongs to 10 function items inside it that branch (a function literal at line 191, a function literal at line 146, decodeChanges, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/plugins/replay.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8997efd5bc27005569a3dce51a04bfb56d9c2f2b0ae359d5ac7fce183a4b3dc"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::getRowObj (cyclomatic 27): (anonymous)::getRowObj has cyclomatic complexity 27 (threshold 15). 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. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":3250}}}],"partialFingerprints":{"codehealthFindingId/v1":"10473ad08722c4edb951498286fd21e9db1ac17aa226311067877f25523b1372"}},{"ruleId":"D1","level":"warning","message":{"text":"createKeyHandler::isEventIgnored (cyclomatic 27): createKeyHandler::isEventIgnored has cyclomatic complexity 27 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":10929}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a15ce67bbc0ab740fd6bf70773c76f5ff5f80a2510b872e67cf615a57cad6a8"}},{"ruleId":"D1","level":"warning","message":{"text":"createKeyHandler::getFunction (cyclomatic 27): createKeyHandler::getFunction has cyclomatic complexity 27 (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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":11243}}}],"partialFingerprints":{"codehealthFindingId/v1":"3480f9290c1d44f959cea39448ef4e92255b060afdf32b9611654452aff97b74"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 27): (anonymous) has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 4 of the 27 points are its own statements and the rest belongs to 18 function items inside it that branch (a function literal at line 191, a function literal at line 146, decodeChanges, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/plugins/replay.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cf35a455a6007924007081b6b10c03e1dcae31005d2a82895c7d5245e1ce3fe"}},{"ruleId":"D1","level":"warning","message":{"text":"App.App.nextDriveUse (cyclomatic 26): App.App.nextDriveUse has cyclomatic complexity 26 (threshold 15). Most of this is not in the body itself: 6 of the 26 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 3201, 3225, 3261). 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/webapp/js/diagramly/App.js"},"region":{"startLine":3178}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b02bf9249332d36218ea7d0ed6322cbe62495234cc398dbabf9a8ca74a88d3e"}},{"ruleId":"D1","level":"warning","message":{"text":"Dialogs.SplashDialog (cyclomatic 26): Dialogs.SplashDialog has cyclomatic complexity 26 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc97460da7f4f94f6ba42048bf105727a4442440290affb50d2be06d986647c7"}},{"ruleId":"D1","level":"warning","message":{"text":"Dialogs.PolygonDialog::renderPolygon (cyclomatic 26): Dialogs.PolygonDialog::renderPolygon has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (Dialogs.PolygonDialog) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":26244}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2a1cd992509cc438d2afea01f1948e91920deedc61bfdeacd0f29b57f1f4727"}},{"ruleId":"D1","level":"warning","message":{"text":"Dialogs.TieTool.init (cyclomatic 26): Dialogs.TieTool.init has cyclomatic complexity 26 (threshold 15). Most of this is not in the body itself: 3 of the 26 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 28270, 28228, 28262, \u2026). 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":28223}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cad75bb9b9f2c284211698925e95c663ca5c28953b53c528253014995a4ee0f"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.parseHtmlData (cyclomatic 26): EditorUi.EditorUi.parseHtmlData has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: EditorUi.EditorUi.createSpinner (cyclomatic 30) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":29788}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f3b03d1beb9e2e4bc587f3a7f6261af8a99388438f428ebcd1f5f449e41fdd7"}},{"ruleId":"D1","level":"warning","message":{"text":"ForceExplorer.ForceExplorer.installListeners (cyclomatic 26): ForceExplorer.ForceExplorer.installListeners has cyclomatic complexity 26 (threshold 15). Most of this is not in the body itself: 9 of the 26 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 1008, 1059, 974, \u2026). 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/webapp/js/diagramly/ForceExplorer.js"},"region":{"startLine":945}}}],"partialFingerprints":{"codehealthFindingId/v1":"649556ba5a675ab3d7e19d9a807b143537bc8d94bd62737171cea30bed9edf2b"}},{"ruleId":"D1","level":"warning","message":{"text":"ForceExplorer.ForceExplorer.tick (cyclomatic 26): ForceExplorer.ForceExplorer.tick has cyclomatic complexity 26 (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/webapp/js/diagramly/ForceExplorer.js"},"region":{"startLine":3833}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e5f0a210195356c6a84f7312dd8ae54c9db95fe564cef9004f092eceab3dce8"}},{"ruleId":"D1","level":"warning","message":{"text":"LibavoidRouting.LibavoidRouting.installFlaggedCells (cyclomatic 26): LibavoidRouting.LibavoidRouting.installFlaggedCells has cyclomatic complexity 26 (threshold 15). Most of this is not in the body itself: 2 of the 26 points are its own statements and the rest belongs to 2 function items inside it that branch (a function literal at line 1018, update). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/LibavoidRouting.js"},"region":{"startLine":978}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb92295b2a6a1d9003660e27b9114d43df977cbd04b6de401697a268ae975c1f"}},{"ruleId":"D1","level":"warning","message":{"text":"SimpleClassic.EditorUi.createFooterMenuForTheme (cyclomatic 26): SimpleClassic.EditorUi.createFooterMenuForTheme has cyclomatic complexity 26 (threshold 15). Most of this is not in the body itself: 9 of the 26 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 203, 148, 172, \u2026). 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/webapp/js/diagramly/SimpleClassic.js"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"60da9f0e5c6f53b481a76691f33007cf46148eeb426c751939546d0ba636b74b"}},{"ruleId":"D1","level":"warning","message":{"text":"Editor.Editor.getGraphXml (cyclomatic 26): Editor.Editor.getGraphXml has cyclomatic complexity 26 (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/webapp/js/grapheditor/Editor.js"},"region":{"startLine":1977}}}],"partialFingerprints":{"codehealthFindingId/v1":"802b82c385b2a062b57077d598b245878f0ddddcd077b9669a370c548ce71700"}},{"ruleId":"D1","level":"warning","message":{"text":"Format.Format.addLineMarkerItems (cyclomatic 26): Format.Format.addLineMarkerItems has cyclomatic complexity 26 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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/webapp/js/grapheditor/Format.js"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"093cc26439b235f84b5096806fe6392eecae08457bd633531a0b4373485dcda4"}},{"ruleId":"D1","level":"warning","message":{"text":"Format.BaseFormatPanel.createCellColorOption (cyclomatic 26): Format.BaseFormatPanel.createCellColorOption has cyclomatic complexity 26 (threshold 15). Most of this is not in the body itself: 5 of the 26 points are its own statements and the rest belongs to 6 function items inside it that branch (getValue, a function literal at line 1932, a function literal at line 1961, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Format.js"},"region":{"startLine":1881}}}],"partialFingerprints":{"codehealthFindingId/v1":"caac3e8258db3fc6e133c072d57466fcda76baad4dda40cd803dec50e00b987a"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.Graph.updateFollowingEdges (cyclomatic 26): Graph.Graph.updateFollowingEdges has cyclomatic complexity 26 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 7 belong to 3 function literals inside it that branch. 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":13636}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac1c1740863000d30cb4e20b179cf699dc9209f145fc1194c85f5d5df6614c26"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.Graph.isLiveLayoutLimited (cyclomatic 26): Graph.Graph.isLiveLayoutLimited has cyclomatic complexity 26 (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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":13892}}}],"partialFingerprints":{"codehealthFindingId/v1":"e650e985cf928d4d45131889efdfabd9e09ed562dd18b6e464ae6e8d23a7a18b"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.Graph.formatDate (cyclomatic 26): Graph.Graph.formatDate has cyclomatic complexity 26 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 3 belong to 2 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":16127}}}],"partialFingerprints":{"codehealthFindingId/v1":"53f3ed9bbbea564ffe11c661474859eca3d81677c3e9d97637bcf610ee03f68a"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.Graph.updateShapes (cyclomatic 26): Graph.Graph.updateShapes has cyclomatic complexity 26 (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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":17212}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f56aacc976e85862153b8039d1871715716225572eb57174c0c5997cf1a5897"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.Graph.getFirstLine::visit (cyclomatic 26): Graph.Graph.getFirstLine::visit has cyclomatic complexity 26 (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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":22600}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dfb75b48ed6461cc544c93d6e39ee832fe9d03f489ca8d5670abddcc28c8caa"}},{"ruleId":"D1","level":"warning","message":{"text":"Shapes.TableShape.paintCollapsedTable (cyclomatic 26): Shapes.TableShape.paintCollapsedTable has cyclomatic complexity 26 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"a49570fbe50fa12b34358eba7863a5865f15f89ce9ab2f73d647bb3f61903779"}},{"ruleId":"D1","level":"warning","message":{"text":"Shapes.PartialRectangleShape.paintVertexShape (cyclomatic 26): Shapes.PartialRectangleShape.paintVertexShape has cyclomatic complexity 26 (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/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":5787}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b80a2120a1291b42161148b79bdb12e4c312cd7d60f7e3fcf30ce6d8efbc5dd"}},{"ruleId":"D1","level":"warning","message":{"text":"Shapes.mxShapeBasicRect2.paintFolds (cyclomatic 26): Shapes.mxShapeBasicRect2.paintFolds has cyclomatic complexity 26 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":7461}}}],"partialFingerprints":{"codehealthFindingId/v1":"266ffe54bf38ce238b2fd051e3c8ba13e7504606862cb9cf8cb86775255d462d"}},{"ruleId":"D1","level":"warning","message":{"text":"Sidebar.Sidebar (cyclomatic 26): Sidebar.Sidebar has cyclomatic complexity 26 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 9 belong to 5 function literals inside it that branch. 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/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"89b44b343baa1525816507488f62266bc3c6efbca8a5da0a85ade287783aac80"}},{"ruleId":"D1","level":"warning","message":{"text":"Sidebar.Sidebar.itemClicked (cyclomatic 26): Sidebar.Sidebar.itemClicked has cyclomatic complexity 26 (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/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":7306}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f13bb8ff39fe43fa5dc32799300a2c41b5d285dc7cd0ad36b36f34e3289cd95"}},{"ruleId":"D1","level":"warning","message":{"text":"mxConnectionHandler.mxConnectionHandler.createMarker (cyclomatic 26): mxConnectionHandler.mxConnectionHandler.createMarker has cyclomatic complexity 26 (threshold 15). Most of this is not in the body itself: 10 of the 26 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 555, 619, 633, \u2026). 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/webapp/mxgraph/src/handler/mxConnectionHandler.js"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8a7f6d96d522ae9160e32d0dc8f018d29cb7cc59c557d8c46a4d4ef9163f9fe"}},{"ruleId":"D1","level":"warning","message":{"text":"mxEdgeHandler.mxEdgeHandler.redrawPreviewHandles (cyclomatic 26): mxEdgeHandler.mxEdgeHandler.redrawPreviewHandles has cyclomatic complexity 26 (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/webapp/mxgraph/src/handler/mxEdgeHandler.js"},"region":{"startLine":1764}}}],"partialFingerprints":{"codehealthFindingId/v1":"91559110db4a7d2e7f081e450a7f37246a281dbf0eaff3a92fb874ac7000d5b7"}},{"ruleId":"D1","level":"warning","message":{"text":"mxVertexHandler.mxVertexHandler.updateParentHighlight (cyclomatic 26): mxVertexHandler.mxVertexHandler.updateParentHighlight has cyclomatic complexity 26 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/handler/mxVertexHandler.js"},"region":{"startLine":2206}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a67957ec45d7ee8627e7b3e0efdc019052750b123c8146e051be0e78fab2496"}},{"ruleId":"D1","level":"warning","message":{"text":"mxBpmnShape2.mxShapeBpmnEvent.strictDrawShape (cyclomatic 26): mxBpmnShape2.mxShapeBpmnEvent.strictDrawShape has cyclomatic complexity 26 (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/webapp/shapes/bpmn/mxBpmnShape2.js"},"region":{"startLine":903}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0cb69e06c8e3ccf9181cabe299f48a1903166df17042f043edfd2c0c0ad3808"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::getFillColor$com_mxgraph_io_vsdx_theme_QuickStyleVals$boolean (cyclomatic 26): (anonymous)::getFillColor$com_mxgraph_io_vsdx_theme_QuickStyleVals$boolean has cyclomatic complexity 26 (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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":5993}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4981f9122136466b1b3e538414a6e71dc7e89d749db554aa3fd07e7f304f9e5"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::getStyleFromShape (cyclomatic 26): (anonymous)::getStyleFromShape has cyclomatic complexity 26 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":12830}}}],"partialFingerprints":{"codehealthFindingId/v1":"377d41c669312100b0a65a9b43f8c27416a093bde0b0308fcb9b431d553063a9"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::setLabelOffset (cyclomatic 26): (anonymous)::setLabelOffset has cyclomatic complexity 26 (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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":13309}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b73a1ae872e908732a9a85b6a9e1c570e516d56c0ab1e1cd26747d71146b57e"}},{"ruleId":"D1","level":"warning","message":{"text":"App.App.pickLibrary (cyclomatic 25): App.App.pickLibrary has cyclomatic complexity 25 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 8 belong to 5 function literals inside it that branch. 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/webapp/js/diagramly/App.js"},"region":{"startLine":5996}}}],"partialFingerprints":{"codehealthFindingId/v1":"abdcbbc9854defb98f450c5bda96caf21aeb3987f7e3a5b2ed5bd02eac1c3c97"}},{"ruleId":"D1","level":"warning","message":{"text":"Editor.Editor.getClassicStyleEntries (cyclomatic 25): Editor.Editor.getClassicStyleEntries has cyclomatic complexity 25 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 9 belong to 2 function items inside it that branch. 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/webapp/js/diagramly/Editor.js"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc665cd084d370746382e5f294a0e378350e366c9c5d72eea95fedf7b8ab2767"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.getXmlFileData (cyclomatic 25): EditorUi.EditorUi.getXmlFileData has cyclomatic complexity 25 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 9 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: EditorUi.EditorUi.createSpinner (cyclomatic 30) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":3173}}}],"partialFingerprints":{"codehealthFindingId/v1":"66c5d79758c3f300f105c48636618a89775aa58355b77ddac21c46a4ff2e6d46"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.saveRequest (cyclomatic 25): EditorUi.EditorUi.saveRequest has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 4 of the 25 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 9331, 9346, 9368). 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. This is NOT this file\u0027s highest cyclomatic complexity: EditorUi.EditorUi.createSpinner (cyclomatic 30) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":9327}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9919a82eed4c2fbf2a9faf7d7086ab033be661d6c232d81da5244f15e5888e8"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.getEmbeddedSvg (cyclomatic 25): EditorUi.EditorUi.getEmbeddedSvg has cyclomatic complexity 25 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 12 belong to 4 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: EditorUi.EditorUi.createSpinner (cyclomatic 30) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":13624}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d2dd7d339ccf0eed37a31637922e895fdc818528d436d9c2f34c75f58d59129"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.installSettings (cyclomatic 25): EditorUi.EditorUi.installSettings has cyclomatic complexity 25 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 4 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: EditorUi.EditorUi.createSpinner (cyclomatic 30) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":28009}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed49eb53da0bc05a1242ac7517d8441a815140ef4d895d4afeaf45ee9d273e69"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.pasteXml (cyclomatic 25): EditorUi.EditorUi.pasteXml has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: EditorUi.EditorUi.createSpinner (cyclomatic 30) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":28576}}}],"partialFingerprints":{"codehealthFindingId/v1":"35c01b9f9837a8065aa5ceabe3c7b7bec7e3ecac70554b495dfad515887fcce2"}},{"ruleId":"D1","level":"warning","message":{"text":"ElectronApp.LocalFile.saveFile (cyclomatic 25): ElectronApp.LocalFile.saveFile has cyclomatic complexity 25 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 11 belong to 5 function literals inside it that branch. 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/webapp/js/diagramly/ElectronApp.js"},"region":{"startLine":2019}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1bafeb8edc89b69ba9cab9e29033a29808aa897fbaa2f0b428edc9094113fb2"}},{"ruleId":"D1","level":"warning","message":{"text":"Extensions.convertTxt2Html::startTag (cyclomatic 25): Extensions.convertTxt2Html::startTag has cyclomatic complexity 25 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: one other method here (Extensions.convertTxt2Html::startBlockTag) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This is NOT this file\u0027s highest cyclomatic complexity: Extensions.addStyle (cyclomatic 26) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Extensions.js"},"region":{"startLine":4292}}}],"partialFingerprints":{"codehealthFindingId/v1":"96846d85e7be8b2366a490c883aed9c457cd33c680d04fee5916c5aebbfc97a8"}},{"ruleId":"D1","level":"warning","message":{"text":"LibavoidRouting.LibavoidRouting.edgeRouteBounds (cyclomatic 25): LibavoidRouting.LibavoidRouting.edgeRouteBounds has cyclomatic complexity 25 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/LibavoidRouting.js"},"region":{"startLine":2813}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aeb6019db768a6fb617dfe785a86f05b13e11d0a324e3b8587e9d102c326c24"}},{"ruleId":"D1","level":"warning","message":{"text":"LightboxModern.LightboxModern.createToggleGroup (cyclomatic 25): LightboxModern.LightboxModern.createToggleGroup has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 3 of the 25 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 282, setIndex, choose, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/LightboxModern.js"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e7c8bddc532f044f82c8879c9cdf33fdf969dc047b1c30feafda567fbd0990e"}},{"ruleId":"D1","level":"warning","message":{"text":"Pages.EditorUi.updateDiagramData (cyclomatic 25): Pages.EditorUi.updateDiagramData has cyclomatic complexity 25 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Pages.js"},"region":{"startLine":2076}}}],"partialFingerprints":{"codehealthFindingId/v1":"10c872789d6f8be06af14a54ef639afd25e66e3e2174ccf621e423c6928b8b75"}},{"ruleId":"D1","level":"warning","message":{"text":"ViewerModern.ViewerModern.createControls (cyclomatic 25): ViewerModern.ViewerModern.createControls has cyclomatic complexity 25 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 2 belong to 2 function items inside it that branch. 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/webapp/js/diagramly/ViewerModern.js"},"region":{"startLine":1143}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1d7ea53e0f789a335711405b541ff32dccc8c1c0e7da9aff227557f9dd36c45"}},{"ruleId":"D1","level":"warning","message":{"text":"mxGraphMlCodec.mxGraphMlCodec.importNode (cyclomatic 25): mxGraphMlCodec.mxGraphMlCodec.importNode has cyclomatic complexity 25 (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/webapp/js/diagramly/graphml/mxGraphMlCodec.js"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"f30a9650f62e83c4f41570cd6bde7e1ce33ce821ca1741838a81adee9b427369"}},{"ruleId":"D1","level":"warning","message":{"text":"mxJsCanvas.mxJsCanvas.text (cyclomatic 25): mxJsCanvas.mxJsCanvas.text has cyclomatic complexity 25 (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/webapp/js/diagramly/util/mxJsCanvas.js"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"690589ada5d343c78abec6a75be8d1ee395de7d85cdc722c194a7b65f784d157"}},{"ruleId":"D1","level":"warning","message":{"text":"Dialogs.EditDiagramDialog (cyclomatic 25): Dialogs.EditDiagramDialog has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 12 of the 25 points are its own statements and the rest belongs to 4 function items inside it that branch (a function literal at line 3217, a function literal at line 3267, handleDrop, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Dialogs.js"},"region":{"startLine":3062}}}],"partialFingerprints":{"codehealthFindingId/v1":"75f32f48b4d4ef9296f85cd2433ca49e1d3878adede415fd0db344a59f56f87e"}},{"ruleId":"D1","level":"warning","message":{"text":"Editor.Dialog.installFocusTrap (cyclomatic 25): Editor.Dialog.installFocusTrap has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 3 of the 25 points are its own statements and the rest belongs to 6 function items inside it that branch (isSameTabStop, a function literal at line 2732, isTab, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Editor.js"},"region":{"startLine":2715}}}],"partialFingerprints":{"codehealthFindingId/v1":"43dce952fa98d17dea8b8b785ae8f41178a50fc6eef281383d1e622c1e78e28a"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.hideDialog (cyclomatic 25): EditorUi.EditorUi.hideDialog has cyclomatic complexity 25 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 10 belong to one function literal inside it that branches. 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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":9873}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3b299512983f8439c2e1bfa2ae216f7de158066c4a11c2729720298bd9c2594"}},{"ruleId":"D1","level":"warning","message":{"text":"Format.StyleFormatPanel.addEditOps (cyclomatic 25): Format.StyleFormatPanel.addEditOps has cyclomatic complexity 25 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 7 belong to one function literal inside it that branches. 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/webapp/js/grapheditor/Format.js"},"region":{"startLine":7309}}}],"partialFingerprints":{"codehealthFindingId/v1":"05902f35200731636edaca4270866c994b0bdf74ebaa4fe00cb697b33a3f9328"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.Graph.computeShapeInsideSpacer (cyclomatic 25): Graph.Graph.computeShapeInsideSpacer has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 2 other methods here (Graph.Graph.computeShapeInsideSpacer::run, Graph.Graph.computeShapeInsideSpacer::run::probe) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":7669}}}],"partialFingerprints":{"codehealthFindingId/v1":"083078582eb3e3eee6bb51dce0cd196d16e0995160fb4ab325f27c9243f04f3a"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.Graph.applyDataStyles (cyclomatic 25): Graph.Graph.applyDataStyles has cyclomatic complexity 25 (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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":18471}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e4123fe94a095a8e4519493b4f89ec5fd5c84ca1a0f8f37de3d4d386b4005b6"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.mxGraphView.validateCellState (cyclomatic 25): Graph.mxGraphView.validateCellState has cyclomatic complexity 25 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":30676}}}],"partialFingerprints":{"codehealthFindingId/v1":"83bb6d57a4aeba4a4dca7f1ecfdd041d4a22c1a9842ad90c37378207ccaf16df"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.mxGraphView.getMultiplePerimeterPoint (cyclomatic 25): Graph.mxGraphView.getMultiplePerimeterPoint has cyclomatic complexity 25 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":31020}}}],"partialFingerprints":{"codehealthFindingId/v1":"26fc7d74f52b07b6b309b30c735d6c10a5149289c2c60030ddc2b6a9efa9b266"}},{"ruleId":"D1","level":"warning","message":{"text":"InlineToolbar.InlineToolbar.getOptions (cyclomatic 25): InlineToolbar.InlineToolbar.getOptions has cyclomatic complexity 25 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/InlineToolbar.js"},"region":{"startLine":5015}}}],"partialFingerprints":{"codehealthFindingId/v1":"112de1e22681540165cfe6755e55e067f773b4d98cd072988b2f7fc2c9fac151"}},{"ruleId":"D1","level":"warning","message":{"text":"mxGeometry.mxGeometry.equals (cyclomatic 25): mxGeometry.mxGeometry.equals has cyclomatic complexity 25 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/model/mxGeometry.js"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"e086d3ebfbc46c6cf9b0177f5fba6b7cf1c2dc563b07b04eb6c4a775860ba062"}},{"ruleId":"D1","level":"warning","message":{"text":"mxText.mxText.updateBoundingBox (cyclomatic 25): mxText.mxText.updateBoundingBox has cyclomatic complexity 25 (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/webapp/mxgraph/src/shape/mxText.js"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1ac6dbb7e1697d64ba8c627dcba49e5084ae81a17faf3d0885ea4aeec1c102c"}},{"ruleId":"D1","level":"warning","message":{"text":"mxCellRenderer.mxCellRenderer.resolveColor (cyclomatic 25): mxCellRenderer.mxCellRenderer.resolveColor has cyclomatic complexity 25 (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/webapp/mxgraph/src/view/mxCellRenderer.js"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7490a96511d0625912c39454bf7cfa57c4ddc48c60d0c47fe07f880464da086"}},{"ruleId":"D1","level":"warning","message":{"text":"mxCellRenderer.mxCellRenderer.redrawShape (cyclomatic 25): mxCellRenderer.mxCellRenderer.redrawShape has cyclomatic complexity 25 (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/webapp/mxgraph/src/view/mxCellRenderer.js"},"region":{"startLine":1788}}}],"partialFingerprints":{"codehealthFindingId/v1":"62d0290eaa93e1477ad0901dcb3c221a9953be74ef416043ded1dfc688e96c09"}},{"ruleId":"D1","level":"warning","message":{"text":"mxGraph.mxGraph.processChange (cyclomatic 25): mxGraph.mxGraph.processChange has cyclomatic complexity 25 (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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":2071}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e03d0f4363df1849e94481e8aa43215c93bc54cfcae07de0d62a54cddf661ac"}},{"ruleId":"D1","level":"warning","message":{"text":"mxGraph.mxGraph.click (cyclomatic 25): mxGraph.mxGraph.click has cyclomatic complexity 25 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. 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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":2644}}}],"partialFingerprints":{"codehealthFindingId/v1":"a33b3be0c7db501fc9450f3a8785909890dc642d1d9cd92233c6a12756f6e766"}},{"ruleId":"D1","level":"warning","message":{"text":"mxGraph.mxGraph.getEdgeValidationError (cyclomatic 25): mxGraph.mxGraph.getEdgeValidationError has cyclomatic complexity 25 (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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":9286}}}],"partialFingerprints":{"codehealthFindingId/v1":"984d667d9b3ed234d4db73cc7f8803d66ea941c0ca842e0670cc5f9c779facbe"}},{"ruleId":"D1","level":"warning","message":{"text":"initCanvas::lazyZoom (cyclomatic 25): initCanvas::lazyZoom has cyclomatic complexity 25 (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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":6945}}}],"partialFingerprints":{"codehealthFindingId/v1":"82f100f9438fe1914c2d175ba23a5ae680741ae34c0bc3bbc4ecd3e1e03779de"}},{"ruleId":"D1","level":"warning","message":{"text":"addMouseWheelListener (cyclomatic 25): addMouseWheelListener has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 5 of the 25 points are its own statements and the rest belongs to 8 function items inside it that branch (wheelHandler, a function literal at line 487, a function literal at line 474, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxEvent.js"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"23eddf5850d95e8c9d5a78afa33f2468834147eb09e01776f24b55dd7337c055"}},{"ruleId":"D1","level":"warning","message":{"text":"App.App.sanityCheck (cyclomatic 24): App.App.sanityCheck has cyclomatic complexity 24 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. 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/webapp/js/diagramly/App.js"},"region":{"startLine":2519}}}],"partialFingerprints":{"codehealthFindingId/v1":"29aad443a2ec07bfb79b9403751524bdfc18f8d3df3d1966c68fd90c55bc9e15"}},{"ruleId":"D1","level":"warning","message":{"text":"App.App.checkReleaseChannel (cyclomatic 24): App.App.checkReleaseChannel has cyclomatic complexity 24 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 7 belong to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":2796}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bb7f1f9ad5cc100c8eb15e9903a815dc65f427597dd7f7dc5c52cce34a98e6f"}},{"ruleId":"D1","level":"warning","message":{"text":"App.App.exportFile (cyclomatic 24): App.App.exportFile has cyclomatic complexity 24 (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/webapp/js/diagramly/App.js"},"region":{"startLine":8664}}}],"partialFingerprints":{"codehealthFindingId/v1":"773fb407f42bc79e0336da48d5e8569acd6429b6aa2cef2ca57906341ad5d20b"}},{"ruleId":"D1","level":"warning","message":{"text":"Dialogs.NewDialog::filterTemplates (cyclomatic 24): Dialogs.NewDialog::filterTemplates has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 3 other methods here (Dialogs.NewDialog, Dialogs.NewDialog::create, Dialogs.NewDialog::addButton) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":3723}}}],"partialFingerprints":{"codehealthFindingId/v1":"24f700e5b4ae09c30093b1970ef18acd19c65c18ef5e7963c5feebf4471c83a6"}},{"ruleId":"D1","level":"warning","message":{"text":"Dialogs.CustomActionDialog (cyclomatic 24): Dialogs.CustomActionDialog has cyclomatic complexity 24 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":8082}}}],"partialFingerprints":{"codehealthFindingId/v1":"3297e25740c246d30fe904e88ce1c8aae38a18d2861d7d1f4e30666532a9b98d"}},{"ruleId":"D1","level":"warning","message":{"text":"DriveClient.DriveClient.pickDiagrams (cyclomatic 24): DriveClient.DriveClient.pickDiagrams has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 5 of the 24 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 1663, 1752, 1738). 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/webapp/js/diagramly/DriveClient.js"},"region":{"startLine":1650}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b819f9eb171513566cc6df4b6ed850ac03e4d8d51262782a2f29c1db429a16f"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.replaceFileData (cyclomatic 24): EditorUi.EditorUi.replaceFileData has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: EditorUi.EditorUi.createSpinner (cyclomatic 30) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":2875}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd09099d6cff22939daf6607b17b6adfc57f19291b4bab630d6dd446b4859fc6"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.createFormatWindow (cyclomatic 24): EditorUi.EditorUi.createFormatWindow has cyclomatic complexity 24 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 9 belong to 4 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: EditorUi.EditorUi.createSpinner (cyclomatic 30) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":26727}}}],"partialFingerprints":{"codehealthFindingId/v1":"720834cfc4750309f271ed6f774a4dbc6386cbfa8d5609030b9efc5c71d03cfc"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.createContainerChildLayout (cyclomatic 24): EditorUi.EditorUi.createContainerChildLayout has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: EditorUi.EditorUi.createSpinner (cyclomatic 30) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":31886}}}],"partialFingerprints":{"codehealthFindingId/v1":"238f176d74afc5117c070ed6a6ece4eb498a05ee550376f0b66f5556b26cd1a8"}},{"ruleId":"D1","level":"warning","message":{"text":"Extensions.LucidImporter.importState (cyclomatic 24): Extensions.LucidImporter.importState has cyclomatic complexity 24 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 8 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: Extensions.addStyle (cyclomatic 26) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Extensions.js"},"region":{"startLine":7300}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea459c88b9094e268af9cf06cc967c2fb54d4e3d6337cc6d5999579f26a02deb"}},{"ruleId":"D1","level":"warning","message":{"text":"LibavoidRouting.LibavoidRouting.getLabelBox (cyclomatic 24): LibavoidRouting.LibavoidRouting.getLabelBox has cyclomatic complexity 24 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/LibavoidRouting.js"},"region":{"startLine":2671}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e08554660d116899072ff47df03bf991f3545c4dc27c172b0a2332acdcd7b5a"}},{"ruleId":"D1","level":"warning","message":{"text":"LocalFile.LocalFile.saveFile (cyclomatic 24): LocalFile.LocalFile.saveFile has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 5 of the 24 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 326, 174, 172, \u2026). 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/webapp/js/diagramly/LocalFile.js"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3a10ae43b6d0a0cfbf0e54f4b565a7738dfa2687d932d38f853943430f03203"}},{"ruleId":"D1","level":"warning","message":{"text":"emf-svg.emitTextOut (cyclomatic 24): emf-svg.emitTextOut has cyclomatic complexity 24 (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/webapp/js/diagramly/emf/emf-svg.js"},"region":{"startLine":2877}}}],"partialFingerprints":{"codehealthFindingId/v1":"f13145c604513ac9b6e076a825f87040ac41916871456c80db62fa8fa0202045"}},{"ruleId":"D1","level":"warning","message":{"text":"Sidebar.Sidebar.showEntries (cyclomatic 24): Sidebar.Sidebar.showEntries has cyclomatic complexity 24 (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/webapp/js/diagramly/sidebar/Sidebar.js"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"33894f6cbfd59571d6384ed396e61c7e78b8ddbacedf5e2eb7c1b16a47966455"}},{"ruleId":"D1","level":"warning","message":{"text":"Tidy.Tidy.classify (cyclomatic 24): Tidy.Tidy.classify has cyclomatic complexity 24 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/tidy/Tidy.js"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"c171c6912863e9960161fc5ca234d7bee2ab854bd5c3f5772b3261fa912289f8"}},{"ruleId":"D1","level":"warning","message":{"text":"Dialogs.TextareaDialog (cyclomatic 24): Dialogs.TextareaDialog has cyclomatic complexity 24 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 5 belong to 4 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Dialogs.js"},"region":{"startLine":2404}}}],"partialFingerprints":{"codehealthFindingId/v1":"48c41a093b2e66417d74720db911349578ad788704735412a5f8b3e076f072d2"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.createZoomInput (cyclomatic 24): EditorUi.EditorUi.createZoomInput has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 3 of the 24 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 11962, 11892, 11912, \u2026). 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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":11869}}}],"partialFingerprints":{"codehealthFindingId/v1":"af7351857b09540bc37615f3ef29088845747b2b01dc7e63939adb1aef9433ef"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.Graph.getBorderContainer (cyclomatic 24): Graph.Graph.getBorderContainer has cyclomatic complexity 24 (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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":20055}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea7232c4bd2e179c35e3e5da352767b7a8ada9014357a3a03998c356ef752066"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.Graph.getTooltipForCell (cyclomatic 24): Graph.Graph.getTooltipForCell has cyclomatic complexity 24 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":22474}}}],"partialFingerprints":{"codehealthFindingId/v1":"18817701201cd26512330a5f80b9b48feec7b5fb2fd0cefc2747b5027f08135c"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.mxGraphView.updateAutoLabelPlacements (cyclomatic 24): Graph.mxGraphView.updateAutoLabelPlacements has cyclomatic complexity 24 (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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":30328}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aa0c2c952dd0c594e9a2d6ba760503dc96faa3e6eff22b12f44f791a32c4d01"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.mxConnector.paintLine (cyclomatic 24): Graph.mxConnector.paintLine has cyclomatic complexity 24 (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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":32335}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c8ff60bf33126372909ef02eaeb3e596eb94e5c493e7f66b538c73229ae7f97"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.mxEdgeStyle.TopToBottom (cyclomatic 24): Graph.mxEdgeStyle.TopToBottom has cyclomatic complexity 24 (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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":32776}}}],"partialFingerprints":{"codehealthFindingId/v1":"1881ba03d0f869ce3b18836df6ec183df222d0e011cad75d100e8cec2f2213e8"}},{"ruleId":"D1","level":"warning","message":{"text":"Sidebar.Sidebar.getClosestKeys (cyclomatic 24): Sidebar.Sidebar.getClosestKeys has cyclomatic complexity 24 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":1426}}}],"partialFingerprints":{"codehealthFindingId/v1":"26e742a91411c637fcb2995ecd30155e9582b54a5974091b63e88c66cac2fbb5"}},{"ruleId":"D1","level":"warning","message":{"text":"mxODPicker.mxODPicker::fillFolderFiles (cyclomatic 24): mxODPicker.mxODPicker::fillFolderFiles has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 2 other methods here (mxODPicker.mxODPicker, mxODPicker.mxODPicker::fillFolderFiles::renderList) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/onedrive/mxODPicker.js"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc6b661fbfe5ec156989347219ce400be7636f002b36897259efdfa6387c8c93"}},{"ruleId":"D1","level":"warning","message":{"text":"mxVertexHandler.mxVertexHandler.resizeVertex (cyclomatic 24): mxVertexHandler.mxVertexHandler.resizeVertex has cyclomatic complexity 24 (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/webapp/mxgraph/src/handler/mxVertexHandler.js"},"region":{"startLine":1029}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2d8d2a47b18ff59002c95693d780e1f10652eae158deb63e94ab9c148afb530"}},{"ruleId":"D1","level":"warning","message":{"text":"mxDragSource.mxDragSource.dragOver (cyclomatic 24): mxDragSource.mxDragSource.dragOver has cyclomatic complexity 24 (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/webapp/mxgraph/src/util/mxDragSource.js"},"region":{"startLine":654}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a6f00616d36b42adb6f88e8e1eff5136d0b47d26b5655fbbdac02392d4f2c0f"}},{"ruleId":"D1","level":"warning","message":{"text":"mxGraph.mxGraph.cellSizeUpdated (cyclomatic 24): mxGraph.mxGraph.cellSizeUpdated has cyclomatic complexity 24 (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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":5878}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a1b730a07002551fb57d0c8bb1ab537883b460d3c69b99c253123a97ce320ab"}},{"ruleId":"D1","level":"warning","message":{"text":"mxBasic.mxShapeBasicArc.paintVertexShape (cyclomatic 24): mxBasic.mxShapeBasicArc.paintVertexShape has cyclomatic complexity 24 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/shapes/mxBasic.js"},"region":{"startLine":2642}}}],"partialFingerprints":{"codehealthFindingId/v1":"25e6a83ddb1c01e361c3c3b2a191541095ad842df823bb0592cccfa52b590a02"}},{"ruleId":"D1","level":"warning","message":{"text":"mxBasic.createPolygonHandles (cyclomatic 24): mxBasic.createPolygonHandles has cyclomatic complexity 24 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 12 belong to 5 function items inside it that branch. To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/shapes/mxBasic.js"},"region":{"startLine":3435}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b448214b894c4cf100167113d1a7c5290376e757738075d905fd282127b40f7"}},{"ruleId":"D1","level":"warning","message":{"text":"ExportProxyServlet.doRequest (cyclomatic 24): ExportProxyServlet.doRequest has cyclomatic complexity 24 (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/server/java/com/mxgraph/online/ExportProxyServlet.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4fc750c7d271295624b71f3d40ce18e21ed2d26ead754858b0cd4c8adf91c23"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 24): (anonymous) has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 1 of the 24 points is its own statement and the rest belongs to 11 function items inside it that branch (addFromCell, findToPart, mxVsdxConnect, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":3523}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee4ef1a95fd549d60fd04188a88c2dfb887f95fa4f9e71f7c09f3ab00a293277"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::handle (cyclomatic 24): (anonymous)::handle has cyclomatic complexity 24 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":9068}}}],"partialFingerprints":{"codehealthFindingId/v1":"95cc05ea9a93ffccffefca9e965af775264c8ff593bbb5dc933fe6f4b04aa510"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::VsdxShape (cyclomatic 24): (anonymous)::VsdxShape has cyclomatic complexity 24 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":11624}}}],"partialFingerprints":{"codehealthFindingId/v1":"b36a9a3ec61d7b1ab540497d4bdf3618179230701438687ce0b1d8a033cbdd52"}},{"ruleId":"D1","level":"warning","message":{"text":"getSizeForString (cyclomatic 24): getSizeForString has cyclomatic complexity 24 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxUtils.js"},"region":{"startLine":5135}}}],"partialFingerprints":{"codehealthFindingId/v1":"930eb9fe156e848a550ed14f9c6fcc290771297adeb5fd3845517f735606ac2c"}},{"ruleId":"D1","level":"warning","message":{"text":"TopToBottom (cyclomatic 24): TopToBottom has cyclomatic complexity 24 (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/webapp/mxgraph/src/view/mxEdgeStyle.js"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"03343c9475cdd2bdebdd67e64c92ebf24a5212bd2df985ae8ed6748de051efba"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::moveCells (cyclomatic 24): (anonymous)::moveCells has cyclomatic complexity 24 (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/webapp/plugins/trees/trees.js"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"cee45835702ecc59490ca172fb511053d674a368ba710ad525623cb763a245b4"}},{"ruleId":"D1","level":"warning","message":{"text":"mxFreehand::stopDrawing (cyclomatic 24): mxFreehand::stopDrawing has cyclomatic complexity 24 (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/webapp/js/diagramly/mxFreehand.js"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"a045259ff5ad1e1381a67e2cfe6ad9ab217f029c4abbe9ff7cf648455739d9ab"}},{"ruleId":"D1","level":"warning","message":{"text":"parse (cyclomatic 24): parse has cyclomatic complexity 24 (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/webapp/js/diagramly/Settings.js"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"d17e3331926765b005eb4811952fad139ed3619e648209adc66d8fa469df2413"}},{"ruleId":"D1","level":"warning","message":{"text":"App.App.showNotification (cyclomatic 23): App.App.showNotification has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 10 of the 23 points are its own statements and the rest belongs to 4 function items inside it that branch (shouldAnimate, a function literal at line 8360, a function literal at line 8255, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":8210}}}],"partialFingerprints":{"codehealthFindingId/v1":"94271053b5a60476f47d89503626df60c387c6607934b711faf74c3aeaa41377"}},{"ruleId":"D1","level":"warning","message":{"text":"App.App.save (cyclomatic 23): App.App.save has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 5 of the 23 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 8421, 8429, 8407, \u2026). 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/webapp/js/diagramly/App.js"},"region":{"startLine":8401}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb5bd9b8069672f3be01fc536851dd142a2c4e81f8adc73f0e0678c1b77d6d6d"}},{"ruleId":"D1","level":"warning","message":{"text":"App.App.updateHeader (cyclomatic 23): App.App.updateHeader has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 10 of the 23 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 9107, 9140, 9175, \u2026). 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/webapp/js/diagramly/App.js"},"region":{"startLine":9088}}}],"partialFingerprints":{"codehealthFindingId/v1":"6277655908029d22ecabb44c6c8cd9e5e3e900455c8dbee4a7b866a76fa17a0d"}},{"ruleId":"D1","level":"warning","message":{"text":"Dialogs.NewDialog::create (cyclomatic 23): Dialogs.NewDialog::create has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 3 other methods here (Dialogs.NewDialog, Dialogs.NewDialog::addButton, Dialogs.NewDialog::filterTemplates) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":2783}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7cb8ceae885f9b01c8feb775ef3282e444aa474be6c2664fd4a6aa125a05d3b"}},{"ruleId":"D1","level":"warning","message":{"text":"Dialogs.SaveDialog::addStorageEntries (cyclomatic 23): Dialogs.SaveDialog::addStorageEntries has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 2 other methods here (Dialogs.SaveDialog, Dialogs.SaveDialog::addStorageEntry) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":4792}}}],"partialFingerprints":{"codehealthFindingId/v1":"be823596a825ce36f2fd05a48983a4d7bc9ae6d6a32e404b0bd7d9687fa5deed"}},{"ruleId":"D1","level":"warning","message":{"text":"Dialogs.StyleRulesDialog.createLegend (cyclomatic 23): Dialogs.StyleRulesDialog.createLegend has cyclomatic complexity 23 (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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":22624}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a7cba8ffc12c08eaed3f9164ee0f28f50401e5c3539207323b003d47933a44f"}},{"ruleId":"D1","level":"warning","message":{"text":"DrawioFile.DrawioFile.addUnsavedStatus (cyclomatic 23): DrawioFile.DrawioFile.addUnsavedStatus has cyclomatic complexity 23 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 9 belong to one function literal inside it that branches. 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/webapp/js/diagramly/DrawioFile.js"},"region":{"startLine":3256}}}],"partialFingerprints":{"codehealthFindingId/v1":"59e93d7f3b56e482adce67ae4752feb43258505ace071574ebc3e9ede84b1110"}},{"ruleId":"D1","level":"warning","message":{"text":"DrawioFileSync.DrawioFileSync.patchRealtime (cyclomatic 23): DrawioFileSync.DrawioFileSync.patchRealtime has cyclomatic complexity 23 (threshold 15). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DrawioFileSync.js"},"region":{"startLine":2240}}}],"partialFingerprints":{"codehealthFindingId/v1":"b81b08fb7301620b78d24ffffeb0de8a5d0b8f98ba5eec099d92995f06d1615f"}},{"ruleId":"D1","level":"warning","message":{"text":"DrawioFileSync.DrawioFileSync.getPageIdForChange (cyclomatic 23): DrawioFileSync.DrawioFileSync.getPageIdForChange has cyclomatic complexity 23 (threshold 15). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DrawioFileSync.js"},"region":{"startLine":2555}}}],"partialFingerprints":{"codehealthFindingId/v1":"5317296a10e58b079bd859600300a84e7f4474800aee490f470350c6ea5eb78d"}},{"ruleId":"D1","level":"warning","message":{"text":"DrawioFileSync.DrawioFileSync.sendLocalChanges (cyclomatic 23): DrawioFileSync.DrawioFileSync.sendLocalChanges has cyclomatic complexity 23 (threshold 15). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DrawioFileSync.js"},"region":{"startLine":3042}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb878614fc760f755b69c06ffac3ae4b15c0cfdbe58774edd2b2c7b4a9dbccb9"}},{"ruleId":"D1","level":"warning","message":{"text":"DriveFile.DriveFile.saveFile (cyclomatic 23): DriveFile.DriveFile.saveFile has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 8 of the 23 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 195, 263, 184, \u2026). 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/webapp/js/diagramly/DriveFile.js"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"68aac4c327848679c7c0431b4a9d73aec82f7277cae88f8040d89ca50830b159"}},{"ruleId":"D1","level":"warning","message":{"text":"Editor.Editor.setGraphXml (cyclomatic 23): Editor.Editor.setGraphXml has cyclomatic complexity 23 (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/webapp/js/diagramly/Editor.js"},"region":{"startLine":5098}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b323be22bca94689c7c78557d8d15b64b4c378eb62e7b1d0350ed37fd9b94bf"}},{"ruleId":"D1","level":"warning","message":{"text":"Editor.Editor.embedCssFonts (cyclomatic 23): Editor.Editor.embedCssFonts has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 5 of the 23 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 7153, 7119, 7193). 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/webapp/js/diagramly/Editor.js"},"region":{"startLine":7108}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c77f0bd449aba97ef8a57aea6c4d7f392cf6fa1baf55db9af562541916ddc45"}},{"ruleId":"D1","level":"warning","message":{"text":"Editor.Graph.getSvg (cyclomatic 23): Editor.Graph.getSvg has cyclomatic complexity 23 (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/webapp/js/diagramly/Editor.js"},"region":{"startLine":11732}}}],"partialFingerprints":{"codehealthFindingId/v1":"9864954d84572f0d5744cb6d082979df0a0e4b8a01b4c87d9b7dce106859625c"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.doSaveLocalFile (cyclomatic 23): EditorUi.EditorUi.doSaveLocalFile has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: EditorUi.EditorUi.createSpinner (cyclomatic 30) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":8751}}}],"partialFingerprints":{"codehealthFindingId/v1":"d852e14672965ef4607e04c6fa23f2061248b0a69e55a893af0ab14ad1127427"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.saveLocalFile (cyclomatic 23): EditorUi.EditorUi.saveLocalFile has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 9 of the 23 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 8867, 8906). 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. This is NOT this file\u0027s highest cyclomatic complexity: EditorUi.EditorUi.createSpinner (cyclomatic 30) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":8860}}}],"partialFingerprints":{"codehealthFindingId/v1":"67099cbc11f7b74871b792f9726cfe3e418e79ef2f76b7804db58e39602b2088"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.windowResized (cyclomatic 23): EditorUi.EditorUi.windowResized has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: EditorUi.EditorUi.createSpinner (cyclomatic 30) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":24673}}}],"partialFingerprints":{"codehealthFindingId/v1":"32078bcd4280a6289b6a5020bff317c867165fbb8060bc3f3962ad243a4995ec"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.openLocalFile (cyclomatic 23): EditorUi.EditorUi.openLocalFile has cyclomatic complexity 23 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 8 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: EditorUi.EditorUi.createSpinner (cyclomatic 30) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":30960}}}],"partialFingerprints":{"codehealthFindingId/v1":"95e9d6246e263a102d9f1770c401e7d9916c6602af244fbbfe95d6ce00c08845"}},{"ruleId":"D1","level":"warning","message":{"text":"ElectronApp.EditorUi.saveData (cyclomatic 23): ElectronApp.EditorUi.saveData has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 6 of the 23 points are its own statements and the rest belongs to one function literal inside it that branches (line 2918). The decisions are inside the literal, 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 literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ElectronApp.js"},"region":{"startLine":2907}}}],"partialFingerprints":{"codehealthFindingId/v1":"a56cd6d9d993d94c786d033668acfec055e7ecc5fc4dfe0d35720698fd51c295"}},{"ruleId":"D1","level":"warning","message":{"text":"ElkLayout.ElkLayoutBindings.runWithDialog::collect (cyclomatic 23): ElkLayout.ElkLayoutBindings.runWithDialog::collect has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (ElkLayout.ElkLayoutBindings.runWithDialog) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ElkLayout.js"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fbb8b326322b2f4c4b74196a5193f0b4944f73d8bdf9f5393db49f25e750384"}},{"ruleId":"D1","level":"warning","message":{"text":"Extensions.getFontStyleString (cyclomatic 23): Extensions.getFontStyleString has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: Extensions.addStyle (cyclomatic 26) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Extensions.js"},"region":{"startLine":5060}}}],"partialFingerprints":{"codehealthFindingId/v1":"1300cd610971d8a41b215b2aed08421837f18e922e47d5524c2806edb5c2ce14"}},{"ruleId":"D1","level":"warning","message":{"text":"ForceExplorer.ForceExplorer.keyDown (cyclomatic 23): ForceExplorer.ForceExplorer.keyDown has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ForceExplorer.js"},"region":{"startLine":1150}}}],"partialFingerprints":{"codehealthFindingId/v1":"06dffe0276ab357490ad9a4260d59b50fec61317500ba4db5046bd08f8735268"}},{"ruleId":"D1","level":"warning","message":{"text":"GitHubClient.GitHubClient.executeRequest (cyclomatic 23): GitHubClient.GitHubClient.executeRequest has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 2 of the 23 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 327, 422, 433). 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/webapp/js/diagramly/GitHubClient.js"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7de5b687da0761447f1f3a94851ad3b9416ab1d50fe37d05c6e7c6c26fc41cf"}},{"ruleId":"D1","level":"warning","message":{"text":"GraphViewer.GraphViewer.addClickHandler (cyclomatic 23): GraphViewer.GraphViewer.addClickHandler has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 2 of the 23 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 2547, 2589). 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/webapp/js/diagramly/GraphViewer.js"},"region":{"startLine":2543}}}],"partialFingerprints":{"codehealthFindingId/v1":"e348bcf2bf8731dca3f444e66d41df8a4efec0035e2ead345b1183cd76fdf9b3"}},{"ruleId":"D1","level":"warning","message":{"text":"ViewerModern.GraphViewer.getDiagramLanguages (cyclomatic 23): ViewerModern.GraphViewer.getDiagramLanguages has cyclomatic complexity 23 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. 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/webapp/js/diagramly/ViewerModern.js"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"40400a5485215fbe517496a04e2ecfb996c4dc9df159174a61fceb9d249fb6e5"}},{"ruleId":"D1","level":"warning","message":{"text":"TidyStyle.Tidy.getPalettes (cyclomatic 23): TidyStyle.Tidy.getPalettes has cyclomatic complexity 23 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. 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/webapp/js/diagramly/tidy/TidyStyle.js"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"26823b5d33e3dafb572d2f12dd2355d3c75398ca26585c0ff7b807bfbb7a1132"}},{"ruleId":"D1","level":"warning","message":{"text":"TidyStyle.Tidy.keepFixedRoleColors (cyclomatic 23): TidyStyle.Tidy.keepFixedRoleColors has cyclomatic complexity 23 (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/webapp/js/diagramly/tidy/TidyStyle.js"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"2535c64d8a77f7f11f17295e5ae4a8c3046c34201466a68d7859e4c38adfe204"}},{"ruleId":"D1","level":"warning","message":{"text":"TidyStyle.Tidy.styleMindmap (cyclomatic 23): TidyStyle.Tidy.styleMindmap has cyclomatic complexity 23 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. 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/webapp/js/diagramly/tidy/TidyStyle.js"},"region":{"startLine":1145}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0f3a7d8360f2d9dd0c56c9c089fd7160fac82e785abeadd01bf378e7915677f"}},{"ruleId":"D1","level":"warning","message":{"text":"Editor.PageSetupDialog::applyFn (cyclomatic 23): Editor.PageSetupDialog::applyFn has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: one other method here (Editor.PageSetupDialog) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Editor.js"},"region":{"startLine":3959}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d0537c2029d3357e211e220aaf8d2310420db3e25c6ecf09aad08a78c1f9543"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.installResizeHandler (cyclomatic 23): EditorUi.EditorUi.installResizeHandler has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 10 of the 23 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 8589, 8616, 8658). 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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":8585}}}],"partialFingerprints":{"codehealthFindingId/v1":"469b80e2c7801f1e974af3dd5f1837f1bc8a3e4f02a420bcaac768bbc48e94e8"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.Graph.renameSvgPageIds (cyclomatic 23): Graph.Graph.renameSvgPageIds has cyclomatic complexity 23 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 7 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: Graph.Graph.init (cyclomatic 24) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":2634}}}],"partialFingerprints":{"codehealthFindingId/v1":"b98630e8209436a61f1535617739d89ab4779c4ffa18ec1997405fe3a238bb3e"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.Graph.mayIntersect (cyclomatic 23): Graph.Graph.mayIntersect has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: Graph.Graph.init (cyclomatic 24) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":12011}}}],"partialFingerprints":{"codehealthFindingId/v1":"76ad88cdc50177ed9f9ecc070f00c17f4aa32384f4e70dd1d16da8c9f46f5a8d"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.Graph.getCellDescription (cyclomatic 23): Graph.Graph.getCellDescription has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: Graph.Graph.init (cyclomatic 24) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":22857}}}],"partialFingerprints":{"codehealthFindingId/v1":"a91c3154f2f007a6a5334d6cb50dad6aca8be4a320dd248dadff9d1e2b0247b0"}},{"ruleId":"D1","level":"warning","message":{"text":"InlineToolbar.InlineToolbar.showLineEndMenu (cyclomatic 23): InlineToolbar.InlineToolbar.showLineEndMenu has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 2 of the 23 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 3306, 3221, 3386, \u2026). 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/webapp/js/grapheditor/InlineToolbar.js"},"region":{"startLine":3195}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad13ab27c139c06915cefb761909ebecec50da1e83dc7345824da492a798d846"}},{"ruleId":"D1","level":"warning","message":{"text":"Sidebar.Sidebar.createItem (cyclomatic 23): Sidebar.Sidebar.createItem has cyclomatic complexity 23 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. 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/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":5244}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca2626d70536b11fff69dbca5e512ee990d04c913f84aa2fb1c4da912a4b625a"}},{"ruleId":"D1","level":"warning","message":{"text":"Sidebar.Sidebar.addFoldingHandler (cyclomatic 23): Sidebar.Sidebar.addFoldingHandler has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 5 of the 23 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 7735, 7830, 7775). 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/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":7723}}}],"partialFingerprints":{"codehealthFindingId/v1":"139e560391598a6c0c89347f27d09887b307f3c6a6426383c3951759a2dbe5dd"}},{"ruleId":"D1","level":"warning","message":{"text":"libavoid-routing.AvoidRouting.jettyStub (cyclomatic 23): libavoid-routing.AvoidRouting.jettyStub has cyclomatic complexity 23 (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/webapp/js/libavoid-js/libavoid-routing.js"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"572f7008a821c658982d6f799d24fe03337d234fba87564ae29798cebdb0a1a9"}},{"ruleId":"D1","level":"warning","message":{"text":"mxEdgeHandler.mxEdgeHandler.getHandleForEvent (cyclomatic 23): mxEdgeHandler.mxEdgeHandler.getHandleForEvent has cyclomatic complexity 23 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 5 belong to one function item inside it that branches. 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/webapp/mxgraph/src/handler/mxEdgeHandler.js"},"region":{"startLine":847}}}],"partialFingerprints":{"codehealthFindingId/v1":"d46f61cad8fc0e23e6f9780a50ad17cfb17ee65d28f87fd5b786f1841f3d5406"}},{"ruleId":"D1","level":"warning","message":{"text":"mxEdgeSegmentHandler.mxEdgeSegmentHandler.updatePreviewState (cyclomatic 23): mxEdgeSegmentHandler.mxEdgeSegmentHandler.updatePreviewState has cyclomatic complexity 23 (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/webapp/mxgraph/src/handler/mxEdgeSegmentHandler.js"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd7e9d5a9658394375c9d46e657011ed673387a1fc4efbdbf3401ff93c48367a"}},{"ruleId":"D1","level":"warning","message":{"text":"mxGraphHandler.mxGraphHandler.mouseUp (cyclomatic 23): mxGraphHandler.mxGraphHandler.mouseUp has cyclomatic complexity 23 (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/webapp/mxgraph/src/handler/mxGraphHandler.js"},"region":{"startLine":1880}}}],"partialFingerprints":{"codehealthFindingId/v1":"37c2867318dfac22ce853000b86da214a8f7440020c243378505534e844dd6cc"}},{"ruleId":"D1","level":"warning","message":{"text":"mxCellEditor.mxCellEditor.installListeners (cyclomatic 23): mxCellEditor.mxCellEditor.installListeners has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 1 of the 23 points is its own statement and the rest belongs to 7 function literals inside it that branch (lines 396, 431, 463, \u2026). 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/webapp/mxgraph/src/view/mxCellEditor.js"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"78bb6975b8bc99fd72159db2fcc12a33ab4ba5e80608725ccb126aab60d4302b"}},{"ruleId":"D1","level":"warning","message":{"text":"mxGraphView.mxGraphView.getChangedGraphBounds (cyclomatic 23): mxGraphView.mxGraphView.getChangedGraphBounds has cyclomatic complexity 23 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxGraphView.js"},"region":{"startLine":2055}}}],"partialFingerprints":{"codehealthFindingId/v1":"06038fbe018eb955c5d7dc78cc889ef09b4120a504e9593ddca26cc1581b7a20"}},{"ruleId":"D1","level":"warning","message":{"text":"trees.Draw.loadPlugin() (cyclomatic 23): trees.Draw.loadPlugin() has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 2 other methods here (trees.Draw.loadPlugin()::addSibling, trees.Draw.loadPlugin()::selectCell) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/plugins/trees/trees.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"df47ffca1b2a28951583d14a4da9c523718b7b3504d30ad8c2247624bd77dbda"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::addShape (cyclomatic 23): (anonymous)::addShape has cyclomatic complexity 23 (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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":881}}}],"partialFingerprints":{"codehealthFindingId/v1":"1875ae69908b1645a667e738a5f3115dd08c55a020bd8fa2e5db744f8a00675d"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::getCellElement$java_lang_String (cyclomatic 23): (anonymous)::getCellElement$java_lang_String has cyclomatic complexity 23 (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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":9690}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a439b5c71cd6da973cf6c3815117d8746a645dffea20524d389c0cf222f15f5"}},{"ruleId":"D1","level":"warning","message":{"text":"initCanvas::zoomGraph (cyclomatic 23): initCanvas::zoomGraph has cyclomatic complexity 23 (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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":7326}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1702f4dcb2da3a6e82a0c78bbd590b6f9ea820a7bf5a54884a586c4a36d9b43"}},{"ruleId":"D1","level":"warning","message":{"text":"sortCells (cyclomatic 23): sortCells has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 8 of the 23 points are its own statements and the rest belongs to 4 function items inside it that branch (getNode, getIndex, a function literal at line 4455, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxUtils.js"},"region":{"startLine":4324}}}],"partialFingerprints":{"codehealthFindingId/v1":"cad9b792e828da6f7c8e014bbb3c9b306f4d96a5c76e4dfc7569a4d6a978ed0b"}},{"ruleId":"D1","level":"warning","message":{"text":"isTextShapeInvalid (cyclomatic 23): isTextShapeInvalid has cyclomatic complexity 23 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 6 belong to one function item inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxCellRenderer.js"},"region":{"startLine":1242}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c71bda1c1c4af711d62470b31368e049fd5a25c39357a10f0f85fa92dfa9c05"}},{"ruleId":"D1","level":"warning","message":{"text":"P2PCollab::joinFile::messageListener (cyclomatic 23): P2PCollab::joinFile::messageListener has cyclomatic complexity 23 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/P2PCollab.js"},"region":{"startLine":1277}}}],"partialFingerprints":{"codehealthFindingId/v1":"acebd2ca951bb6c6821d1f754da01c16f803d4dc649c719b7dc2f1684b96f048"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::onKeyDown (cyclomatic 23): (anonymous)::onKeyDown has cyclomatic complexity 23 (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/webapp/plugins/trees/trees.js"},"region":{"startLine":852}}}],"partialFingerprints":{"codehealthFindingId/v1":"416f1a62f5f10c3db82d82f3306df44d4578ad39cd0fb9519701f028669ba764"}},{"ruleId":"D1","level":"warning","message":{"text":"Dialogs.NewDialog::addButton (cyclomatic 22): Dialogs.NewDialog::addButton has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 3 other methods here (Dialogs.NewDialog, Dialogs.NewDialog::create, Dialogs.NewDialog::filterTemplates) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":3325}}}],"partialFingerprints":{"codehealthFindingId/v1":"682f29e6e01a07f0d150bc506f6cdb1d2118c32be54321607466a94d63137b30"}},{"ruleId":"D1","level":"warning","message":{"text":"Dialogs.FindWindow::replacePlaceholderMatch (cyclomatic 22): Dialogs.FindWindow::replacePlaceholderMatch has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 2 other methods here (Dialogs.FindWindow::isMatch, Dialogs.FindWindow::updateCount) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":10752}}}],"partialFingerprints":{"codehealthFindingId/v1":"0603b128a2b3974da61ae0fa66aa156cad53d7164f6f34c58a5738b557ad0f68"}},{"ruleId":"D1","level":"warning","message":{"text":"Dialogs.AnimationDialog::formatSelectorText (cyclomatic 22): Dialogs.AnimationDialog::formatSelectorText has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 5 other methods here (Dialogs.AnimationDialog, Dialogs.AnimationDialog::loadFromContext, Dialogs.AnimationDialog::renderStepField, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 6 times rather than 6 independent problems. Splitting this body alone leaves the other 5 exactly as they are. Where these are variations on one operation, the change that clears all 6 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":14697}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e1020f4dadea35148386bdd75f522e283943e7d969df8d7274d3f01b97af78a"}},{"ruleId":"D1","level":"warning","message":{"text":"Dialogs.AnimationDialog (cyclomatic 22): Dialogs.AnimationDialog has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 5 other methods here (Dialogs.AnimationDialog::loadFromContext, Dialogs.AnimationDialog::formatSelectorText, Dialogs.AnimationDialog::renderStepField, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 6 times rather than 6 independent problems. Splitting this body alone leaves the other 5 exactly as they are. Where these are variations on one operation, the change that clears all 6 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":14088}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c53852ba8b3b0540070e3e4453524af62069000d2fa30ecdc8e530b9b3e7c0b"}},{"ruleId":"D1","level":"warning","message":{"text":"DrawioFile.DrawioFile.handleFileError (cyclomatic 22): DrawioFile.DrawioFile.handleFileError has cyclomatic complexity 22 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 7 belong to 2 function literals inside it that branch. 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/webapp/js/diagramly/DrawioFile.js"},"region":{"startLine":3680}}}],"partialFingerprints":{"codehealthFindingId/v1":"43ecc40b01cf4efd59d3ade16f08dba6d0686f5a20fd89b48389252b354c66b2"}},{"ruleId":"D1","level":"warning","message":{"text":"DrawioFileSync.DrawioFileSync.cleanup (cyclomatic 22): DrawioFileSync.DrawioFileSync.cleanup has cyclomatic complexity 22 (threshold 15). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DrawioFileSync.js"},"region":{"startLine":1573}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d4c6b2f9e0c2dfa962b406e08c14dab4d950619727c67aada8b7b38c7c73b3d"}},{"ruleId":"D1","level":"warning","message":{"text":"DrawioFileSync.DrawioFileSync.sanitizePageTerminals (cyclomatic 22): DrawioFileSync.DrawioFileSync.sanitizePageTerminals has cyclomatic complexity 22 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DrawioFileSync.js"},"region":{"startLine":2831}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b8b78c96a441fd484c7bc437e5eef2794571eb258390e54632c9f6ddb5bc9d1"}},{"ruleId":"D1","level":"warning","message":{"text":"Editor.RoughCanvas.getStyle (cyclomatic 22): Editor.RoughCanvas.getStyle has cyclomatic complexity 22 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":2215}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4b5ad1f82762463aa1ad7d3a3fa17fc379eecefa8cb71e418420ed790a110cc"}},{"ruleId":"D1","level":"warning","message":{"text":"Editor.ChangePageSetup.execute (cyclomatic 22): Editor.ChangePageSetup.execute has cyclomatic complexity 22 (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/webapp/js/diagramly/Editor.js"},"region":{"startLine":15322}}}],"partialFingerprints":{"codehealthFindingId/v1":"1afff1b115cacab90b3f2c0b9dccd03de5865ae8d510def93d5a569a44ed5b8e"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.getFileData (cyclomatic 22): EditorUi.EditorUi.getFileData has cyclomatic complexity 22 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: EditorUi.EditorUi.createSpinner (cyclomatic 30) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":3673}}}],"partialFingerprints":{"codehealthFindingId/v1":"a46d041b0caf99c3571ae8c50d23807d61d4c9ebce7edb2cb025064831e8a7b3"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.mergeMermaidStyleDelta (cyclomatic 22): EditorUi.EditorUi.mergeMermaidStyleDelta has cyclomatic complexity 22 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 6 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: EditorUi.EditorUi.createSpinner (cyclomatic 30) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":15151}}}],"partialFingerprints":{"codehealthFindingId/v1":"e904ab37378ad46f0f5a009f3d6b08ad37967dd11cd5a8c2413227dfdedb23da"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.updateDefaultStyles (cyclomatic 22): EditorUi.EditorUi.updateDefaultStyles has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: EditorUi.EditorUi.createSpinner (cyclomatic 30) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":27719}}}],"partialFingerprints":{"codehealthFindingId/v1":"072e57408728416f99fc9934a5d8f3509d5b98d7d62de1c380fc2ec97b648e44"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.readGraphModelFromHtmlClipboardData (cyclomatic 22): EditorUi.EditorUi.readGraphModelFromHtmlClipboardData has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 1 of the 22 points is its own statement and the rest belongs to one function literal inside it that branches (line 29591). The decisions are inside the literal, 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 literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest. This is NOT this file\u0027s highest cyclomatic complexity: EditorUi.EditorUi.createSpinner (cyclomatic 30) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":29589}}}],"partialFingerprints":{"codehealthFindingId/v1":"46c313db8f6444b78e694412f17d2502ac98620efbb4cb10219680b6f2828101"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.doImportCsv::updateListItems (cyclomatic 22): EditorUi.EditorUi.doImportCsv::updateListItems has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 2 other methods here (EditorUi.EditorUi.doImportCsv, EditorUi.EditorUi.doImportCsv::getEdgeLabel) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This is NOT this file\u0027s highest cyclomatic complexity: EditorUi.EditorUi.createSpinner (cyclomatic 30) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":40297}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5834f26eea93ec35d9b239f6f1aa1676b4a10984e604eb22a023b51e1a6c6f7"}},{"ruleId":"D1","level":"warning","message":{"text":"HomeDialog.HomeDialog.render (cyclomatic 22): HomeDialog.HomeDialog.render has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/HomeDialog.js"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccf814b9f0b5e926f6f2e3046bbf8f0c994e329b0ed09bdebdbbb47b7dd56e78"}},{"ruleId":"D1","level":"warning","message":{"text":"LayoutPicker.EditorUi.getSuggestedLayout (cyclomatic 22): LayoutPicker.EditorUi.getSuggestedLayout has cyclomatic complexity 22 (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/webapp/js/diagramly/LayoutPicker.js"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad9125de8d242329735e6d82bc6cd70b8ef07eb976434a1b2139c7ed577491a5"}},{"ruleId":"D1","level":"warning","message":{"text":"OneDriveClient.OneDriveClient.authenticateStep2 (cyclomatic 22): OneDriveClient.OneDriveClient.authenticateStep2 has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 2 of the 22 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 356, 426, 399, \u2026). 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/webapp/js/diagramly/OneDriveClient.js"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"c492d9c89c9a1f056437137da44b23cf6b4e3651d806980001344ba1a0853a0a"}},{"ruleId":"D1","level":"warning","message":{"text":"OneDriveFile.OneDriveFile.saveFile (cyclomatic 22): OneDriveFile.OneDriveFile.saveFile has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 6 of the 22 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 622, 659, 638, \u2026). 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/webapp/js/diagramly/OneDriveFile.js"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad3fe43f2d529bb603f52b19c0bd515e1e5a3362f340dce98810bdfc7bf783c5"}},{"ruleId":"D1","level":"warning","message":{"text":"Pages.Graph.createViewState (cyclomatic 22): Pages.Graph.createViewState has cyclomatic complexity 22 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 9 belong to 3 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Pages.js"},"region":{"startLine":1601}}}],"partialFingerprints":{"codehealthFindingId/v1":"233bc2b47ea6750c0daedc5aa2d140f3178e2407416c7b52852a504c3dc51c0f"}},{"ruleId":"D1","level":"warning","message":{"text":"Trees.EditorUi.addTrees::getTreeDirection (cyclomatic 22): Trees.EditorUi.addTrees::getTreeDirection has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 4 other methods here (Trees.EditorUi.addTrees, Trees.EditorUi.addTrees::collectTreeRemoval, Trees.EditorUi.addTrees::addSibling, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 5 times rather than 5 independent problems. Splitting this body alone leaves the other 4 exactly as they are. Where these are variations on one operation, the change that clears all 5 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Trees.js"},"region":{"startLine":1031}}}],"partialFingerprints":{"codehealthFindingId/v1":"b197204b95c7eaab23ab68379cb197ee0952ccbe7e0867cb8e2bb3b32208f651"}},{"ruleId":"D1","level":"warning","message":{"text":"AnimatedExport.AnimatedGifExport.findAnimatedPaths (cyclomatic 22): AnimatedExport.AnimatedGifExport.findAnimatedPaths has cyclomatic complexity 22 (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/webapp/js/diagramly/gif/AnimatedExport.js"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f4ddac4b8c7c34474597e13d75435355c5fb2aff2f1da11af9e2c3b50f1e37c"}},{"ruleId":"D1","level":"warning","message":{"text":"AnimationExport.AnimationExport.createSegment (cyclomatic 22): AnimationExport.AnimationExport.createSegment has cyclomatic complexity 22 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 7 belong to 2 function literals inside it that branch. 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/webapp/js/diagramly/gif/AnimationExport.js"},"region":{"startLine":1189}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7cc67ec2fc312ad95337b70dc492d3297a44937219377922f952d79f6152e36"}},{"ruleId":"D1","level":"warning","message":{"text":"mxGraphMlCodec.mxGraphMlCodec.importEdge (cyclomatic 22): mxGraphMlCodec.mxGraphMlCodec.importEdge has cyclomatic complexity 22 (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/webapp/js/diagramly/graphml/mxGraphMlCodec.js"},"region":{"startLine":2050}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b98809ae8cd34a017a563e9ede365280dd649230fef32d388c7f78bee46e9c4"}},{"ruleId":"D1","level":"warning","message":{"text":"mxGraphMlCodec.mxGraphMlCodec.addEdgeStyle (cyclomatic 22): mxGraphMlCodec.mxGraphMlCodec.addEdgeStyle has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 1 of the 22 points is its own statement and the rest belongs to 7 function items inside it that branch (dashStyleFn, desktopLineStyleFn, endArrowFill, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/graphml/mxGraphMlCodec.js"},"region":{"startLine":2310}}}],"partialFingerprints":{"codehealthFindingId/v1":"b008dd2c5c5a8b1391e74e366cc64567be105019417e7f2dab76d5ef37936401"}},{"ruleId":"D1","level":"warning","message":{"text":"TidyStyle.Tidy.styleTheme (cyclomatic 22): TidyStyle.Tidy.styleTheme has cyclomatic complexity 22 (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/webapp/js/diagramly/tidy/TidyStyle.js"},"region":{"startLine":1599}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd9c66e793168e3a56d2dfbbb6583fecc685a12c9e9d73f8007f3d1dbd50ab1b"}},{"ruleId":"D1","level":"warning","message":{"text":"TidyStyle.Tidy.prepareStyle (cyclomatic 22): TidyStyle.Tidy.prepareStyle has cyclomatic complexity 22 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 9 belong to 2 function items inside it that branch. 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/webapp/js/diagramly/tidy/TidyStyle.js"},"region":{"startLine":2013}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fb3ca29db32676e4d123592ea69f9e542ff387abc9dc30c162015e10f216a4d"}},{"ruleId":"D1","level":"warning","message":{"text":"Dialogs.ColorDialog::buildFinalColor (cyclomatic 22): Dialogs.ColorDialog::buildFinalColor has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 2 other methods here (Dialogs.ColorDialog, Dialogs.ColorDialog::addCurrentToRecent) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Dialogs.js"},"region":{"startLine":798}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe213b8fc7837825f6c799aa9f577656d0ffb6a4ed7b4d47d3ef7a8a1c2dd81c"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.getPaletteStyle (cyclomatic 22): EditorUi.EditorUi.getPaletteStyle has cyclomatic complexity 22 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 6 belong to 4 function items inside it that branch. 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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":3356}}}],"partialFingerprints":{"codehealthFindingId/v1":"95e60369567f8521a0682d5b5c376ce1cdf5c7eec2e51738041247b89b79b2b0"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.selectCellInDirection (cyclomatic 22): EditorUi.EditorUi.selectCellInDirection has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 7 of the 22 points are its own statements and the rest belongs to 3 function items inside it that branch (a function literal at line 4685, bounds, depth). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":4648}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab203d0d0fd9e0f8b62cb7ba2a134baed10d3c57de37a392d7c97bf74760b9c8"}},{"ruleId":"D1","level":"warning","message":{"text":"Format.BaseFormatPanel.createStepper (cyclomatic 22): Format.BaseFormatPanel.createStepper has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 3 of the 22 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 1237, changeValue, a function literal at line 1262, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Format.js"},"region":{"startLine":1160}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a40d512f1241905870c89079ac7a4d0cf20590b78d8ef83f8f89a55174ce2e3"}},{"ruleId":"D1","level":"warning","message":{"text":"Format.ArrangePanel.addGroupPadding (cyclomatic 22): Format.ArrangePanel.addGroupPadding has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 7 of the 22 points are its own statements and the rest belongs to 3 function items inside it that branch (a function literal at line 4020, a function literal at line 3997, isUniform). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Format.js"},"region":{"startLine":3969}}}],"partialFingerprints":{"codehealthFindingId/v1":"fde0531162efe55e2e9aa168e5cbe6d38853a5621f83f959239532c39f2c5ef2"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.Graph.isStyleAllowed::isTokenAllowed (cyclomatic 22): Graph.Graph.isStyleAllowed::isTokenAllowed has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: Graph.Graph.init (cyclomatic 24) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":4954}}}],"partialFingerprints":{"codehealthFindingId/v1":"72ebdfbc851bd5b20fd6a77369901f46bc21d413f5d2608faf7a88767c3ab3bd"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.Graph.initTransparentBoundsStyleSync (cyclomatic 22): Graph.Graph.initTransparentBoundsStyleSync has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 1 of the 22 points is its own statement and the rest belongs to one function literal inside it that branches (line 9077). The decisions are inside the literal, 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 literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest. This is NOT this file\u0027s highest cyclomatic complexity: Graph.Graph.init (cyclomatic 24) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":9075}}}],"partialFingerprints":{"codehealthFindingId/v1":"451e8c1ad464437ba1d9477cb4f4c45885ab429c82d3029dcc5aa8585d2b5623"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.Graph.getSequenceMessageRow (cyclomatic 22): Graph.Graph.getSequenceMessageRow has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 5 of the 22 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 10758, 10753). 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. This is NOT this file\u0027s highest cyclomatic complexity: Graph.Graph.init (cyclomatic 24) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":10742}}}],"partialFingerprints":{"codehealthFindingId/v1":"fac8e07b75d611722c176313d6d9053cff5eb019f231f94a20af23ef378c990e"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.Graph.elkConfigToOptions (cyclomatic 22): Graph.Graph.elkConfigToOptions has cyclomatic complexity 22 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This is NOT this file\u0027s highest cyclomatic complexity: Graph.Graph.init (cyclomatic 24) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":14874}}}],"partialFingerprints":{"codehealthFindingId/v1":"074f1fa1a1d10c86f1b7e28b00e277538295fa2df179f391ea2dc5270b739243"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.Graph.paintTableCellLines (cyclomatic 22): Graph.Graph.paintTableCellLines has cyclomatic complexity 22 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: Graph.Graph.init (cyclomatic 24) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":25343}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fedd22cedc2775c0e3220aac754174276c1cc7f389a59675ef14365f4f8ab69"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.mxCellRenderer.getPaintedLabelBox (cyclomatic 22): Graph.mxCellRenderer.getPaintedLabelBox has cyclomatic complexity 22 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This is NOT this file\u0027s highest cyclomatic complexity: Graph.Graph.init (cyclomatic 24) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":28522}}}],"partialFingerprints":{"codehealthFindingId/v1":"895b9bee2b1c86fe8f843a9a72fb35588593b2efd0c976281236a399b72be01c"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.mxEdgeStyle.SideToSide (cyclomatic 22): Graph.mxEdgeStyle.SideToSide has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: Graph.Graph.init (cyclomatic 24) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":32686}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a9d5ccc00228ae11419aec4e2aa3e0b379236a54f05900fff4499ca338f1b2a"}},{"ruleId":"D1","level":"warning","message":{"text":"Omnibox.Omnibox.getResults (cyclomatic 22): Omnibox.Omnibox.getResults has cyclomatic complexity 22 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. 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/webapp/js/grapheditor/Omnibox.js"},"region":{"startLine":2316}}}],"partialFingerprints":{"codehealthFindingId/v1":"0915e1078ce2ba00c6de394bde31d2f4ea666e1e3f5591cc0e2a892bb4925d0f"}},{"ruleId":"D1","level":"warning","message":{"text":"Shapes.mxShapeBasicRect2.moveNWInner (cyclomatic 22): Shapes.mxShapeBasicRect2.moveNWInner has cyclomatic complexity 22 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: one other method here (Shapes.mxShapeBasicRect2.lineNWInner) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":7401}}}],"partialFingerprints":{"codehealthFindingId/v1":"f14e4576ae607f17e95fa346823de8100718aaa21543fbf7a9ee2000e2e4b10b"}},{"ruleId":"D1","level":"warning","message":{"text":"Shapes.mxShapeBasicRect2.lineNWInner (cyclomatic 22): Shapes.mxShapeBasicRect2.lineNWInner has cyclomatic complexity 22 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: one other method here (Shapes.mxShapeBasicRect2.moveNWInner) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":7431}}}],"partialFingerprints":{"codehealthFindingId/v1":"210da1b2275093c1dce4fdc443b4693e56a02e9e959ca22993fdfec0445833a2"}},{"ruleId":"D1","level":"warning","message":{"text":"mxGraphHandler.mxGraphHandler.moveCells (cyclomatic 22): mxGraphHandler.mxGraphHandler.moveCells has cyclomatic complexity 22 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/handler/mxGraphHandler.js"},"region":{"startLine":2010}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dbf79e432ab215a28e99ad3ce3be6b09646f9ccc8fde399f4288bafdab641b6"}},{"ruleId":"D1","level":"warning","message":{"text":"mxSwimlane.mxSwimlane.paintSwimlane (cyclomatic 22): mxSwimlane.mxSwimlane.paintSwimlane has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (mxSwimlane.mxSwimlane.paintRoundedSwimlane) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/shape/mxSwimlane.js"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"82afb23517cd79fd3f8d1219e3595b8eb434bf671a0199705329c8b70c090cb0"}},{"ruleId":"D1","level":"warning","message":{"text":"mxSwimlane.mxSwimlane.paintRoundedSwimlane (cyclomatic 22): mxSwimlane.mxSwimlane.paintRoundedSwimlane has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (mxSwimlane.mxSwimlane.paintSwimlane) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/shape/mxSwimlane.js"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"521b020c87dc21eb240e22e5e927990b797cb9c0fe577d19e041c05ec4d0cbbd"}},{"ruleId":"D1","level":"warning","message":{"text":"mxSvgCanvas2D.mxSvgCanvas2D.wrapSvgBlockElements (cyclomatic 22): mxSvgCanvas2D.mxSvgCanvas2D.wrapSvgBlockElements has cyclomatic complexity 22 (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/webapp/mxgraph/src/util/mxSvgCanvas2D.js"},"region":{"startLine":3215}}}],"partialFingerprints":{"codehealthFindingId/v1":"985ad521b119c56394c5b3a42885395e1b3f4c3c97dc9882c47ca8c2dc80898d"}},{"ruleId":"D1","level":"warning","message":{"text":"mxGraph.mxGraph.getEdges (cyclomatic 22): mxGraph.mxGraph.getEdges has cyclomatic complexity 22 (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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":12915}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c933c2b17db73ec80d18dceff4e4982348ac99fa4e9ecf514b4f22bfa18763f"}},{"ruleId":"D1","level":"warning","message":{"text":"mxPrintPreview.mxPrintPreview.addGraphFragment (cyclomatic 22): mxPrintPreview.mxPrintPreview.addGraphFragment has cyclomatic complexity 22 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 6 belong to one function literal inside it that branches. 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/webapp/mxgraph/src/view/mxPrintPreview.js"},"region":{"startLine":963}}}],"partialFingerprints":{"codehealthFindingId/v1":"23a164b1f2f97b9778367ce6570faa092bd5e871b00fa6280d6c93a269493402"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::processExtras (cyclomatic 22): (anonymous)::processExtras has cyclomatic complexity 22 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":5679}}}],"partialFingerprints":{"codehealthFindingId/v1":"efb9f248ac33630d7d5490180333e979971fee2adeaf3314499365993eba4676"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::getFontColor$com_mxgraph_io_vsdx_theme_QuickStyleVals$java_util_ArrayList (cyclomatic 22): (anonymous)::getFontColor$com_mxgraph_io_vsdx_theme_QuickStyleVals$java_util_ArrayList has cyclomatic complexity 22 (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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":6263}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad9dcda74f79a07ce041eb4603969a9dc9a93b0c1adffe067faaa42ff48d02db"}},{"ruleId":"D1","level":"warning","message":{"text":"addProperties::createPropertyRow (cyclomatic 22): addProperties::createPropertyRow has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":9534}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d2a44f9392ec021c0b5fb272d3cdf03f0a59ddb95088660a8bae7f90cf90b7f"}},{"ruleId":"D1","level":"warning","message":{"text":"init::(anonymous)::setSharedState (cyclomatic 22): init::(anonymous)::setSharedState has cyclomatic complexity 22 (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/webapp/js/diagramly/Menus.js"},"region":{"startLine":5082}}}],"partialFingerprints":{"codehealthFindingId/v1":"deac810604b0cae4ffeb876d4ad8d06670b420a0e85dd70e3bc8612bdf892409"}},{"ruleId":"D1","level":"warning","message":{"text":"getPrettyXml (cyclomatic 22): getPrettyXml has cyclomatic complexity 22 (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/webapp/mxgraph/src/util/mxUtils.js"},"region":{"startLine":1282}}}],"partialFingerprints":{"codehealthFindingId/v1":"896e08244b24f7e0134b4676ed38da95a3415bf74e35d937648d48b7d2c97351"}},{"ruleId":"D1","level":"warning","message":{"text":"SideToSide (cyclomatic 22): SideToSide has cyclomatic complexity 22 (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/webapp/mxgraph/src/view/mxEdgeStyle.js"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"b45e13ba14bbe030a2c30cb8cbc6756fe792cefe595d4ab3cfef2ecf852a3963"}},{"ruleId":"D1","level":"warning","message":{"text":"mxPanningManager::panTo (cyclomatic 22): mxPanningManager::panTo has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxPanningManager.js"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"7478dc475e8ffea667148babc2dd30c196c6dd677b28ed10f456d6eee00db557"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::decode (cyclomatic 22): (anonymous)::decode has cyclomatic complexity 22 (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/webapp/mxgraph/src/io/mxStylesheetCodec.js"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"4893a8f249d90c25d5a50728a2a4b54a706dc1069db65c3b9c218b233a23b463"}},{"ruleId":"D1","level":"warning","message":{"text":"mxReader.DrawioViewer.init (cyclomatic 21): mxReader.DrawioViewer.init has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 7 of the 21 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 254, 363, 234, \u2026). 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/webapp/connect/common/js/mxReader.js"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5caf99af89ac17e8134466b88ba8abd5c700d400677031a3d09f0acf425528b"}},{"ruleId":"D1","level":"warning","message":{"text":"App.App.loadTemplate (cyclomatic 21): App.App.loadTemplate has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 7 of the 21 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 6529, 6558). 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/webapp/js/diagramly/App.js"},"region":{"startLine":6513}}}],"partialFingerprints":{"codehealthFindingId/v1":"719891b37e6f7c92280641b856216caf1a431260450d963393a739c8c8f96f0f"}},{"ruleId":"D1","level":"warning","message":{"text":"App.App.fetchAndShowNotification (cyclomatic 21): App.App.fetchAndShowNotification has cyclomatic complexity 21 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 10 belong to 3 function literals inside it that branch. To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":8126}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b5eff8e51671195d37eb107aaa29d02221b77d8431787e1782e02245ffde063"}},{"ruleId":"D1","level":"warning","message":{"text":"ConfigEditor.DrawioConfigEditor.install.importConfig (cyclomatic 21): ConfigEditor.DrawioConfigEditor.install.importConfig has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 2 of the 21 points are its own statements and the rest belongs to one function literal inside it that branches (line 1187). The decisions are inside the literal, 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 literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ConfigEditor.js"},"region":{"startLine":1178}}}],"partialFingerprints":{"codehealthFindingId/v1":"c780f7a6acfa52ba174df56a687a722c8291eca86d766e9e602f1d44a619a0b3"}},{"ruleId":"D1","level":"warning","message":{"text":"Dialogs.PolygonDialog (cyclomatic 21): Dialogs.PolygonDialog has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (Dialogs.PolygonDialog::renderPolygon) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":25702}}}],"partialFingerprints":{"codehealthFindingId/v1":"49449f78317ee470a52bc361b0872c0dfcf960a789b528d5a2b957c7c43de408"}},{"ruleId":"D1","level":"warning","message":{"text":"DrawioFileSync.DrawioFileSync.getPendingPageUpdates (cyclomatic 21): DrawioFileSync.DrawioFileSync.getPendingPageUpdates has cyclomatic complexity 21 (threshold 15). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DrawioFileSync.js"},"region":{"startLine":2162}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e291f77da42d99dd95a6af62259a1aeb468c0032e68cf7cc4d1007c22826a94"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.getHtml (cyclomatic 21): EditorUi.EditorUi.getHtml has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: EditorUi.EditorUi.createSpinner (cyclomatic 30) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":3750}}}],"partialFingerprints":{"codehealthFindingId/v1":"b61ac9789dea6534d74b248c910b5b5fbf667019dad9c20d56d2f2bdf5b04740"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.loadDescriptor (cyclomatic 21): EditorUi.EditorUi.loadDescriptor has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 3 of the 21 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 4778, 4847, 4827, \u2026). 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. This is NOT this file\u0027s highest cyclomatic complexity: EditorUi.EditorUi.createSpinner (cyclomatic 30) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":4774}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d9506e223905880f364ef192a4e7fd1f7cb016c04c12a37912b1dc310ae99b0"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.showSearchWindow (cyclomatic 21): EditorUi.EditorUi.showSearchWindow has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: EditorUi.EditorUi.createSpinner (cyclomatic 30) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":6093}}}],"partialFingerprints":{"codehealthFindingId/v1":"77db132bd3b3f98ba9896cbc3922d464e174fc4be3b3c2200e94e2f8471e3f4d"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.isSelfContainedSvg (cyclomatic 21): EditorUi.EditorUi.isSelfContainedSvg has cyclomatic complexity 21 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 5 belong to 2 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This is NOT this file\u0027s highest cyclomatic complexity: EditorUi.EditorUi.createSpinner (cyclomatic 30) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":20669}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3ceb50f07f721eeaa5b9827fdb397e2873e6fb6887389184b96610a17ffc562"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.mxChildChange.execute::collect (cyclomatic 21): EditorUi.mxChildChange.execute::collect has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (EditorUi.mxChildChange.execute) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This is NOT this file\u0027s highest cyclomatic complexity: EditorUi.EditorUi.createSpinner (cyclomatic 30) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":22347}}}],"partialFingerprints":{"codehealthFindingId/v1":"21063957a85f40e5e1e27213461f0f74ed5ae8da54b8ea6fe4acffe2603fc88a"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.placeRestoredEdgeLabels (cyclomatic 21): EditorUi.EditorUi.placeRestoredEdgeLabels has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: EditorUi.EditorUi.createSpinner (cyclomatic 30) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":28993}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1c705840211178ca627410b75268a6889b37d99e6970cbd1aa3be3ef2cda376"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.installKeyboardShortcut (cyclomatic 21): EditorUi.EditorUi.installKeyboardShortcut has cyclomatic complexity 21 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: EditorUi.EditorUi.createSpinner (cyclomatic 30) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":32289}}}],"partialFingerprints":{"codehealthFindingId/v1":"b98e4fcbd8f39f8a9d28afd7115f5aa4bc611c738a637fb40d45e068651d50d4"}},{"ruleId":"D1","level":"warning","message":{"text":"LayoutPicker.EditorUi.showLayoutPicker (cyclomatic 21): LayoutPicker.EditorUi.showLayoutPicker has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 9 of the 21 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 3542, a function literal at line 3437, a function literal at line 3429, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/LayoutPicker.js"},"region":{"startLine":3370}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eef8f2e292aa80ad725c155abf135729c343e2a9a8bb397cf0262ef80c7726b"}},{"ruleId":"D1","level":"warning","message":{"text":"SpringMove.SpringMove.render (cyclomatic 21): SpringMove.SpringMove.render has cyclomatic complexity 21 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/SpringMove.js"},"region":{"startLine":1216}}}],"partialFingerprints":{"codehealthFindingId/v1":"19c80c0397fd2774f42e6ffffeeff148759ed5eedd69babd9ba5e8b6492a1c20"}},{"ruleId":"D1","level":"warning","message":{"text":"TrelloClient.TrelloClient.getFile (cyclomatic 21): TrelloClient.TrelloClient.getFile has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 2 of the 21 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 128, 158, 211, \u2026). 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/webapp/js/diagramly/TrelloClient.js"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"993ab6387d40f838c3f1bbed47c9a930870717551a765d770598de0596dd357a"}},{"ruleId":"D1","level":"warning","message":{"text":"AnimatedExport.AnimatedGifExport.renderFrames (cyclomatic 21): AnimatedExport.AnimatedGifExport.renderFrames has cyclomatic complexity 21 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 10 belong to 3 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/gif/AnimatedExport.js"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d8bbf6989cd99272cb41509539a80122ba23e27268cf8d2f10683104cdee86a"}},{"ruleId":"D1","level":"warning","message":{"text":"Tidy.Tidy.ops.attachTexts (cyclomatic 21): Tidy.Tidy.ops.attachTexts has cyclomatic complexity 21 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. 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/webapp/js/diagramly/tidy/Tidy.js"},"region":{"startLine":1631}}}],"partialFingerprints":{"codehealthFindingId/v1":"0acc5d4030e8e9bf8f336de4d49c3e895b52c8109360562d38fa51b383c3d829"}},{"ruleId":"D1","level":"warning","message":{"text":"Tidy.Tidy.applyChange (cyclomatic 21): Tidy.Tidy.applyChange has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/tidy/Tidy.js"},"region":{"startLine":3335}}}],"partialFingerprints":{"codehealthFindingId/v1":"91c8093cbec376fe8af62160075ef617a4a3f0d1300c2034f523af63d1e0a7be"}},{"ruleId":"D1","level":"warning","message":{"text":"Dialogs.ColorDialog::addCurrentToRecent (cyclomatic 21): Dialogs.ColorDialog::addCurrentToRecent has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 2 other methods here (Dialogs.ColorDialog, Dialogs.ColorDialog::buildFinalColor) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Dialogs.js"},"region":{"startLine":862}}}],"partialFingerprints":{"codehealthFindingId/v1":"356c9220a9a3ee23e15690f4346529298e400a015f09ae6a142862ae355ff62c"}},{"ruleId":"D1","level":"warning","message":{"text":"Editor.Editor.extractGraphModelFromPng (cyclomatic 21): Editor.Editor.extractGraphModelFromPng has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 8 of the 21 points are its own statements and the rest belongs to one function literal inside it that branches (line 936). The decisions are inside the literal, 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 literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Editor.js"},"region":{"startLine":925}}}],"partialFingerprints":{"codehealthFindingId/v1":"f235d31bc1ed3d9b19c6600a9807e1dff2be0550133584567d959ed6045cfffa"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.isArrowKeyEvent (cyclomatic 21): EditorUi.EditorUi.isArrowKeyEvent has cyclomatic complexity 21 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":4410}}}],"partialFingerprints":{"codehealthFindingId/v1":"c82c067897f081109d4983a53819593df73de514c7ea9fc38ef98c53750abfb4"}},{"ruleId":"D1","level":"warning","message":{"text":"Format.Format.immediateRefresh (cyclomatic 21): Format.Format.immediateRefresh has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 8 of the 21 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 338, 336). 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/webapp/js/grapheditor/Format.js"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"523871f858333ccae8300076e92572363b90dc68bee8b3efc79ae5dce7ebffba"}},{"ruleId":"D1","level":"warning","message":{"text":"Format.ArrangePanel.addEdgeWaypoints (cyclomatic 21): Format.ArrangePanel.addEdgeWaypoints has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 7 of the 21 points are its own statements and the rest belongs to 4 function items inside it that branch (addUpdate::update, a function literal at line 4712, a function literal at line 4632, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Format.js"},"region":{"startLine":4592}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f7937fa7edc1cedb0397018e1b3aa15a7a3972fedfc093d5c3f1cca2d64afe7"}},{"ruleId":"D1","level":"warning","message":{"text":"Format.TextFormatPanel.getMatchConnectorChanges (cyclomatic 21): Format.TextFormatPanel.getMatchConnectorChanges has cyclomatic complexity 21 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. 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/webapp/js/grapheditor/Format.js"},"region":{"startLine":4944}}}],"partialFingerprints":{"codehealthFindingId/v1":"697af56fe12dffd3e7c390c1a8897fe3f94912ffa8e2a431f1034ab188a93b28"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.Graph.isDataSourceColumn (cyclomatic 21): Graph.Graph.isDataSourceColumn has cyclomatic complexity 21 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This is NOT this file\u0027s highest cyclomatic complexity: Graph.Graph.init (cyclomatic 24) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":18789}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5156866d89a15d082048f517844dc6ac60410c1b7601c02382213ff009fb93e"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.Graph.foldCells (cyclomatic 21): Graph.Graph.foldCells has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: Graph.Graph.init (cyclomatic 24) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":19851}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0f067241d687493816b83d42bfe673e57b360870ab66a708a23711cb22846cb"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.Graph.unbundleCells (cyclomatic 21): Graph.Graph.unbundleCells has cyclomatic complexity 21 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 4 belong to 2 function items inside it that branch. To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions. This is NOT this file\u0027s highest cyclomatic complexity: Graph.Graph.init (cyclomatic 24) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":20986}}}],"partialFingerprints":{"codehealthFindingId/v1":"208af654eeff82def556a25d01374e5813ef5633b5a0cf045c1933ab0e4bf910"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.Graph.getTransparentChildBounds (cyclomatic 21): Graph.Graph.getTransparentChildBounds has cyclomatic complexity 21 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: Graph.Graph.init (cyclomatic 24) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":21400}}}],"partialFingerprints":{"codehealthFindingId/v1":"715dd63cff415a0461a66cb41c2a60a5925372781cbc620c3ce65fc458ac1fa1"}},{"ruleId":"D1","level":"warning","message":{"text":"Shapes.TableShape.addCollapsedRegionPath (cyclomatic 21): Shapes.TableShape.addCollapsedRegionPath has cyclomatic complexity 21 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"92819defb692ba86c7aa8b22f5ed5c534cb9d5e80f1fc1723f8c42add66f08ed"}},{"ruleId":"D1","level":"warning","message":{"text":"Shapes.TaperedArrowShape.paintTaperedLine (cyclomatic 21): Shapes.TaperedArrowShape.paintTaperedLine has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":7717}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c35df4ba2e427ae22be6d090e6b96c06124c72abfa2ad73f61e038c62f7559d"}},{"ruleId":"D1","level":"warning","message":{"text":"Toolbar.Toolbar.createTextToolbar (cyclomatic 21): Toolbar.Toolbar.createTextToolbar has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 1 of the 21 points is its own statement and the rest belongs to 11 function literals inside it that branch (lines 325, 286, 339, \u2026). 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/webapp/js/grapheditor/Toolbar.js"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa16583125bd37485ce5140cfe6407530f75417b7af4bc31ff09fb5dfa4608ff"}},{"ruleId":"D1","level":"warning","message":{"text":"open.main (cyclomatic 21): open.main has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 4 of the 21 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 54, 166, 152, \u2026). 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/webapp/js/open.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3caa79463faf85b9eb78831df1c7b08f9da0830fb2fc3084e81fc447d2ae81e"}},{"ruleId":"D1","level":"warning","message":{"text":"mxConnectionHandler.mxConnectionHandler.mouseUp (cyclomatic 21): mxConnectionHandler.mxConnectionHandler.mouseUp has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/handler/mxConnectionHandler.js"},"region":{"startLine":1738}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a3974372ae991835056c7bb5fa73e4641243837999b08f56077147056724250"}},{"ruleId":"D1","level":"warning","message":{"text":"mxGraphHandler.mxGraphHandler.mouseDown (cyclomatic 21): mxGraphHandler.mxGraphHandler.mouseDown has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/handler/mxGraphHandler.js"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"7df4b97f35fafec6a573c3cb49a62f52809f577e80ea2dee335bc2105051e37d"}},{"ruleId":"D1","level":"warning","message":{"text":"mxText.mxText.updateValue (cyclomatic 21): mxText.mxText.updateValue has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/shape/mxText.js"},"region":{"startLine":1033}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8de00eb9f06428c30670ce9bd8eb53b1369f3395150f40926b33481d7e127d2"}},{"ruleId":"D1","level":"warning","message":{"text":"mxPopupMenu.mxPopupMenu.documentKeyDown (cyclomatic 21): mxPopupMenu.mxPopupMenu.documentKeyDown has cyclomatic complexity 21 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxPopupMenu.js"},"region":{"startLine":960}}}],"partialFingerprints":{"codehealthFindingId/v1":"72dc515a658f071e28f0e78431e8e402b604df49b03ec789915cc9df847bb34a"}},{"ruleId":"D1","level":"warning","message":{"text":"mxCellEditor.mxCellEditor.startEditing (cyclomatic 21): mxCellEditor.mxCellEditor.startEditing has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 10 of the 21 points are its own statements and the rest belongs to one function literal inside it that branches (line 889). The decisions are inside the literal, 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 literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxCellEditor.js"},"region":{"startLine":840}}}],"partialFingerprints":{"codehealthFindingId/v1":"aee8e2cc1fde8e90a4832cc4133879cd95f22bbbf04211a0c360e1627a7b474f"}},{"ruleId":"D1","level":"warning","message":{"text":"mxCellRenderer.mxCellRenderer.insertStateAfter (cyclomatic 21): mxCellRenderer.mxCellRenderer.insertStateAfter has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: mxCellRenderer.mxCellRenderer.isTextShapeInvalid (cyclomatic 23) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxCellRenderer.js"},"region":{"startLine":1666}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbb165e51877612a77cc358f168cfe4ef84bf128bebbfd126956e66b9c3b7155"}},{"ruleId":"D1","level":"warning","message":{"text":"mxGraph.mxGraph.intersectsEdgeShape (cyclomatic 21): mxGraph.mxGraph.intersectsEdgeShape has cyclomatic complexity 21 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. 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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":12661}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7bc04fe6becd731146d728b89eb749a12bc2b271a8bf7824bc2c6ad480b5eb5"}},{"ruleId":"D1","level":"warning","message":{"text":"mxGraphView.mxGraphView.validateCells (cyclomatic 21): mxGraphView.mxGraphView.validateCells has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxGraphView.js"},"region":{"startLine":1174}}}],"partialFingerprints":{"codehealthFindingId/v1":"319b80c953e4372949aff5e725b10b53c0a2cf95723be3cc2ea9d8af2dc506bc"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::addEdgeSublabel (cyclomatic 21): (anonymous)::addEdgeSublabel has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":2165}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6d3932ba3bf6c49c0d6e2a98cda4d931d12e443800b5d36ce998f66531f8bca"}},{"ruleId":"D1","level":"warning","message":{"text":"createRoughCanvas (cyclomatic 21): createRoughCanvas has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 1 of the 21 points is its own statement and the rest belongs to 4 function items inside it that branch (draw, fillSketch, _drawToContext, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":2031}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e9ae69700252df68e55896f4623a1fe690c13fec5d7ff90a1e865412b40ee62"}},{"ruleId":"D1","level":"warning","message":{"text":"flexArrow (cyclomatic 21): flexArrow has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 3 of the 21 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 10180, 10251, 10149, \u2026). 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/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":10134}}}],"partialFingerprints":{"codehealthFindingId/v1":"931e2dd3541248fc7ffdf6d8f93cc24c13fffd3fc966bce5e1f2e19b8095469b"}},{"ruleId":"D1","level":"warning","message":{"text":"repairXml (cyclomatic 21): repairXml has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 2 of the 21 points are its own statements and the rest belongs to one function literal inside it that branches (line 1027). The decisions are inside the literal, 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 literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxUtils.js"},"region":{"startLine":1016}}}],"partialFingerprints":{"codehealthFindingId/v1":"67850837b4a67b9030e5767b1c5202269be77312b82983ff0d6973b7ae1eb272"}},{"ruleId":"D1","level":"warning","message":{"text":"setStyle (cyclomatic 21): setStyle has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxUtils.js"},"region":{"startLine":4867}}}],"partialFingerprints":{"codehealthFindingId/v1":"7db5133d389447c3e4955ee58f69b80c3665b6852bd3d6d9bdb10b756e5d894e"}},{"ruleId":"D1","level":"warning","message":{"text":"install.importConfig (cyclomatic 21): install.importConfig has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 2 of the 21 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 1187, 1210, 1222). 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/webapp/js/diagramly/ConfigEditor.js"},"region":{"startLine":1178}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5aaafe1f83eca4adcf875d5c6f7182cf7e06586ebe018adfbb38fa976a005c2"}},{"ruleId":"D1","level":"warning","message":{"text":"Loop (cyclomatic 21): Loop has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxEdgeStyle.js"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ed00391df3e7f233f52db655093ec0c89d8cff132c610898885a01eb61ceac8"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 21): (anonymous) has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Init.js"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"75228d13969b0de70d413493256a2c73f29c6f70d214adeefb3c09f2193d4879"}},{"ruleId":"D1","level":"warning","message":{"text":"App.App.pingVersion (cyclomatic 20): App.App.pingVersion has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d1c89bdc7968ab1dfb52dab489a118f3f3f4f2764f758faf0161d711cda9822"}},{"ruleId":"D1","level":"warning","message":{"text":"Dialogs.AnimationDialog::buildStepObject (cyclomatic 20): Dialogs.AnimationDialog::buildStepObject has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 5 other methods here (Dialogs.AnimationDialog, Dialogs.AnimationDialog::loadFromContext, Dialogs.AnimationDialog::formatSelectorText, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 6 times rather than 6 independent problems. Splitting this body alone leaves the other 5 exactly as they are. Where these are variations on one operation, the change that clears all 6 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":17015}}}],"partialFingerprints":{"codehealthFindingId/v1":"de4fa330455b1d2725dd83c6754c54f880c20c70d7a8b86a256d8430966caa5c"}},{"ruleId":"D1","level":"warning","message":{"text":"Dialogs.AnimationDialog.getFastForwardSteps (cyclomatic 20): Dialogs.AnimationDialog.getFastForwardSteps has cyclomatic complexity 20 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":17831}}}],"partialFingerprints":{"codehealthFindingId/v1":"9839a128235b8ae2ad50bfb1c377b34dafee363604e465bf39cacb97a1ab2e67"}},{"ruleId":"D1","level":"warning","message":{"text":"Dialogs.LibraryDialog (cyclomatic 20): Dialogs.LibraryDialog has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (Dialogs.LibraryDialog::addButton) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":19852}}}],"partialFingerprints":{"codehealthFindingId/v1":"cacb697a680600448c63a9bfbca89c3d1f380a7751570dee6a7a1ba92f5b5543"}},{"ruleId":"D1","level":"warning","message":{"text":"Dialogs.PolygonTool.init (cyclomatic 20): Dialogs.PolygonTool.init has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 3 of the 20 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 27290, 27379, 27318, \u2026). 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":27280}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bc121e415033418819d439093e50d4b20892c4ef3a0573588100eb55bba9d19"}},{"ruleId":"D1","level":"warning","message":{"text":"Dialogs.PolygonTool.keyChanged (cyclomatic 20): Dialogs.PolygonTool.keyChanged has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":27563}}}],"partialFingerprints":{"codehealthFindingId/v1":"29211999088aa0c57ac20bb23e26ede9658a87a09e4de128204519ff29f87797"}},{"ruleId":"D1","level":"warning","message":{"text":"DiffSync.EditorUi.getJsonForCell (cyclomatic 20): DiffSync.EditorUi.getJsonForCell has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DiffSync.js"},"region":{"startLine":2451}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4a57c70a453603392c1026ffb560579f1b530ee7bf3126ec125068c852c5acf"}},{"ruleId":"D1","level":"warning","message":{"text":"DiffSync.EditorUi.diffOwnCellProperties (cyclomatic 20): DiffSync.EditorUi.diffOwnCellProperties has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DiffSync.js"},"region":{"startLine":2675}}}],"partialFingerprints":{"codehealthFindingId/v1":"205887aa21a33042731f665c65506b2ca4389a025a4e5ec37e5d6d711c525cf7"}},{"ruleId":"D1","level":"warning","message":{"text":"DiffSync.EditorUi.isJsonEqual (cyclomatic 20): DiffSync.EditorUi.isJsonEqual has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DiffSync.js"},"region":{"startLine":3211}}}],"partialFingerprints":{"codehealthFindingId/v1":"9797a04d4aa7e97a359c1e56bc61c1abcdefd1fcb092aad5e4f9de863f884f13"}},{"ruleId":"D1","level":"warning","message":{"text":"DrawioFile.DrawioFile.absorbUnconfirmedRepairs (cyclomatic 20): DrawioFile.DrawioFile.absorbUnconfirmedRepairs has cyclomatic complexity 20 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. 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/webapp/js/diagramly/DrawioFile.js"},"region":{"startLine":1274}}}],"partialFingerprints":{"codehealthFindingId/v1":"01524e78fe8cdbd60cec1d6fbc154073149ca3f2e36b144f8490c295a8f66fcb"}},{"ruleId":"D1","level":"warning","message":{"text":"DrawioFileSync.DrawioFileSync.markLocalChanges (cyclomatic 20): DrawioFileSync.DrawioFileSync.markLocalChanges has cyclomatic complexity 20 (threshold 15). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DrawioFileSync.js"},"region":{"startLine":2403}}}],"partialFingerprints":{"codehealthFindingId/v1":"492ec972033f84b3386a9e29f51154b8f8998e616e5967696d765bc9b713da73"}},{"ruleId":"D1","level":"warning","message":{"text":"DriveClient.DriveClient.getFile (cyclomatic 20): DriveClient.DriveClient.getFile has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 8 of the 20 points are its own statements and the rest belongs to 2 function items inside it that branch (a function literal at line 1868, checkAnswer). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DriveClient.js"},"region":{"startLine":1820}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ef65456d97a26bad09f89f320147d1ab6f13cd858de77bda594f28157e1b624"}},{"ruleId":"D1","level":"warning","message":{"text":"Editor.Editor.loadUrl (cyclomatic 20): Editor.Editor.loadUrl has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 9 of the 20 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 6936, 6980, 6974). 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. This is NOT this file\u0027s highest cyclomatic complexity: Editor.Editor.createRoughCanvas (cyclomatic 21) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":6925}}}],"partialFingerprints":{"codehealthFindingId/v1":"8237936d950f2e01fa7e1ac47375acae9e9e132632f226b8ce3e774b36f0bc98"}},{"ruleId":"D1","level":"warning","message":{"text":"Editor.Graph.addFont (cyclomatic 20): Editor.Graph.addFont has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: Editor.Editor.createRoughCanvas (cyclomatic 21) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":10723}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c855fd6430a2c82237393dfdbe60ed53e7455995a97228dff91ca43b7647525"}},{"ruleId":"D1","level":"warning","message":{"text":"Editor.Graph.getCustomLinkTitle (cyclomatic 20): Editor.Graph.getCustomLinkTitle has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: Editor.Editor.createRoughCanvas (cyclomatic 21) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":12039}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cd567c6dcee6cf0786691f9ef678eba256725d41fbb426d5a5a5bb650a6590b"}},{"ruleId":"D1","level":"warning","message":{"text":"Editor.Graph.getCellsForTags (cyclomatic 20): Editor.Graph.getCellsForTags has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: Editor.Editor.createRoughCanvas (cyclomatic 21) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":14032}}}],"partialFingerprints":{"codehealthFindingId/v1":"d45bf3bbc85e7b0fe053aeb243b0bac22a0b25b61ee7cb68b56b7ea0053c18e3"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.startUiLog (cyclomatic 20): EditorUi.EditorUi.startUiLog has cyclomatic complexity 20 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 9 belong to 3 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This is NOT this file\u0027s highest cyclomatic complexity: EditorUi.EditorUi.createSpinner (cyclomatic 30) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":833}}}],"partialFingerprints":{"codehealthFindingId/v1":"567786f95dc8a2f6662f8bcbfe151edc6dc7503639e64af3d461846e9da9279a"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.createExportPresetsRow (cyclomatic 20): EditorUi.EditorUi.createExportPresetsRow has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 1 of the 20 points is its own statement and the rest belongs to 5 function items inside it that branch (a function literal at line 11697, a function literal at line 11647, a function literal at line 11707, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest. This is NOT this file\u0027s highest cyclomatic complexity: EditorUi.EditorUi.createSpinner (cyclomatic 30) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":11632}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb93457a43705a8d7768327bc77d1fcac0cecdca960bc7fabfbbd6c93eef39e6"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.createEmbedImage (cyclomatic 20): EditorUi.EditorUi.createEmbedImage has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 8 of the 20 points are its own statements and the rest belongs to 3 function items inside it that branch (doUpdate, a function literal at line 13077, a function literal at line 13043). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest. This is NOT this file\u0027s highest cyclomatic complexity: EditorUi.EditorUi.createSpinner (cyclomatic 30) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":13000}}}],"partialFingerprints":{"codehealthFindingId/v1":"718439156a932d876be8461177b76e8de438beb5d5f922edfdbb7cf12151c3da"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.installStatusMinimizer (cyclomatic 20): EditorUi.EditorUi.installStatusMinimizer has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 2 of the 20 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 25369, 25353, 25361). 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. This is NOT this file\u0027s highest cyclomatic complexity: EditorUi.EditorUi.createSpinner (cyclomatic 30) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":25348}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6fb124aeb9bcad4bcf770b1f07b42986bce5590b41423d12bc9335e33f2dbaf"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.installImagePasteHandler (cyclomatic 20): EditorUi.EditorUi.installImagePasteHandler has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 1 of the 20 points is its own statement and the rest belongs to 5 function literals inside it that branch (lines 29418, 29463, 29454, \u2026). 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. This is NOT this file\u0027s highest cyclomatic complexity: EditorUi.EditorUi.createSpinner (cyclomatic 30) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":29414}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cc41022af43edcd27b46527136c76984cb5d3a3f340c8ebffd8a4e2c69e19c2"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.createLayoutAddSelect (cyclomatic 20): EditorUi.EditorUi.createLayoutAddSelect has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 9 of the 20 points are its own statements and the rest belongs to one function literal inside it that branches (line 34496). The decisions are inside the literal, 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 literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest. This is NOT this file\u0027s highest cyclomatic complexity: EditorUi.EditorUi.createSpinner (cyclomatic 30) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":34428}}}],"partialFingerprints":{"codehealthFindingId/v1":"836821e3ce71218e1893b4a7a7171c0ed09fc69c71ba13dd5d7fd3fcec242b2a"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.parseBoxNames (cyclomatic 20): EditorUi.EditorUi.parseBoxNames has cyclomatic complexity 20 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions. This is NOT this file\u0027s highest cyclomatic complexity: EditorUi.EditorUi.createSpinner (cyclomatic 30) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":36119}}}],"partialFingerprints":{"codehealthFindingId/v1":"eec004026806b18257854a5bac5568e32ccbd26a9f1cf4881213b01207af5219"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.parseCsvList (cyclomatic 20): EditorUi.EditorUi.parseCsvList has cyclomatic complexity 20 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This is NOT this file\u0027s highest cyclomatic complexity: EditorUi.EditorUi.createSpinner (cyclomatic 30) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":39512}}}],"partialFingerprints":{"codehealthFindingId/v1":"36d689adfe01505f3bfb5d9349aa66de7a90e64a479875560c5bf5f31c5560e4"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.showRemotelyStoredLibrary (cyclomatic 20): EditorUi.EditorUi.showRemotelyStoredLibrary has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 6 of the 20 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 42467, 42406, 42444, \u2026). 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. This is NOT this file\u0027s highest cyclomatic complexity: EditorUi.EditorUi.createSpinner (cyclomatic 30) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":42367}}}],"partialFingerprints":{"codehealthFindingId/v1":"30823cebb3dac87eb90051304e15379c6cc89e6ae3f2206056565b540a6acbf3"}},{"ruleId":"D1","level":"warning","message":{"text":"ForceExplorer.ForceExplorer.collideLabels (cyclomatic 20): ForceExplorer.ForceExplorer.collideLabels has cyclomatic complexity 20 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. 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/webapp/js/diagramly/ForceExplorer.js"},"region":{"startLine":3023}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2940949ae3a583087bc8366b0b2b90b5a8fffb271287d2dea2ac2ad93369bad"}},{"ruleId":"D1","level":"warning","message":{"text":"HomeDialog.HomeDialog.load (cyclomatic 20): HomeDialog.HomeDialog.load has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 9 of the 20 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 339, 355). 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/webapp/js/diagramly/HomeDialog.js"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"08ac6b63b3054f25ffce6840c1f6df50bbdaa0f05c4a42b7e0e3467ec921d31b"}},{"ruleId":"D1","level":"warning","message":{"text":"LayoutPicker.LayoutPanel.updatePreviewStyles (cyclomatic 20): LayoutPicker.LayoutPanel.updatePreviewStyles has cyclomatic complexity 20 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/LayoutPicker.js"},"region":{"startLine":2920}}}],"partialFingerprints":{"codehealthFindingId/v1":"e96a5f8be9cea21e2a94745d2664eee2129bbf5a69007f707fc48ce31f314e4a"}},{"ruleId":"D1","level":"warning","message":{"text":"LayoutPicker.EditorUi.doShowLayoutSettings (cyclomatic 20): LayoutPicker.EditorUi.doShowLayoutSettings has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (LayoutPicker.EditorUi.doShowLayoutSettings::renderOptions) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/LayoutPicker.js"},"region":{"startLine":3601}}}],"partialFingerprints":{"codehealthFindingId/v1":"412d8c8f2279ad8361e593ef5ce57a4146c0733992a04a32c9182c99c76c85e5"}},{"ruleId":"D1","level":"warning","message":{"text":"LibavoidRouting.LibavoidRouting.addResizePreviewRoutes (cyclomatic 20): LibavoidRouting.LibavoidRouting.addResizePreviewRoutes has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/LibavoidRouting.js"},"region":{"startLine":4191}}}],"partialFingerprints":{"codehealthFindingId/v1":"b805383f28500f994f5989bd2e419867eb97ac8d359c596b07e7c74d9ec955d0"}},{"ruleId":"D1","level":"warning","message":{"text":"Pages.Graph.setViewState (cyclomatic 20): Pages.Graph.setViewState has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Pages.js"},"region":{"startLine":1805}}}],"partialFingerprints":{"codehealthFindingId/v1":"7473d23b6f2c03cf29023a4c031c1fa531a2132c749c51bf890fa0ef5eafdcc2"}},{"ruleId":"D1","level":"warning","message":{"text":"Pages.EditorUi.moveDraggedTabsOutsideGroups (cyclomatic 20): Pages.EditorUi.moveDraggedTabsOutsideGroups has cyclomatic complexity 20 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. 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/webapp/js/diagramly/Pages.js"},"region":{"startLine":3775}}}],"partialFingerprints":{"codehealthFindingId/v1":"853f748a9eca042f884a92222dba7b647457b0f6c3f6bb8391389b535cd252a7"}},{"ruleId":"D1","level":"warning","message":{"text":"SpringMove.SpringMove.init (cyclomatic 20): SpringMove.SpringMove.init has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/SpringMove.js"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cc0fb5a6a41bc8db08aa05b3bd5ab3762fcc28844c1dd167dd6cb7210e02203"}},{"ruleId":"D1","level":"warning","message":{"text":"Tidy.Tidy.isContainment (cyclomatic 20): Tidy.Tidy.isContainment has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/tidy/Tidy.js"},"region":{"startLine":971}}}],"partialFingerprints":{"codehealthFindingId/v1":"99f6c3eace3a3e84c73a563f429dddebcdac875e76ec9575b05076e88161c1f5"}},{"ruleId":"D1","level":"warning","message":{"text":"TidyFeatures.TidyFeatures.rank (cyclomatic 20): TidyFeatures.TidyFeatures.rank has cyclomatic complexity 20 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/tidy/TidyFeatures.js"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2045de27279e2774dd22300de47b626a7949d1138ff48f90a07130a51ef4fac"}},{"ruleId":"D1","level":"warning","message":{"text":"TidyWindow.TidyWindow.previewStyles (cyclomatic 20): TidyWindow.TidyWindow.previewStyles has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/tidy/TidyWindow.js"},"region":{"startLine":1206}}}],"partialFingerprints":{"codehealthFindingId/v1":"de9ac848d66e4e2c6eafd5916414db908f0fd7e499ebb044b5947ce3676bdab7"}},{"ruleId":"D1","level":"warning","message":{"text":"Editor.Dialog (cyclomatic 20): Editor.Dialog has cyclomatic complexity 20 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Editor.js"},"region":{"startLine":2220}}}],"partialFingerprints":{"codehealthFindingId/v1":"d452525ce70d101d92b87f07345c7038860c047db74f8786001560efca0a203e"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.init (cyclomatic 20): EditorUi.EditorUi.init has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 6 of the 20 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 1412, 1462, 1442). 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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":1396}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c8bbfe5407a4540e0dd4b212844be8aeacce0633a484fcdd071c9f9c8b034de"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.Graph.createShapeInsideMarkup (cyclomatic 20): Graph.Graph.createShapeInsideMarkup has cyclomatic complexity 20 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 9 belong to 2 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: Graph.Graph.init (cyclomatic 24) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":7364}}}],"partialFingerprints":{"codehealthFindingId/v1":"defbd52b46f4e828cb7e1797347a10907a84aa998455bd5a30ed9c58acc3597f"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.Graph.measureShapeInsideFlow (cyclomatic 20): Graph.Graph.measureShapeInsideFlow has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: Graph.Graph.init (cyclomatic 24) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":7559}}}],"partialFingerprints":{"codehealthFindingId/v1":"05b79064ad1d2c6f5ee7db3002e3fe9d1176ff7a7fd75ae98704e8cb28a76b8f"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.Graph.computeShapeInsideSpacer::run::probe (cyclomatic 20): Graph.Graph.computeShapeInsideSpacer::run::probe has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 2 other methods here (Graph.Graph.computeShapeInsideSpacer, Graph.Graph.computeShapeInsideSpacer::run) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This is NOT this file\u0027s highest cyclomatic complexity: Graph.Graph.init (cyclomatic 24) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":7738}}}],"partialFingerprints":{"codehealthFindingId/v1":"880050c7d8857a7db44b77f3c7c75380c3e88526e8232bb9c9806ff9c07c218a"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.Graph.refreshBrowserTranslateMirror (cyclomatic 20): Graph.Graph.refreshBrowserTranslateMirror has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: Graph.Graph.init (cyclomatic 24) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":9513}}}],"partialFingerprints":{"codehealthFindingId/v1":"610a145e713be1138a5d7dccda289b177d606c544b965bc67dec16ebedc22424"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.Graph.matchStyleRule (cyclomatic 20): Graph.Graph.matchStyleRule has cyclomatic complexity 20 (threshold 15). 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. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This is NOT this file\u0027s highest cyclomatic complexity: Graph.Graph.init (cyclomatic 24) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":18223}}}],"partialFingerprints":{"codehealthFindingId/v1":"33f186394df43f13b958315556a9aed0fa73354fe64cd71f2a3d2851267b6694"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.BalloonTreeLayout.getTrees (cyclomatic 20): Graph.BalloonTreeLayout.getTrees has cyclomatic complexity 20 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 5 belong to 3 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: Graph.Graph.init (cyclomatic 24) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":27480}}}],"partialFingerprints":{"codehealthFindingId/v1":"36757c249491de166abe6269939b19dac592920fd03c821c4bd1d439b04aca20"}},{"ruleId":"D1","level":"warning","message":{"text":"InlineToolbar.InlineToolbar.updateButtons (cyclomatic 20): InlineToolbar.InlineToolbar.updateButtons has cyclomatic complexity 20 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/InlineToolbar.js"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5e9165c106965ed0e43be627d67d8550482739ec55d222cffc42bae603d5599"}},{"ruleId":"D1","level":"warning","message":{"text":"InlineToolbar.InlineToolbar.showConnStyleMenu (cyclomatic 20): InlineToolbar.InlineToolbar.showConnStyleMenu has cyclomatic complexity 20 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. 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/webapp/js/grapheditor/InlineToolbar.js"},"region":{"startLine":3608}}}],"partialFingerprints":{"codehealthFindingId/v1":"be1db279a06425cdb7644905b2599fd1324e0dacea5a8c5cbe23575f525ae2af"}},{"ruleId":"D1","level":"warning","message":{"text":"InlineToolbar.InlineToolbar.getTableRange (cyclomatic 20): InlineToolbar.InlineToolbar.getTableRange has cyclomatic complexity 20 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. 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/webapp/js/grapheditor/InlineToolbar.js"},"region":{"startLine":3979}}}],"partialFingerprints":{"codehealthFindingId/v1":"16547cf7c1258888c1eeb340a4ce757a9ce8912bd4306a96ec853d82ead66a43"}},{"ruleId":"D1","level":"warning","message":{"text":"Sidebar.Sidebar.matchTermEntries (cyclomatic 20): Sidebar.Sidebar.matchTermEntries has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":2440}}}],"partialFingerprints":{"codehealthFindingId/v1":"a63dda4b5fb6f955f2c8159676f85c26e89d7a7d716dffcd1bb9647d4c28f39c"}},{"ruleId":"D1","level":"warning","message":{"text":"mxODPicker.mxODPicker::fillFolderFiles::renderList (cyclomatic 20): mxODPicker.mxODPicker::fillFolderFiles::renderList has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 2 other methods here (mxODPicker.mxODPicker, mxODPicker.mxODPicker::fillFolderFiles) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/onedrive/mxODPicker.js"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bd1e563cca51e338fbcc56c12ea33b21fa263eec2bc83a79fca22bf85eb840b"}},{"ruleId":"D1","level":"warning","message":{"text":"mxVertexHandler.mxVertexHandler.getHandleForEvent (cyclomatic 20): mxVertexHandler.mxVertexHandler.getHandleForEvent has cyclomatic complexity 20 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 6 belong to one function literal inside it that branches. 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/webapp/mxgraph/src/handler/mxVertexHandler.js"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"e90cfff0f802bfc072f43d3a5f93bedf0bb06a02488f0b72bfdb1d04ecc9f0b1"}},{"ruleId":"D1","level":"warning","message":{"text":"mxText.mxText.redrawText (cyclomatic 20): mxText.mxText.redrawText has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/shape/mxText.js"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ba8f63f9c7f3b66fbb2c8535aa779e8f4077c26daf1931266907528b5d10d64"}},{"ruleId":"D1","level":"warning","message":{"text":"mxSvgCanvas2D.mxSvgCanvas2D.createAlternateContent (cyclomatic 20): mxSvgCanvas2D.mxSvgCanvas2D.createAlternateContent has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxSvgCanvas2D.js"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"21155b827af24ff0cd48fd9ea2a7f543d3ab557635aa4bc94a0af9a09e183d43"}},{"ruleId":"D1","level":"warning","message":{"text":"mxGraph.mxGraph.scrollPointToVisible (cyclomatic 20): mxGraph.mxGraph.scrollPointToVisible has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":2859}}}],"partialFingerprints":{"codehealthFindingId/v1":"76aa9f7ed1f961100c88e55ccc92652941498e2e4f38fc94933c8449e6a500b1"}},{"ruleId":"D1","level":"warning","message":{"text":"mxGraph.mxGraph.disconnectGraph (cyclomatic 20): mxGraph.mxGraph.disconnectGraph has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":7671}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffc26e78df9fb928543cc3ec83848c2e2bb492d138d01cf3a91598546741cf08"}},{"ruleId":"D1","level":"warning","message":{"text":"mxGraph.mxGraph.findTreeRoots (cyclomatic 20): mxGraph.mxGraph.findTreeRoots has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":13259}}}],"partialFingerprints":{"codehealthFindingId/v1":"b114a8784cffda89ee154703e6a5d6350ee1efda561ff1ca6590bb6365535f07"}},{"ruleId":"D1","level":"warning","message":{"text":"AbsAuth.contactOAuthServer (cyclomatic 20): AbsAuth.contactOAuthServer has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/server/java/com/mxgraph/online/AbsAuth.java"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"70d99e0bc8cdd33fa729e89ad44aefb467418a7eb5a022073941f7bc86ebe088"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::sanitiseCell (cyclomatic 20): (anonymous)::sanitiseCell has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":2717}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c4690bcd5ced784bf8a55afd6c0723c18f9b864432b8c37f4ca4bbc3e428678"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::getTransformedRoutingPoints (cyclomatic 20): (anonymous)::getTransformedRoutingPoints has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":4177}}}],"partialFingerprints":{"codehealthFindingId/v1":"746318291efa58c11dde19653c6cc1ff3d108a43c5f3d3a3b7f72c09d4ac5094"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::parseNodes (cyclomatic 20): (anonymous)::parseNodes has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":5044}}}],"partialFingerprints":{"codehealthFindingId/v1":"82796a3a872337f83c0734788cf1d96bd2354a74d849fadc63ecdff679924c35"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::isDisplacedLabel (cyclomatic 20): (anonymous)::isDisplacedLabel has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":13666}}}],"partialFingerprints":{"codehealthFindingId/v1":"f81b348a4ab995170823455be1a683e8b171d36b095b11c25d93494437dc28bf"}},{"ruleId":"D1","level":"warning","message":{"text":"App.App.showSplash (cyclomatic 19): App.App.showSplash has cyclomatic complexity 19 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 7 belong to 2 function literals inside it that branch. 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/webapp/js/diagramly/App.js"},"region":{"startLine":5530}}}],"partialFingerprints":{"codehealthFindingId/v1":"99822c17bdb2892f49385e578f0dd0bb09133e8eba86802bef4ce032c60b18e1"}},{"ruleId":"D1","level":"warning","message":{"text":"ConfigEditor.DrawioConfigEditor.install.populateFields (cyclomatic 19): ConfigEditor.DrawioConfigEditor.install.populateFields has cyclomatic complexity 19 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 7 belong to 3 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ConfigEditor.js"},"region":{"startLine":1232}}}],"partialFingerprints":{"codehealthFindingId/v1":"88b402d3b7ee89263bc5365464998ccb33bc5f3b7b92471cf1044ada21117925"}},{"ruleId":"D1","level":"warning","message":{"text":"Dialogs.ChatWindow::addExchange (cyclomatic 19): Dialogs.ChatWindow::addExchange has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 2 other methods here (Dialogs.ChatWindow, Dialogs.ChatWindow::renderResponseData) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":13323}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cae65b185417c102f62175bfb198b5e6bf82b65d2e612fc67ef9ac03d3a742e"}},{"ruleId":"D1","level":"warning","message":{"text":"DrawioFileSync.DrawioFileSync.updateRealtime (cyclomatic 19): DrawioFileSync.DrawioFileSync.updateRealtime has cyclomatic complexity 19 (threshold 15). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DrawioFileSync.js"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"947ef6c45f20daabae154c4558136e7c0aef4e5186aad2a577935231aaaff17e"}},{"ruleId":"D1","level":"warning","message":{"text":"DrawioFileSync.DrawioFileSync.updateStatus (cyclomatic 19): DrawioFileSync.DrawioFileSync.updateStatus has cyclomatic complexity 19 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 8 belong to one function literal inside it that branches. This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DrawioFileSync.js"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"895d453328681324d1a26cdcf3123fcd12b23ba2f28028fe6adbccff36b0cf33"}},{"ruleId":"D1","level":"warning","message":{"text":"DrawioFileSync.DrawioFileSync.handleLegacyMessage (cyclomatic 19): DrawioFileSync.DrawioFileSync.handleLegacyMessage has cyclomatic complexity 19 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DrawioFileSync.js"},"region":{"startLine":3995}}}],"partialFingerprints":{"codehealthFindingId/v1":"2339d44380b37fcd71ed83362044b41b2db02fb2fc626921ea3171641518e9ae"}},{"ruleId":"D1","level":"warning","message":{"text":"Editor.RoughCanvas.limitFill (cyclomatic 19): Editor.RoughCanvas.limitFill has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: Editor.Editor.createRoughCanvas (cyclomatic 21) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":2355}}}],"partialFingerprints":{"codehealthFindingId/v1":"6482d3911e04a6c95c8578cb8b3518e52976286e5fc0f66b67ca87ac0a9ba796"}},{"ruleId":"D1","level":"warning","message":{"text":"Editor.Editor.parseAnimationScript (cyclomatic 19): Editor.Editor.parseAnimationScript has cyclomatic complexity 19 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: Editor.Editor.createRoughCanvas (cyclomatic 21) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":15440}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbb5e5670256a8732330717ac992c38b2a4c46e5d0e4546aa08e8a7343b9d22d"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.anonymizeXml::anonymizeNode (cyclomatic 19): EditorUi.EditorUi.anonymizeXml::anonymizeNode has cyclomatic complexity 19 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions. This is NOT this file\u0027s highest cyclomatic complexity: EditorUi.EditorUi.createSpinner (cyclomatic 30) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":3402}}}],"partialFingerprints":{"codehealthFindingId/v1":"10ec425a295983f1e4c5beb9c95536dd161f58be62b8b60671e42336866cfbe0"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.anonymizePatch (cyclomatic 19): EditorUi.EditorUi.anonymizePatch has cyclomatic complexity 19 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 7 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: EditorUi.EditorUi.createSpinner (cyclomatic 30) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":3451}}}],"partialFingerprints":{"codehealthFindingId/v1":"7057c9528dfb6ddb014b2d809f22b659803472ad903def63ae53d01139a973d5"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.showLanguageDialog (cyclomatic 19): EditorUi.EditorUi.showLanguageDialog has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 1 of the 19 points is its own statement and the rest belongs to 5 function items inside it that branch (updateLanguageStates, a function literal at line 7424, getSelectedLanguage, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest. This is NOT this file\u0027s highest cyclomatic complexity: EditorUi.EditorUi.createSpinner (cyclomatic 30) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":7352}}}],"partialFingerprints":{"codehealthFindingId/v1":"36487f626f1441aba0e552ba838520c9554929b0877bb6e7accca57526605dba"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.showRemoteExportDialog (cyclomatic 19): EditorUi.EditorUi.showRemoteExportDialog has cyclomatic complexity 19 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 8 belong to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: EditorUi.EditorUi.createSpinner (cyclomatic 30) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":11396}}}],"partialFingerprints":{"codehealthFindingId/v1":"85d4e419b09fa3ec73272188cee33394421a47e39c1ddd939cc0529eb952d685"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.showExportDialog::getPresetValues (cyclomatic 19): EditorUi.EditorUi.showExportDialog::getPresetValues has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: 2 other methods here (EditorUi.EditorUi.showExportDialog, EditorUi.EditorUi.showExportDialog::setPresetValues) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This is NOT this file\u0027s highest cyclomatic complexity: EditorUi.EditorUi.createSpinner (cyclomatic 30) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":12537}}}],"partialFingerprints":{"codehealthFindingId/v1":"155467fe0e64e440c45a8a3f9ab7a73733c9aca4d8dbadf53a3b9ef3b455e8ae"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.updateMermaidAltText (cyclomatic 19): EditorUi.EditorUi.updateMermaidAltText has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: EditorUi.EditorUi.createSpinner (cyclomatic 30) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":16665}}}],"partialFingerprints":{"codehealthFindingId/v1":"525bd6f40b50d8eea34fb50198d9dd1332f7e1ceb821582651aed1eee74cffb7"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.encodeEmbedImage (cyclomatic 19): EditorUi.EditorUi.encodeEmbedImage has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 5 of the 19 points are its own statements and the rest belongs to one function literal inside it that branches (line 19467). The decisions are inside the literal, 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 literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest. This is NOT this file\u0027s highest cyclomatic complexity: EditorUi.EditorUi.createSpinner (cyclomatic 30) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":19428}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d8c37a2b427b5ea9f8cc112706ad7d22eafc81ae14f2c53264e47a989e1a9ae"}},{"ruleId":"D1","level":"warning","message":{"text":"ForceExplorer.ForceExplorer.frame (cyclomatic 19): ForceExplorer.ForceExplorer.frame has cyclomatic complexity 19 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ForceExplorer.js"},"region":{"startLine":3689}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b7a1ffda931d1f5ebe35b131eb4f3975a0c7a7d49409aac1beb048235dcaf05"}},{"ruleId":"D1","level":"warning","message":{"text":"FusionTheme.SimpleUi.loadScripts (cyclomatic 19): FusionTheme.SimpleUi.loadScripts has cyclomatic complexity 19 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 7 belong to 2 function items inside it that branch. 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/webapp/js/diagramly/FusionTheme.js"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee0c25fc2fb4dfba9ac5831bbeb5fca8fc31ae1b195d605e8f45b6760a424410"}},{"ruleId":"D1","level":"warning","message":{"text":"Omnibox.Omnibox.getResults (cyclomatic 19): Omnibox.Omnibox.getResults has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Omnibox.js"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"182eedee85eb2e9ccfa469ce24f4698730876c15a59699c1c813831fbb24a8e7"}},{"ruleId":"D1","level":"warning","message":{"text":"AnimatedExport.AnimatedGifExport.doExport (cyclomatic 19): AnimatedExport.AnimatedGifExport.doExport has cyclomatic complexity 19 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. 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/webapp/js/diagramly/gif/AnimatedExport.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbb8477ee30bf8305e05cb89ff226007b24ea55cd3ab7f47a1f83f6898ce5f30"}},{"ruleId":"D1","level":"warning","message":{"text":"Mp4Encoder.Mp4Encoder.createMp4 (cyclomatic 19): Mp4Encoder.Mp4Encoder.createMp4 has cyclomatic complexity 19 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 5 belong to 4 function items inside it that branch. 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/webapp/js/diagramly/gif/Mp4Encoder.js"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbe02a6482b45fb6072bf4dc61ec6ddccedce3ce92cb945a067c59fad1b81128"}},{"ruleId":"D1","level":"warning","message":{"text":"Tidy.Tidy.getRoutableEdges (cyclomatic 19): Tidy.Tidy.getRoutableEdges has cyclomatic complexity 19 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/tidy/Tidy.js"},"region":{"startLine":2201}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9a7598d344945e24d3d2bed3a89a7f3e517c1e955c9feab5dba4ea5b3b4ae24"}},{"ruleId":"D1","level":"warning","message":{"text":"Tidy.Tidy.getEdgesThroughShapes (cyclomatic 19): Tidy.Tidy.getEdgesThroughShapes has cyclomatic complexity 19 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 6 belong to one function literal inside it that branches. 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/webapp/js/diagramly/tidy/Tidy.js"},"region":{"startLine":2268}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f69dc95523aa59dc2df62382d2aa935d86690f3e3d574975047a748b91f81f6"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.removeUserDefinedDarkColors (cyclomatic 19): EditorUi.EditorUi.removeUserDefinedDarkColors has cyclomatic complexity 19 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. 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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":1947}}}],"partialFingerprints":{"codehealthFindingId/v1":"0162c313055e3174ee2265ef05a1947d35f4dfa8239d5e2a14ec7accd79d7e34"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.installTypingShim (cyclomatic 19): EditorUi.EditorUi.installTypingShim has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 5 of the 19 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 4941, 4903, 5028). 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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":4871}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee3c4a93503246b9a527670efe230f9ab206b7001b0f272d5d3f56909d4c803b"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.Graph.replaceFontElements (cyclomatic 19): Graph.Graph.replaceFontElements has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: Graph.Graph.init (cyclomatic 24) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":6297}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc362dc066c264f5b3385f9f05dfe17490d1b37ccbaa1c5b2a94f4cd4bdc733c"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.Graph.getScaledCellAt (cyclomatic 19): Graph.Graph.getScaledCellAt has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: Graph.Graph.init (cyclomatic 24) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":11859}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab83b37508fbb9ef16b962416658f6188173cfce360fe31d61b0e945e71f80ad"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.Graph.convertValueToString (cyclomatic 19): Graph.Graph.convertValueToString has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: Graph.Graph.init (cyclomatic 24) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":17848}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfad543a2eceb0d390c72c79c73b24b6a2013581d193fd0a7af50b24d731c4e6"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.Graph.bundleEdges (cyclomatic 19): Graph.Graph.bundleEdges has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: Graph.Graph.init (cyclomatic 24) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":20853}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e6c09006120eb30323998c23262880fd665db22edaa79988985c2f433cd52f2"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.Graph.visitTableCells (cyclomatic 19): Graph.Graph.visitTableCells has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: Graph.Graph.init (cyclomatic 24) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":25204}}}],"partialFingerprints":{"codehealthFindingId/v1":"566ae4101de1d57aac60c3454e063e1b65ea6a1531d27ac89666718da24adff5"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.Graph.getCollapsedTableBorders::resolve (cyclomatic 19): Graph.Graph.getCollapsedTableBorders::resolve has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (Graph.Graph.getCollapsedTableBorders::process) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This is NOT this file\u0027s highest cyclomatic complexity: Graph.Graph.init (cyclomatic 24) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":26315}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb86fc9c2193b4920a749acc4f9f18de0b24a0a3094b6347fef93840c6b6b492"}},{"ruleId":"D1","level":"warning","message":{"text":"Omnibox.Omnibox.render (cyclomatic 19): Omnibox.Omnibox.render has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Omnibox.js"},"region":{"startLine":2465}}}],"partialFingerprints":{"codehealthFindingId/v1":"e98ddc6527a0ab142d432fbcf6ff0d7aee3c0b2fd74062044c904623568ed84f"}},{"ruleId":"D1","level":"warning","message":{"text":"Shapes.mxSwimlane.paintVertexShape (cyclomatic 19): Shapes.mxSwimlane.paintVertexShape has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":1018}}}],"partialFingerprints":{"codehealthFindingId/v1":"cae1c186d6dcadcf2e6f078903daf7524839b33f896ac6e755b1cb52e1c0028f"}},{"ruleId":"D1","level":"warning","message":{"text":"libavoid-routing.AvoidRouting.computeRoutes (cyclomatic 19): libavoid-routing.AvoidRouting.computeRoutes has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (libavoid-routing.AvoidRouting.computeRoutes::solveWith) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/libavoid-js/libavoid-routing.js"},"region":{"startLine":1055}}}],"partialFingerprints":{"codehealthFindingId/v1":"bde30ac134600dd3510c0e2addafa522c88d3dc52666e63ae97a5bbeb459f387"}},{"ruleId":"D1","level":"warning","message":{"text":"mxShape.mxShape.paint (cyclomatic 19): mxShape.mxShape.paint has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/shape/mxShape.js"},"region":{"startLine":1094}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfb8c10f0ac46a40bd9fb89002cd569b3ac2a1f35d587df07bc068404b1b545c"}},{"ruleId":"D1","level":"warning","message":{"text":"mxGraph.mxGraph.getDropTarget (cyclomatic 19): mxGraph.mxGraph.getDropTarget has cyclomatic complexity 19 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":12003}}}],"partialFingerprints":{"codehealthFindingId/v1":"953722efd85d047f350825487a02c7ca5208db4e3e1e67e8260a5bf2138b162c"}},{"ruleId":"D1","level":"warning","message":{"text":"mxBasic.mxShapeBasicPolygon.getConstraints (cyclomatic 19): mxBasic.mxShapeBasicPolygon.getConstraints has cyclomatic complexity 19 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/shapes/mxBasic.js"},"region":{"startLine":3379}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9e83fb14c4d30d0780ad1a2b97f10d285242a2ced3de5a962de3295044b4ec8"}},{"ruleId":"D1","level":"warning","message":{"text":"mxCisco19.mxShapeCisco19Rect.paintVertexShape (cyclomatic 19): mxCisco19.mxShapeCisco19Rect.paintVertexShape has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/shapes/mxCisco19.js"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"8048f423bf1d6598eaeb66efde273ec7813eb2401b951f249bf1d1581a705af1"}},{"ruleId":"D1","level":"warning","message":{"text":"Utils.isIPv6TransitionAddress (cyclomatic 19): Utils.isIPv6TransitionAddress has cyclomatic complexity 19 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/server/java/com/mxgraph/online/Utils.java"},"region":{"startLine":792}}}],"partialFingerprints":{"codehealthFindingId/v1":"da14677729daec81e837b7a18d8fc3e48f5e9af4aab4661229596f925ef33ef1"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::processMasterShape (cyclomatic 19): (anonymous)::processMasterShape has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":4458}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cd0ee38af28b6b240943de4c7126631b5514b5b136cbfc7cdb63f858abcf9ce"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::initThemes (cyclomatic 19): (anonymous)::initThemes has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":4663}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbc2a9ef101afe993e2321147e0a1ec61997df21760af18c3e82050ba10916a0"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 19): (anonymous) has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 1 of the 19 points is its own statement and the rest belongs to 7 function items inside it that branch (isReflexAngle, handle, EllipticalArcTo, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":8305}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d3f03c60c2b836872cff56f0801b16527db3db71dd4905b3064f2078180a5db"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::parseSection (cyclomatic 19): (anonymous)::parseSection has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":10942}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb8df1dffe247ac979511cccc9d659d9b5399d9578f21178ea353daeb91d6227"}},{"ruleId":"D1","level":"warning","message":{"text":"addProperties::createPropertyRow::(anonymous)::setInputVal (cyclomatic 19): addProperties::createPropertyRow::(anonymous)::setInputVal has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":9778}}}],"partialFingerprints":{"codehealthFindingId/v1":"e987e71b5f9ffd8268472cdde82bb17e17c8053b66b80da5b13a3e60f04e682d"}},{"ruleId":"D1","level":"warning","message":{"text":"equalPoints (cyclomatic 19): equalPoints has cyclomatic complexity 19 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxUtils.js"},"region":{"startLine":2755}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee6e3a84baa66f1972a1df4188d56a218868d1746620c7ad5b0cfaa3ca9b6a0a"}},{"ruleId":"D1","level":"warning","message":{"text":"zapGremlins (cyclomatic 19): zapGremlins has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxUtils.js"},"region":{"startLine":3840}}}],"partialFingerprints":{"codehealthFindingId/v1":"110517f14953fe4bcc070f359f0f01e6fd54428d05398f8b3b6477dac25653c5"}},{"ruleId":"D1","level":"warning","message":{"text":"install.populateFields (cyclomatic 19): install.populateFields has cyclomatic complexity 19 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 7 belong to 4 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ConfigEditor.js"},"region":{"startLine":1232}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb9311793eddf72f6e49cd2a0031e90f37bda5fd8fb45a6bb99d04a7d6898c7d"}},{"ruleId":"D1","level":"warning","message":{"text":"initMinimalTheme::init (cyclomatic 19): initMinimalTheme::init has cyclomatic complexity 19 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Minimal.js"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"05f03a9835700c30e8f8523ce1fc59ecea8b38206c8d61b7772e31c250be33ff"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::beforeDecode (cyclomatic 19): (anonymous)::beforeDecode has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/io/mxCellCodec.js"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"127eb889525a960617a49f6b7e51c4d3b917ac513236d4b00a4fe1f8834b15b9"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 19): (anonymous) has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 1 of the 19 points is its own statement and the rest belongs to 5 function items inside it that branch (isExcluded, beforeDecode, afterDecode, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/io/mxChildChangeCodec.js"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"67844928e1120f10adb9b3dc85090da92bfcb032569cc0ff89590d3c125c41b7"}},{"ruleId":"D1","level":"warning","message":{"text":"App.App.main::doMain (cyclomatic 18): App.App.main::doMain has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (App.App.main) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":1643}}}],"partialFingerprints":{"codehealthFindingId/v1":"18759d0e16c07d9bad2b59d961dad352f6667412245357b8c4b3166ae74e9f8f"}},{"ruleId":"D1","level":"warning","message":{"text":"App.App.load (cyclomatic 18): App.App.load has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":4079}}}],"partialFingerprints":{"codehealthFindingId/v1":"68935c9810240071681b4a2c5e7cadc993a01e27dc091b9124c8079e44e031c5"}},{"ruleId":"D1","level":"warning","message":{"text":"ConfigEditor.DrawioConfigEditor.install (cyclomatic 18): ConfigEditor.DrawioConfigEditor.install has cyclomatic complexity 18 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ConfigEditor.js"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7678441b8c611dbac3a36862c0386a1b3c0f549ce152b4213ab7bde450767f9"}},{"ruleId":"D1","level":"warning","message":{"text":"Dialogs.FindWindow::updateCount (cyclomatic 18): Dialogs.FindWindow::updateCount has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 2 other methods here (Dialogs.FindWindow::isMatch, Dialogs.FindWindow::replacePlaceholderMatch) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":10409}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e83730037d0f6179f4f9302eca5b7cd9d2338fe49351a472fd5fa840c3ff33d"}},{"ruleId":"D1","level":"warning","message":{"text":"Dialogs.ChatWindow (cyclomatic 18): Dialogs.ChatWindow has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 2 other methods here (Dialogs.ChatWindow::renderResponseData, Dialogs.ChatWindow::addExchange) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":11644}}}],"partialFingerprints":{"codehealthFindingId/v1":"3428882890c4a69f12d573c3d25c083948c94dc0edf8ccbec0ff5f5ab5a5185e"}},{"ruleId":"D1","level":"warning","message":{"text":"Dialogs.CustomDialog (cyclomatic 18): Dialogs.CustomDialog has cyclomatic complexity 18 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 6 belong to 3 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":21195}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c84b11b7d7a2b544f8a73b8893381ebcfbd660bcf010a0053d2e0327cfc7c94"}},{"ruleId":"D1","level":"warning","message":{"text":"DiffSync.EditorUi.createParentLookup (cyclomatic 18): DiffSync.EditorUi.createParentLookup has cyclomatic complexity 18 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. 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/webapp/js/diagramly/DiffSync.js"},"region":{"startLine":1008}}}],"partialFingerprints":{"codehealthFindingId/v1":"a21262a5be2a646b3472386191304913e0fd455d9e3254c4faa4dc52c68a8af4"}},{"ruleId":"D1","level":"warning","message":{"text":"Editor.Editor.expandSvgPatterns::expandElement (cyclomatic 18): Editor.Editor.expandSvgPatterns::expandElement has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: Editor.Editor.createRoughCanvas (cyclomatic 21) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":4679}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9b7723eaa88264c1e6529c899bc0819d9d6a478dfc9f7853406ef841a4bf09a"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.hashValue (cyclomatic 18): EditorUi.EditorUi.hashValue has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: EditorUi.EditorUi.createSpinner (cyclomatic 30) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":5715}}}],"partialFingerprints":{"codehealthFindingId/v1":"a22cd6d655424d8de7f5947d120bbb3a410a5da161c4a84eb94ce8a0ab89cece"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.exportImage (cyclomatic 18): EditorUi.EditorUi.exportImage has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 8 of the 18 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 13889, 13851, 13904, \u2026). 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. This is NOT this file\u0027s highest cyclomatic complexity: EditorUi.EditorUi.createSpinner (cyclomatic 30) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":13836}}}],"partialFingerprints":{"codehealthFindingId/v1":"c91297644d52e7413749293017be9a1545421dc3d8253e7cfdd6fda5217eeaa1"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.importVisio (cyclomatic 18): EditorUi.EditorUi.importVisio has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 1 of the 18 points is its own statement and the rest belongs to 5 function literals inside it that branch (lines 14393, 14381, 14434, \u2026). 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. This is NOT this file\u0027s highest cyclomatic complexity: EditorUi.EditorUi.createSpinner (cyclomatic 30) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":14364}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ff9c13aef3cd08aa9408a1d64668eb37c844d4ed29b33af93b470401e257208"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.convertLucidChart (cyclomatic 18): EditorUi.EditorUi.convertLucidChart has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 1 of the 18 points is its own statement and the rest belongs to 4 function literals inside it that branch (lines 14709, 14699, 14685, \u2026). 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. This is NOT this file\u0027s highest cyclomatic complexity: EditorUi.EditorUi.createSpinner (cyclomatic 30) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":14683}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a6b12dffea575790d0a2f38a21a996b67666ffedda36b6007db047dcad57e65"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.destroyWindows (cyclomatic 18): EditorUi.EditorUi.destroyWindows has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: EditorUi.EditorUi.createSpinner (cyclomatic 30) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":25545}}}],"partialFingerprints":{"codehealthFindingId/v1":"769a605bbfc9f20d19fd6dd4131f8a5b6a008ee81a9169dba337d8df00c31fd2"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.CommentsWindow::installMentionHandler::updateMenu (cyclomatic 18): EditorUi.CommentsWindow::installMentionHandler::updateMenu has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (EditorUi.CommentsWindow::addComment) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This is NOT this file\u0027s highest cyclomatic complexity: EditorUi.EditorUi.createSpinner (cyclomatic 30) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":45050}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fd1b2e7c07e3e9d7e6c5ea87ec7295a64bb85fcb6b155f0bc41faed903b75c0"}},{"ruleId":"D1","level":"warning","message":{"text":"Extensions.addAllStyles (cyclomatic 18): Extensions.addAllStyles has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: Extensions.addStyle (cyclomatic 26) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Extensions.js"},"region":{"startLine":4760}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e53ac80262055b7b7c78f4140d94729484e4e7094d9b65f85a2059423ef1fac"}},{"ruleId":"D1","level":"warning","message":{"text":"Extensions.normalizeEdge (cyclomatic 18): Extensions.normalizeEdge has cyclomatic complexity 18 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This is NOT this file\u0027s highest cyclomatic complexity: Extensions.addStyle (cyclomatic 26) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Extensions.js"},"region":{"startLine":6971}}}],"partialFingerprints":{"codehealthFindingId/v1":"631235127d0c29409516227c7c561ad68721a02d1267cb7baf717510a08dd43d"}},{"ruleId":"D1","level":"warning","message":{"text":"ForceExplorer.ForceExplorer.getEndLabelPoint (cyclomatic 18): ForceExplorer.ForceExplorer.getEndLabelPoint has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ForceExplorer.js"},"region":{"startLine":2966}}}],"partialFingerprints":{"codehealthFindingId/v1":"366cabcb37487adfbe1918d33f8d9b19e911468146648ce5b3aedaa15c734078"}},{"ruleId":"D1","level":"warning","message":{"text":"GitLabClient.GitLabClient.executeRequest (cyclomatic 18): GitLabClient.GitLabClient.executeRequest has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 2 of the 18 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 256, 317, 328). 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/webapp/js/diagramly/GitLabClient.js"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2bd2bca6ff3591885070a3de8dce9bd70c26aaaaa5021652b7c959022de775f"}},{"ruleId":"D1","level":"warning","message":{"text":"GraphViewer.GraphViewer.showLayers (cyclomatic 18): GraphViewer.GraphViewer.showLayers has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/GraphViewer.js"},"region":{"startLine":1761}}}],"partialFingerprints":{"codehealthFindingId/v1":"e47a857ae7107d68ebb8a904970bb187e07ed183d4d27594693aa2998ede6ae1"}},{"ruleId":"D1","level":"warning","message":{"text":"LayoutPicker.LayoutPanel.syncPreview (cyclomatic 18): LayoutPicker.LayoutPanel.syncPreview has cyclomatic complexity 18 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 8 belong to 3 function literals inside it that branch. 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/webapp/js/diagramly/LayoutPicker.js"},"region":{"startLine":3028}}}],"partialFingerprints":{"codehealthFindingId/v1":"30d3683930e9a17afa8f052794745d72786445fb375dd7b646d60c1cfd952f18"}},{"ruleId":"D1","level":"warning","message":{"text":"LayoutPicker.EditorUi.doShowLayoutSettings::renderOptions (cyclomatic 18): LayoutPicker.EditorUi.doShowLayoutSettings::renderOptions has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (LayoutPicker.EditorUi.doShowLayoutSettings) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/LayoutPicker.js"},"region":{"startLine":3789}}}],"partialFingerprints":{"codehealthFindingId/v1":"0283b01b1c16a066b6cb085cd9b1ae2d1223684a047d6cb512551123ec2ceecf"}},{"ruleId":"D1","level":"warning","message":{"text":"LibavoidRouting.LibavoidRouting.computeRoutes (cyclomatic 18): LibavoidRouting.LibavoidRouting.computeRoutes has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/LibavoidRouting.js"},"region":{"startLine":4320}}}],"partialFingerprints":{"codehealthFindingId/v1":"b456fc553b8c9ceadce34fead9e1ab43092560aa98c739ae802077a0103e5311"}},{"ruleId":"D1","level":"warning","message":{"text":"P2PCollab.P2PCollab (cyclomatic 18): P2PCollab.P2PCollab has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 2 other methods here (P2PCollab.P2PCollab::sendMessage, P2PCollab.P2PCollab::processMsg) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/P2PCollab.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"06dbb8f9022137514fac1d639adbfca6941de3664007b7aa727d69341ff8690e"}},{"ruleId":"D1","level":"warning","message":{"text":"SpringMove.SpringMove.initStates (cyclomatic 18): SpringMove.SpringMove.initStates has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/SpringMove.js"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6b0f2eea1be5e6bd9492356d5c8bddbfae9f4c586864b2ada12acc7848a3d24"}},{"ruleId":"D1","level":"warning","message":{"text":"StorageFile.StorageFile.saveFile (cyclomatic 18): StorageFile.StorageFile.saveFile has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 8 of the 18 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 344, 331, 314, \u2026). 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/webapp/js/diagramly/StorageFile.js"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"68566c13b4c465c28f17a018f6097072eb690aba2a99dff6dac9ca8c477acf33"}},{"ruleId":"D1","level":"warning","message":{"text":"ViewerModern.ViewerModern.getExportFormats (cyclomatic 18): ViewerModern.ViewerModern.getExportFormats has cyclomatic complexity 18 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ViewerModern.js"},"region":{"startLine":1429}}}],"partialFingerprints":{"codehealthFindingId/v1":"987f0131e47ca5996a22de55f1ef0f0914599d6ddc1382b8c002aa6dda3287f6"}},{"ruleId":"D1","level":"warning","message":{"text":"emf-svg.parseEMF (cyclomatic 18): emf-svg.parseEMF has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/emf/emf-svg.js"},"region":{"startLine":826}}}],"partialFingerprints":{"codehealthFindingId/v1":"71f6d4861bb6a88ad7a2b97c07f2fda56dc4997a53308307f29ec3815c7013c2"}},{"ruleId":"D1","level":"warning","message":{"text":"GifEncoder.GifEncoder.createPalette (cyclomatic 18): GifEncoder.GifEncoder.createPalette has cyclomatic complexity 18 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/gif/GifEncoder.js"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"5884bf81e35a64f15644c2c1f747e1d45078099bf1bea5f9091be683e34d5e3a"}},{"ruleId":"D1","level":"warning","message":{"text":"mxGraphMlCodec.mxGraphMlCodec.dataElem2Obj (cyclomatic 18): mxGraphMlCodec.mxGraphMlCodec.dataElem2Obj has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/graphml/mxGraphMlCodec.js"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"383d7893d49d7e5fc613c4541069949ec33dde2b8f82ec0e27956b11c4b8c078"}},{"ruleId":"D1","level":"warning","message":{"text":"Sidebar.Sidebar.searchEntries (cyclomatic 18): Sidebar.Sidebar.searchEntries has cyclomatic complexity 18 (threshold 15). Of this number, 9 points are the body\u0027s own statements and 9 belong to 2 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar.js"},"region":{"startLine":2436}}}],"partialFingerprints":{"codehealthFindingId/v1":"02193300907789fe62bc1ffb16b1b04b725748d8dc891abdce0e8c0e1ef73426"}},{"ruleId":"D1","level":"warning","message":{"text":"Tidy.Tidy.ops.resetLabels (cyclomatic 18): Tidy.Tidy.ops.resetLabels has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 8 of the 18 points are its own statements and the rest belongs to one function item inside it that branches (reset). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/tidy/Tidy.js"},"region":{"startLine":1785}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e3882a14efe1ec4f9e87a4ab5025ae045014f12ef1c4b5d01f7d48569ac6d9e"}},{"ruleId":"D1","level":"warning","message":{"text":"TidyStyle.Tidy.keepRoleColors (cyclomatic 18): TidyStyle.Tidy.keepRoleColors has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/tidy/TidyStyle.js"},"region":{"startLine":1439}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed9f9ebe165b06570927e9c137081eeac674e2eb4092a6c296cd1564c2ffb572"}},{"ruleId":"D1","level":"warning","message":{"text":"TidyWindow.TidyWindow.preview (cyclomatic 18): TidyWindow.TidyWindow.preview has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/tidy/TidyWindow.js"},"region":{"startLine":1058}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd64eb8597a381e0aad45f6d062e49ab511dd987353bd069e8f8166f8f62d313"}},{"ruleId":"D1","level":"warning","message":{"text":"Editor.FilenameDialog.createFileTypes (cyclomatic 18): Editor.FilenameDialog.createFileTypes has cyclomatic complexity 18 (threshold 15). Of this number, 9 points are the body\u0027s own statements and 9 belong to 2 function items inside it that branch. 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/webapp/js/grapheditor/Editor.js"},"region":{"startLine":4647}}}],"partialFingerprints":{"codehealthFindingId/v1":"48edbf9372214c634e6736d697d4bd5fc5037ac7c1ee48c1c9a3093c1b732a08"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.getTabGroups (cyclomatic 18): EditorUi.EditorUi.getTabGroups has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":3967}}}],"partialFingerprints":{"codehealthFindingId/v1":"c64aa358d3e0c6801c8a43d975d2d2490f2d9f1da482c1ef357bcfacafc3e8b4"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.createStatusContainer (cyclomatic 18): EditorUi.EditorUi.createStatusContainer has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 1 of the 18 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 9228, 9284). 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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":9222}}}],"partialFingerprints":{"codehealthFindingId/v1":"4850d5327d423bf81a2629abd9e68f9cc384f455422d9b57872dcc492dca7aed"}},{"ruleId":"D1","level":"warning","message":{"text":"Format.BaseFormatPanel.createColorOption (cyclomatic 18): Format.BaseFormatPanel.createColorOption has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (Format.BaseFormatPanel.createColorOption::apply) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Format.js"},"region":{"startLine":1454}}}],"partialFingerprints":{"codehealthFindingId/v1":"56aa8339b182f11f3959b2e43fc1826c59f9d577ae30503c1bf12aa4c118c92e"}},{"ruleId":"D1","level":"warning","message":{"text":"Format.TextFormatPanel.createLabelBackgroundOption (cyclomatic 18): Format.TextFormatPanel.createLabelBackgroundOption has cyclomatic complexity 18 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Format.js"},"region":{"startLine":4839}}}],"partialFingerprints":{"codehealthFindingId/v1":"a83418776c8b33b078294e1950e212979562025e9e24702bbedf0381e5d9b9f1"}},{"ruleId":"D1","level":"warning","message":{"text":"Format.StyleFormatPanel.init (cyclomatic 18): Format.StyleFormatPanel.init has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Format.js"},"region":{"startLine":6919}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfa79fb8abb3019d4c8b3188d04347ef6c49d39e15554d6c91a127b4b712dd38"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.Graph.canonicalizeSvgCssRules (cyclomatic 18): Graph.Graph.canonicalizeSvgCssRules has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: Graph.Graph.init (cyclomatic 24) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":6141}}}],"partialFingerprints":{"codehealthFindingId/v1":"98586879d9be2e48d8df5388f446e19ad849b5ab5ca7b858025ae430cfcf8a5d"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.Graph.getDataStyleValue (cyclomatic 18): Graph.Graph.getDataStyleValue has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: Graph.Graph.init (cyclomatic 24) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":18021}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8022ce50b0c4336f315f526876842126baa3d0195d407503033cf431d008e03"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.Graph.getCellTypeName (cyclomatic 18): Graph.Graph.getCellTypeName has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: Graph.Graph.init (cyclomatic 24) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":22755}}}],"partialFingerprints":{"codehealthFindingId/v1":"48c051094528467f0658a4a55c88d3f10d9ab5c5d5afb93e6c4d30f50cb01f05"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.LabelBoxIndex.isFree (cyclomatic 18): Graph.LabelBoxIndex.isFree has cyclomatic complexity 18 (threshold 15). Of this number, 9 points are the body\u0027s own statements and 9 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: Graph.Graph.init (cyclomatic 24) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":29706}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7a082ce7dfa30a03ead7f73bb10ff3b9d4cf3b44b810ae257f3ba1918fb6567"}},{"ruleId":"D1","level":"warning","message":{"text":"Shapes.TableShape.paintStripes (cyclomatic 18): Shapes.TableShape.paintStripes has cyclomatic complexity 18 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. 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/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"44e6f96f9428cad1857a11c350ea9dacb96f9c3f8b5d2ff2caaa9187484a7c37"}},{"ruleId":"D1","level":"warning","message":{"text":"Shapes.mxShapeBasicRect2.moveNEInner (cyclomatic 18): Shapes.mxShapeBasicRect2.moveNEInner has cyclomatic complexity 18 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: one other method here (Shapes.mxShapeBasicRect2.lineNEInner) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":7357}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aeaf7b795e3c4c16ee26396b5d63873e707ec8bdcc00787830553e5b86da073"}},{"ruleId":"D1","level":"warning","message":{"text":"Shapes.mxShapeBasicRect2.lineNEInner (cyclomatic 18): Shapes.mxShapeBasicRect2.lineNEInner has cyclomatic complexity 18 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: one other method here (Shapes.mxShapeBasicRect2.moveNEInner) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":7379}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a6c707a93b46a0ef4acba69c7a150371951c1a8f0111fc74fcdb9711e2378a5"}},{"ruleId":"D1","level":"warning","message":{"text":"Sidebar.Sidebar.rasterizeSvgDataUri (cyclomatic 18): Sidebar.Sidebar.rasterizeSvgDataUri has cyclomatic complexity 18 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 8 belong to 2 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":5050}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbbdfc6ce78ce04f127a59d3cc650f650c7da20572659a25577c5d0f4d212a51"}},{"ruleId":"D1","level":"warning","message":{"text":"libavoid-routing.AvoidRouting.filterEnclosing (cyclomatic 18): libavoid-routing.AvoidRouting.filterEnclosing has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/libavoid-js/libavoid-routing.js"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"182d18809db67a47117f4efb0f7a1ce593037a8d5f61ab86999e73ec55ec553f"}},{"ruleId":"D1","level":"warning","message":{"text":"mxConnectionHandler.mxConnectionHandler.isOutlineConnectEvent (cyclomatic 18): mxConnectionHandler.mxConnectionHandler.isOutlineConnectEvent has cyclomatic complexity 18 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/handler/mxConnectionHandler.js"},"region":{"startLine":1040}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b3c2aa7442d0b30eb0e97f4a0f810e8e7418b534ee48c3f2ec5aca5a9355a11"}},{"ruleId":"D1","level":"warning","message":{"text":"mxEdgeHandler.mxEdgeHandler.mouseDown (cyclomatic 18): mxEdgeHandler.mxEdgeHandler.mouseDown has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: mxEdgeHandler.mxEdgeHandler.createMarker (cyclomatic 21) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/handler/mxEdgeHandler.js"},"region":{"startLine":955}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fb0a017a830334f0d547e30b7894f1fe46eda5837c858d56cbdf4a3fd5c5e21"}},{"ruleId":"D1","level":"warning","message":{"text":"mxEdgeHandler.mxEdgeHandler.getPreviewTerminalState (cyclomatic 18): mxEdgeHandler.mxEdgeHandler.getPreviewTerminalState has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: mxEdgeHandler.mxEdgeHandler.createMarker (cyclomatic 21) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/handler/mxEdgeHandler.js"},"region":{"startLine":1231}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c881f6700a25f6cb12e15227aca942dc3b83b704712ce9c1dd08b798353b90c"}},{"ruleId":"D1","level":"warning","message":{"text":"mxEdgeHandler.mxEdgeHandler.isOutlineConnectEvent (cyclomatic 18): mxEdgeHandler.mxEdgeHandler.isOutlineConnectEvent has cyclomatic complexity 18 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This is NOT this file\u0027s highest cyclomatic complexity: mxEdgeHandler.mxEdgeHandler.createMarker (cyclomatic 21) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/handler/mxEdgeHandler.js"},"region":{"startLine":1430}}}],"partialFingerprints":{"codehealthFindingId/v1":"a417f61c21d7d78e8a4b5d0bce2d2882aece2cc5174898591aa9bc4d9fc73139"}},{"ruleId":"D1","level":"warning","message":{"text":"mxTooltipHandler.mxTooltipHandler.reset (cyclomatic 18): mxTooltipHandler.mxTooltipHandler.reset has cyclomatic complexity 18 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/handler/mxTooltipHandler.js"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"7770dda195a979b6856751303a32546503b7f0f1fb8436b31ec7801820d13563"}},{"ruleId":"D1","level":"warning","message":{"text":"mxVertexHandler.mxVertexHandler.reset (cyclomatic 18): mxVertexHandler.mxVertexHandler.reset has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/handler/mxVertexHandler.js"},"region":{"startLine":1481}}}],"partialFingerprints":{"codehealthFindingId/v1":"06d881dd8f4f2a5ea10605d48d810d4cbab34fec7e217df604fc01d3b718110c"}},{"ruleId":"D1","level":"warning","message":{"text":"mxGraphModel.mxGraphModel.updateEdgeParent (cyclomatic 18): mxGraphModel.mxGraphModel.updateEdgeParent has cyclomatic complexity 18 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/model/mxGraphModel.js"},"region":{"startLine":835}}}],"partialFingerprints":{"codehealthFindingId/v1":"781a9bfbb8ced086a244b36adbddc0d8501884d51a4514d5a05abdf2a11ded57"}},{"ruleId":"D1","level":"warning","message":{"text":"mxShape.mxShape.addPoints (cyclomatic 18): mxShape.mxShape.addPoints has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/shape/mxShape.js"},"region":{"startLine":1483}}}],"partialFingerprints":{"codehealthFindingId/v1":"1031fc1c4b7f295727ad8b56a5d367290f7f293efb3daca5d08ada55e1a1f52b"}},{"ruleId":"D1","level":"warning","message":{"text":"mxGraph.mxGraph.isPointNearPolyline (cyclomatic 18): mxGraph.mxGraph.isPointNearPolyline has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":12328}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc420e1f98a88dc96b88158acccd6dde1afc8e57f514b42585540c7891f251f5"}},{"ruleId":"D1","level":"warning","message":{"text":"mxGraphView.mxGraphView.invalidate (cyclomatic 18): mxGraphView.mxGraphView.invalidate has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxGraphView.js"},"region":{"startLine":1032}}}],"partialFingerprints":{"codehealthFindingId/v1":"1da894e30d71dad6aa7022a5ef5ec2d20d78511af84ca8e1816a2770fff9c27f"}},{"ruleId":"D1","level":"warning","message":{"text":"props.Draw.loadPlugin() (cyclomatic 18): props.Draw.loadPlugin() has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 6 of the 18 points are its own statements and the rest belongs to 2 function items inside it that branch (cellClicked, extractData). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/plugins/props.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"1803449815d6f0a8bf3a76f812ce5504c443e734dae33b08cde6569749dded41"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::importPage (cyclomatic 18): (anonymous)::importPage has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4ef161dbd5898416abd52db46d2b62f5944c07ba67303b31faa399e20274dd5"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::getStencilBounds (cyclomatic 18): (anonymous)::getStencilBounds has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":1707}}}],"partialFingerprints":{"codehealthFindingId/v1":"c354faf300342819a81472c5d48c3d6bd23046e2b3b6e98a3b4dee4fcce19296"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 18): (anonymous) has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 1 of the 18 points is its own statement and the rest belongs to 33 function items inside it that branch (getColor, calcColor, getColor$int$com_mxgraph_io_vsdx_mxVsdxTheme, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":7648}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3d873a3d013a8e0c4bc3227a8845994d4e6d9e7025887d7d088cb46b56a7dfe"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::getFieldValue (cyclomatic 18): (anonymous)::getFieldValue has cyclomatic complexity 18 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":12182}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb44e55bbd2824b9e4744488c1236d053285beb59803d57539eb3ae591490e5a"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::createLabelSubShape (cyclomatic 18): (anonymous)::createLabelSubShape has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":14657}}}],"partialFingerprints":{"codehealthFindingId/v1":"10877a5ad8272bdbd8d5010937ef6c27b329f06f6bd84ab741f4c501dcd21fbc"}},{"ruleId":"D1","level":"warning","message":{"text":"convertImages::(anonymous)::(anonymous)::processNext::onload (cyclomatic 18): convertImages::(anonymous)::(anonymous)::processNext::onload has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":6709}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d4e2f9b1c16370cfd794b7798b805a378ad4bf6b32afc7557f04f6dc5819acf"}},{"ruleId":"D1","level":"warning","message":{"text":"typeIntoShapePicker (cyclomatic 18): typeIntoShapePicker has cyclomatic complexity 18 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":4784}}}],"partialFingerprints":{"codehealthFindingId/v1":"9463dae1750024a7c332d116243a919c132b019123e7517a497a8cf11937b7da"}},{"ruleId":"D1","level":"warning","message":{"text":"extractTextWithWhitespace::doExtract (cyclomatic 18): extractTextWithWhitespace::doExtract has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxUtils.js"},"region":{"startLine":1405}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aa80ebf84e134847886813ac8f53bc59a59b13f664f9e59f38f04f51200abd3"}},{"ruleId":"D1","level":"warning","message":{"text":"getDirectedBounds (cyclomatic 18): getDirectedBounds has cyclomatic complexity 18 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxUtils.js"},"region":{"startLine":3320}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c2026908edfd88bef97f7167489c1d2115a2eef802766db07de3b43930f83de"}},{"ruleId":"D1","level":"warning","message":{"text":"getScrollOrigin (cyclomatic 18): getScrollOrigin has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxUtils.js"},"region":{"startLine":3731}}}],"partialFingerprints":{"codehealthFindingId/v1":"75d4b75ad232c5107a3f4ab31af1b71cdadba7650b35cb48967c032a2141b688"}},{"ruleId":"D1","level":"warning","message":{"text":"showFillMenu::update (cyclomatic 18): showFillMenu::update has cyclomatic complexity 18 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/InlineToolbar.js"},"region":{"startLine":2829}}}],"partialFingerprints":{"codehealthFindingId/v1":"91103ff5bf6fc481513211e2266edd4cded851add686dbed66b20778ec7b12b2"}},{"ruleId":"D1","level":"warning","message":{"text":"createMarker::getCell (cyclomatic 18): createMarker::getCell has cyclomatic complexity 18 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/handler/mxEdgeHandler.js"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"301fd659020f454a3614763cf59c8748a9c24846fc35fe0093dd3af9925d491c"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 18): (anonymous) has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 6 of the 18 points are its own statements and the rest belongs to 9 function items inside it that branch (cellClicked, extractData, a function literal at line 41, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/plugins/props.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"68f0ae9796c80ea3c4491c08e3a2c24e7f542130629531c997fe21e31350b155"}},{"ruleId":"D1","level":"warning","message":{"text":"dompurify-smoke.load (cyclomatic 17): dompurify-smoke.load has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 4 of the 17 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 52, 39). 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":"etc/dependencies/dompurify-smoke.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"19a2484c13ed7dd348742e6fb365304c9be6748682322227b42d1571e658bf79"}},{"ruleId":"D1","level":"warning","message":{"text":"Dialogs.FindWindow::isMatch (cyclomatic 17): Dialogs.FindWindow::isMatch has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: 2 other methods here (Dialogs.FindWindow::updateCount, Dialogs.FindWindow::replacePlaceholderMatch) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":10377}}}],"partialFingerprints":{"codehealthFindingId/v1":"06e297a38fcc608a1712c6e7e56048caa59db9f99bef719308d110f184573b2b"}},{"ruleId":"D1","level":"warning","message":{"text":"Dialogs.StyleRulesDialog.toObject (cyclomatic 17): Dialogs.StyleRulesDialog.toObject has cyclomatic complexity 17 (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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":22516}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2d6ab95bf21214a5b8474f4d598c86daae6e5e7c93d498dfd593368bff2f996"}},{"ruleId":"D1","level":"warning","message":{"text":"Dialogs.PolygonTool.updatePreview (cyclomatic 17): Dialogs.PolygonTool.updatePreview has cyclomatic complexity 17 (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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":28116}}}],"partialFingerprints":{"codehealthFindingId/v1":"2393634f9c77c3833011233114bdea23197fe61b3fc29280a551ed8a7134a6fb"}},{"ruleId":"D1","level":"warning","message":{"text":"DrawioFile.DrawioFile.fileSaved (cyclomatic 17): DrawioFile.DrawioFile.fileSaved has cyclomatic complexity 17 (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/webapp/js/diagramly/DrawioFile.js"},"region":{"startLine":4122}}}],"partialFingerprints":{"codehealthFindingId/v1":"20869a399cf8d66d4c712f8fc2274fe5000c4b9f368233099575b6b5f842f683"}},{"ruleId":"D1","level":"warning","message":{"text":"DrawioFileSync.DrawioFileSync.isAdditiveOnly (cyclomatic 17): DrawioFileSync.DrawioFileSync.isAdditiveOnly has cyclomatic complexity 17 (threshold 15). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DrawioFileSync.js"},"region":{"startLine":1766}}}],"partialFingerprints":{"codehealthFindingId/v1":"afcc7e40aecbda26712f5c1804cbbd00413f494fb51d4421597d8b7a1b42e409"}},{"ruleId":"D1","level":"warning","message":{"text":"Editor.mxShape.paint (cyclomatic 17): Editor.mxShape.paint has cyclomatic complexity 17 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This is NOT this file\u0027s highest cyclomatic complexity: Editor.Editor.createRoughCanvas (cyclomatic 21) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":2781}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2acf4b230d9e5c6725973d66518789fbdc0619c7d4b289f40c162ad446e0e0a"}},{"ruleId":"D1","level":"warning","message":{"text":"Editor.Editor.convertImageToDataUri (cyclomatic 17): Editor.Editor.convertImageToDataUri has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 7 of the 17 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 6229, 6266, 6293, \u2026). 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. This is NOT this file\u0027s highest cyclomatic complexity: Editor.Editor.createRoughCanvas (cyclomatic 21) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":6202}}}],"partialFingerprints":{"codehealthFindingId/v1":"9adabe18e4d7eebf544ad659c2ac7cebf79ac15ca5d9a2df83c196489d1da5b5"}},{"ruleId":"D1","level":"warning","message":{"text":"Editor.Editor.convertLegacyAnimationStep (cyclomatic 17): Editor.Editor.convertLegacyAnimationStep has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: Editor.Editor.createRoughCanvas (cyclomatic 21) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":15573}}}],"partialFingerprints":{"codehealthFindingId/v1":"5502f3a3ec7b3d14b8e3bf40d76770293366230cc3c60ea1b7577c3a4b1eedc3"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.isDiagramDataEmpty (cyclomatic 17): EditorUi.EditorUi.isDiagramDataEmpty has cyclomatic complexity 17 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: EditorUi.EditorUi.createSpinner (cyclomatic 30) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":1183}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b77a829082ccfa88a6e7a3fac34ca286161d9546a8400e75b9fc71bd17d2723"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.fileStats (cyclomatic 17): EditorUi.EditorUi.fileStats has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: EditorUi.EditorUi.createSpinner (cyclomatic 30) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":4083}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cfe9d7a875a9f8a3e6966e6e4ae053cf293baabdee666717b3e94fb4e2a6587"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.showHtmlDialog (cyclomatic 17): EditorUi.EditorUi.showHtmlDialog has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 7 of the 17 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 11031, 10970, 11005, \u2026). 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. This is NOT this file\u0027s highest cyclomatic complexity: EditorUi.EditorUi.createSpinner (cyclomatic 30) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":10835}}}],"partialFingerprints":{"codehealthFindingId/v1":"94cac3f825834bceafe19c5a3fade41c4fe354f40cabeceff53e2f3ed13dbf1d"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.sanitizeExportPreset (cyclomatic 17): EditorUi.EditorUi.sanitizeExportPreset has cyclomatic complexity 17 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 6 belong to 3 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: EditorUi.EditorUi.createSpinner (cyclomatic 30) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":11512}}}],"partialFingerprints":{"codehealthFindingId/v1":"c36df6ff204ea61de09cbfe5a6e927c089fa5eaabb42352fabc006aad7cbe5e3"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.getEmbeddedPng (cyclomatic 17): EditorUi.EditorUi.getEmbeddedPng has cyclomatic complexity 17 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 7 belong to 3 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: EditorUi.EditorUi.createSpinner (cyclomatic 30) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":13478}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a4950fbcb935a498ac9459ceb3dc19da024664a7020a604b54ca697d65f3b2d"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.applyMermaidElkPostPass (cyclomatic 17): EditorUi.EditorUi.applyMermaidElkPostPass has cyclomatic complexity 17 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 6 belong to 2 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: EditorUi.EditorUi.createSpinner (cyclomatic 30) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":15754}}}],"partialFingerprints":{"codehealthFindingId/v1":"f020e3b29a10d2bfd2111710081524044ab04de1d385d0c9329059f0e1dc864c"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.drainRepairParents (cyclomatic 17): EditorUi.drainRepairParents has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: EditorUi.EditorUi.createSpinner (cyclomatic 30) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":22528}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8603a28e704daa5b35a8130ff331139c7b2c7d7acc01432eae6df3bad1e108f"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.createShapesWindow (cyclomatic 17): EditorUi.EditorUi.createShapesWindow has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: EditorUi.EditorUi.createSpinner (cyclomatic 30) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":27018}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf92b1c952e775760f8565536bae028092d0bfb3e2e047144721ef59c0aa7587"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.generateDataSourceCells (cyclomatic 17): EditorUi.EditorUi.generateDataSourceCells has cyclomatic complexity 17 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: EditorUi.EditorUi.createSpinner (cyclomatic 30) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":38437}}}],"partialFingerprints":{"codehealthFindingId/v1":"a406ec8b95e3914ac6f67cc0ff836a280102e8508c944b40314c442cb3a8abf8"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.doImportCsv::getEdgeLabel (cyclomatic 17): EditorUi.EditorUi.doImportCsv::getEdgeLabel has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: 2 other methods here (EditorUi.EditorUi.doImportCsv, EditorUi.EditorUi.doImportCsv::updateListItems) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This is NOT this file\u0027s highest cyclomatic complexity: EditorUi.EditorUi.createSpinner (cyclomatic 30) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":40916}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec30a92869006824422ff5d56f48634612d9d7e98f9049733792832eac5136dc"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.updateCommentOverlays (cyclomatic 17): EditorUi.EditorUi.updateCommentOverlays has cyclomatic complexity 17 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: EditorUi.EditorUi.createSpinner (cyclomatic 30) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":43735}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e2839963e27ea4c1ebc0f2bb6172c6f6640d9332bcb766a1a009531ae611f63"}},{"ruleId":"D1","level":"warning","message":{"text":"ElkLayout.ElkLayoutBindings.run (cyclomatic 17): ElkLayout.ElkLayoutBindings.run has cyclomatic complexity 17 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. 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/webapp/js/diagramly/ElkLayout.js"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"68b138afdbbc8b0fd0d3b9126af21573620409f96b1887200eeabf53d1df2b00"}},{"ruleId":"D1","level":"warning","message":{"text":"ForceExplorer.ForceExplorer.updateAnimations (cyclomatic 17): ForceExplorer.ForceExplorer.updateAnimations has cyclomatic complexity 17 (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/webapp/js/diagramly/ForceExplorer.js"},"region":{"startLine":4018}}}],"partialFingerprints":{"codehealthFindingId/v1":"b84fce05d1e69fc0199e3524734d66afed7956d1cbc84c3a311cbdf0037f5fa0"}},{"ruleId":"D1","level":"warning","message":{"text":"ForceExplorer.ForceExplorer.renderTransform (cyclomatic 17): ForceExplorer.ForceExplorer.renderTransform has cyclomatic complexity 17 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. 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/webapp/js/diagramly/ForceExplorer.js"},"region":{"startLine":4146}}}],"partialFingerprints":{"codehealthFindingId/v1":"409a394fd1398535d371c1492f6291280f84f3910f2fcc50a8a12ede24e61207"}},{"ruleId":"D1","level":"warning","message":{"text":"ForceExplorer.ForceExplorer.flattenPath (cyclomatic 17): ForceExplorer.ForceExplorer.flattenPath has cyclomatic complexity 17 (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/webapp/js/diagramly/ForceExplorer.js"},"region":{"startLine":4500}}}],"partialFingerprints":{"codehealthFindingId/v1":"27687366e66e0f0fd96735a4014a56f1233cf3fc8cbed6780f5da8d57d22050b"}},{"ruleId":"D1","level":"warning","message":{"text":"GraphViewer.GraphViewer.blockedAncestorFrames (cyclomatic 17): GraphViewer.GraphViewer.blockedAncestorFrames has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/GraphViewer.js"},"region":{"startLine":3607}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e788111c51eae4c45de96779a2eae66bddecf0c11e0058b736699366faf3a24"}},{"ruleId":"D1","level":"warning","message":{"text":"LayoutPicker.EditorUi.getLayoutFormConfig (cyclomatic 17): LayoutPicker.EditorUi.getLayoutFormConfig has cyclomatic complexity 17 (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/webapp/js/diagramly/LayoutPicker.js"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"e86e9cf0d3d48ca600ce8a9c420a96dee93f91fb0488d3201f73f00aede5d503"}},{"ruleId":"D1","level":"warning","message":{"text":"LibavoidRouting.LibavoidRouting.createLayout (cyclomatic 17): LibavoidRouting.LibavoidRouting.createLayout has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 2 of the 17 points are its own statements and the rest belongs to 5 function items inside it that branch (runRouting, a function literal at line 322, runRouting::collect, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/LibavoidRouting.js"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"69e1a0f78cfc47b127369072d829fa78d3fa2d09e2badc05951b6a5e7466a073"}},{"ruleId":"D1","level":"warning","message":{"text":"Pages.EditorUi.initPages (cyclomatic 17): Pages.EditorUi.initPages has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 4 of the 17 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 1433, 1421, 1480). 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/webapp/js/diagramly/Pages.js"},"region":{"startLine":1397}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca777b01a191f930d9e3751bd199f2348fe7a6249cdda08e035d5e1163910651"}},{"ruleId":"D1","level":"warning","message":{"text":"mxGraphMlCodec.mxGraphMlCodec.handleTemplates (cyclomatic 17): mxGraphMlCodec.mxGraphMlCodec.handleTemplates has cyclomatic complexity 17 (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/webapp/js/diagramly/graphml/mxGraphMlCodec.js"},"region":{"startLine":1169}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5e9b10da5c7c73cdcbed102c007c2c04ca1396597de0db904f01dc9fc965df4"}},{"ruleId":"D1","level":"warning","message":{"text":"Sidebar.Sidebar.getMatchingLibraryChips (cyclomatic 17): Sidebar.Sidebar.getMatchingLibraryChips has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar.js"},"region":{"startLine":2021}}}],"partialFingerprints":{"codehealthFindingId/v1":"477fca868090f96b01d80c86b31e9c144feac1c292e7d76ce29cb032695ea415"}},{"ruleId":"D1","level":"warning","message":{"text":"Editor.installMxWindowEdgeResizeHandles (cyclomatic 17): Editor.installMxWindowEdgeResizeHandles has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 2 of the 17 points are its own statements and the rest belongs to 3 function items inside it that branch (addHandle::move, addHandle::down, addHandle::up). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Editor.js"},"region":{"startLine":2600}}}],"partialFingerprints":{"codehealthFindingId/v1":"a91fde4eb5e48a4f014f4ae209c3cb7bc6d5ad2ce9bc8f06aa285169d2d9ab64"}},{"ruleId":"D1","level":"warning","message":{"text":"Editor.PageSetupDialog (cyclomatic 17): Editor.PageSetupDialog has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (Editor.PageSetupDialog::applyFn) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Editor.js"},"region":{"startLine":3471}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a6c29f2ea6ba5cdf7e36ec4a496a9b739a85ce0cb2800ae89356aba50e08ea2"}},{"ruleId":"D1","level":"warning","message":{"text":"Editor.mxGraphHandler.isPropagateSelectionCell (cyclomatic 17): Editor.mxGraphHandler.isPropagateSelectionCell has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Editor.js"},"region":{"startLine":5333}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2b1ba18e78742d7ce1063193ad97e5559c356a41d92c749e9893660d9e99d1b"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.updateSelectionStateForTableCells (cyclomatic 17): EditorUi.EditorUi.updateSelectionStateForTableCells has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: EditorUi.EditorUi.typeIntoShapePicker (cyclomatic 18) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":1788}}}],"partialFingerprints":{"codehealthFindingId/v1":"6497f7bf0b23c14176f1a15d54db3110a8e760e0943bc3d406049a4a75386560"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.getPaletteCellsForShapePicker (cyclomatic 17): EditorUi.EditorUi.getPaletteCellsForShapePicker has cyclomatic complexity 17 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: EditorUi.EditorUi.typeIntoShapePicker (cyclomatic 18) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":3149}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f307e2394f3ab979055c6bd46f13512d6d237748cbc141b295d57ce5f5eb14f"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.showTypingShim (cyclomatic 17): EditorUi.EditorUi.showTypingShim has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: EditorUi.EditorUi.typeIntoShapePicker (cyclomatic 18) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":5083}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eb09ecb6185ecc3f97a1e04b70bbbe04acdaa7b9ac2d3bcdf98c0ba654166e0"}},{"ruleId":"D1","level":"warning","message":{"text":"Format.BaseFormatPanel.createRelativeOption (cyclomatic 17): Format.BaseFormatPanel.createRelativeOption has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 4 of the 17 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 2133, 2193, 2203). 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/webapp/js/grapheditor/Format.js"},"region":{"startLine":2121}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a331eda8de0883def8b3e814e63eb08f947e30dc3db60262197313906fac1e6"}},{"ruleId":"D1","level":"warning","message":{"text":"Format.StyleFormatPanel.addSvgVars (cyclomatic 17): Format.StyleFormatPanel.addSvgVars has cyclomatic complexity 17 (threshold 15). Of this number, 9 points are the body\u0027s own statements and 8 belong to 3 function items inside it that branch. 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/webapp/js/grapheditor/Format.js"},"region":{"startLine":7182}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5c972a484cddf5ebb05513cc39a74f5911dcda195ca915708a438e05ae1b2b3"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.mxImageShape.getImageDataUri (cyclomatic 17): Graph.mxImageShape.getImageDataUri has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: Graph.Graph.init (cyclomatic 24) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9f7140539b958138876d301f7659ded99670d5ff985a128e97154030f1c299b"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.Graph.removePasteFormatting (cyclomatic 17): Graph.Graph.removePasteFormatting has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: Graph.Graph.init (cyclomatic 24) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":4363}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c607d9221cc5b42066af50d3e45b5c8e04f5571f15a09030e32b3298d307d39"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.Graph.elkOptionsToConfig (cyclomatic 17): Graph.Graph.elkOptionsToConfig has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: Graph.Graph.init (cyclomatic 24) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":15152}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0ace8d18fa55e3949db0e69aa6042cc7b923b9ffaef4727d0193815183ddb1a"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.Graph.getDataSources (cyclomatic 17): Graph.Graph.getDataSources has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions. This is NOT this file\u0027s highest cyclomatic complexity: Graph.Graph.init (cyclomatic 24) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":18907}}}],"partialFingerprints":{"codehealthFindingId/v1":"48791e96e9b5c9ee44284c479c31a338d54a4954ed4a1c8d6fe2c08d87150579"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.mxGraphView.updateMultipleTerminalPoint (cyclomatic 17): Graph.mxGraphView.updateMultipleTerminalPoint has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: Graph.Graph.init (cyclomatic 24) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":30962}}}],"partialFingerprints":{"codehealthFindingId/v1":"96c217431ebde2ba0f9ab5e68eb68e1e67158464d2c3168283c93d51ab5c6641"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.mxStencilRegistry.getStencil (cyclomatic 17): Graph.mxStencilRegistry.getStencil has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: Graph.Graph.init (cyclomatic 24) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":34135}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b1ad373089755618c79a57996bbd369936fb5e68bc0c0cda831ff739feb447e"}},{"ruleId":"D1","level":"warning","message":{"text":"InlineToolbar.InlineToolbar.coversEdge (cyclomatic 17): InlineToolbar.InlineToolbar.coversEdge has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This is NOT this file\u0027s highest cyclomatic complexity: InlineToolbar.InlineToolbar.showFillMenu::update (cyclomatic 18) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/InlineToolbar.js"},"region":{"startLine":1345}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1553695a6fe370d5536a73917a373f6902b352bce5c652c20a9a1db0910ad68"}},{"ruleId":"D1","level":"warning","message":{"text":"InlineToolbar.InlineToolbar.showMarkerSubPanel (cyclomatic 17): InlineToolbar.InlineToolbar.showMarkerSubPanel has cyclomatic complexity 17 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 3 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: InlineToolbar.InlineToolbar.showFillMenu::update (cyclomatic 18) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/InlineToolbar.js"},"region":{"startLine":3432}}}],"partialFingerprints":{"codehealthFindingId/v1":"887252d545f3acefdb55f014e6a024baf5315453cac601f624d5bc378a10333e"}},{"ruleId":"D1","level":"warning","message":{"text":"Menus.Menus.pickColor (cyclomatic 17): Menus.Menus.pickColor has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 1 of the 17 points is its own statement and the rest belongs to 5 function literals inside it that branch (lines 1410, 1431, 1454, \u2026). 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/webapp/js/grapheditor/Menus.js"},"region":{"startLine":1408}}}],"partialFingerprints":{"codehealthFindingId/v1":"c06dd37849423bfdff82f356dec1f721e52468462023988ed2a8c80a0cafb65f"}},{"ruleId":"D1","level":"warning","message":{"text":"Omnibox.Omnibox.addActionEntries (cyclomatic 17): Omnibox.Omnibox.addActionEntries has cyclomatic complexity 17 (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/webapp/js/grapheditor/Omnibox.js"},"region":{"startLine":1214}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dd6770c6136ae163060a4e32c9ac2a734535800180bb3cfb1b0a99d48a24b02"}},{"ruleId":"D1","level":"warning","message":{"text":"Omnibox.Omnibox.createItem (cyclomatic 17): Omnibox.Omnibox.createItem has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Omnibox.js"},"region":{"startLine":2574}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bdda2f9766a77f1fd787f44f830fa91090c317165de2d10e55250dc5423eab0"}},{"ruleId":"D1","level":"warning","message":{"text":"Shapes.mxShapeBasicRect2.paintNW (cyclomatic 17): Shapes.mxShapeBasicRect2.paintNW has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: 3 other methods here (Shapes.mxShapeBasicRect2.paintNE, Shapes.mxShapeBasicRect2.paintSE, Shapes.mxShapeBasicRect2.paintSW) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":6901}}}],"partialFingerprints":{"codehealthFindingId/v1":"16d36195a3472ca24a5baa3f0d33d4429b7e5f47b71f59f90a90d2eceac0f16d"}},{"ruleId":"D1","level":"warning","message":{"text":"Shapes.mxShapeBasicRect2.paintNE (cyclomatic 17): Shapes.mxShapeBasicRect2.paintNE has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: 3 other methods here (Shapes.mxShapeBasicRect2.paintNW, Shapes.mxShapeBasicRect2.paintSE, Shapes.mxShapeBasicRect2.paintSW) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":6938}}}],"partialFingerprints":{"codehealthFindingId/v1":"70450073c5e273356417ace14034092aa5288f57e648fcce33168aada3a93888"}},{"ruleId":"D1","level":"warning","message":{"text":"Shapes.mxShapeBasicRect2.paintSE (cyclomatic 17): Shapes.mxShapeBasicRect2.paintSE has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: 3 other methods here (Shapes.mxShapeBasicRect2.paintNW, Shapes.mxShapeBasicRect2.paintNE, Shapes.mxShapeBasicRect2.paintSW) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":6987}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf165c3fa59ac0ed569076c604e76a35d1239c996cd6e2bc3c68de57a63fb212"}},{"ruleId":"D1","level":"warning","message":{"text":"Shapes.mxShapeBasicRect2.paintSW (cyclomatic 17): Shapes.mxShapeBasicRect2.paintSW has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: 3 other methods here (Shapes.mxShapeBasicRect2.paintNW, Shapes.mxShapeBasicRect2.paintNE, Shapes.mxShapeBasicRect2.paintSE) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":7024}}}],"partialFingerprints":{"codehealthFindingId/v1":"35b381f06b2c74dae4961cd891d89d9c3d10b191ed6248ec7ef21142a8d54a6f"}},{"ruleId":"D1","level":"warning","message":{"text":"Shapes.mxShapeBasicRect2.paintTopInner (cyclomatic 17): Shapes.mxShapeBasicRect2.paintTopInner has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: 2 other methods here (Shapes.mxShapeBasicRect2.paintRightInner, Shapes.mxShapeBasicRect2.paintLeftInner) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":7070}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe73641913edb0c4f140602bb2be8ef7f68f5a8ddbb9b38bff408cecbb9d8a88"}},{"ruleId":"D1","level":"warning","message":{"text":"Shapes.mxShapeBasicRect2.paintRightInner (cyclomatic 17): Shapes.mxShapeBasicRect2.paintRightInner has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: 2 other methods here (Shapes.mxShapeBasicRect2.paintTopInner, Shapes.mxShapeBasicRect2.paintLeftInner) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":7124}}}],"partialFingerprints":{"codehealthFindingId/v1":"33c12309a82ddd925f6b7fb30d491bf7917d8376098f2bc1e2d4b50743c8298a"}},{"ruleId":"D1","level":"warning","message":{"text":"Shapes.mxShapeBasicRect2.paintLeftInner (cyclomatic 17): Shapes.mxShapeBasicRect2.paintLeftInner has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: 2 other methods here (Shapes.mxShapeBasicRect2.paintTopInner, Shapes.mxShapeBasicRect2.paintRightInner) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":7157}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6ca8c194415b3d57eb5fd0be5d7244c44b97402dc58f8523f42f56157904bad"}},{"ruleId":"D1","level":"warning","message":{"text":"Shapes.mxShapeBasicRect2.paintBottomInner (cyclomatic 17): Shapes.mxShapeBasicRect2.paintBottomInner has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":7211}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b4b7b757f0fb96e07ce10de36c834d1ab256b3fc6f3762198684a5c08b03e7c"}},{"ruleId":"D1","level":"warning","message":{"text":"Shapes.mxShapeBasicRect2.paintSWInner (cyclomatic 17): Shapes.mxShapeBasicRect2.paintSWInner has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":7240}}}],"partialFingerprints":{"codehealthFindingId/v1":"be3f291152f0ea73fee71dd611cae767a9e6abf3737afe72f26b6eae48d75cc9"}},{"ruleId":"D1","level":"warning","message":{"text":"Shapes.mxShapeBasicRect2.moveSWInner (cyclomatic 17): Shapes.mxShapeBasicRect2.moveSWInner has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: 3 other methods here (Shapes.mxShapeBasicRect2.lineSWInner, Shapes.mxShapeBasicRect2.moveSEInner, Shapes.mxShapeBasicRect2.lineSEInner) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":7269}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ea9df0445cdbd3f8d20f9e00e3cb9e28755fb67cf9b8d2c62555c6b49cca7ba"}},{"ruleId":"D1","level":"warning","message":{"text":"Shapes.mxShapeBasicRect2.lineSWInner (cyclomatic 17): Shapes.mxShapeBasicRect2.lineSWInner has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: 3 other methods here (Shapes.mxShapeBasicRect2.moveSWInner, Shapes.mxShapeBasicRect2.moveSEInner, Shapes.mxShapeBasicRect2.lineSEInner) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":7291}}}],"partialFingerprints":{"codehealthFindingId/v1":"83afa4074666675496cb99b310d1bb063619fc79a6be2748de5e1b1abd306eed"}},{"ruleId":"D1","level":"warning","message":{"text":"Shapes.mxShapeBasicRect2.moveSEInner (cyclomatic 17): Shapes.mxShapeBasicRect2.moveSEInner has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: 3 other methods here (Shapes.mxShapeBasicRect2.moveSWInner, Shapes.mxShapeBasicRect2.lineSWInner, Shapes.mxShapeBasicRect2.lineSEInner) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":7313}}}],"partialFingerprints":{"codehealthFindingId/v1":"922ba37a76794502771d982baf18063e8d94e81376871f318e9ed38864ca8694"}},{"ruleId":"D1","level":"warning","message":{"text":"Shapes.mxShapeBasicRect2.lineSEInner (cyclomatic 17): Shapes.mxShapeBasicRect2.lineSEInner has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: 3 other methods here (Shapes.mxShapeBasicRect2.moveSWInner, Shapes.mxShapeBasicRect2.lineSWInner, Shapes.mxShapeBasicRect2.moveSEInner) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":7335}}}],"partialFingerprints":{"codehealthFindingId/v1":"10cd5459e30b7bfd3898ff89aa4d30c7034d98d316baab1cb5820f4ed8a73ea1"}},{"ruleId":"D1","level":"warning","message":{"text":"Shapes.TaperedArrowShape.getWidthHandleFrame (cyclomatic 17): Shapes.TaperedArrowShape.getWidthHandleFrame has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":7666}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5f56038c80bf41e86aaa8ffb892580132843b6aaa42a1d1d09b320e889d92ee"}},{"ruleId":"D1","level":"warning","message":{"text":"Shapes.TaperedArrowShape.createMarker (cyclomatic 17): Shapes.TaperedArrowShape.createMarker has cyclomatic complexity 17 (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/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":7849}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcf4645d3beaab32b12ee251002709f79291ffaaabb506b1f4801094423b0807"}},{"ruleId":"D1","level":"warning","message":{"text":"Shapes.MermaidSankeyLinkShape.paintEdgeShape (cyclomatic 17): Shapes.MermaidSankeyLinkShape.paintEdgeShape has cyclomatic complexity 17 (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/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":9678}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a36e84831b2b646400f2158069efd300277c72a9daa12c5ddd78ebeba64799f"}},{"ruleId":"D1","level":"warning","message":{"text":"Sidebar.Sidebar.matchPartialEntries (cyclomatic 17): Sidebar.Sidebar.matchPartialEntries has cyclomatic complexity 17 (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/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":2380}}}],"partialFingerprints":{"codehealthFindingId/v1":"56e7941c8d6e5046d79d0a358fa8bc58411bb04659e0f33ad11e3f9c5c815359"}},{"ruleId":"D1","level":"warning","message":{"text":"mxEdgeHandler.mxEdgeHandler.getPointForEvent (cyclomatic 17): mxEdgeHandler.mxEdgeHandler.getPointForEvent has cyclomatic complexity 17 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 4 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: mxEdgeHandler.mxEdgeHandler.createMarker (cyclomatic 21) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/handler/mxEdgeHandler.js"},"region":{"startLine":1141}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac03144fcc58edd6f8a0775f37be7cc6eb9fb978a99d587c1a548e87e3295d13"}},{"ruleId":"D1","level":"warning","message":{"text":"mxSelectionCellsHandler.mxSelectionCellsHandler.refresh (cyclomatic 17): mxSelectionCellsHandler.mxSelectionCellsHandler.refresh has cyclomatic complexity 17 (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/webapp/mxgraph/src/handler/mxSelectionCellsHandler.js"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"19992adbb3cbb023d0f014c2b8060a8b3463c66992c44d60e92f90a04cb17340"}},{"ruleId":"D1","level":"warning","message":{"text":"mxVertexHandler.mxVertexHandler.createSizers (cyclomatic 17): mxVertexHandler.mxVertexHandler.createSizers has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/handler/mxVertexHandler.js"},"region":{"startLine":2303}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccebfd6df3b84f9d7fc0eb09a7c99374b3a2418bb94c1bde7cdf562c9b6b54ce"}},{"ruleId":"D1","level":"warning","message":{"text":"mxText.mxText.redrawHtmlShapeWithCss3 (cyclomatic 17): mxText.mxText.redrawHtmlShapeWithCss3 has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 4 of the 17 points are its own statements and the rest belongs to one function literal inside it that branches (line 901). The decisions are inside the literal, 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 literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/shape/mxText.js"},"region":{"startLine":888}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e2460cf4cfcbef6deecf89c586aed61dd7dee3aabd8162cad5111ad9a74bc15"}},{"ruleId":"D1","level":"warning","message":{"text":"mxGraph.mxGraph.updateGroupBounds (cyclomatic 17): mxGraph.mxGraph.updateGroupBounds has cyclomatic complexity 17 (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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":4453}}}],"partialFingerprints":{"codehealthFindingId/v1":"549ca5886ab869ab928e54ccde4401eb0817411de3e716177719a754f91f78ec"}},{"ruleId":"D1","level":"warning","message":{"text":"mxGraph.mxGraph.getPreferredSizeForCell (cyclomatic 17): mxGraph.mxGraph.getPreferredSizeForCell has cyclomatic complexity 17 (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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":6047}}}],"partialFingerprints":{"codehealthFindingId/v1":"e42e81715eefe7abbeff6bd408ea47686fdee9ee3e74d661790b83dc7ae5ce68"}},{"ruleId":"D1","level":"warning","message":{"text":"mxGraph.mxGraph.getCellContainmentArea (cyclomatic 17): mxGraph.mxGraph.getCellContainmentArea has cyclomatic complexity 17 (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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":6904}}}],"partialFingerprints":{"codehealthFindingId/v1":"07de6b97e52d77e7d491b8fbe548a86a048a772d5d19297e110909c3ad8c8f76"}},{"ruleId":"D1","level":"warning","message":{"text":"mxGraph.mxGraph.setConnectionConstraint (cyclomatic 17): mxGraph.mxGraph.setConnectionConstraint has cyclomatic complexity 17 (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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":7375}}}],"partialFingerprints":{"codehealthFindingId/v1":"170aa895fbcb17ca5291f1e59fae1f1cb9af946edb04c000e32336aadcb88f9c"}},{"ruleId":"D1","level":"warning","message":{"text":"mxGraph.mxGraph.panGraph (cyclomatic 17): mxGraph.mxGraph.panGraph has cyclomatic complexity 17 (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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":8453}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2064711a22a351a85fd8fd00be17b9e727fc1bffce574f62cf72feb6084f4ea"}},{"ruleId":"D1","level":"warning","message":{"text":"mxGraph.mxGraph.validateGraph (cyclomatic 17): mxGraph.mxGraph.validateGraph has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":9397}}}],"partialFingerprints":{"codehealthFindingId/v1":"a91cee18f3aaf0fd7e0036952da52e44a276a72cb8f1af3fbfef35c2ff8989bb"}},{"ruleId":"D1","level":"warning","message":{"text":"mxGraph.mxGraph.getCellAt (cyclomatic 17): mxGraph.mxGraph.getCellAt has cyclomatic complexity 17 (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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":12204}}}],"partialFingerprints":{"codehealthFindingId/v1":"c728eb9e2a21864561d5050ee081ec8372d65ee2a7f73f5b3248702540335d9e"}},{"ruleId":"D1","level":"warning","message":{"text":"mxGraph.mxGraph.getOpposites (cyclomatic 17): mxGraph.mxGraph.getOpposites has cyclomatic complexity 17 (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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":12994}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ef76b3ae8b2f8bd3f101abd47f069e0def526b988ec221fe03fe0d34c72e248"}},{"ruleId":"D1","level":"warning","message":{"text":"mxGraph.mxGraph.selectCell (cyclomatic 17): mxGraph.mxGraph.selectCell has cyclomatic complexity 17 (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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":13636}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b5078398ebda08bc6fa07ac5d21e28b50f483ee94bcf3eaa76ff1c80f1dc887"}},{"ruleId":"D1","level":"warning","message":{"text":"mxGraphView.mxGraphView.getPreviousNode (cyclomatic 17): mxGraphView.mxGraphView.getPreviousNode has cyclomatic complexity 17 (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/webapp/mxgraph/src/view/mxGraphView.js"},"region":{"startLine":1702}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffe1b51b29469f5409c7bd77310433cf06d64559911f7949c6b871808e17de16"}},{"ruleId":"D1","level":"warning","message":{"text":"mxGraphView.mxGraphView.getPerimeterPoint (cyclomatic 17): mxGraphView.mxGraphView.getPerimeterPoint has cyclomatic complexity 17 (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/webapp/mxgraph/src/view/mxGraphView.js"},"region":{"startLine":3559}}}],"partialFingerprints":{"codehealthFindingId/v1":"795b82bfca183f2a57c29213c601c236842bcbec6bd22c11547428944b18364c"}},{"ruleId":"D1","level":"warning","message":{"text":"mxMultiplicity.mxMultiplicity.check (cyclomatic 17): mxMultiplicity.mxMultiplicity.check has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxMultiplicity.js"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"319e1ab74414925ecce1cbcb092f3165f36502f3729a5b09676f580f5f5a9a88"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::processTheme (cyclomatic 17): (anonymous)::processTheme has cyclomatic complexity 17 (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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":5551}}}],"partialFingerprints":{"codehealthFindingId/v1":"930aa839f94884cb766afa793ac913b0d1b234d881cb82d7970009e95fbb0559"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 17): (anonymous) has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 1 of the 17 points is its own statement and the rest belongs to 15 function items inside it that branch (toHsl, toHsv, toHexStr, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":6873}}}],"partialFingerprints":{"codehealthFindingId/v1":"71cceef92748b812d90c0e2c81f407aa2df38d1a09d42a01c9a5472dc53281d8"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::parseShapeElem (cyclomatic 17): (anonymous)::parseShapeElem has cyclomatic complexity 17 (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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":10756}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb1d9582e92d517cd1b65bf99c5e727b4677c2fe06e7ec62299a854b2ae05b8d"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::getStyleFromEdgeShape (cyclomatic 17): (anonymous)::getStyleFromEdgeShape has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":14468}}}],"partialFingerprints":{"codehealthFindingId/v1":"87043407784fdbe57e802743ecec7cbfd40d363937009e34740c1411ef5b9a2a"}},{"ruleId":"D1","level":"warning","message":{"text":"RevisionDialog::(anonymous)::updateGraph (cyclomatic 17): RevisionDialog::(anonymous)::updateGraph has cyclomatic complexity 17 (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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":9071}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d1060f86296739f0a7b904b900c2744a54879707c5917212427de5ffb1b1ff2"}},{"ruleId":"D1","level":"warning","message":{"text":"paintForeground (cyclomatic 17): paintForeground has cyclomatic complexity 17 (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/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":3339}}}],"partialFingerprints":{"codehealthFindingId/v1":"09f14de0c3864e0f6c606fb2030a795f95af8191e6ec830a2b33ebc83bf94cf7"}},{"ruleId":"D1","level":"warning","message":{"text":"init (cyclomatic 17): init has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 7 of the 17 points are its own statements and the rest belongs to 6 function items inside it that branch (getPoint, replacePlaceholders, applyDataStyles, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ForceExplorer.js"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"6966434ddf299518cd21c7df663f715d77e082c431f9b7ee1aab1fb82d12ece4"}},{"ruleId":"D1","level":"warning","message":{"text":"keepLockedGeometries::(anonymous)::setGeometry (cyclomatic 17): keepLockedGeometries::(anonymous)::setGeometry has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/LayoutPicker.js"},"region":{"startLine":854}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2aad64b42d2ee52e52ca85a910d799b83f71d3b51a89a22f5fa1f017a939b82"}},{"ruleId":"D1","level":"warning","message":{"text":"render::redraw (cyclomatic 17): render::redraw has cyclomatic complexity 17 (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/webapp/js/export.js"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"08301033b3d914ddfa50a5853d560566e30e88d2cdf90415ea7ac4b7770f3c57"}},{"ruleId":"D1","level":"warning","message":{"text":"mxText (cyclomatic 17): mxText has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/shape/mxText.js"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad1143d67c76576f79aeaf18f3e27d1a20dcd9e89269c2b4b5ea54a52ad5be5c"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 17): (anonymous) has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Init.js"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"86d4d6ac41e6709f63abf91b994d128782176bf400cdc70ae8b46def31a815de"}},{"ruleId":"D1","level":"warning","message":{"text":"dompurify-smoke.unsafe (cyclomatic 16): dompurify-smoke.unsafe has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 1 of the 16 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 167, 161). 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":"etc/dependencies/dompurify-smoke.js"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c1e64bfe9fa5deac26c8cac721c49ce762cf0008473882d2768a448d20563fe"}},{"ruleId":"D1","level":"warning","message":{"text":"mxReader.DrawioViewer.resetGraphView (cyclomatic 16): mxReader.DrawioViewer.resetGraphView has cyclomatic complexity 16 (threshold 15). Of this number, 8 points are the body\u0027s own statements and 8 belong to one function literal inside it that branches. 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/webapp/connect/common/js/mxReader.js"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"e05eefcc5116ea2e065a739461c48b91d70514a7d80dc53c7e881340a098af4f"}},{"ruleId":"D1","level":"warning","message":{"text":"App.App.open (cyclomatic 16): App.App.open has cyclomatic complexity 16 (threshold 15). Of this number, 9 points are the body\u0027s own statements and 7 belong to one function literal inside it that branches. 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/webapp/js/diagramly/App.js"},"region":{"startLine":3990}}}],"partialFingerprints":{"codehealthFindingId/v1":"a900fdbaf034519ffe80eb3c05b5cdcb03912cefcd8e520b4b5ad0efba4ab917"}},{"ruleId":"D1","level":"warning","message":{"text":"App.App.checkDrafts (cyclomatic 16): App.App.checkDrafts has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 2 of the 16 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 5276, 5310, 5291, \u2026). 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/webapp/js/diagramly/App.js"},"region":{"startLine":5264}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d045545b5e7fe4094213de75959f389eae36ba5755c236b48afc9f739c25f3b"}},{"ruleId":"D1","level":"warning","message":{"text":"Dialogs.CustomActionDialog.liftLegacyLayers (cyclomatic 16): Dialogs.CustomActionDialog.liftLegacyLayers has cyclomatic complexity 16 (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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":8198}}}],"partialFingerprints":{"codehealthFindingId/v1":"5902a23b5034a3f732c6fdb8c5c11c39d1dac4d8443947b5d0f23772683fdfd1"}},{"ruleId":"D1","level":"warning","message":{"text":"Dialogs.AnimationDialog::loadFromContext (cyclomatic 16): Dialogs.AnimationDialog::loadFromContext has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 5 other methods here (Dialogs.AnimationDialog, Dialogs.AnimationDialog::formatSelectorText, Dialogs.AnimationDialog::renderStepField, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 6 times rather than 6 independent problems. Splitting this body alone leaves the other 5 exactly as they are. Where these are variations on one operation, the change that clears all 6 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":14411}}}],"partialFingerprints":{"codehealthFindingId/v1":"79ac624d6006052e480438d0ed9f462f702a6f70b80845af71d12c32704c2505"}},{"ruleId":"D1","level":"warning","message":{"text":"Dialogs.StyleRulesDialog.parseRules (cyclomatic 16): Dialogs.StyleRulesDialog.parseRules has cyclomatic complexity 16 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":22434}}}],"partialFingerprints":{"codehealthFindingId/v1":"17e56296186c42205f035f8f8f3750c25bcb5f79d082de2dc81b1fc3aa28f220"}},{"ruleId":"D1","level":"warning","message":{"text":"DriveClient.DriveClient.showPermissions (cyclomatic 16): DriveClient.DriveClient.showPermissions has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 2 of the 16 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 3224, 3202, 3187). 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/webapp/js/diagramly/DriveClient.js"},"region":{"startLine":3183}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f9a69eb709c4f6e6a994b8846866df81eb64ea173a17385606ecf0933443073"}},{"ruleId":"D1","level":"warning","message":{"text":"DriveFile.DriveFile.getComments (cyclomatic 16): DriveFile.DriveFile.getComments has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 1 of the 16 points is its own statement and the rest belongs to 3 function items inside it that branch (driveCommentToDrawio, a function literal at line 977, a function literal at line 969). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DriveFile.js"},"region":{"startLine":938}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ac8499f04a49754af0dac3fe7b7d47f7302bbf61bfb7ed4948a176a01572c04"}},{"ruleId":"D1","level":"warning","message":{"text":"Editor.Editor.loadCompatibleCss (cyclomatic 16): Editor.Editor.loadCompatibleCss has cyclomatic complexity 16 (threshold 15). Of this number, 8 points are the body\u0027s own statements and 8 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: Editor.Editor.createRoughCanvas (cyclomatic 21) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":1864}}}],"partialFingerprints":{"codehealthFindingId/v1":"23eed00ff47d5784d4212af52c531159596d0b5ef453f9eb998b79dd371ddb90"}},{"ruleId":"D1","level":"warning","message":{"text":"Editor.Editor.convertLegacyAnimation (cyclomatic 16): Editor.Editor.convertLegacyAnimation has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 4 of the 16 points are its own statements and the rest belongs to 3 function items inside it that branch (merge, paramsMatch, flush). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest. This is NOT this file\u0027s highest cyclomatic complexity: Editor.Editor.createRoughCanvas (cyclomatic 21) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":15653}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b2c5c5397afa2c7eb1264f2d64ec25d9e38464a46899b104b5c790ac68dbf26"}},{"ruleId":"D1","level":"warning","message":{"text":"Editor.Editor.toggleFlowAnimation (cyclomatic 16): Editor.Editor.toggleFlowAnimation has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: Editor.Editor.createRoughCanvas (cyclomatic 21) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":16200}}}],"partialFingerprints":{"codehealthFindingId/v1":"967074622c83a9bc11bce9dcb7741b8ec4cd2bb64afef1ce62eaf0e47c81c4a7"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.showEmbedImageDialog (cyclomatic 16): EditorUi.EditorUi.showEmbedImageDialog has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 7 of the 16 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 12920, 12961). 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. This is NOT this file\u0027s highest cyclomatic complexity: EditorUi.EditorUi.createSpinner (cyclomatic 30) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":12836}}}],"partialFingerprints":{"codehealthFindingId/v1":"edf9bb1120d471bd038b2579a0c8ed6dc9551c6e16e82e9b76b7dda8ce4b4fc0"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.extractMermaidDeclaration (cyclomatic 16): EditorUi.EditorUi.extractMermaidDeclaration has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: EditorUi.EditorUi.createSpinner (cyclomatic 30) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":15588}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ca17bb88507de2ec12e12503d7a7fc5e065c7855656c7a6e0b12aad214e755e"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.getEmbedSvgSize (cyclomatic 16): EditorUi.EditorUi.getEmbedSvgSize has cyclomatic complexity 16 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This is NOT this file\u0027s highest cyclomatic complexity: EditorUi.EditorUi.createSpinner (cyclomatic 30) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":20530}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4794959b02f3649de3a22b63c91b03c381be91270b404624a5e8cdf52c6e4c8"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.sanitizeRealtimeTerminals (cyclomatic 16): EditorUi.EditorUi.sanitizeRealtimeTerminals has cyclomatic complexity 16 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 6 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: EditorUi.EditorUi.createSpinner (cyclomatic 30) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":20930}}}],"partialFingerprints":{"codehealthFindingId/v1":"39dc85b4d53affeb9e8c70e5794762c3338bacf95b85e100853a116917044613"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.parseViewBox (cyclomatic 16): EditorUi.EditorUi.parseViewBox has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This is NOT this file\u0027s highest cyclomatic complexity: EditorUi.EditorUi.createSpinner (cyclomatic 30) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":31409}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdf10ce0b7c821951c5fa9a976bbda6fa6e03d4b8fc52000582f4db8a9cb6e72"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.gotoCommentAnchor (cyclomatic 16): EditorUi.EditorUi.gotoCommentAnchor has cyclomatic complexity 16 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: EditorUi.EditorUi.createSpinner (cyclomatic 30) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":43557}}}],"partialFingerprints":{"codehealthFindingId/v1":"076af314db134418b08af71cc3b7e72796181e62ee36115893ed36de924e2aee"}},{"ruleId":"D1","level":"warning","message":{"text":"Extensions.updateEndpoint (cyclomatic 16): Extensions.updateEndpoint has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: Extensions.addStyle (cyclomatic 26) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Extensions.js"},"region":{"startLine":6476}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf46ac8d67de7566e6346a2160af958e82d6ff4edc4d9efb9e9824d01c3afca5"}},{"ruleId":"D1","level":"warning","message":{"text":"Extensions.importLucidPage::addLine (cyclomatic 16): Extensions.importLucidPage::addLine has cyclomatic complexity 16 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions. This shape REPEATS in the file: one other method here (Extensions.importLucidPage) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This is NOT this file\u0027s highest cyclomatic complexity: Extensions.addStyle (cyclomatic 26) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Extensions.js"},"region":{"startLine":6805}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb69a2e400af358dae3c2fcee21bfe0d3c07603baf4441a136c4f9aeb6e8218e"}},{"ruleId":"D1","level":"warning","message":{"text":"ForceExplorer.ForceExplorer.focusInDirection (cyclomatic 16): ForceExplorer.ForceExplorer.focusInDirection has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: ForceExplorer.ForceExplorer.init (cyclomatic 17) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ForceExplorer.js"},"region":{"startLine":1350}}}],"partialFingerprints":{"codehealthFindingId/v1":"aed5838a1246f1ea1fad7a63d7ef7830f353f14385340967f645c219bebcef66"}},{"ruleId":"D1","level":"warning","message":{"text":"ForceExplorer.ForceExplorer.getLabelSizes (cyclomatic 16): ForceExplorer.ForceExplorer.getLabelSizes has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 5 of the 16 points are its own statements and the rest belongs to 2 function items inside it that branch (add, getMarkerSize). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest. This is NOT this file\u0027s highest cyclomatic complexity: ForceExplorer.ForceExplorer.init (cyclomatic 17) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ForceExplorer.js"},"region":{"startLine":2784}}}],"partialFingerprints":{"codehealthFindingId/v1":"21923b734d7b4ba7963e112b26171bdb5e89e6b83656806c1d947ad6e1e1c1c8"}},{"ruleId":"D1","level":"warning","message":{"text":"GitHubFile.GitHubFile.saveFile (cyclomatic 16): GitHubFile.GitHubFile.saveFile has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 7 of the 16 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 244, 270, 260, \u2026). 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/webapp/js/diagramly/GitHubFile.js"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"4880b2cde1c50049687cd176ad8d390797bf8f6ad3496b2abb285ffdd36b0dc3"}},{"ruleId":"D1","level":"warning","message":{"text":"GraphViewer.GraphViewer.getModelNodeBounds::getOrigin (cyclomatic 16): GraphViewer.GraphViewer.getModelNodeBounds::getOrigin has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (GraphViewer.GraphViewer.getModelNodeBounds) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/GraphViewer.js"},"region":{"startLine":3483}}}],"partialFingerprints":{"codehealthFindingId/v1":"287773c032564cd2badea108f5bdbdc903aad1f6ae386d3fdf9b3dfe078659fb"}},{"ruleId":"D1","level":"warning","message":{"text":"LayoutPicker.EditorUi.getLayoutScope (cyclomatic 16): LayoutPicker.EditorUi.getLayoutScope has cyclomatic complexity 16 (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/webapp/js/diagramly/LayoutPicker.js"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae2d34893a4035e23a566495ff88d6bdff78a760cdf43d6837b93f24ba9797b6"}},{"ruleId":"D1","level":"warning","message":{"text":"OneDriveClient.OneDriveClient.executeWriteRequest (cyclomatic 16): OneDriveClient.OneDriveClient.executeWriteRequest has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 6 of the 16 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 1244, 1206, 1228, \u2026). 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/webapp/js/diagramly/OneDriveClient.js"},"region":{"startLine":1200}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4fa73d8c27e73afdb75d3e465925cade58d36000651eea2e7be133e724129e3"}},{"ruleId":"D1","level":"warning","message":{"text":"Trees.EditorUi.addTrees::collectTreeRemoval (cyclomatic 16): Trees.EditorUi.addTrees::collectTreeRemoval has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 4 other methods here (Trees.EditorUi.addTrees, Trees.EditorUi.addTrees::getTreeDirection, Trees.EditorUi.addTrees::addSibling, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 5 times rather than 5 independent problems. Splitting this body alone leaves the other 4 exactly as they are. Where these are variations on one operation, the change that clears all 5 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Trees.js"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"09738422698de5e83f5d829af3239f3ab2381541553b124a5ac8e029a2cf1f5a"}},{"ruleId":"D1","level":"warning","message":{"text":"Trees.EditorUi.addTrees::selectCell (cyclomatic 16): Trees.EditorUi.addTrees::selectCell has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 4 other methods here (Trees.EditorUi.addTrees, Trees.EditorUi.addTrees::collectTreeRemoval, Trees.EditorUi.addTrees::getTreeDirection, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 5 times rather than 5 independent problems. Splitting this body alone leaves the other 4 exactly as they are. Where these are variations on one operation, the change that clears all 5 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Trees.js"},"region":{"startLine":1492}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bb74a51ba29bb732492d5f682f69ee0d6df1b327d023a8dd6e55f000911d6ae"}},{"ruleId":"D1","level":"warning","message":{"text":"Tidy.Tidy.collect (cyclomatic 16): Tidy.Tidy.collect has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (Tidy.Tidy.collect::visit) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/tidy/Tidy.js"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"56b1ca86093db9abd1019d7f6b09736333004816a1a758c8152bc92d2d1462b7"}},{"ruleId":"D1","level":"warning","message":{"text":"Tidy.Tidy.runLayout (cyclomatic 16): Tidy.Tidy.runLayout has cyclomatic complexity 16 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. 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/webapp/js/diagramly/tidy/Tidy.js"},"region":{"startLine":2404}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc3f76c6a36e666acaa7269ae32539c79d49ab7696c1b5b1444747b10223c310"}},{"ruleId":"D1","level":"warning","message":{"text":"TidyWindow.TidyWindow.prefetch (cyclomatic 16): TidyWindow.TidyWindow.prefetch has cyclomatic complexity 16 (threshold 15). Of this number, 8 points are the body\u0027s own statements and 8 belong to one function item inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/tidy/TidyWindow.js"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"a50d931d8172a63f148c56693a96b3df1d180599dccf77d42d4ed23942fb8de7"}},{"ruleId":"D1","level":"warning","message":{"text":"TidyWindow.TidyWindow.saveBase (cyclomatic 16): TidyWindow.TidyWindow.saveBase has cyclomatic complexity 16 (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/webapp/js/diagramly/tidy/TidyWindow.js"},"region":{"startLine":929}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa22d80a1dcb8aed97ebcb3e72a2115be52593fabac12e4a6134dbd56c8ae0a8"}},{"ruleId":"D1","level":"warning","message":{"text":"Editor.PrintDialog.create (cyclomatic 16): Editor.PrintDialog.create has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 5 of the 16 points are its own statements and the rest belongs to 2 function items inside it that branch (preview, a function literal at line 3123). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Editor.js"},"region":{"startLine":3049}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa9448c13306049a89f4549cb69f125c4e951fa1ce229e600599388fa6d86160"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi.EditorUi.pickColor (cyclomatic 16): EditorUi.EditorUi.pickColor has cyclomatic complexity 16 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: EditorUi.EditorUi.typeIntoShapePicker (cyclomatic 18) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":10120}}}],"partialFingerprints":{"codehealthFindingId/v1":"75037075450a6c4458a1ad8f7906a1155e9eb1128a475c623c72bdd4186dc24d"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.Graph.addLightDarkColors (cyclomatic 16): Graph.Graph.addLightDarkColors has cyclomatic complexity 16 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 5 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: Graph.Graph.init (cyclomatic 24) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":2936}}}],"partialFingerprints":{"codehealthFindingId/v1":"e105480d53baaeef6f0d92926a4ac2e5fd7c74660637d063bc475595beaf5fb2"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.Graph.createCssRuleMatcher (cyclomatic 16): Graph.Graph.createCssRuleMatcher has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: Graph.Graph.init (cyclomatic 24) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":6040}}}],"partialFingerprints":{"codehealthFindingId/v1":"e36186e06e6c3d7fb75331bab59ca31ecafed9f976bed24e6aea7dd6418becbc"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.Graph.openLink (cyclomatic 16): Graph.Graph.openLink has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: Graph.Graph.init (cyclomatic 24) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":12522}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f0eb742fb0b95b71cc691a09b467352375e4cabc990b3ea406ee7b0cc98c3de"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.Graph.isSameLayoutRoute (cyclomatic 16): Graph.Graph.isSameLayoutRoute has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 4 of the 16 points are its own statements and the rest belongs to one function item inside it that branches (simplify). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest. This is NOT this file\u0027s highest cyclomatic complexity: Graph.Graph.init (cyclomatic 24) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":14690}}}],"partialFingerprints":{"codehealthFindingId/v1":"e77216a14b0838580c1295876dc7315b679ed745f4cdd544e22769668a06d683"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.Graph.applyStyleRules (cyclomatic 16): Graph.Graph.applyStyleRules has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: Graph.Graph.init (cyclomatic 24) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":18654}}}],"partialFingerprints":{"codehealthFindingId/v1":"246336ff9104c37947eb3546b2d023bd09fa010261375de675c5087b36f1bc91"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.Graph.updateInheritedLabelValues (cyclomatic 16): Graph.Graph.updateInheritedLabelValues has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: Graph.Graph.init (cyclomatic 24) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":19094}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e9cfe42eea5ab0842651c1d2b769ac578c57b6c146169427c4dce16f337161d"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.Graph.fitGroupToChildren (cyclomatic 16): Graph.Graph.fitGroupToChildren has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This is NOT this file\u0027s highest cyclomatic complexity: Graph.Graph.init (cyclomatic 24) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":21354}}}],"partialFingerprints":{"codehealthFindingId/v1":"0730116826a77e26249e375685032924ec58110a36087da0e0b9bd534ae9b958"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.Graph.normalizeModel::growContainers (cyclomatic 16): Graph.Graph.normalizeModel::growContainers has cyclomatic complexity 16 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions. This is NOT this file\u0027s highest cyclomatic complexity: Graph.Graph.init (cyclomatic 24) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":21752}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ed219fcef1eb5cb5c45c79d7c53d34475697093aea9d83f2101e3752c0bd8a5"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.Graph.getZoomSteps (cyclomatic 16): Graph.Graph.getZoomSteps has cyclomatic complexity 16 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline. This is NOT this file\u0027s highest cyclomatic complexity: Graph.Graph.init (cyclomatic 24) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":22149}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b71fab9799b8f440834e96ea1641ed74bd1376e5092981c55e4a06fa564c376"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.Graph.addFlowAnimationToNode (cyclomatic 16): Graph.Graph.addFlowAnimationToNode has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: Graph.Graph.init (cyclomatic 24) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":23581}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a923bc03b5d5aeb0c650115a3ad40bf94be38e072129967ead32a79437a78bd"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.Graph.getContinuousPathData (cyclomatic 16): Graph.Graph.getContinuousPathData has cyclomatic complexity 16 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: Graph.Graph.init (cyclomatic 24) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":23905}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbc56c05f0917b0a457945c887d3322aa8ebe491da8ea9dd9264fc3fa87af6ad"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.HoverIcons.getState (cyclomatic 16): Graph.HoverIcons.getState has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: Graph.Graph.init (cyclomatic 24) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":24849}}}],"partialFingerprints":{"codehealthFindingId/v1":"74736c1859690f91d1a5e82ab0de86f283b030ec758e9fa492216b60a4deffb0"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.mxCellRenderer.resolveColor (cyclomatic 16): Graph.mxCellRenderer.resolveColor has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: Graph.Graph.init (cyclomatic 24) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":28198}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ffd484b59b99bef6fd2fe6a0f7d22a8e81dcb44ba59811b34123a4e5ab1411a"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.getPlainTextGroup (cyclomatic 16): Graph.getPlainTextGroup has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: Graph.Graph.init (cyclomatic 24) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":30129}}}],"partialFingerprints":{"codehealthFindingId/v1":"bae67b2bf68122d60db1d7823de39d5d032089b71b28fdfba5423f6159f31b97"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.getLabelBoxSize (cyclomatic 16): Graph.getLabelBoxSize has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: Graph.Graph.init (cyclomatic 24) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":30198}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2712f365bd8101a191dfb254888682eff821289da18d68b4a30576a6983a89c"}},{"ruleId":"D1","level":"warning","message":{"text":"Graph.mxGraphView.setTieClones (cyclomatic 16): Graph.mxGraphView.setTieClones has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: Graph.Graph.init (cyclomatic 24) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":33267}}}],"partialFingerprints":{"codehealthFindingId/v1":"343b972f19164ce21fa4e806f89f657b274cb54914e4d9b254f3d2ae3128c38c"}},{"ruleId":"D1","level":"warning","message":{"text":"InlineToolbar.InlineToolbar.addHandleBounds (cyclomatic 16): InlineToolbar.InlineToolbar.addHandleBounds has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: InlineToolbar.InlineToolbar.showFillMenu::update (cyclomatic 18) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/InlineToolbar.js"},"region":{"startLine":978}}}],"partialFingerprints":{"codehealthFindingId/v1":"849b54cf790815ad91146d174cd5b976d08fbb3c7e6d0a01d2986e3a40bd8000"}},{"ruleId":"D1","level":"warning","message":{"text":"InlineToolbar.InlineToolbar.getCellBounds (cyclomatic 16): InlineToolbar.InlineToolbar.getCellBounds has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: InlineToolbar.InlineToolbar.showFillMenu::update (cyclomatic 18) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/InlineToolbar.js"},"region":{"startLine":1081}}}],"partialFingerprints":{"codehealthFindingId/v1":"024cf0d289e016c9c09fc5d661c686bebe8081a019ae8d1790a364ca3641fed4"}},{"ruleId":"D1","level":"warning","message":{"text":"InlineToolbar.InlineToolbar.showLineStyleMenu (cyclomatic 16): InlineToolbar.InlineToolbar.showLineStyleMenu has cyclomatic complexity 16 (threshold 15). Of this number, 8 points are the body\u0027s own statements and 8 belong to 2 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: InlineToolbar.InlineToolbar.showFillMenu::update (cyclomatic 18) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/InlineToolbar.js"},"region":{"startLine":2559}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b7f99deb40f77856349704ad84795c84d8ed41309c84786eb1063a7395d2e65"}},{"ruleId":"D1","level":"warning","message":{"text":"Omnibox.Omnibox.getFormatControls (cyclomatic 16): Omnibox.Omnibox.getFormatControls has cyclomatic complexity 16 (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/webapp/js/grapheditor/Omnibox.js"},"region":{"startLine":1463}}}],"partialFingerprints":{"codehealthFindingId/v1":"0428624be82ffa00cad0db0260807e63bd05e1da95945beae19754ce40b6911e"}},{"ruleId":"D1","level":"warning","message":{"text":"Omnibox.Omnibox.revealFormatControl (cyclomatic 16): Omnibox.Omnibox.revealFormatControl has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 5 of the 16 points are its own statements and the rest belongs to one function literal inside it that branches (line 1693). The decisions are inside the literal, 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 literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Omnibox.js"},"region":{"startLine":1689}}}],"partialFingerprints":{"codehealthFindingId/v1":"0886c0662364908b299622992cb50c6618fd0b2b5c21b8167b442ef480880836"}},{"ruleId":"D1","level":"warning","message":{"text":"Omnibox.Omnibox.getFields (cyclomatic 16): Omnibox.Omnibox.getFields has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 7 of the 16 points are its own statements and the rest belongs to 2 function items inside it that branch (add, a function literal at line 1997). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Omnibox.js"},"region":{"startLine":1954}}}],"partialFingerprints":{"codehealthFindingId/v1":"cde61b474c4ac2e67d741fdb9c2ee4bc86058c690fb5c1c4d05928b21e766158"}},{"ruleId":"D1","level":"warning","message":{"text":"Shapes.TableShape.paintVertexShape (cyclomatic 16): Shapes.TableShape.paintVertexShape has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bf070de4a88fcaeeb8c00db9c2bb12efaa76b6cf1ee251dab41e1ad63d4aacd"}},{"ruleId":"D1","level":"warning","message":{"text":"Shapes.ZigzagShape.paintVertexShape (cyclomatic 16): Shapes.ZigzagShape.paintVertexShape has cyclomatic complexity 16 (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/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":8157}}}],"partialFingerprints":{"codehealthFindingId/v1":"97f4cf9e35fc790d9cb6f36160854fb2abcfbe5d0aebe0bde27eed1c37e77d6e"}},{"ruleId":"D1","level":"warning","message":{"text":"Sidebar.Sidebar.getShapeMatches (cyclomatic 16): Sidebar.Sidebar.getShapeMatches has cyclomatic complexity 16 (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/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":1314}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c79eb4160ed77c2c01f744f19823502249cb38be14bd7f5c2457d0ac84bedc3"}},{"ruleId":"D1","level":"warning","message":{"text":"libavoid-routing.AvoidRouting.shapeFrame (cyclomatic 16): libavoid-routing.AvoidRouting.shapeFrame has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/libavoid-js/libavoid-routing.js"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ec7550fae87ca697fcd7dcf0d027b424b1dff67a57acb381cea2cf2f87c009e"}},{"ruleId":"D1","level":"warning","message":{"text":"libavoid-routing.AvoidRouting.toWorldFrame (cyclomatic 16): libavoid-routing.AvoidRouting.toWorldFrame has cyclomatic complexity 16 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. 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/webapp/js/libavoid-js/libavoid-routing.js"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a0e220d7eafdd6ef77795d98d8fc4923dc051867dd4bef32fea570116f376c9"}},{"ruleId":"D1","level":"warning","message":{"text":"mxEdgeHandler.mxEdgeHandler.start (cyclomatic 16): mxEdgeHandler.mxEdgeHandler.start has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: mxEdgeHandler.mxEdgeHandler.createMarker (cyclomatic 21) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/handler/mxEdgeHandler.js"},"region":{"startLine":1008}}}],"partialFingerprints":{"codehealthFindingId/v1":"f94a80b9c8743e3c6afa8b457985a13141ec509d58328b72b2afcb62a1d4b970"}},{"ruleId":"D1","level":"warning","message":{"text":"mxEdgeHandler.mxEdgeHandler.refresh (cyclomatic 16): mxEdgeHandler.mxEdgeHandler.refresh has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: mxEdgeHandler.mxEdgeHandler.createMarker (cyclomatic 21) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/handler/mxEdgeHandler.js"},"region":{"startLine":2981}}}],"partialFingerprints":{"codehealthFindingId/v1":"42bad8ea3220e4068a8497716dbba3f09ee1c695074ac9430447ce6405189c6d"}},{"ruleId":"D1","level":"warning","message":{"text":"mxSvgCanvas2D.mxSvgCanvas2D.updateFill (cyclomatic 16): mxSvgCanvas2D.mxSvgCanvas2D.updateFill has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxSvgCanvas2D.js"},"region":{"startLine":1309}}}],"partialFingerprints":{"codehealthFindingId/v1":"75459aa5ad73dc9d1c2dbd7dfb12c431bcbace0879237ae35f32811d5d7c6030"}},{"ruleId":"D1","level":"warning","message":{"text":"mxCellRenderer.mxCellRenderer.rotateLabelBounds (cyclomatic 16): mxCellRenderer.mxCellRenderer.rotateLabelBounds has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This is NOT this file\u0027s highest cyclomatic complexity: mxCellRenderer.mxCellRenderer.isTextShapeInvalid (cyclomatic 23) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxCellRenderer.js"},"region":{"startLine":1462}}}],"partialFingerprints":{"codehealthFindingId/v1":"b20a8e40480c5053cf91691732884221d3758108fdfcc8c8402eeb5d7fba8cbb"}},{"ruleId":"D1","level":"warning","message":{"text":"mxGraph.mxGraph.updateSelection (cyclomatic 16): mxGraph.mxGraph.updateSelection has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 5 of the 16 points are its own statements and the rest belongs to 3 function items inside it that branch (getResult, a function literal at line 2040, isContained). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":1990}}}],"partialFingerprints":{"codehealthFindingId/v1":"251e202b1e1c4da8627b8090343cc62b073b412fc14caba7a20826def6bd26b2"}},{"ruleId":"D1","level":"warning","message":{"text":"mxGraph.mxGraph.updatePageBreaks (cyclomatic 16): mxGraph.mxGraph.updatePageBreaks has cyclomatic complexity 16 (threshold 15). Of this number, 8 points are the body\u0027s own statements and 8 belong to one function literal inside it that branches. 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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":3305}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a09a3989e10d60f995ad22b5f5b81d82f7f9bb2e4eed020c701ba20762fd707"}},{"ruleId":"D1","level":"warning","message":{"text":"mxGraph.mxGraph.getOutlineConstraint (cyclomatic 16): mxGraph.mxGraph.getOutlineConstraint has cyclomatic complexity 16 (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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":7216}}}],"partialFingerprints":{"codehealthFindingId/v1":"505a4c3a27b93aa2ee45e56d0861b09b9685bbc78ca1b4352bf88971a71d3265"}},{"ruleId":"D1","level":"warning","message":{"text":"mxGraph.mxGraph.scrollRectToVisible (cyclomatic 16): mxGraph.mxGraph.scrollRectToVisible has cyclomatic complexity 16 (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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":8911}}}],"partialFingerprints":{"codehealthFindingId/v1":"c66a9ab347a6f64e52fc0ea1ff61542e9cdbb9d14d75d04ee27503b5649ab28f"}},{"ruleId":"D1","level":"warning","message":{"text":"mxGraphView.mxGraphView.validateInvalidCell (cyclomatic 16): mxGraphView.mxGraphView.validateInvalidCell has cyclomatic complexity 16 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxGraphView.js"},"region":{"startLine":1589}}}],"partialFingerprints":{"codehealthFindingId/v1":"60bef6bfb012ed4fcd0bf26484ce85fed3a339f4156ded551374f1799997fb47"}},{"ruleId":"D1","level":"warning","message":{"text":"mxGraphView.mxGraphView.updateEdgeState (cyclomatic 16): mxGraphView.mxGraphView.updateEdgeState has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxGraphView.js"},"region":{"startLine":2767}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bf17975a46fb948b6355d579d0e3365eb7a563a3f0a8d7005f7f0b60d7ef4a6"}},{"ruleId":"D1","level":"warning","message":{"text":"mxGraphView.mxGraphView.getPoint (cyclomatic 16): mxGraphView.mxGraphView.getPoint has cyclomatic complexity 16 (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/webapp/mxgraph/src/view/mxGraphView.js"},"region":{"startLine":4093}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6c6b032601e1da107c2a487431790b1cfd2c5991a8eb9d1b98a7ab5fbc8127b"}},{"ruleId":"D1","level":"warning","message":{"text":"trees.Draw.loadPlugin()::selectCell (cyclomatic 16): trees.Draw.loadPlugin()::selectCell has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 2 other methods here (trees.Draw.loadPlugin(), trees.Draw.loadPlugin()::addSibling) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/plugins/trees/trees.js"},"region":{"startLine":798}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e6959aba5ded9a8273d10e7bdad5ef8118077c46c0eef5541f614ade78a78ea"}},{"ruleId":"D1","level":"warning","message":{"text":"trello.Draw.loadPlugin() (cyclomatic 16): trello.Draw.loadPlugin() has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 5 of the 16 points are its own statements and the rest belongs to 4 function items inside it that branch (main, main::doCreateFile, a function literal at line 17, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/plugins/trello.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"cec9f03deac81f0207e9ffc6fa6008d1c7fe918239d13b5567631791a612eb69"}},{"ruleId":"D1","level":"warning","message":{"text":"mxCiscoSafe.mxShapeCiscoSafeCompositeIcon.paintVertexShape (cyclomatic 16): mxCiscoSafe.mxShapeCiscoSafeCompositeIcon.paintVertexShape has cyclomatic complexity 16 (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/webapp/shapes/mxCiscoSafe.js"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"deb838ae4657d6515c6cc9415e65deab7fd041174cdc2d731dbb194e656fff8c"}},{"ruleId":"D1","level":"warning","message":{"text":"mxBase64.decodeFast (cyclomatic 16): mxBase64.decodeFast has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 2 other methods here (mxBase64.decodeFast, mxBase64.decodeFast) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/server/java/com/mxgraph/online/mxBase64.java"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"a89a0eabcf74107ecf9c878907164558001934808fe209da980d6dbcf687bb3e"}},{"ruleId":"D1","level":"warning","message":{"text":"mxBase64.decodeFast (cyclomatic 16): mxBase64.decodeFast has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 2 other methods here (mxBase64.decodeFast, mxBase64.decodeFast) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/server/java/com/mxgraph/online/mxBase64.java"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ae70437d90237f3aedeb22c54fa420005fef15f08c7bffb66e7667f90999aaa"}},{"ruleId":"D1","level":"warning","message":{"text":"mxBase64.decodeFast (cyclomatic 16): mxBase64.decodeFast has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 2 other methods here (mxBase64.decodeFast, mxBase64.decodeFast) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/server/java/com/mxgraph/online/mxBase64.java"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"e84010c05311aa7a19ee98c18f256196bca48c3a1eb6b3a52d66b727368eda6a"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::getRoutingPoints (cyclomatic 16): (anonymous)::getRoutingPoints has cyclomatic complexity 16 (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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":4117}}}],"partialFingerprints":{"codehealthFindingId/v1":"12350f0f775e5dce5461580d56add32ff0e00963c5660513d8aa47c5385b767d"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::getCellElement$java_lang_String$java_lang_String$java_lang_String (cyclomatic 16): (anonymous)::getCellElement$java_lang_String$java_lang_String$java_lang_String has cyclomatic complexity 16 (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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":9619}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eaa6a5901b22046e39d4362d63f2ee5534de3b6939b44468f252d5c8e7f045b"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::decodeFast$char_A (cyclomatic 16): (anonymous)::decodeFast$char_A has cyclomatic complexity 16 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":15040}}}],"partialFingerprints":{"codehealthFindingId/v1":"c80f479219f43fd6f20af36b25e1a5fedd0053d5c0e1f4f21312df5381bb6bbc"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::decodeFast$byte_A (cyclomatic 16): (anonymous)::decodeFast$byte_A has cyclomatic complexity 16 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":15177}}}],"partialFingerprints":{"codehealthFindingId/v1":"819e46320aa138ebc125e7da17f86d1b49d77eaee820686cfc47bd8094509c3e"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::decodeFast$java_lang_String (cyclomatic 16): (anonymous)::decodeFast$java_lang_String has cyclomatic complexity 16 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":15264}}}],"partialFingerprints":{"codehealthFindingId/v1":"8471b912e97e5d7ecfb4e945a850028313cde597ba58615579a9acd853f7c0e7"}},{"ruleId":"D1","level":"warning","message":{"text":"getPreferredSizeForCell (cyclomatic 16): getPreferredSizeForCell has cyclomatic complexity 16 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 6 belong to one function item inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":5743}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0c528dada7af1baaae4833179e40ac17f62766acf2efb276630a585b81574de"}},{"ruleId":"D1","level":"warning","message":{"text":"EditorUi::setDefaultStyle (cyclomatic 16): EditorUi::setDefaultStyle has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"6468c585baf9914937da9d3af701dab0337905b47924c1fda9ccb1671f791f1d"}},{"ruleId":"D1","level":"warning","message":{"text":"init::funct (cyclomatic 16): init::funct has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Menus.js"},"region":{"startLine":3488}}}],"partialFingerprints":{"codehealthFindingId/v1":"edd2a3e0fc7779c6be94bfe5a6ba66a2ee1b37a6172968b759ccbc2a3802a043"}},{"ruleId":"D1","level":"warning","message":{"text":"convertHtmlBlocksToSvg::processAnonymousInlineRun (cyclomatic 16): convertHtmlBlocksToSvg::processAnonymousInlineRun has cyclomatic complexity 16 (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/webapp/mxgraph/src/util/mxUtils.js"},"region":{"startLine":6366}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa6c37000f5705652251f925af95e96277f28cce99105a45e70b0eebe3ce9f9c"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::selectCell (cyclomatic 16): (anonymous)::selectCell has cyclomatic complexity 16 (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/webapp/plugins/trees/trees.js"},"region":{"startLine":798}}}],"partialFingerprints":{"codehealthFindingId/v1":"618430335600796e71fb77b06acf6f6923e4a16eef2aec74585439f65b3aad07"}},{"ruleId":"D1","level":"warning","message":{"text":"initMinimalTheme::init::refreshMenu (cyclomatic 16): initMinimalTheme::init::refreshMenu has cyclomatic complexity 16 (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/webapp/js/diagramly/Minimal.js"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c29dbdbc2d21dee7a2dcba6ea334b3d1b0bed42719d586b6279b50553573ee8"}},{"ruleId":"D1","level":"warning","message":{"text":"EllipsePerimeter (cyclomatic 16): EllipsePerimeter has cyclomatic complexity 16 (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/webapp/mxgraph/src/view/mxPerimeter.js"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"c12e52bb81807c901d3f9767d2d7a67c8f83d09257444bf1fcab46663a128a80"}},{"ruleId":"D2","level":"warning","message":{"text":"Menus.Menus.init (cognitive 1480): Menus.Menus.init has cognitive complexity 1480 (threshold 15). Drivers by points: if/else 527 (935 pts), boolean chains 328, ternaries 61 (133 pts), loops 22 (44 pts), error handling 13 (40 pts) (nesting depth added 529). Of this number, 108 points are the body\u0027s own statements and 1372 belong to 244 function items inside it that branch. 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/webapp/js/diagramly/Menus.js"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"309f12a9b1a0f4096239d262b42ccc9c160e3828f39c0a3a6a29957684751d5b"}},{"ruleId":"D2","level":"warning","message":{"text":"addCompositeShape (cognitive 1227): addCompositeShape has cognitive complexity 1227 (threshold 15). Drivers by points: if/else 329 (742 pts), ternaries 67 (213 pts), loops 65 (152 pts), boolean chains 56, match/switch 21 (50 pts), error handling 7 (14 pts) (nesting depth added 682). Of this number, 1222 points are the body\u0027s own statements and 5 belong to 2 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Extensions.js"},"region":{"startLine":7711}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b69025b406fd41c86d67db692b3c416cb288ff82893c66ea3ccff60ffb8182f"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.installMessageHandler (cognitive 759): EditorUi.EditorUi.installMessageHandler has cognitive complexity 759 (threshold 15). Drivers by points: if/else 174 (486 pts), ternaries 35 (144 pts), boolean chains 84, loops 4 (24 pts), error handling 9 (21 pts) (nesting depth added 453). Most of this is not in the body itself: 6 of the 759 points are its own statements and the rest belongs to 36 function literals inside it that branch (lines 32406, 33033, 32890, \u2026). 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":32341}}}],"partialFingerprints":{"codehealthFindingId/v1":"2245ffb80820b29ac2a9dfbd961d5cbe197c4cde96421fd2cb4820a8bc7eb58e"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.doImportCsv (cognitive 700): EditorUi.EditorUi.doImportCsv has cognitive complexity 700 (threshold 15). Drivers by points: if/else 189 (555 pts), ternaries 64 (264 pts), loops 46 (142 pts), boolean chains 134, error handling 2 (5 pts) (nesting depth added 665). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This shape REPEATS in the file: 2 other methods here (EditorUi.EditorUi.doImportCsv::updateListItems, EditorUi.EditorUi.doImportCsv::moveToInsertPoint) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":39560}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ed5350a6059fc1b0bf2644248856c6104a3bff48b597ffbe48a961ec1daf465"}},{"ruleId":"D2","level":"warning","message":{"text":"init (cognitive 583): init has cognitive complexity 583 (threshold 15). Drivers by points: if/else 189 (348 pts), boolean chains 103, ternaries 39 (73 pts), loops 21 (51 pts), error handling 7 (8 pts) (nesting depth added 224). Most of this is not in the body itself: 2 of the 583 points are its own statements and the rest belongs to 201 function items inside it that branch (a function literal at line 2131, a function literal at line 951, a function literal at line 2360, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Actions.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bef95f04495efdcffa8fce46936d50fe7e9732b8c97c91598c9ab9ba14b26f3"}},{"ruleId":"D2","level":"warning","message":{"text":"addFont (cognitive 570): addFont has cognitive complexity 570 (threshold 15). Drivers by points: if/else 152 (346 pts), ternaries 44 (93 pts), boolean chains 79, loops 16 (40 pts), error handling 6 (12 pts) (nesting depth added 273). Of this number, 79 points are the body\u0027s own statements and 491 belong to 87 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Format.js"},"region":{"startLine":5025}}}],"partialFingerprints":{"codehealthFindingId/v1":"e432c9241c09e536fdb0984c168cee5194bf05a5bf6ff12515dd3c2fc054dc47"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.initCanvas (cognitive 433): EditorUi.EditorUi.initCanvas has cognitive complexity 433 (threshold 15). Drivers by points: if/else 96 (237 pts), boolean chains 93, ternaries 26 (91 pts), loops 2 (7 pts), error handling 1 (5 pts) (nesting depth added 215). Of this number, 138 points are the body\u0027s own statements and 295 belong to 46 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":5648}}}],"partialFingerprints":{"codehealthFindingId/v1":"e506a36115ec913dd5d253cdbf288387768807fdb2db022a664d55047e66774c"}},{"ruleId":"D2","level":"warning","message":{"text":"configure (cognitive 415): configure has cognitive complexity 415 (threshold 15). Drivers by points: if/else 192 (384 pts), boolean chains 19, loops 3 (10 pts), ternaries 1 (2 pts) (nesting depth added 200). 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/webapp/js/diagramly/Editor.js"},"region":{"startLine":3441}}}],"partialFingerprints":{"codehealthFindingId/v1":"d141bedc8ae85e523ba4b57827ca40acacf29e436ab89be0e3df42f8c879d636"}},{"ruleId":"D2","level":"warning","message":{"text":"executeCustomActions (cognitive 402): executeCustomActions has cognitive complexity 402 (threshold 15). Drivers by points: if/else 77 (277 pts), ternaries 15 (76 pts), loops 6 (25 pts), boolean chains 22, error handling 1 (2 pts) (nesting depth added 281). Most of this is not in the body itself: 6 of the 402 points are its own statements and the rest belongs to 9 function items inside it that branch (a function literal at line 13055, needsView, a function literal at line 13042, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":12980}}}],"partialFingerprints":{"codehealthFindingId/v1":"89dfcddfddf1c4617c324f096221539adcf0fd6e2254b3b354fffb933b83d403"}},{"ruleId":"D2","level":"warning","message":{"text":"init (cognitive 353): init has cognitive complexity 353 (threshold 15). Drivers by points: if/else 63 (207 pts), ternaries 35 (79 pts), boolean chains 49, error handling 3 (12 pts), loops 1 (6 pts) (nesting depth added 202). Of this number, 44 points are the body\u0027s own statements and 309 belong to 20 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/GraphViewer.js"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bfbb2ea94359a28cd95ae3266be041bbfac5cedf2a66647ae90b203b1d9cf72"}},{"ruleId":"D2","level":"warning","message":{"text":"addSearchPalette (cognitive 308): addSearchPalette has cognitive complexity 308 (threshold 15). Drivers by points: if/else 85 (198 pts), boolean chains 50, ternaries 8 (26 pts), loops 10 (24 pts), error handling 2 (10 pts) (nesting depth added 153). Most of this is not in the body itself: 2 of the 308 points are its own statements and the rest belongs to 44 function items inside it that branch (a function literal at line 3594, a function literal at line 3052, a function literal at line 2958, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":2838}}}],"partialFingerprints":{"codehealthFindingId/v1":"623c0767daa096e3c3ca8a413d9060987d7431527a81f68a73a59f62736d3447"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.init (cognitive 301): EditorUi.EditorUi.init has cognitive complexity 301 (threshold 15). Drivers by points: if/else 84 (179 pts), boolean chains 104, ternaries 6 (9 pts), loops 3 (7 pts), error handling 1 (2 pts) (nesting depth added 103). Of this number, 148 points are the body\u0027s own statements and 153 belong to 49 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":22767}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a7ccc7afaa0a2ecb1280297a0e9cb6905a53376aee5b1a547b0a2b10433579a"}},{"ruleId":"D2","level":"warning","message":{"text":"saveFile (cognitive 301): saveFile has cognitive complexity 301 (threshold 15). Drivers by points: if/else 52 (136 pts), ternaries 20 (86 pts), error handling 19 (55 pts), boolean chains 24 (nesting depth added 186). Of this number, 22 points are the body\u0027s own statements and 279 belong to 19 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DriveClient.js"},"region":{"startLine":2183}}}],"partialFingerprints":{"codehealthFindingId/v1":"307553d872c8840e40f3c10b151a12f68f93b5efde8d3edd05e51159f2f338f5"}},{"ruleId":"D2","level":"warning","message":{"text":"start (cognitive 267): start has cognitive complexity 267 (threshold 15). Drivers by points: if/else 63 (160 pts), boolean chains 50, ternaries 8 (33 pts), error handling 8 (24 pts) (nesting depth added 138). Of this number, 93 points are the body\u0027s own statements and 174 belong to 20 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":4281}}}],"partialFingerprints":{"codehealthFindingId/v1":"74f6a728ff5f123b4e64068e46c5ee74c5900940c84621500a8b27f68a12e89b"}},{"ruleId":"D2","level":"warning","message":{"text":"loadFile (cognitive 265): loadFile has cognitive complexity 265 (threshold 15). Drivers by points: if/else 68 (180 pts), ternaries 9 (35 pts), boolean chains 30, error handling 5 (20 pts) (nesting depth added 153). Most of this is not in the body itself: 9 of the 265 points are its own statements and the rest belongs to 29 function items inside it that branch (a function literal at line 7020, a function literal at line 7272, a function literal at line 7384, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":7011}}}],"partialFingerprints":{"codehealthFindingId/v1":"a90ebed7113301f62776a8d3ad0591ff02f6626dfeb43a5cec9455e685bf540c"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.libraryLoaded (cognitive 228): EditorUi.EditorUi.libraryLoaded has cognitive complexity 228 (threshold 15). Drivers by points: if/else 62 (158 pts), boolean chains 29, ternaries 5 (16 pts), error handling 2 (14 pts), loops 3 (11 pts) (nesting depth added 127). Of this number, 33 points are the body\u0027s own statements and 195 belong to 17 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":6149}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e3604e40239e94d3b487cd36962585dc708e452d14effaec49450e81f32a1df"}},{"ruleId":"D2","level":"warning","message":{"text":"updateCell (cognitive 226): updateCell has cognitive complexity 226 (threshold 15). Drivers by points: if/else 40 (145 pts), ternaries 9 (41 pts), boolean chains 23, loops 3 (17 pts) (nesting depth added 151). Of this number, 196 points are the body\u0027s own statements and 30 belong to 2 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Extensions.js"},"region":{"startLine":5951}}}],"partialFingerprints":{"codehealthFindingId/v1":"60182c67f99b790d94e0c126c1aad22bbe1ad16343b0f3a52c2400840fb2db09"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.updateDiagram (cognitive 218): EditorUi.EditorUi.updateDiagram has cognitive complexity 218 (threshold 15). Drivers by points: if/else 32 (141 pts), loops 4 (25 pts), error handling 4 (24 pts), ternaries 3 (19 pts), boolean chains 9 (nesting depth added 166). Of this number, 217 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":4913}}}],"partialFingerprints":{"codehealthFindingId/v1":"27afab96af3e763c7d4b923dc2eb6f9a78d541650e4202bf77b48f6fc13a7c6e"}},{"ruleId":"D2","level":"warning","message":{"text":"render::renderPage (cognitive 217): render::renderPage has cognitive complexity 217 (threshold 15). Drivers by points: if/else 65 (122 pts), boolean chains 45, ternaries 14 (40 pts), loops 3 (8 pts), error handling 1 (2 pts) (nesting depth added 89). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/export.js"},"region":{"startLine":1626}}}],"partialFingerprints":{"codehealthFindingId/v1":"8602f440e92303c6a8185b17ec8e0c8ec343c7f3fc91ec1a6ea3590d200319e8"}},{"ruleId":"D2","level":"warning","message":{"text":"Shapes.mxShapeBasicRect2.strictDrawShape (cognitive 211): Shapes.mxShapeBasicRect2.strictDrawShape has cognitive complexity 211 (threshold 15). Drivers by points: if/else 81 (143 pts), boolean chains 45, ternaries 23 (nesting depth added 62). 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/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":6106}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e44197f7f9f52a0400de8e633047a238a167000de8b4178b9ba6958c9fa8663"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 208): (anonymous) has cognitive complexity 208 (threshold 15). Drivers by points: if/else 39 (98 pts), ternaries 17 (53 pts), loops 13 (48 pts), boolean chains 9 (nesting depth added 130). Most of this is not in the body itself: 1 of the 208 points is its own statement and the rest belongs to 13 function items inside it that branch (a function literal at line 205, a function literal at line 435, a function literal at line 102, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/plugins/random.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea55bd723e42e7cb3c6e0cd55cd1fa0f6ff162ea5d53a5c66e0e1c916a5cbe88"}},{"ruleId":"D2","level":"warning","message":{"text":"drawNode (cognitive 202): drawNode has cognitive complexity 202 (threshold 15). Drivers by points: if/else 61 (135 pts), ternaries 6 (35 pts), loops 4 (17 pts), boolean chains 15 (nesting depth added 116). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/shape/mxStencil.js"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"d58eec2bbf8ed7b6146876090dbbbe00f912e3006de2f2dba746464576b86e67"}},{"ruleId":"D2","level":"warning","message":{"text":"catchup (cognitive 201): catchup has cognitive complexity 201 (threshold 15). Drivers by points: if/else 33 (144 pts), error handling 2 (17 pts), boolean chains 15, ternaries 2 (15 pts), loops 1 (10 pts) (nesting depth added 148). Of this number, 26 points are the body\u0027s own statements and 175 belong to 3 function literals inside it that branch. This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DrawioFileSync.js"},"region":{"startLine":3614}}}],"partialFingerprints":{"codehealthFindingId/v1":"179a03aebff772d27945e018cc24e913e06fd66c3998a513ab4709c49a2db94f"}},{"ruleId":"D2","level":"warning","message":{"text":"executeBatch (cognitive 201): executeBatch has cognitive complexity 201 (threshold 15). Drivers by points: if/else 49 (123 pts), ternaries 13 (46 pts), loops 6 (18 pts), boolean chains 14 (nesting depth added 119). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/gif/AnimationExport.js"},"region":{"startLine":714}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea985f7f7f328822a270057e16fa0987cf16b400dec686a9237034b6c219733d"}},{"ruleId":"D2","level":"warning","message":{"text":"getHexagonPerimeterPoint (cognitive 187): getHexagonPerimeterPoint has cognitive complexity 187 (threshold 15). Drivers by points: if/else 88 (157 pts), boolean chains 29, ternaries 1 (nesting depth added 69). 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/webapp/mxgraph/src/view/mxPerimeter.js"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8fdc30c326df5b5f221a0ce78525166337f58dfb73481305f54b4c35f1a7862"}},{"ruleId":"D2","level":"warning","message":{"text":"addLabels (cognitive 184): addLabels has cognitive complexity 184 (threshold 15). Drivers by points: if/else 35 (95 pts), ternaries 6 (37 pts), match/switch 6 (24 pts), boolean chains 14, loops 3 (10 pts), error handling 1 (4 pts) (nesting depth added 119). Of this number, 170 points are the body\u0027s own statements and 14 belong to 4 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/graphml/mxGraphMlCodec.js"},"region":{"startLine":2486}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e2da1f26b034273909f9062a24cbebeb03d3d3b4f2ef9ad6a101b78768688cf"}},{"ruleId":"D2","level":"warning","message":{"text":"Dialogs.RevisionDialog (cognitive 182): Dialogs.RevisionDialog has cognitive complexity 182 (threshold 15). Drivers by points: if/else 49 (143 pts), loops 4 (16 pts), boolean chains 15, error handling 2 (7 pts), ternaries 1 (nesting depth added 111). Of this number, 25 points are the body\u0027s own statements and 157 belong to 21 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":8653}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6a0301f11613de90b47d8f8c4a61aabd140aa55c6a807d51ac76b383701a1f2"}},{"ruleId":"D2","level":"warning","message":{"text":"Embed.initGraph (cognitive 179): Embed.initGraph has cognitive complexity 179 (threshold 15). Drivers by points: if/else 57 (131 pts), boolean chains 30, ternaries 4 (10 pts), error handling 2 (4 pts), loops 2 (4 pts) (nesting depth added 84). Of this number, 89 points are the body\u0027s own statements and 90 belong to 11 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Embed.js"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3171dd4a72befdc3be03f6fdc9eb5f293582e6b7ed6aa186ac8faead2c68eef"}},{"ruleId":"D2","level":"warning","message":{"text":"main (cognitive 179): main has cognitive complexity 179 (threshold 15). Drivers by points: if/else 97 (209 pts), boolean chains 65, error handling 15 (41 pts), ternaries 11 (26 pts), loops 4 (15 pts) (nesting depth added 164). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":1006}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ae11e9a66e9d26214f307dc218113db893db76caa2e930e5f7aa508febe020c"}},{"ruleId":"D2","level":"warning","message":{"text":"loadLibraries (cognitive 179): loadLibraries has cognitive complexity 179 (threshold 15). Drivers by points: if/else 33 (114 pts), error handling 6 (38 pts), boolean chains 13, loops 2 (7 pts), ternaries 2 (7 pts) (nesting depth added 123). Most of this is not in the body itself: 12 of the 179 points are its own statements and the rest belongs to 14 function literals inside it that branch (lines 7701, 7658, 7737, \u2026). 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/webapp/js/diagramly/App.js"},"region":{"startLine":7633}}}],"partialFingerprints":{"codehealthFindingId/v1":"93616db47e16377c1022eba226a304165310ec02b63f2e67e6b00418c908275a"}},{"ruleId":"D2","level":"warning","message":{"text":"cloneCells (cognitive 176): cloneCells has cognitive complexity 176 (threshold 15). Drivers by points: if/else 20 (132 pts), loops 5 (35 pts), boolean chains 8, ternaries 1 (nesting depth added 142). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":4596}}}],"partialFingerprints":{"codehealthFindingId/v1":"8792ea9f29b6f100d1c8162d60db11dc06b4b8ca5281a803c26a4bf90f39149f"}},{"ruleId":"D2","level":"warning","message":{"text":"patchPages (cognitive 175): patchPages has cognitive complexity 175 (threshold 15). Drivers by points: if/else 47 (123 pts), loops 12 (20 pts), ternaries 6 (18 pts), boolean chains 13, error handling 1 (nesting depth added 96). Of this number, 80 points are the body\u0027s own statements and 95 belong to 2 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DiffSync.js"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"f731e56350938147b5e4a96c454a3f1f94425b890f106a9c94120cff9c2dcec8"}},{"ruleId":"D2","level":"warning","message":{"text":"createMenubarForTheme (cognitive 174): createMenubarForTheme has cognitive complexity 174 (threshold 15). Drivers by points: if/else 40 (119 pts), ternaries 9 (47 pts), boolean chains 8 (nesting depth added 117). Of this number, 80 points are the body\u0027s own statements and 94 belong to 4 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/SimpleClassic.js"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"02275a450c74bbd7b7b6d4a3bb9d3fd6fb79c24b05d783be5db7fe719cd6d4e3"}},{"ruleId":"D2","level":"warning","message":{"text":"ParseDialog::parse (cognitive 171): ParseDialog::parse has cognitive complexity 171 (threshold 15). Drivers by points: if/else 40 (106 pts), ternaries 8 (33 pts), loops 7 (20 pts), boolean chains 12 (nesting depth added 104). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":1520}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3b7ad320a34b8629c4c947a3b79746698dcdc9b8df1f76098a3070a97a3ddd6"}},{"ruleId":"D2","level":"warning","message":{"text":"patch (cognitive 171): patch has cognitive complexity 171 (threshold 15). Drivers by points: if/else 35 (101 pts), loops 7 (33 pts), ternaries 6 (19 pts), boolean chains 18 (nesting depth added 105). Of this number, 154 points are the body\u0027s own statements and 17 belong to 2 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DrawioFile.js"},"region":{"startLine":1374}}}],"partialFingerprints":{"codehealthFindingId/v1":"87d8b727926d5a37870153bbc8d07f480f6db13a265192ffcb941cd9d593c0d3"}},{"ruleId":"D2","level":"warning","message":{"text":"getBoundingBoxFromGeometry (cognitive 169): getBoundingBoxFromGeometry has cognitive complexity 169 (threshold 15). Drivers by points: if/else 28 (149 pts), loops 2 (9 pts), boolean chains 6, ternaries 3 (5 pts) (nesting depth added 130). Of this number, 155 points are the body\u0027s own statements and 14 belong to one function item inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":8095}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a89732bd439b1f4fa60ce766b33b380d45c12369de5683510d54d92b686d1fb"}},{"ruleId":"D2","level":"warning","message":{"text":"LayersWindow (cognitive 166): LayersWindow has cognitive complexity 166 (threshold 15). Drivers by points: if/else 63 (103 pts), ternaries 17 (29 pts), boolean chains 22, loops 8 (12 pts) (nesting depth added 56). Most of this is not in the body itself: 3 of the 166 points are its own statements and the rest belongs to 51 function items inside it that branch (refresh::addLayer, a function literal at line 5619, renameLayer::stopEditing, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Dialogs.js"},"region":{"startLine":5350}}}],"partialFingerprints":{"codehealthFindingId/v1":"d22255a6ded13fdb5b9218021e14d5b476263473e9b722c2899a14ce842dd2a9"}},{"ruleId":"D2","level":"warning","message":{"text":"SegmentConnector (cognitive 164): SegmentConnector has cognitive complexity 164 (threshold 15). Drivers by points: if/else 39 (83 pts), boolean chains 56, loops 6 (13 pts), ternaries 3 (12 pts) (nesting depth added 60). Of this number, 162 points are the body\u0027s own statements and 2 belong to 2 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxEdgeStyle.js"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d45aba2bb4b25785fa161c7b9e5d984f0a297236d85a07719db3842f84af46c"}},{"ruleId":"D2","level":"warning","message":{"text":"showGitLabDialog (cognitive 162): showGitLabDialog has cognitive complexity 162 (threshold 15). Drivers by points: if/else 54 (93 pts), ternaries 11 (41 pts), loops 6 (16 pts), boolean chains 12 (nesting depth added 79). Most of this is not in the body itself: 5 of the 162 points are its own statements and the rest belongs to 49 function items inside it that branch (a function literal at line 1309, a function literal at line 987, a function literal at line 1133, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/GitLabClient.js"},"region":{"startLine":808}}}],"partialFingerprints":{"codehealthFindingId/v1":"5afc81045624cc2e40952a2aa059c243da5ffebd485c77c8e67e8f1635f55b0a"}},{"ruleId":"D2","level":"warning","message":{"text":"export.render (cognitive 161): export.render has cognitive complexity 161 (threshold 15). Drivers by points: if/else 170 (312 pts), boolean chains 124, loops 19 (55 pts), ternaries 21 (52 pts), error handling 18 (37 pts) (nesting depth added 228). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (export.render::collectAnnotRects) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/export.js"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"0776c6dbfc461f0cec8a352bbbfb5e02a7b85f4f5cf03f0c86e642ceba699705"}},{"ruleId":"D2","level":"warning","message":{"text":"random.Draw.loadPlugin() (cognitive 160): random.Draw.loadPlugin() has cognitive complexity 160 (threshold 15). Drivers by points: if/else 39 (98 pts), loops 13 (48 pts), boolean chains 9, ternaries 3 (5 pts) (nesting depth added 96). Most of this is not in the body itself: 1 of the 160 points is its own statement and the rest belongs to 8 function literals inside it that branch (lines 205, 435, 102, \u2026). 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/webapp/plugins/random.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"a42f3882609d00fdcadfb9cd1c55805dda89955ca0b5d2941e2462a5b18436d1"}},{"ruleId":"D2","level":"warning","message":{"text":"addToolbar (cognitive 160): addToolbar has cognitive complexity 160 (threshold 15). Drivers by points: if/else 52 (106 pts), ternaries 10 (30 pts), boolean chains 17, error handling 1 (4 pts), loops 2 (3 pts) (nesting depth added 78). Of this number, 58 points are the body\u0027s own statements and 102 belong to 37 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/GraphViewer.js"},"region":{"startLine":1843}}}],"partialFingerprints":{"codehealthFindingId/v1":"48bc6f94ffdf800cecb4955e4ebc8a54448831f2113d6a20eb72a4cdb334c7d1"}},{"ruleId":"D2","level":"warning","message":{"text":"mouseMove (cognitive 157): mouseMove has cognitive complexity 157 (threshold 15). Drivers by points: if/else 41 (119 pts), boolean chains 30, ternaries 1 (5 pts), loops 1 (3 pts) (nesting depth added 84). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/handler/mxConnectionHandler.js"},"region":{"startLine":1248}}}],"partialFingerprints":{"codehealthFindingId/v1":"81c4f8cd77ed8eab72ce4058253c6a27e5dc047067334ade48a27106e694edc8"}},{"ruleId":"D2","level":"warning","message":{"text":"createTagsDialog (cognitive 154): createTagsDialog has cognitive complexity 154 (threshold 15). Drivers by points: if/else 32 (94 pts), ternaries 9 (37 pts), loops 5 (16 pts), boolean chains 7 (nesting depth added 101). Most of this is not in the body itself: 4 of the 154 points are its own statements and the rest belongs to 16 function items inside it that branch (a function literal at line 11144, a function literal at line 11199, a function literal at line 11418, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":11069}}}],"partialFingerprints":{"codehealthFindingId/v1":"af5b6873caad11cb55257393c31727aa0cb67bf809d553eb991949278b2f551a"}},{"ruleId":"D2","level":"warning","message":{"text":"updateLivePreview (cognitive 154): updateLivePreview has cognitive complexity 154 (threshold 15). Drivers by points: if/else 28 (110 pts), ternaries 4 (28 pts), loops 2 (9 pts), boolean chains 7 (nesting depth added 113). Of this number, 88 points are the body\u0027s own statements and 66 belong to one function literal inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/handler/mxGraphHandler.js"},"region":{"startLine":1490}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e73e947302ed07b5d52ba6b89662c11f2333a6534ae62a42314ca67ff4ebc85"}},{"ruleId":"D2","level":"warning","message":{"text":"createPickerMenuForTheme (cognitive 153): createPickerMenuForTheme has cognitive complexity 153 (threshold 15). Drivers by points: if/else 30 (104 pts), ternaries 8 (35 pts), boolean chains 14 (nesting depth added 101). Of this number, 25 points are the body\u0027s own statements and 128 belong to 6 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/SimpleClassic.js"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"5177c80824f65159d8696facf8b3cbf6ef4e918192676c3f3649ff0e66a413ce"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.replacePlaceholders (cognitive 152): Graph.Graph.replacePlaceholders has cognitive complexity 152 (threshold 15). Drivers by points: if/else 27 (123 pts), boolean chains 15, loops 2 (8 pts), ternaries 1 (6 pts) (nesting depth added 107). Of this number, 148 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":16602}}}],"partialFingerprints":{"codehealthFindingId/v1":"06a13cca2f7444ebdc099ab3c90eef2d697d9135385276578b7bc9d1233e6726"}},{"ruleId":"D2","level":"warning","message":{"text":"cellsRemoved (cognitive 152): cellsRemoved has cognitive complexity 152 (threshold 15). Drivers by points: if/else 20 (81 pts), ternaries 4 (37 pts), loops 8 (28 pts), boolean chains 6 (nesting depth added 114). Of this number, 32 points are the body\u0027s own statements and 120 belong to 2 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":5177}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ee10aa56dbc8ddb7f8932f8ea5ffe148f7ba504e09ba7953d9d6f3b7ee3cfd4"}},{"ruleId":"D2","level":"warning","message":{"text":"OrthConnector (cognitive 152): OrthConnector has cognitive complexity 152 (threshold 15). Drivers by points: if/else 57 (98 pts), ternaries 20 (28 pts), boolean chains 18, loops 7, match/switch 1 (nesting depth added 49). 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/webapp/mxgraph/src/view/mxEdgeStyle.js"},"region":{"startLine":1141}}}],"partialFingerprints":{"codehealthFindingId/v1":"517c92690eac217e20b44f9f3b6d1205475295235fd36d3e85fe07d674350186"}},{"ruleId":"D2","level":"warning","message":{"text":"addGraphStyles (cognitive 150): addGraphStyles has cognitive complexity 150 (threshold 15). Drivers by points: if/else 39 (67 pts), ternaries 21 (43 pts), boolean chains 29, loops 7 (11 pts) (nesting depth added 54). Most of this is not in the body itself: 10 of the 150 points are its own statements and the rest belongs to 26 function items inside it that branch (a function literal at line 9249, a function literal at line 9147, a function literal at line 9216, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Format.js"},"region":{"startLine":9130}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d61205c96e2904990e3535617757312a16675fab7079ec959772c92d93b65a3"}},{"ruleId":"D2","level":"warning","message":{"text":"DataSourceDialog (cognitive 143): DataSourceDialog has cognitive complexity 143 (threshold 15). Drivers by points: if/else 37 (46 pts), ternaries 27 (39 pts), boolean chains 30, loops 17 (25 pts), error handling 2 (3 pts) (nesting depth added 30). Most of this is not in the body itself: 15 of the 143 points are its own statements and the rest belongs to 32 function items inside it that branch (a function literal at line 23675, a function literal at line 23588, a function literal at line 23729, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":23065}}}],"partialFingerprints":{"codehealthFindingId/v1":"d685a137e4b5a67bb7fb66a366a9d4419cecef4ad2556959acbfc2dbc0cd05e5"}},{"ruleId":"D2","level":"warning","message":{"text":"EditDataDialog (cognitive 140): EditDataDialog has cognitive complexity 140 (threshold 15). Drivers by points: if/else 49 (87 pts), loops 10 (20 pts), boolean chains 17, ternaries 6 (12 pts), error handling 3 (4 pts) (nesting depth added 55). Of this number, 62 points are the body\u0027s own statements and 78 belong to 17 function items inside it that branch. 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/webapp/js/grapheditor/Dialogs.js"},"region":{"startLine":3880}}}],"partialFingerprints":{"codehealthFindingId/v1":"906695d32a6b39899b6748029a396e1254d2b9c224a7c75c82bb124ffdc47c6a"}},{"ruleId":"D2","level":"warning","message":{"text":"FindWindow::search (cognitive 138): FindWindow::search has cognitive complexity 138 (threshold 15). Drivers by points: if/else 32 (83 pts), boolean chains 35, loops 4 (11 pts), ternaries 3 (9 pts) (nesting depth added 64). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":10115}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a8f3966aa0191736ec7825b0050c9d1bc32a23ff4c57e562bea36eb534e0b37"}},{"ruleId":"D2","level":"warning","message":{"text":"init (cognitive 138): init has cognitive complexity 138 (threshold 15). Drivers by points: if/else 45 (82 pts), boolean chains 35, error handling 6 (12 pts), ternaries 4 (9 pts) (nesting depth added 48). Of this number, 89 points are the body\u0027s own statements and 49 belong to 16 function literals inside it that branch. 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/webapp/js/diagramly/App.js"},"region":{"startLine":2032}}}],"partialFingerprints":{"codehealthFindingId/v1":"13f2e4ef446245729deaabf46c55b53efc58a91379fc563a524624d9f360d08d"}},{"ruleId":"D2","level":"warning","message":{"text":"execute (cognitive 138): execute has cognitive complexity 138 (threshold 15). Drivers by points: if/else 33 (87 pts), ternaries 7 (35 pts), boolean chains 14, loops 1 (2 pts) (nesting depth added 83). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/layout/mxStackLayout.js"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4376bb10f77fe5100c6e008dd16a21fa81fedc23166c31c15e67f76dbed4136"}},{"ruleId":"D2","level":"warning","message":{"text":"toggleUserPanel (cognitive 137): toggleUserPanel has cognitive complexity 137 (threshold 15). Drivers by points: if/else 45 (105 pts), ternaries 5 (19 pts), boolean chains 9, loops 1 (4 pts) (nesting depth added 77). Of this number, 44 points are the body\u0027s own statements and 93 belong to 29 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":9379}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e04cf7ae244ad913409374b75760309fd66cd6839a082f39c0507dce1dfe4a4"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.addFileDropHandler (cognitive 136): EditorUi.EditorUi.addFileDropHandler has cognitive complexity 136 (threshold 15). Drivers by points: if/else 27 (111 pts), ternaries 2 (15 pts), boolean chains 8, loops 1 (2 pts) (nesting depth added 98). Most of this is not in the body itself: 3 of the 136 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 30531, 30517, 30622, \u2026). 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":30495}}}],"partialFingerprints":{"codehealthFindingId/v1":"73831891b10863a229172d4a695b001f079032b6ea3741b219aae5e67d75df7d"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.pasteCellStyles (cognitive 136): Graph.Graph.pasteCellStyles has cognitive complexity 136 (threshold 15). Drivers by points: if/else 24 (94 pts), loops 5 (21 pts), boolean chains 15, ternaries 2 (6 pts) (nesting depth added 90). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":11443}}}],"partialFingerprints":{"codehealthFindingId/v1":"328db334a5c84bb24d1afa31396f2dd58a187de99b308ff0a7dad6afb717a2a0"}},{"ruleId":"D2","level":"warning","message":{"text":"EmbedServlet2.createEmbedJavaScript (cognitive 135): EmbedServlet2.createEmbedJavaScript has cognitive complexity 135 (threshold 15). Drivers by points: if/else 21 (104 pts), error handling 2 (16 pts), loops 3 (10 pts), boolean chains 4, ternaries 1 (nesting depth added 104). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/server/java/com/mxgraph/online/EmbedServlet2.java"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bb864e73d8f064c471be8631c365fb95fba6d36a915409498d6c9d7e21785b3"}},{"ruleId":"D2","level":"warning","message":{"text":"createShapePicker (cognitive 132): createShapePicker has cognitive complexity 132 (threshold 15). Drivers by points: if/else 30 (83 pts), ternaries 11 (36 pts), boolean chains 9, loops 2 (4 pts) (nesting depth added 80). Of this number, 21 points are the body\u0027s own statements and 111 belong to 5 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":2675}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4ec4613509cbfc6e57adc6f598575e489e4d58c4914a5c44f3d7a96b564b44b"}},{"ruleId":"D2","level":"warning","message":{"text":"Editor.Graph.createTagsDialog.refreshTags (cognitive 131): Editor.Graph.createTagsDialog.refreshTags has cognitive complexity 131 (threshold 15). Drivers by points: if/else 23 (79 pts), ternaries 7 (32 pts), loops 3 (13 pts), boolean chains 7 (nesting depth added 91). Most of this is not in the body itself: 7 of the 131 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 11144, 11199, 11297, \u2026). 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/webapp/js/diagramly/Editor.js"},"region":{"startLine":11124}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7f3e58346f39f4f4b57c2aa2d00e729d89531eb4e9f1201f4e05a9c559ebfb7"}},{"ruleId":"D2","level":"warning","message":{"text":"createDropHandler (cognitive 131): createDropHandler has cognitive complexity 131 (threshold 15). Drivers by points: if/else 20 (72 pts), ternaries 8 (26 pts), boolean chains 18, loops 3 (11 pts), error handling 1 (4 pts) (nesting depth added 81). Most of this is not in the body itself: 1 of the 131 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 5471, 5643). 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/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":5466}}}],"partialFingerprints":{"codehealthFindingId/v1":"75d4eaac3b2cb90495c534d3af61b40f444d1a01b2fb77028a588f2fc52531ba"}},{"ruleId":"D2","level":"warning","message":{"text":"mxSvgCanvas2D.mxSvgCanvas2D.wrapSvgTextElement (cognitive 129): mxSvgCanvas2D.mxSvgCanvas2D.wrapSvgTextElement has cognitive complexity 129 (threshold 15). Drivers by points: if/else 59 (152 pts), loops 20 (45 pts), boolean chains 18, ternaries 2 (7 pts) (nesting depth added 123). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This shape REPEATS in the file: one other method here (mxSvgCanvas2D.mxSvgCanvas2D.wrapSvgTextElement::collectLeaves) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxSvgCanvas2D.js"},"region":{"startLine":2589}}}],"partialFingerprints":{"codehealthFindingId/v1":"17b924947e53f869d4ce5132d2e6861a20b50d09a105f5e2ddf2ef4d033ac4c6"}},{"ruleId":"D2","level":"warning","message":{"text":"init (cognitive 128): init has cognitive complexity 128 (threshold 15). Drivers by points: if/else 31 (85 pts), ternaries 5 (20 pts), boolean chains 13, error handling 3 (7 pts), loops 2 (3 pts) (nesting depth added 74). None of this is in the body itself: all 128 points belong to 34 function items inside it that branch (a function literal at line 544, a function literal at line 522, a function literal at line 458, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ElectronApp.js"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bfa9c866859d2d65368177a202a51e8a6b7b555e280e70da435b884c5c951ed"}},{"ruleId":"D2","level":"warning","message":{"text":"MoreShapesDialog (cognitive 127): MoreShapesDialog has cognitive complexity 127 (threshold 15). Drivers by points: if/else 29 (74 pts), loops 12 (28 pts), ternaries 6 (13 pts), boolean chains 12 (nesting depth added 68). Of this number, 51 points are the body\u0027s own statements and 76 belong to 18 function items inside it that branch. 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":18275}}}],"partialFingerprints":{"codehealthFindingId/v1":"26c7066296f35797c556ca958fa977a9da3d0dbc7a347d7b6eaa8ff172f4958e"}},{"ruleId":"D2","level":"warning","message":{"text":"addGeometry (cognitive 127): addGeometry has cognitive complexity 127 (threshold 15). Drivers by points: if/else 48 (88 pts), boolean chains 27, ternaries 8 (10 pts), loops 1 (2 pts) (nesting depth added 43). Of this number, 43 points are the body\u0027s own statements and 84 belong to 19 function items inside it that branch. 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/webapp/js/grapheditor/Format.js"},"region":{"startLine":3383}}}],"partialFingerprints":{"codehealthFindingId/v1":"54da992a8738005ac45c7a50aabdf765af72daaaba35e31fccf44dfe5ba733f8"}},{"ruleId":"D2","level":"warning","message":{"text":"TextOutlineWindow (cognitive 127): TextOutlineWindow has cognitive complexity 127 (threshold 15). Drivers by points: if/else 56 (78 pts), ternaries 13 (25 pts), boolean chains 13, loops 7 (11 pts) (nesting depth added 38). None of this is in the body itself: all 127 points belong to 24 function items inside it that branch (a function literal at line 5192, a function literal at line 5111, getRow, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Dialogs.js"},"region":{"startLine":4781}}}],"partialFingerprints":{"codehealthFindingId/v1":"43d1f814954ae66e1f196c2387363e0090d858d9bb05967e1e9719eae912e5d0"}},{"ruleId":"D2","level":"warning","message":{"text":"extract (cognitive 126): extract has cognitive complexity 126 (threshold 15). Drivers by points: if/else 30 (60 pts), loops 19 (25 pts), boolean chains 21, ternaries 18 (20 pts) (nesting depth added 38). Of this number, 116 points are the body\u0027s own statements and 10 belong to 2 function items inside it that branch. 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/webapp/js/diagramly/tidy/TidyFeatures.js"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"034cdbcf5d8a0fcb5ec37ca4d51e5da46575d32862640b4f78833570b76ae23a"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.applyEdgesText (cognitive 125): EditorUi.EditorUi.applyEdgesText has cognitive complexity 125 (threshold 15). Drivers by points: if/else 29 (71 pts), loops 22 (25 pts), boolean chains 24, ternaries 5 (nesting depth added 45). Of this number, 116 points are the body\u0027s own statements and 9 belong to 3 function items inside it that branch. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":36312}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e2f893d9fda6d75f77c2143386ad488413a566d26f2fc309908388af30f5361"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::getControlPoints (cognitive 124): (anonymous)::getControlPoints has cognitive complexity 124 (threshold 15). Drivers by points: if/else 27 (50 pts), boolean chains 39, ternaries 8 (26 pts), loops 5 (9 pts) (nesting depth added 45). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":13860}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee4cf0d98293183edd59e06db617685a182d65160eb6e0dedc3ef2286e3e77aa"}},{"ruleId":"D2","level":"warning","message":{"text":"ConnectionPointsDialog (cognitive 124): ConnectionPointsDialog has cognitive complexity 124 (threshold 15). Drivers by points: if/else 34 (44 pts), boolean chains 34, ternaries 20 (32 pts), loops 12 (14 pts) (nesting depth added 24). None of this is in the body itself: all 124 points belong to 29 function items inside it that branch (a function literal at line 25240, init, init::applyPointProp, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":24961}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff3f2f7c1e83f59070cb82b67fc30e996495541117f27693a95415368d55810a"}},{"ruleId":"D2","level":"warning","message":{"text":"handleCompoundShape (cognitive 124): handleCompoundShape has cognitive complexity 124 (threshold 15). Drivers by points: if/else 28 (75 pts), loops 6 (20 pts), match/switch 4 (12 pts), boolean chains 11, error handling 1 (3 pts), ternaries 1 (3 pts) (nesting depth added 73). 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/webapp/js/diagramly/graphml/mxGraphMlCodec.js"},"region":{"startLine":1267}}}],"partialFingerprints":{"codehealthFindingId/v1":"889c724c9b000915c1e577467a4f96b3f6c80a8dfaf7fd605d67285713a73f89"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.pasteCells (cognitive 122): EditorUi.EditorUi.pasteCells has cognitive complexity 122 (threshold 15). Drivers by points: if/else 27 (69 pts), error handling 6 (21 pts), boolean chains 18, ternaries 3 (10 pts), loops 1 (4 pts) (nesting depth added 67). Of this number, 107 points are the body\u0027s own statements and 15 belong to 2 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":28720}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b1df3fc8b30ac5c385746182c8f373af681403f197d073485d8be1edf9b00a0"}},{"ruleId":"D2","level":"warning","message":{"text":"dropAndConnect (cognitive 122): dropAndConnect has cognitive complexity 122 (threshold 15). Drivers by points: if/else 26 (66 pts), ternaries 10 (28 pts), boolean chains 22, loops 1 (4 pts), error handling 1 (2 pts) (nesting depth added 62). Of this number, 121 points are the body\u0027s own statements and 1 belongs to 4 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":5793}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7ea7a516aed1931f07897f527aa547fb2063a802f182c4ce8638bc4ce2631f1"}},{"ruleId":"D2","level":"warning","message":{"text":"stripPendingInserts (cognitive 122): stripPendingInserts has cognitive complexity 122 (threshold 15). Drivers by points: if/else 16 (55 pts), loops 12 (54 pts), boolean chains 7, ternaries 1 (6 pts) (nesting depth added 86). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DrawioFileSync.js"},"region":{"startLine":1983}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c3b54876d14a5bdabeed5ca8fdc538cb5a2f07e17d49d8323d18c8f3a9beb47"}},{"ruleId":"D2","level":"warning","message":{"text":"mxElectrical.mxShapeElectricalDualInLineIC.paintVertexShape (cognitive 121): mxElectrical.mxShapeElectricalDualInLineIC.paintVertexShape has cognitive complexity 121 (threshold 15). Drivers by points: if/else 46 (100 pts), loops 4 (12 pts), boolean chains 8, match/switch 1 (nesting depth added 62). 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/webapp/shapes/mxElectrical.js"},"region":{"startLine":770}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b671f8952827aaa7f0a8efadef6c019ad2e91a938dcc177de10360f84b1f6b2"}},{"ruleId":"D2","level":"warning","message":{"text":"mxKubernetes.mxShapeKubernetesIcon2.paintVertexShape (cognitive 119): mxKubernetes.mxShapeKubernetesIcon2.paintVertexShape has cognitive complexity 119 (threshold 15). Drivers by points: if/else 80 (119 pts) (nesting depth added 39). 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/webapp/shapes/mxKubernetes.js"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac915f149796464a36b0eea452f0c001837b14a431e0d6ce265789f0a0baf753"}},{"ruleId":"D2","level":"warning","message":{"text":"Utils.checkStreamContent (cognitive 119): Utils.checkStreamContent has cognitive complexity 119 (threshold 15). Drivers by points: if/else 35 (77 pts), boolean chains 42 (nesting depth added 42). 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/server/java/com/mxgraph/online/Utils.java"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"877e1dbb2cdf9adf79a648b8d68b2ff0679ec7880961e6db3ea98bf10a9b7303"}},{"ruleId":"D2","level":"warning","message":{"text":"createKeyHandler::nudge (cognitive 119): createKeyHandler::nudge has cognitive complexity 119 (threshold 15). Drivers by points: if/else 26 (92 pts), ternaries 4 (13 pts), boolean chains 10, loops 1 (4 pts) (nesting depth added 78). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":11074}}}],"partialFingerprints":{"codehealthFindingId/v1":"3572d835e259a15efff82d51265c92adbeda9b31e7303e8e1eb8ba3897951c49"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.handleError (cognitive 118): EditorUi.EditorUi.handleError has cognitive complexity 118 (threshold 15). Drivers by points: if/else 28 (73 pts), boolean chains 23, ternaries 6 (15 pts), loops 1 (5 pts), error handling 1 (2 pts) (nesting depth added 59). Of this number, 93 points are the body\u0027s own statements and 25 belong to 6 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":7701}}}],"partialFingerprints":{"codehealthFindingId/v1":"adeadcf1aea3674c5d538d04fb72c676ff001db956247fd09a17d10c22eea1af"}},{"ruleId":"D2","level":"warning","message":{"text":"positionBoxes::visitorEdgeFunc (cognitive 118): positionBoxes::visitorEdgeFunc has cognitive complexity 118 (threshold 15). Drivers by points: if/else 21 (63 pts), loops 12 (40 pts), boolean chains 14, ternaries 1 (nesting depth added 70). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/orgchart/mxOrgChartLayout.js"},"region":{"startLine":708}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff810f23ea34ac060f59a7dc6ec49e7745f38d3ffdcd6cff74f999302dbd8e89"}},{"ruleId":"D2","level":"warning","message":{"text":"Editor.Editor.convertImages (cognitive 117): Editor.Editor.convertImages has cognitive complexity 117 (threshold 15). Drivers by points: if/else 36 (80 pts), boolean chains 19, loops 10 (11 pts), error handling 3 (5 pts), ternaries 2 (nesting depth added 47). Most of this is not in the body itself: 2 of the 117 points are its own statements and the rest belongs to 17 function items inside it that branch (a function literal at line 6527, a function literal at line 6362, a function literal at line 6676, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":6329}}}],"partialFingerprints":{"codehealthFindingId/v1":"be03cf95e10893b7af6f2ffdedd6148ce26e70185477b5d0a43977ca92ea558a"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.print (cognitive 117): EditorUi.EditorUi.print has cognitive complexity 117 (threshold 15). Drivers by points: if/else 43 (81 pts), boolean chains 18, ternaries 6 (10 pts), loops 3 (8 pts) (nesting depth added 47). Of this number, 63 points are the body\u0027s own statements and 54 belong to 6 function literals inside it that branch. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":29906}}}],"partialFingerprints":{"codehealthFindingId/v1":"51b7a8c78dfaf1d269288f34501946fc4955ddbeda3586932581c35d8866a7b4"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.connectVertex (cognitive 117): Graph.Graph.connectVertex has cognitive complexity 117 (threshold 15). Drivers by points: if/else 42 (75 pts), boolean chains 30, ternaries 6 (9 pts), loops 2 (3 pts) (nesting depth added 37). Of this number, 61 points are the body\u0027s own statements and 56 belong to one function literal inside it that branches. 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":17522}}}],"partialFingerprints":{"codehealthFindingId/v1":"59d35944f9d1907aab905aae6fb4ce6eb87d11bf0a6f25bb46e8bf72fbd7e1b8"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.mxChildChange.execute (cognitive 116): EditorUi.mxChildChange.execute has cognitive complexity 116 (threshold 15). Drivers by points: if/else 31 (83 pts), ternaries 13 (52 pts), boolean chains 26, loops 5 (17 pts) (nesting depth added 103). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This shape REPEATS in the file: one other method here (EditorUi.mxChildChange.execute::collect) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":22110}}}],"partialFingerprints":{"codehealthFindingId/v1":"997f8dad84613020ef8fb2f14a50754f3518119c2ed44bac1efe57a94c45c127"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.mxGraphView.updateLineJumps (cognitive 114): Graph.mxGraphView.updateLineJumps has cognitive complexity 114 (threshold 15). Drivers by points: if/else 15 (53 pts), loops 7 (30 pts), boolean chains 21, ternaries 3 (10 pts) (nesting depth added 68). Of this number, 110 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":31567}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c8109bdbb7c26486872f8f4169e91308aee19114e62cd3747447d4a7e0f240c"}},{"ruleId":"D2","level":"warning","message":{"text":"handleWriteRevoked (cognitive 113): handleWriteRevoked has cognitive complexity 113 (threshold 15). Drivers by points: if/else 19 (62 pts), loops 8 (36 pts), boolean chains 6, ternaries 2 (6 pts), error handling 2 (3 pts) (nesting depth added 76). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DrawioFile.js"},"region":{"startLine":2338}}}],"partialFingerprints":{"codehealthFindingId/v1":"16d66e9a686af0e0fa1becaf9bc8a4035c868d068c828d4874d595a98e24d1fb"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::addGroup (cognitive 112): (anonymous)::addGroup has cognitive complexity 112 (threshold 15). Drivers by points: if/else 32 (73 pts), boolean chains 20, loops 8 (17 pts), ternaries 1 (2 pts) (nesting depth added 51). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":1012}}}],"partialFingerprints":{"codehealthFindingId/v1":"83587e156b277989c95a35f7e0e2bdfe971727d1791f269c9c144a7e822e7a62"}},{"ruleId":"D2","level":"warning","message":{"text":"mouseMove (cognitive 112): mouseMove has cognitive complexity 112 (threshold 15). Drivers by points: if/else 29 (68 pts), boolean chains 34, ternaries 3 (10 pts) (nesting depth added 46). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/handler/mxGraphHandler.js"},"region":{"startLine":1237}}}],"partialFingerprints":{"codehealthFindingId/v1":"091b33648318137fb572cd97ad9c80fd49313fbbdbc2b1090331fcd8c9a28b5a"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.setTextColor (cognitive 111): Graph.Graph.setTextColor has cognitive complexity 111 (threshold 15). Drivers by points: if/else 22 (52 pts), boolean chains 21, loops 12 (21 pts), ternaries 7 (15 pts), error handling 1 (2 pts) (nesting depth added 48). Of this number, 104 points are the body\u0027s own statements and 7 belong to 3 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":3297}}}],"partialFingerprints":{"codehealthFindingId/v1":"715595ac70c72b3fa8d54c0c1ea7c5580de013a72b4bdcf96edf6b02227ab97a"}},{"ruleId":"D2","level":"warning","message":{"text":"plainText (cognitive 111): plainText has cognitive complexity 111 (threshold 15). Drivers by points: if/else 34 (61 pts), ternaries 12 (29 pts), boolean chains 16, loops 2 (5 pts) (nesting depth added 47). 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/webapp/mxgraph/src/util/mxSvgCanvas2D.js"},"region":{"startLine":3758}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3afee55127f65f8e542b22a737bbc73e498686a8a697f08fa9b589928d8084b"}},{"ruleId":"D2","level":"warning","message":{"text":"getXmlFile (cognitive 111): getXmlFile has cognitive complexity 111 (threshold 15). Drivers by points: if/else 31 (66 pts), boolean chains 16, ternaries 4 (16 pts), error handling 4 (13 pts) (nesting depth added 56). Most of this is not in the body itself: 8 of the 111 points are its own statements and the rest belongs to 6 function items inside it that branch (a function literal at line 1986, a function literal at line 2112, a function literal at line 2070, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DriveClient.js"},"region":{"startLine":1964}}}],"partialFingerprints":{"codehealthFindingId/v1":"e06ee5ea67f0ba64ec1578f370819a623e1876760f62bd189ed723b44bcc7bfb"}},{"ruleId":"D2","level":"warning","message":{"text":"showGitHubDialog (cognitive 111): showGitHubDialog has cognitive complexity 111 (threshold 15). Drivers by points: if/else 42 (64 pts), ternaries 10 (30 pts), boolean chains 9, loops 4 (8 pts) (nesting depth added 46). Most of this is not in the body itself: 2 of the 111 points are its own statements and the rest belongs to 38 function items inside it that branch (a function literal at line 1241, a function literal at line 1137, a function literal at line 1094, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/GitHubClient.js"},"region":{"startLine":896}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f2823bbbb1beb2363cffe6098f91820c82b8ef8ecf75fe5d216a91f2eb1c5a9"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.applyTableText (cognitive 108): EditorUi.EditorUi.applyTableText has cognitive complexity 108 (threshold 15). Drivers by points: if/else 21 (39 pts), ternaries 17 (39 pts), loops 14 (20 pts), boolean chains 10 (nesting depth added 46). Of this number, 106 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":37416}}}],"partialFingerprints":{"codehealthFindingId/v1":"00af62b58bd6f00073bf7b413e86a89bd2006a115b0f0806788a40ea297ee123"}},{"ruleId":"D2","level":"warning","message":{"text":"updateTabContainer (cognitive 108): updateTabContainer has cognitive complexity 108 (threshold 15). Drivers by points: if/else 26 (71 pts), ternaries 7 (21 pts), boolean chains 11, loops 2 (5 pts) (nesting depth added 62). Of this number, 95 points are the body\u0027s own statements and 13 belong to 5 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Pages.js"},"region":{"startLine":3176}}}],"partialFingerprints":{"codehealthFindingId/v1":"92aa64e23574ffc3f7aa0fc196d9b4ee9d18dd9dba8a2548fc7ef3524f7182b1"}},{"ruleId":"D2","level":"warning","message":{"text":"convertHtmlInlineToSvg (cognitive 107): convertHtmlInlineToSvg has cognitive complexity 107 (threshold 15). Drivers by points: if/else 27 (80 pts), ternaries 4 (13 pts), boolean chains 12, loops 1 (2 pts) (nesting depth added 63). Of this number, 104 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxUtils.js"},"region":{"startLine":6552}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bd10f496bf39dfec587aee1c5144809a2a74d991798cadd514bb8296c30e15e"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.fileLoaded (cognitive 106): EditorUi.EditorUi.fileLoaded has cognitive complexity 106 (threshold 15). Drivers by points: if/else 36 (71 pts), error handling 7 (21 pts), boolean chains 11, ternaries 1 (3 pts) (nesting depth added 51). Of this number, 72 points are the body\u0027s own statements and 34 belong to 4 function literals inside it that branch. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":5256}}}],"partialFingerprints":{"codehealthFindingId/v1":"a096766917831e3d223632330228759b24841637ca4256c37885021da4227015"}},{"ruleId":"D2","level":"warning","message":{"text":"fireMouseEvent (cognitive 105): fireMouseEvent has cognitive complexity 105 (threshold 15). Drivers by points: if/else 32 (68 pts), boolean chains 33, loops 1 (4 pts) (nesting depth added 39). Of this number, 102 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":14371}}}],"partialFingerprints":{"codehealthFindingId/v1":"931fc35377fafb654b1501a26dc23581237a832567cb8b9838ecb44db5b8ffbb"}},{"ruleId":"D2","level":"warning","message":{"text":"Sidebar.Sidebar.createDragSource (cognitive 103): Sidebar.Sidebar.createDragSource has cognitive complexity 103 (threshold 15). Drivers by points: boolean chains 68, if/else 16 (20 pts), ternaries 6 (13 pts), loops 2 (nesting depth added 11). Of this number, 74 points are the body\u0027s own statements and 29 belong to 10 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":6440}}}],"partialFingerprints":{"codehealthFindingId/v1":"1533407b39535978d43e74daa9d4d1191aead48ab5b5b2f5aded7f747b8ab987"}},{"ruleId":"D2","level":"warning","message":{"text":"constrainChild (cognitive 103): constrainChild has cognitive complexity 103 (threshold 15). Drivers by points: if/else 23 (94 pts), loops 1 (5 pts), boolean chains 3, ternaries 1 (nesting depth added 75). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":6979}}}],"partialFingerprints":{"codehealthFindingId/v1":"f49ae665390e957ddfe056c25ec3a1b38bcf8b0572314178b18148f48901aa33"}},{"ruleId":"D2","level":"warning","message":{"text":"patchPage (cognitive 102): patchPage has cognitive complexity 102 (threshold 15). Drivers by points: if/else 25 (53 pts), boolean chains 20, loops 8 (16 pts), ternaries 7 (13 pts) (nesting depth added 42). Of this number, 76 points are the body\u0027s own statements and 26 belong to 3 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DiffSync.js"},"region":{"startLine":1111}}}],"partialFingerprints":{"codehealthFindingId/v1":"13313efc6b1f665f4d2f80b1c5baf9d8907f6d709cc60a8875390c7593d6c103"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::evenOddPath (cognitive 101): (anonymous)::evenOddPath has cognitive complexity 101 (threshold 15). Drivers by points: if/else 20 (38 pts), ternaries 8 (27 pts), loops 12 (22 pts), boolean chains 14 (nesting depth added 47). 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":1429}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2f5c39ccb81a74962b67e3f8e0b6ea7efe69250c4820e76c901b43f2a15e15b"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 100): (anonymous) has cognitive complexity 100 (threshold 15). Drivers by points: if/else 21 (36 pts), ternaries 13 (29 pts), boolean chains 23, loops 7 (8 pts), error handling 2 (4 pts) (nesting depth added 34). None of this is in the body itself: all 100 points belong to 37 function items inside it that branch (getIntAttr, toSmallCaps, getStyleString, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":6410}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f1de2de061056ef7efa95a2b54dedf257c60a3939e7eb9f107dc8a742367b29"}},{"ruleId":"D2","level":"warning","message":{"text":"updateButtonContainer (cognitive 100): updateButtonContainer has cognitive complexity 100 (threshold 15). Drivers by points: if/else 23 (69 pts), boolean chains 19, ternaries 3 (12 pts) (nesting depth added 55). Of this number, 99 points are the body\u0027s own statements and 1 belongs to 4 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":7908}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcf3cca64db9e24f7ebb5d40c2dc6cb7ca43e8fe22a4d39d5c1338c5d5cd56d7"}},{"ruleId":"D2","level":"warning","message":{"text":"addSizeHandler (cognitive 100): addSizeHandler has cognitive complexity 100 (threshold 15). Drivers by points: if/else 35 (56 pts), boolean chains 30, ternaries 7 (14 pts) (nesting depth added 28). Of this number, 23 points are the body\u0027s own statements and 77 belong to 6 function items inside it that branch. 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/webapp/js/diagramly/GraphViewer.js"},"region":{"startLine":1317}}}],"partialFingerprints":{"codehealthFindingId/v1":"20276419368749d8564d30a01c5b38c978613589360e0d009650cf5ef589943f"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.createSvgImageSymbol (cognitive 99): Graph.Graph.createSvgImageSymbol has cognitive complexity 99 (threshold 15). Drivers by points: if/else 12 (53 pts), loops 4 (27 pts), ternaries 2 (13 pts), boolean chains 4, error handling 1 (2 pts) (nesting depth added 76). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":6381}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca355f6f38cb02017f72c16475c2c6cd690c70b3dfc4db4290f50a980aca68ef"}},{"ruleId":"D2","level":"warning","message":{"text":"addMenuHandler (cognitive 98): addMenuHandler has cognitive complexity 98 (threshold 15). Drivers by points: if/else 27 (70 pts), boolean chains 26, ternaries 1 (2 pts) (nesting depth added 44). Most of this is not in the body itself: 10 of the 98 points are its own statements and the rest belongs to 12 function literals inside it that branch (lines 11702, 11550, 11632, \u2026). 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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":11542}}}],"partialFingerprints":{"codehealthFindingId/v1":"867cc55226169ed67005efe50837d3fef1dd9ef32033bbbbad00b8985284d124"}},{"ruleId":"D2","level":"warning","message":{"text":"diffPages (cognitive 98): diffPages has cognitive complexity 98 (threshold 15). Drivers by points: if/else 16 (49 pts), ternaries 8 (36 pts), boolean chains 7, loops 3 (6 pts) (nesting depth added 64). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DiffSync.js"},"region":{"startLine":1944}}}],"partialFingerprints":{"codehealthFindingId/v1":"e23f05a3cbfc575e9c23c33b520b5cd15b5669bb8dd37cb7ce211ced3ef9bc98"}},{"ruleId":"D2","level":"warning","message":{"text":"getFile (cognitive 98): getFile has cognitive complexity 98 (threshold 15). Drivers by points: if/else 25 (61 pts), ternaries 5 (16 pts), boolean chains 13, error handling 2 (8 pts) (nesting depth added 53). Most of this is not in the body itself: 1 of the 98 points is its own statement and the rest belongs to 7 function literals inside it that branch (lines 719, 694, 837, \u2026). 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/webapp/js/diagramly/OneDriveClient.js"},"region":{"startLine":690}}}],"partialFingerprints":{"codehealthFindingId/v1":"11d723cd45fee85ecae47349bead903577ae516d2d65f8cadc6fce041def297f"}},{"ruleId":"D2","level":"warning","message":{"text":"move (cognitive 97): move has cognitive complexity 97 (threshold 15). Drivers by points: if/else 29 (70 pts), boolean chains 18, ternaries 3 (6 pts), loops 1 (3 pts) (nesting depth added 46). Of this number, 63 points are the body\u0027s own statements and 34 belong to 4 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxGuide.js"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"46b7c6771ca6e777adc4ce9d43793c382a2a4d80bdad430100609502f4ce942f"}},{"ruleId":"D2","level":"warning","message":{"text":"focusTabStopInDirection (cognitive 96): focusTabStopInDirection has cognitive complexity 96 (threshold 15). Drivers by points: if/else 13 (40 pts), ternaries 10 (33 pts), boolean chains 13, error handling 1 (5 pts), loops 2 (5 pts) (nesting depth added 57). Of this number, 81 points are the body\u0027s own statements and 15 belong to one function literal inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":4456}}}],"partialFingerprints":{"codehealthFindingId/v1":"364b90a66103250b4fed7a5697c31d1b29fae0f48e1800a58acc1afaafdfda35"}},{"ruleId":"D2","level":"warning","message":{"text":"tick (cognitive 96): tick has cognitive complexity 96 (threshold 15). Drivers by points: ternaries 12 (52 pts), if/else 9 (26 pts), boolean chains 11, loops 5 (7 pts) (nesting depth added 59). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/SpringMove.js"},"region":{"startLine":1039}}}],"partialFingerprints":{"codehealthFindingId/v1":"6488683a52f51f375a3c8eff67fb10f37e53781c3884b6d09469fcb1de09c312"}},{"ruleId":"D2","level":"warning","message":{"text":"SaveDialog::addStorageEntry (cognitive 93): SaveDialog::addStorageEntry has cognitive complexity 93 (threshold 15). Drivers by points: if/else 17 (59 pts), ternaries 5 (18 pts), boolean chains 16 (nesting depth added 55). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":4595}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccc93c58a60a062481a6c0a2b1a8f03d238d9bcc130cd278d867414e85862331"}},{"ruleId":"D2","level":"warning","message":{"text":"createTooltip (cognitive 93): createTooltip has cognitive complexity 93 (threshold 15). Drivers by points: if/else 30 (45 pts), ternaries 14 (30 pts), boolean chains 18 (nesting depth added 31). Of this number, 49 points are the body\u0027s own statements and 44 belong to 14 function items inside it that branch. 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/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"22b27915fecaad39626695d4266c4fd9d508b916f5638e8df70f7f60a8284306"}},{"ruleId":"D2","level":"warning","message":{"text":"addCustomEntries (cognitive 93): addCustomEntries has cognitive complexity 93 (threshold 15). Drivers by points: if/else 16 (56 pts), error handling 2 (13 pts), loops 3 (9 pts), boolean chains 8, ternaries 1 (7 pts) (nesting depth added 63). Most of this is not in the body itself: 14 of the 93 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 1696, 1714, 1761, \u2026). 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/webapp/js/diagramly/sidebar/Sidebar.js"},"region":{"startLine":1680}}}],"partialFingerprints":{"codehealthFindingId/v1":"f618306e8528e0372ffdd0db3b94e1f9508eef8afb44c68147a4b0357d0fe4da"}},{"ruleId":"D2","level":"warning","message":{"text":"styleChanged (cognitive 93): styleChanged has cognitive complexity 93 (threshold 15). Drivers by points: ternaries 15 (51 pts), if/else 15 (33 pts), boolean chains 9 (nesting depth added 54). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/shapes/mxAtlassian2.js"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7f11b5707836ac587acb331aa33090b2216caf9978e17ec439d64e0f9c86ce3"}},{"ruleId":"D2","level":"warning","message":{"text":"Extensions.createOrgChart (cognitive 92): Extensions.createOrgChart has cognitive complexity 92 (threshold 15). Drivers by points: if/else 20 (41 pts), loops 13 (28 pts), boolean chains 13, match/switch 1 (4 pts), ternaries 2 (4 pts), error handling 2 (nesting depth added 41). Of this number, 73 points are the body\u0027s own statements and 19 belong to 2 function items inside it that branch. 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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":14078}}}],"partialFingerprints":{"codehealthFindingId/v1":"a39273de12e06fb1baa4c68b70dce41d88fe97a4385940f8d6a9c0ae079e7311"}},{"ruleId":"D2","level":"warning","message":{"text":"text (cognitive 92): text has cognitive complexity 92 (threshold 15). Drivers by points: if/else 17 (57 pts), loops 2 (14 pts), boolean chains 12, ternaries 2 (9 pts) (nesting depth added 59). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxSvgCanvas2D.js"},"region":{"startLine":3327}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9e4be1888d3eee2286824af0e0bb960a8bb266cffb9ad2d595fb322438dc021"}},{"ruleId":"D2","level":"warning","message":{"text":"measure (cognitive 92): measure has cognitive complexity 92 (threshold 15). Drivers by points: if/else 21 (48 pts), loops 16 (23 pts), boolean chains 21 (nesting depth added 34). Of this number, 78 points are the body\u0027s own statements and 14 belong to 4 function literals inside it that branch. 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/webapp/js/diagramly/tidy/Tidy.js"},"region":{"startLine":1023}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a4917bdacc1f9325026a2bfc8860fc296b2e1c43ebb84a03165c597341a2313"}},{"ruleId":"D2","level":"warning","message":{"text":"addTrees::addSibling (cognitive 92): addTrees::addSibling has cognitive complexity 92 (threshold 15). Drivers by points: if/else 16 (50 pts), ternaries 7 (25 pts), boolean chains 11, loops 2 (6 pts) (nesting depth added 56). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Trees.js"},"region":{"startLine":1150}}}],"partialFingerprints":{"codehealthFindingId/v1":"654803dae3bba980df8ee9c920d997493f11ab0609779831b9a8de216b6c3f21"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::addSibling (cognitive 92): (anonymous)::addSibling has cognitive complexity 92 (threshold 15). Drivers by points: if/else 16 (50 pts), ternaries 7 (25 pts), boolean chains 11, loops 2 (6 pts) (nesting depth added 56). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/plugins/trees/trees.js"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"484aacdcd54977a2e64e883898143aa582a926042bc53557e2d04d8e52bfb04a"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.applyOutline (cognitive 91): EditorUi.EditorUi.applyOutline has cognitive complexity 91 (threshold 15). Drivers by points: if/else 20 (40 pts), loops 15 (24 pts), boolean chains 14, ternaries 5 (13 pts) (nesting depth added 37). Of this number, 77 points are the body\u0027s own statements and 14 belong to 2 function items inside it that branch. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":35311}}}],"partialFingerprints":{"codehealthFindingId/v1":"062466273aa3471f60c0c953698fedab6e68d38a8e68ecd84dbc66873957c6d2"}},{"ruleId":"D2","level":"warning","message":{"text":"executeRequest (cognitive 91): executeRequest has cognitive complexity 91 (threshold 15). Drivers by points: if/else 31 (49 pts), boolean chains 23, ternaries 5 (12 pts), error handling 4 (5 pts), loops 1 (2 pts) (nesting depth added 27). Most of this is not in the body itself: 11 of the 91 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 450, 382, 429, \u2026). 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/webapp/js/diagramly/DriveClient.js"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"63b2e2d8a82219dddc80b8b47fd8b14005674a09f93069b4454f92e6da9e50d7"}},{"ruleId":"D2","level":"warning","message":{"text":"P2PCollab::processMsg (cognitive 91): P2PCollab::processMsg has cognitive complexity 91 (threshold 15). Drivers by points: if/else 25 (59 pts), boolean chains 10, ternaries 4 (10 pts), loops 2 (8 pts), error handling 2 (3 pts), match/switch 1 (nesting depth added 47). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/P2PCollab.js"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"eef9e5f613c4dc9dd6d9bd0c7bba8d40dfc7cfb78f4ac647d8848aa03dcc312d"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.getEmbedCellChange (cognitive 90): EditorUi.EditorUi.getEmbedCellChange has cognitive complexity 90 (threshold 15). Drivers by points: if/else 22 (61 pts), boolean chains 14, ternaries 4 (10 pts), loops 3 (5 pts) (nesting depth added 47). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":20282}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8b338416d3ffd7fc45cd774dbe47301241d6360e73d025747c7ac8c5615c843"}},{"ruleId":"D2","level":"warning","message":{"text":"FilePropertiesDialog (cognitive 90): FilePropertiesDialog has cognitive complexity 90 (threshold 15). Drivers by points: if/else 33 (55 pts), ternaries 9 (18 pts), boolean chains 16, error handling 1 (nesting depth added 31). Of this number, 45 points are the body\u0027s own statements and 45 belong to 24 function items inside it that branch. 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":24473}}}],"partialFingerprints":{"codehealthFindingId/v1":"759b00c3b590ecb5ad092bf503732f6c442715ed6cdf8dfbcba60e0ab63166cc"}},{"ruleId":"D2","level":"warning","message":{"text":"main (cognitive 90): main has cognitive complexity 90 (threshold 15). Drivers by points: if/else 14 (58 pts), ternaries 5 (25 pts), loops 1 (4 pts), boolean chains 3 (nesting depth added 67). Most of this is not in the body itself: 4 of the 90 points are its own statements and the rest belongs to 14 function literals inside it that branch (lines 54, 166, 152, \u2026). 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/webapp/js/open.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e252edfa5ac7e7429e3719f51241f22380df0d25c2ae50399570e790db29b42"}},{"ruleId":"D2","level":"warning","message":{"text":"saveFile (cognitive 89): saveFile has cognitive complexity 89 (threshold 15). Drivers by points: if/else 24 (59 pts), boolean chains 15, error handling 2 (9 pts), ternaries 2 (6 pts) (nesting depth added 46). Of this number, 17 points are the body\u0027s own statements and 72 belong to 13 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":6303}}}],"partialFingerprints":{"codehealthFindingId/v1":"989ecbe957647d8b48eab1e53297801c902ad3c42ddd92412369adc5333d097b"}},{"ruleId":"D2","level":"warning","message":{"text":"updateBullets (cognitive 89): updateBullets has cognitive complexity 89 (threshold 15). Drivers by points: ternaries 10 (41 pts), if/else 9 (32 pts), boolean chains 10, loops 2 (6 pts) (nesting depth added 58). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ForceExplorer.js"},"region":{"startLine":4632}}}],"partialFingerprints":{"codehealthFindingId/v1":"2371b2278e0de469fc7387d8aea7ad2b82e3e13abc5665bab17c101dbf16be30"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.applyExternalImages (cognitive 88): EditorUi.EditorUi.applyExternalImages has cognitive complexity 88 (threshold 15). Drivers by points: if/else 25 (63 pts), loops 10 (16 pts), boolean chains 8, ternaries 1 (nesting depth added 44). Of this number, 87 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":19959}}}],"partialFingerprints":{"codehealthFindingId/v1":"f07cebfb1ce638ffc12e4953658c408d781124c74780888af6d5ffeac0e4c627"}},{"ruleId":"D2","level":"warning","message":{"text":"EmbedDialog (cognitive 88): EmbedDialog has cognitive complexity 88 (threshold 15). Drivers by points: if/else 25 (40 pts), ternaries 10 (23 pts), boolean chains 14, error handling 3 (11 pts) (nesting depth added 36). Of this number, 26 points are the body\u0027s own statements and 62 belong to 8 function items inside it that branch. 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b2078e7f4857e34d26c20089cfd75f6b884aaa7654bf1a17a3463548235b3bc"}},{"ruleId":"D2","level":"warning","message":{"text":"addTabDragListeners (cognitive 88): addTabDragListeners has cognitive complexity 88 (threshold 15). Drivers by points: if/else 20 (40 pts), boolean chains 21, loops 6 (18 pts), ternaries 3 (9 pts) (nesting depth added 38). None of this is in the body itself: all 88 points belong to 7 function items inside it that branch (a function literal at line 3648, a function literal at line 3575, a function literal at line 3489, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Pages.js"},"region":{"startLine":3484}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ad9bd3623246aa5aeb0abceb50559021a8cc94b02fa482e6903432310def10a"}},{"ruleId":"D2","level":"warning","message":{"text":"mouseUp (cognitive 88): mouseUp has cognitive complexity 88 (threshold 15). Drivers by points: if/else 24 (64 pts), boolean chains 19, ternaries 1 (5 pts) (nesting depth added 44). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/handler/mxEdgeHandler.js"},"region":{"startLine":2023}}}],"partialFingerprints":{"codehealthFindingId/v1":"e502b7489451ae82b253543486d529c49ed003cf51cad8a4af521038936225c0"}},{"ruleId":"D2","level":"warning","message":{"text":"DrawioFile.DrawioFile.mergeFile (cognitive 87): DrawioFile.DrawioFile.mergeFile has cognitive complexity 87 (threshold 15). Drivers by points: if/else 17 (46 pts), ternaries 6 (23 pts), error handling 4 (10 pts), boolean chains 8 (nesting depth added 52). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DrawioFile.js"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"44c11a746052f8580089f2af753796bc302f1e2920e8750fb41cad0dab059435"}},{"ruleId":"D2","level":"warning","message":{"text":"cellSizeUpdated (cognitive 87): cellSizeUpdated has cognitive complexity 87 (threshold 15). Drivers by points: if/else 21 (81 pts), boolean chains 3, ternaries 1 (3 pts) (nesting depth added 62). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":5878}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1f15af91afe0a18aab67a53eaddf1b2f53874e5f98a1dd7a25b3bea4e8e8073"}},{"ruleId":"D2","level":"warning","message":{"text":"importLucidPage (cognitive 86): importLucidPage has cognitive complexity 86 (threshold 15). Drivers by points: if/else 34 (69 pts), loops 10 (20 pts), boolean chains 13, ternaries 4, error handling 2 (3 pts) (nesting depth added 46). 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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":6641}}}],"partialFingerprints":{"codehealthFindingId/v1":"e866ce94c661d4c4b5e62b3fa9f30fdd1a8807688bd1bd8671c6e083cd6f8bd3"}},{"ruleId":"D2","level":"warning","message":{"text":"findCommonProperties (cognitive 86): findCommonProperties has cognitive complexity 86 (threshold 15). Drivers by points: if/else 15 (46 pts), loops 5 (19 pts), ternaries 2 (12 pts), boolean chains 7, error handling 1 (2 pts) (nesting depth added 56). Of this number, 33 points are the body\u0027s own statements and 53 belong to 2 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":1614}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7682430eee4b092c04bf4955691830b3f7ab7a5e2ee4f993830760d34d1738b"}},{"ruleId":"D2","level":"warning","message":{"text":"connect (cognitive 86): connect has cognitive complexity 86 (threshold 15). Drivers by points: if/else 19 (50 pts), boolean chains 15, ternaries 3 (11 pts), loops 2 (8 pts), error handling 1 (2 pts) (nesting depth added 46). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/handler/mxConnectionHandler.js"},"region":{"startLine":1918}}}],"partialFingerprints":{"codehealthFindingId/v1":"917a75aa6f3860b2e62feaaf6cd5fb06e64c091674a9ebe6f9badbe7e8c73dff"}},{"ruleId":"D2","level":"warning","message":{"text":"union (cognitive 86): union has cognitive complexity 86 (threshold 15). Drivers by points: if/else 27 (59 pts), ternaries 6 (19 pts), boolean chains 8 (nesting depth added 45). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/handler/mxVertexHandler.js"},"region":{"startLine":1692}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e9d5d2381255698b22010e35ba947c7b9b98380c1dee9962e249095d8219b0a"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.mxTerminalChange.execute (cognitive 85): EditorUi.mxTerminalChange.execute has cognitive complexity 85 (threshold 15). Drivers by points: if/else 20 (45 pts), ternaries 6 (28 pts), boolean chains 12 (nesting depth added 47). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":21407}}}],"partialFingerprints":{"codehealthFindingId/v1":"3801d9a0e790e1e24b5c2443fd588ac8e57714f7a52350c7fd606209d8b3da0d"}},{"ruleId":"D2","level":"warning","message":{"text":"convertTxt2Html (cognitive 85): convertTxt2Html has cognitive complexity 85 (threshold 15). Drivers by points: if/else 62 (107 pts), boolean chains 35, loops 16 (34 pts), ternaries 7 (14 pts), match/switch 1 (3 pts), error handling 1 (2 pts) (nesting depth added 73). 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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":3986}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a15f137ba5d4c2a447630b445180459a697c769189035d4872994a1d18b2c64"}},{"ruleId":"D2","level":"warning","message":{"text":"fit (cognitive 85): fit has cognitive complexity 85 (threshold 15). Drivers by points: if/else 15 (45 pts), ternaries 12 (35 pts), boolean chains 5 (nesting depth added 53). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":3039}}}],"partialFingerprints":{"codehealthFindingId/v1":"be0898f321f382858a59d5b68666a8e45f73f4b281bdc0d0c24e5414b8a96225"}},{"ruleId":"D2","level":"warning","message":{"text":"convertFile (cognitive 85): convertFile has cognitive complexity 85 (threshold 15). Drivers by points: if/else 31 (64 pts), boolean chains 9, ternaries 1 (7 pts), loops 1 (3 pts), error handling 1 (2 pts) (nesting depth added 42). Of this number, 20 points are the body\u0027s own statements and 65 belong to 9 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":8893}}}],"partialFingerprints":{"codehealthFindingId/v1":"779a58e4c5b17fc9e55ee156f1ef68656050cf65052954501b54924992dfbb0a"}},{"ruleId":"D2","level":"warning","message":{"text":"fileSaved (cognitive 85): fileSaved has cognitive complexity 85 (threshold 15). Drivers by points: ternaries 11 (41 pts), if/else 14 (34 pts), boolean chains 10 (nesting depth added 50). Of this number, 63 points are the body\u0027s own statements and 22 belong to 3 function literals inside it that branch. This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DrawioFileSync.js"},"region":{"startLine":4262}}}],"partialFingerprints":{"codehealthFindingId/v1":"601d265333dd6383bb5594d1c6ebe7f27ae7ebbb70946cea268a6fc484c38a2f"}},{"ruleId":"D2","level":"warning","message":{"text":"showLightbox (cognitive 84): showLightbox has cognitive complexity 84 (threshold 15). Drivers by points: if/else 19 (52 pts), ternaries 6 (19 pts), boolean chains 13 (nesting depth added 46). Of this number, 78 points are the body\u0027s own statements and 6 belong to one function literal inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/GraphViewer.js"},"region":{"startLine":2610}}}],"partialFingerprints":{"codehealthFindingId/v1":"48458c9cd2ed64f704123da79555c4c1bf56b9e144ac4f0f5f8de89668b1afba"}},{"ruleId":"D2","level":"warning","message":{"text":"addInsertTableCellItem (cognitive 84): addInsertTableCellItem has cognitive complexity 84 (threshold 15). Drivers by points: if/else 24 (46 pts), error handling 6 (19 pts), ternaries 5 (10 pts), boolean chains 9 (nesting depth added 40). Of this number, 23 points are the body\u0027s own statements and 61 belong to 7 function literals inside it that branch. 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/webapp/js/grapheditor/Menus.js"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"42dd8872523c0875f734f567048fc89e58b284d833d84a403d91e6c62c0d2213"}},{"ruleId":"D2","level":"warning","message":{"text":"initMath (cognitive 83): initMath has cognitive complexity 83 (threshold 15). Drivers by points: if/else 21 (50 pts), loops 5 (14 pts), boolean chains 13, ternaries 2 (4 pts), error handling 1 (2 pts) (nesting depth added 41). Most of this is not in the body itself: 5 of the 83 points are its own statements and the rest belongs to 11 function items inside it that branch (a function literal at line 5527, loadMath, onMathJaxDone, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":5317}}}],"partialFingerprints":{"codehealthFindingId/v1":"38cf3bc62d026de4c6b3962209b4dfbb10116ee54f28cbf607f48f8dc3788c65"}},{"ruleId":"D2","level":"warning","message":{"text":"installInputHandler (cognitive 83): installInputHandler has cognitive complexity 83 (threshold 15). Drivers by points: if/else 20 (52 pts), ternaries 8 (13 pts), loops 3 (11 pts), boolean chains 7 (nesting depth added 45). Most of this is not in the body itself: 6 of the 83 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 698, 802, 847, \u2026). 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/webapp/js/grapheditor/Format.js"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"99c4410c0c2a59ebd75758344a7dbcdfc93852cf039287df714dc7cdf232f6a3"}},{"ruleId":"D2","level":"warning","message":{"text":"solveMovePreview (cognitive 83): solveMovePreview has cognitive complexity 83 (threshold 15). Drivers by points: if/else 13 (31 pts), ternaries 14 (31 pts), loops 8 (11 pts), boolean chains 10 (nesting depth added 38). 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/webapp/js/diagramly/LibavoidRouting.js"},"region":{"startLine":3638}}}],"partialFingerprints":{"codehealthFindingId/v1":"283c9a889b9899fe260115ce778206e95d5cb078e6ab2ce40c609570dd61f424"}},{"ruleId":"D2","level":"warning","message":{"text":"mouseMove (cognitive 83): mouseMove has cognitive complexity 83 (threshold 15). Drivers by points: if/else 23 (52 pts), boolean chains 18, ternaries 4 (13 pts) (nesting depth added 38). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/handler/mxEdgeHandler.js"},"region":{"startLine":1865}}}],"partialFingerprints":{"codehealthFindingId/v1":"b421174f800c16e24ee42aa3ef674a38979009b9509b4b48898bbb14cabe2a70"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.clipSvgDataUri (cognitive 82): Graph.Graph.clipSvgDataUri has cognitive complexity 82 (threshold 15). Drivers by points: if/else 15 (52 pts), error handling 3 (12 pts), loops 2 (10 pts), boolean chains 8 (nesting depth added 54). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":5184}}}],"partialFingerprints":{"codehealthFindingId/v1":"496e4c23a43917afeb201a6e52f1154cab92708218d056bc0bd52106f6636e9f"}},{"ruleId":"D2","level":"warning","message":{"text":"addTrees::moveCells (cognitive 81): addTrees::moveCells has cognitive complexity 81 (threshold 15). Drivers by points: if/else 18 (59 pts), boolean chains 11, loops 4 (8 pts), ternaries 1 (3 pts) (nesting depth added 47). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Trees.js"},"region":{"startLine":853}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fa18595586293c029a46077f64b640d636d5a0a46fdb2e45558b79320eb76bc"}},{"ruleId":"D2","level":"warning","message":{"text":"initGraph (cognitive 81): initGraph has cognitive complexity 81 (threshold 15). Drivers by points: if/else 77 (215 pts), boolean chains 31, ternaries 6 (19 pts), error handling 3 (7 pts), loops 2 (4 pts) (nesting depth added 157). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/embed.dev.js"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"92720e2a29534d6e25a231c141318888e0b208d92a1abf8e4c4bca6405cbaa05"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.insertTextAt (cognitive 80): EditorUi.EditorUi.insertTextAt has cognitive complexity 80 (threshold 15). Drivers by points: if/else 22 (64 pts), boolean chains 8, error handling 2 (8 pts) (nesting depth added 48). Of this number, 72 points are the body\u0027s own statements and 8 belong to 2 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":16965}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcb64900605f0f195b3be1593d4ca9f77436e66ede334f3ff452f19fd2d3ea9a"}},{"ruleId":"D2","level":"warning","message":{"text":"authorizeStep2 (cognitive 80): authorizeStep2 has cognitive complexity 80 (threshold 15). Drivers by points: if/else 27 (64 pts), error handling 3 (8 pts), boolean chains 5, ternaries 1 (3 pts) (nesting depth added 44). Of this number, 32 points are the body\u0027s own statements and 48 belong to 2 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DriveClient.js"},"region":{"startLine":1010}}}],"partialFingerprints":{"codehealthFindingId/v1":"22713283141f5083fc9e4484eb9ea600a0c4d6077c37fff71b8e999ef705c34c"}},{"ruleId":"D2","level":"warning","message":{"text":"getPreviewPoints (cognitive 80): getPreviewPoints has cognitive complexity 80 (threshold 15). Drivers by points: if/else 17 (64 pts), boolean chains 10, loops 1 (4 pts), ternaries 2 (nesting depth added 50). Of this number, 74 points are the body\u0027s own statements and 6 belong to one function item inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/handler/mxEdgeHandler.js"},"region":{"startLine":1311}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f590f43dc0b8d16239e8d002fc1e57cc0ad0bde61b31f561ada7f3ebeb38e8c"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.installNativeClipboardHandler (cognitive 79): EditorUi.EditorUi.installNativeClipboardHandler has cognitive complexity 79 (threshold 15). Drivers by points: if/else 21 (41 pts), boolean chains 22, error handling 5 (10 pts), ternaries 1 (6 pts) (nesting depth added 30). Most of this is not in the body itself: 1 of the 79 points is its own statement and the rest belongs to 13 function literals inside it that branch (lines 24957, 25127, 25164, \u2026). 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":24873}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cbadc307f04b20c2ee36f5e6896027c663e567d0d6e273c2d77c9956ba8a498"}},{"ruleId":"D2","level":"warning","message":{"text":"searchEntries (cognitive 79): searchEntries has cognitive complexity 79 (threshold 15). Drivers by points: if/else 14 (38 pts), loops 10 (27 pts), boolean chains 14 (nesting depth added 41). Of this number, 77 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. 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/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":2582}}}],"partialFingerprints":{"codehealthFindingId/v1":"303b2085f06bdd5479b0a27fb12ac5c9f75fa68bc0c496a38dc725877c339745"}},{"ruleId":"D2","level":"warning","message":{"text":"patchCellRecursive (cognitive 79): patchCellRecursive has cognitive complexity 79 (threshold 15). Drivers by points: if/else 18 (46 pts), loops 6 (14 pts), boolean chains 13, ternaries 3 (6 pts) (nesting depth added 39). Of this number, 39 points are the body\u0027s own statements and 40 belong to 2 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DiffSync.js"},"region":{"startLine":1527}}}],"partialFingerprints":{"codehealthFindingId/v1":"388b7bf6742869fcb5d46e03f3a971e227b311ac99cae7d659a8274121a4c93c"}},{"ruleId":"D2","level":"warning","message":{"text":"addItem (cognitive 79): addItem has cognitive complexity 79 (threshold 15). Drivers by points: if/else 27 (56 pts), boolean chains 13, error handling 1 (4 pts), ternaries 2 (4 pts), loops 1 (2 pts) (nesting depth added 35). Of this number, 23 points are the body\u0027s own statements and 56 belong to 7 function literals inside it that branch. 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/webapp/mxgraph/src/util/mxPopupMenu.js"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3c761eefd384e7db8669037a1ecca718599b6b1a81bc89a0f5da48fca0ef168"}},{"ruleId":"D2","level":"warning","message":{"text":"createFooterMenuForTheme (cognitive 79): createFooterMenuForTheme has cognitive complexity 79 (threshold 15). Drivers by points: ternaries 12 (51 pts), if/else 10 (24 pts), boolean chains 4 (nesting depth added 53). Of this number, 21 points are the body\u0027s own statements and 58 belong to 7 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/SimpleClassic.js"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"8367718dc81edf7187d8ec293fb28787b58fd7d5fab326818ec58c4eaddfac74"}},{"ruleId":"D2","level":"warning","message":{"text":"runWithDialog (cognitive 78): runWithDialog has cognitive complexity 78 (threshold 15). Drivers by points: if/else 41 (68 pts), boolean chains 24, ternaries 11 (17 pts), loops 8 (13 pts), error handling 1 (4 pts) (nesting depth added 41). 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/webapp/js/diagramly/ElkLayout.js"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"215ab91696b13b70c60bcb1be00a419b4ccc40be2ddf00a3ff6172b87ba4f7e3"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.parseStyleRule (cognitive 77): Graph.Graph.parseStyleRule has cognitive complexity 77 (threshold 15). Drivers by points: if/else 10 (35 pts), ternaries 7 (23 pts), boolean chains 10, loops 2 (9 pts) (nesting depth added 48). Of this number, 72 points are the body\u0027s own statements and 5 belong to one function item inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":18071}}}],"partialFingerprints":{"codehealthFindingId/v1":"db2577893bdc40c65e4667d035c755f73fe1f6946d08b6f2b251fa3a8d8984d4"}},{"ruleId":"D2","level":"warning","message":{"text":"ProxyServlet.doGet (cognitive 77): ProxyServlet.doGet has cognitive complexity 77 (threshold 15). Drivers by points: ternaries 11 (33 pts), if/else 13 (27 pts), error handling 4 (8 pts), boolean chains 6, loops 1 (3 pts) (nesting depth added 42). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/server/java/com/mxgraph/online/ProxyServlet.java"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b936435142ef993cbdf10df42ad35b4b8f240188648c266a3f3ea5f6013099a"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageDialog (cognitive 77): ImageDialog has cognitive complexity 77 (threshold 15). Drivers by points: if/else 33 (51 pts), ternaries 7 (14 pts), boolean chains 7, loops 2 (5 pts) (nesting depth added 28). Most of this is not in the body itself: 9 of the 77 points are its own statements and the rest belongs to 33 function items inside it that branch (insertImage, apply, filePicked, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":5614}}}],"partialFingerprints":{"codehealthFindingId/v1":"f30cd0f1bcc20ffc5ab2b017de8370db83a3d45f2094022b4ad75abbc90557e3"}},{"ruleId":"D2","level":"warning","message":{"text":"getColorSchemeStyles (cognitive 77): getColorSchemeStyles has cognitive complexity 77 (threshold 15). Drivers by points: if/else 20 (53 pts), boolean chains 18, ternaries 2 (4 pts), loops 2 (nesting depth added 35). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":10410}}}],"partialFingerprints":{"codehealthFindingId/v1":"b82137c0d356d580ed916a2ae9c17d4677cb49463b83adee7c8369299bdd95d8"}},{"ruleId":"D2","level":"warning","message":{"text":"addStroke (cognitive 77): addStroke has cognitive complexity 77 (threshold 15). Drivers by points: if/else 33 (40 pts), ternaries 14 (21 pts), boolean chains 12, loops 3 (4 pts) (nesting depth added 15). Most of this is not in the body itself: 9 of the 77 points are its own statements and the rest belongs to 26 function items inside it that branch (a function literal at line 8257, a function literal at line 7857, a function literal at line 8055, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Format.js"},"region":{"startLine":7782}}}],"partialFingerprints":{"codehealthFindingId/v1":"adf3070b8330ba837794fa027cfb4b148720ea1d5d327c5b6f9a463a5a07874e"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 77): (anonymous) has cognitive complexity 77 (threshold 15). Drivers by points: if/else 19 (60 pts), boolean chains 17 (nesting depth added 41). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"94d2694a72d889e8a6465bdc8f53f1a755fe48eabaa7544d8f57a5624d310ecf"}},{"ruleId":"D2","level":"warning","message":{"text":"merge (cognitive 77): merge has cognitive complexity 77 (threshold 15). Drivers by points: if/else 16 (41 pts), ternaries 7 (20 pts), boolean chains 10, error handling 2 (3 pts), loops 1 (3 pts) (nesting depth added 41). Of this number, 71 points are the body\u0027s own statements and 6 belong to 2 function literals inside it that branch. This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DrawioFileSync.js"},"region":{"startLine":3246}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d3acd64894cb50867479920499b70d74eb1d13403ddf4c2cf0b4aa8659ddd85"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.replaceAlternateContent (cognitive 76): EditorUi.EditorUi.replaceAlternateContent has cognitive complexity 76 (threshold 15). Drivers by points: if/else 25 (55 pts), boolean chains 16, error handling 1 (3 pts), loops 2 (nesting depth added 32). Most of this is not in the body itself: 3 of the 76 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 9979, replaceElt, a function literal at line 10097, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":9921}}}],"partialFingerprints":{"codehealthFindingId/v1":"640b9b8a25af3867be329d845cb8584612faa47afd2155aa80aa24557c7fedb7"}},{"ruleId":"D2","level":"warning","message":{"text":"create (cognitive 76): create has cognitive complexity 76 (threshold 15). Drivers by points: if/else 35 (42 pts), boolean chains 14, ternaries 14, error handling 2 (3 pts), loops 1 (3 pts) (nesting depth added 10). Of this number, 59 points are the body\u0027s own statements and 17 belong to 15 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":14624}}}],"partialFingerprints":{"codehealthFindingId/v1":"145527c05d88155b0749b32c3e83ae2ecdd27c63cae65f7da4967b34956a31d2"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::encodeCell (cognitive 76): (anonymous)::encodeCell has cognitive complexity 76 (threshold 15). Drivers by points: if/else 20 (57 pts), loops 3 (12 pts), boolean chains 7 (nesting depth added 46). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/io/mxGraphViewCodec.js"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"0023fe39be3a4dbee62f6fd7a2456f8c838ea9bf1579370e7759bf342786d255"}},{"ruleId":"D2","level":"warning","message":{"text":"Dialogs.LibraryDialog::addButton (cognitive 75): Dialogs.LibraryDialog::addButton has cognitive complexity 75 (threshold 15). Drivers by points: if/else 23 (56 pts), loops 2 (7 pts), boolean chains 5, ternaries 1 (4 pts), error handling 2 (3 pts) (nesting depth added 42). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This shape REPEATS in the file: one other method here (Dialogs.LibraryDialog) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":20059}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b711b7f32fae6fe89841016b0d3db7e1e406b533c85e2cae2e8ae9b0395b3fa"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.TableLayout.execute (cognitive 75): Graph.TableLayout.execute has cognitive complexity 75 (threshold 15). Drivers by points: if/else 15 (43 pts), ternaries 4 (14 pts), loops 4 (11 pts), boolean chains 7 (nesting depth added 45). Of this number, 53 points are the body\u0027s own statements and 22 belong to one function literal inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":27179}}}],"partialFingerprints":{"codehealthFindingId/v1":"69ad7c39f51c7e306653d55d5d97951b3bec580735a6a156151b44ed6c81566f"}},{"ruleId":"D2","level":"warning","message":{"text":"tick (cognitive 75): tick has cognitive complexity 75 (threshold 15). Drivers by points: if/else 14 (42 pts), ternaries 3 (20 pts), boolean chains 7, loops 4 (6 pts) (nesting depth added 47). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ForceExplorer.js"},"region":{"startLine":3833}}}],"partialFingerprints":{"codehealthFindingId/v1":"414352482368c4ae114ed5a66550f3f05c3530d515927b9dee0b01c32df477b3"}},{"ruleId":"D2","level":"warning","message":{"text":"authenticateStep2 (cognitive 75): authenticateStep2 has cognitive complexity 75 (threshold 15). Drivers by points: if/else 20 (54 pts), error handling 2 (9 pts), ternaries 3 (9 pts), boolean chains 3 (nesting depth added 47). Most of this is not in the body itself: 2 of the 75 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 426, 356, 343, \u2026). 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/webapp/js/diagramly/OneDriveClient.js"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"c340d306560e350d50eed5a73cae5182d29a8bcf8ab663e55402fd35491924e8"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.initializeEmbedMode (cognitive 74): EditorUi.EditorUi.initializeEmbedMode has cognitive complexity 74 (threshold 15). Drivers by points: if/else 14 (45 pts), loops 3 (15 pts), boolean chains 6, error handling 1 (4 pts), ternaries 1 (4 pts) (nesting depth added 49). Most of this is not in the body itself: 5 of the 74 points are its own statements and the rest belongs to one function literal inside it that branches (line 31228). The decisions are inside the literal, 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 literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":31217}}}],"partialFingerprints":{"codehealthFindingId/v1":"9852ffca2baaefcf0130cc62221e5d5265e97a001f070b137d17967b566ec18e"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.removeTieReferences (cognitive 74): Graph.Graph.removeTieReferences has cognitive complexity 74 (threshold 15). Drivers by points: if/else 12 (40 pts), loops 7 (18 pts), ternaries 4 (11 pts), boolean chains 5 (nesting depth added 46). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":21131}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3fb9171eb94803ce841128d15287528cbcf526381394673ecbe6d680a288cf2"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.mxConnector.paintCutCurve (cognitive 74): Graph.mxConnector.paintCutCurve has cognitive complexity 74 (threshold 15). Drivers by points: if/else 23 (41 pts), boolean chains 14, loops 9 (10 pts), ternaries 4 (9 pts) (nesting depth added 24). Of this number, 39 points are the body\u0027s own statements and 35 belong to 5 function items inside it that branch. 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":32018}}}],"partialFingerprints":{"codehealthFindingId/v1":"f219b5cca5711a48ef211be514a88cdc44c524a49f18f0e89103cf6ce17feaa3"}},{"ruleId":"D2","level":"warning","message":{"text":"addInsertTableItem (cognitive 74): addInsertTableItem has cognitive complexity 74 (threshold 15). Drivers by points: if/else 15 (21 pts), loops 12 (20 pts), ternaries 13 (18 pts), boolean chains 15 (nesting depth added 19). Most of this is not in the body itself: 7 of the 74 points are its own statements and the rest belongs to 14 function items inside it that branch (a function literal at line 1076, a function literal at line 831, selectSize, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Menus.js"},"region":{"startLine":805}}}],"partialFingerprints":{"codehealthFindingId/v1":"a77c1491207225b81015037b2374f4d50dbd1b84eca036fd079268128d5f8135"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 74): (anonymous) has cognitive complexity 74 (threshold 15). Drivers by points: if/else 30 (44 pts), boolean chains 12, error handling 6 (9 pts), ternaries 6 (8 pts), loops 1 (nesting depth added 19). None of this is in the body itself: all 74 points belong to 48 function items inside it that branch (saveFile, a function literal at line 13, a function literal at line 200, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/plugins/nextcloud.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"912921ea289728891a46a5a39b6a2cd9586292d14426cef6bde6225c6a579ec8"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.importXml (cognitive 73): EditorUi.EditorUi.importXml has cognitive complexity 73 (threshold 15). Drivers by points: if/else 16 (52 pts), loops 2 (8 pts), boolean chains 7, ternaries 2 (5 pts), error handling 1 (nesting depth added 45). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":13999}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f8af65d1ddc009063f907f68ad484702dbea1bf7ef9d02ca6d3a9e6dae89f52"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.replaceLockedGroupChildren (cognitive 73): EditorUi.EditorUi.replaceLockedGroupChildren has cognitive complexity 73 (threshold 15). Drivers by points: if/else 17 (44 pts), loops 9 (15 pts), boolean chains 8, ternaries 6 (nesting depth added 33). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":14827}}}],"partialFingerprints":{"codehealthFindingId/v1":"f79881195481ad31ec339640032f9b5d6dbed194e081f1b81503bf5274446a97"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.encodeEmbedPng (cognitive 73): EditorUi.EditorUi.encodeEmbedPng has cognitive complexity 73 (threshold 15). Drivers by points: loops 12 (25 pts), if/else 12 (24 pts), ternaries 7 (22 pts), boolean chains 2 (nesting depth added 40). 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":19703}}}],"partialFingerprints":{"codehealthFindingId/v1":"b54a2510b04e6ea06a1c98084016bc6eeb48846e6154cb3257bc3839b7fe4128"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.repairHasParentCycle (cognitive 73): EditorUi.repairHasParentCycle has cognitive complexity 73 (threshold 15). Drivers by points: if/else 34 (72 pts), ternaries 13 (30 pts), boolean chains 29, loops 9 (16 pts) (nesting depth added 62). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This shape REPEATS in the file: one other method here (EditorUi.repairHasParentCycle::capturePage) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":21720}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae05eca2684815977aa190238cc1ff9ae4dd855bbf0d1b01d0fc6fb5c110123b"}},{"ruleId":"D2","level":"warning","message":{"text":"Dialogs.ColorDialog (cognitive 73): Dialogs.ColorDialog has cognitive complexity 73 (threshold 15). Drivers by points: if/else 137 (255 pts), boolean chains 58, ternaries 8 (10 pts), loops 2 (3 pts) (nesting depth added 121). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 3 other methods here (Dialogs.ColorDialog::setDefaultSelected, Dialogs.ColorDialog::inputChanged, Dialogs.ColorDialog::addCurrentToRecent) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Dialogs.js"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"3edb65191758f90160aa07b658d9820852bc205bb8551493d7fa40044d755bab"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.addFlowRingsToNode (cognitive 73): Graph.Graph.addFlowRingsToNode has cognitive complexity 73 (threshold 15). Drivers by points: if/else 16 (45 pts), loops 5 (13 pts), boolean chains 11, ternaries 3 (4 pts) (nesting depth added 38). Of this number, 71 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":23688}}}],"partialFingerprints":{"codehealthFindingId/v1":"43008cdd3e757126b8bb142889241ccc0104070a248e563a0f2bc71a4802d08f"}},{"ruleId":"D2","level":"warning","message":{"text":"mxElectrical.mxShapeElectricalQFPIC.paintVertexShape (cognitive 73): mxElectrical.mxShapeElectricalQFPIC.paintVertexShape has cognitive complexity 73 (threshold 15). Drivers by points: if/else 19 (35 pts), match/switch 9 (26 pts), loops 4 (8 pts), boolean chains 4 (nesting depth added 37). 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/webapp/shapes/mxElectrical.js"},"region":{"startLine":1168}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdae4c7fa5033bf7fb3730bb66e7411be7fa7ec90466c500f9db387a3c2a9c98"}},{"ruleId":"D2","level":"warning","message":{"text":"NewDialog (cognitive 73): NewDialog has cognitive complexity 73 (threshold 15). Drivers by points: if/else 186 (373 pts), ternaries 42 (74 pts), boolean chains 70, loops 18 (56 pts), error handling 1 (3 pts) (nesting depth added 259). 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":2386}}}],"partialFingerprints":{"codehealthFindingId/v1":"09fb03635de9a0491d944ea9cb2bce9ad42aa4173ac3dcf2df14272e9648034a"}},{"ruleId":"D2","level":"warning","message":{"text":"CreateDialog (cognitive 73): CreateDialog has cognitive complexity 73 (threshold 15). Drivers by points: if/else 51 (76 pts), boolean chains 24, ternaries 12 (18 pts) (nesting depth added 31). 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":5029}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd62b95e2eec8b8e5b4a1d30babb4f7e9fd8705ad9c06e1f2b9cc91c4ecb3ddb"}},{"ruleId":"D2","level":"warning","message":{"text":"addStyles (cognitive 73): addStyles has cognitive complexity 73 (threshold 15). Drivers by points: if/else 21 (41 pts), ternaries 9 (20 pts), loops 3 (7 pts), boolean chains 5 (nesting depth added 35). Of this number, 18 points are the body\u0027s own statements and 55 belong to 9 function literals inside it that branch. 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/webapp/js/diagramly/Editor.js"},"region":{"startLine":10137}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f2292f68cae732104bde32fe925357e95911bff69da20c98547531252ae0e3c"}},{"ruleId":"D2","level":"warning","message":{"text":"onKeyDown (cognitive 73): onKeyDown has cognitive complexity 73 (threshold 15). Drivers by points: if/else 18 (40 pts), ternaries 4 (20 pts), boolean chains 9, error handling 1 (4 pts) (nesting depth added 41). Of this number, 47 points are the body\u0027s own statements and 26 belong to 2 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":3556}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e2a652c8c9b1cbbe0f261e3aaa8f7b0cf57e294f130aa714e87d8d9ffefb161"}},{"ruleId":"D2","level":"warning","message":{"text":"patchRealtime (cognitive 73): patchRealtime has cognitive complexity 73 (threshold 15). Drivers by points: if/else 8 (30 pts), ternaries 7 (28 pts), loops 2 (9 pts), boolean chains 6 (nesting depth added 50). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DrawioFileSync.js"},"region":{"startLine":2240}}}],"partialFingerprints":{"codehealthFindingId/v1":"a14db4cc67dc507dcd57664e0f16a5e2e5d622b8eccfa7018f901a58d62b3d8a"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 73): (anonymous) has cognitive complexity 73 (threshold 15). Drivers by points: if/else 22 (50 pts), error handling 3 (10 pts), loops 3 (9 pts), ternaries 2 (3 pts), boolean chains 1 (nesting depth added 42). Most of this is not in the body itself: 5 of the 73 points are its own statements and the rest belongs to 18 function items inside it that branch (a function literal at line 191, processDelta, a function literal at line 146, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/plugins/replay.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"d59ca15c0c32eb97f37903aa8315e95e1b567299f35c2d6771112665d5eb035b"}},{"ruleId":"D2","level":"warning","message":{"text":"Editor.Editor.extractGraphModelFromPdf (cognitive 72): Editor.Editor.extractGraphModelFromPdf has cognitive complexity 72 (threshold 15). Drivers by points: if/else 19 (47 pts), loops 4 (9 pts), boolean chains 8, error handling 2 (7 pts), ternaries 1 (nesting depth added 38). Of this number, 65 points are the body\u0027s own statements and 7 belong to one function item inside it that branches. 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/webapp/js/diagramly/Editor.js"},"region":{"startLine":3120}}}],"partialFingerprints":{"codehealthFindingId/v1":"24a777de28db82b799396fdc0769b65d2fbe2296d3228900e71114a2a031823f"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.showExportDialog (cognitive 72): EditorUi.EditorUi.showExportDialog has cognitive complexity 72 (threshold 15). Drivers by points: if/else 95 (159 pts), boolean chains 53, ternaries 10 (13 pts), loops 4 (8 pts) (nesting depth added 71). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 2 other methods here (EditorUi.EditorUi.showExportDialog::getPresetValues, EditorUi.EditorUi.showExportDialog::setPresetValues) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":11787}}}],"partialFingerprints":{"codehealthFindingId/v1":"1397634b7a392de34f732feac6dbec7ff1690c9af19ae67d1afbc5d4905e7755"}},{"ruleId":"D2","level":"warning","message":{"text":"mxGraphMlCodec.mxGraphMlCodec.importNode (cognitive 72): mxGraphMlCodec.mxGraphMlCodec.importNode has cognitive complexity 72 (threshold 15). Drivers by points: if/else 19 (56 pts), loops 5 (14 pts), boolean chains 2 (nesting depth added 46). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/graphml/mxGraphMlCodec.js"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7a0ac8a0a8d07e2cea80a0ed7ab1454dff13bfb92449f7d3f6486a5c90a3f29"}},{"ruleId":"D2","level":"warning","message":{"text":"AnimationDialog::renderStepField (cognitive 72): AnimationDialog::renderStepField has cognitive complexity 72 (threshold 15). Drivers by points: if/else 23 (32 pts), ternaries 10 (24 pts), boolean chains 14, loops 1 (2 pts) (nesting depth added 24). 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":15950}}}],"partialFingerprints":{"codehealthFindingId/v1":"db64515dcf0ebc15f27169f605a0767f52c4ac86a9386a04223a15fee592ed8d"}},{"ruleId":"D2","level":"warning","message":{"text":"getCellOptions (cognitive 72): getCellOptions has cognitive complexity 72 (threshold 15). Drivers by points: if/else 19 (31 pts), ternaries 9 (29 pts), boolean chains 7, error handling 1 (3 pts), loops 1 (2 pts) (nesting depth added 35). Of this number, 69 points are the body\u0027s own statements and 3 belong to 5 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/InlineToolbar.js"},"region":{"startLine":4345}}}],"partialFingerprints":{"codehealthFindingId/v1":"143c9f3f619ed9288da83c4130b56f31262fbc23bd9677c6a248a45455b08a5e"}},{"ruleId":"D2","level":"warning","message":{"text":"redrawHandles (cognitive 72): redrawHandles has cognitive complexity 72 (threshold 15). Drivers by points: if/else 18 (32 pts), boolean chains 18, ternaries 5 (16 pts), loops 3 (6 pts) (nesting depth added 28). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/handler/mxVertexHandler.js"},"region":{"startLine":1947}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6f1336b1cada8401639e218c37d3dc4c758411a46377988463aec818b04986a"}},{"ruleId":"D2","level":"warning","message":{"text":"resize (cognitive 72): resize has cognitive complexity 72 (threshold 15). Drivers by points: if/else 18 (44 pts), boolean chains 14, ternaries 7 (14 pts) (nesting depth added 33). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxCellEditor.js"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"8528d58fd04c7aba5e8b70375810be1ab2a0eb1a01278bb7a10590be8fd981fc"}},{"ruleId":"D2","level":"warning","message":{"text":"GraphViewer.GraphViewer.getModelNodeBounds (cognitive 71): GraphViewer.GraphViewer.getModelNodeBounds has cognitive complexity 71 (threshold 15). Drivers by points: if/else 15 (45 pts), loops 8 (20 pts), boolean chains 17, ternaries 4 (7 pts) (nesting depth added 45). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/GraphViewer.js"},"region":{"startLine":3430}}}],"partialFingerprints":{"codehealthFindingId/v1":"d56671ab37a4366e6a1a693be08dd2a453682c25a5d232cdafa02cf4dbb05084"}},{"ruleId":"D2","level":"warning","message":{"text":"replay.Draw.loadPlugin() (cognitive 71): replay.Draw.loadPlugin() has cognitive complexity 71 (threshold 15). Drivers by points: if/else 22 (50 pts), error handling 3 (10 pts), loops 3 (9 pts), boolean chains 1, ternaries 1 (nesting depth added 41). Most of this is not in the body itself: 5 of the 71 points are its own statements and the rest belongs to 10 function items inside it that branch (a function literal at line 191, processDelta, decodeChanges, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/plugins/replay.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7f1b08420337520e3fbcd83f3d14ebc9ce745aed7a38e9ed3feffb708ac2599"}},{"ruleId":"D2","level":"warning","message":{"text":"updateLanguages (cognitive 71): updateLanguages has cognitive complexity 71 (threshold 15). Drivers by points: if/else 11 (36 pts), ternaries 4 (15 pts), boolean chains 11, loops 4 (9 pts) (nesting depth added 41). Of this number, 69 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/LightboxModern.js"},"region":{"startLine":2240}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e49f0370a917d1fe865001359c96566ef11589f9c58d40443c8c43866de234d"}},{"ruleId":"D2","level":"warning","message":{"text":"Dialogs.MarkupDialog (cognitive 70): Dialogs.MarkupDialog has cognitive complexity 70 (threshold 15). Drivers by points: if/else 37 (43 pts), boolean chains 10, ternaries 5 (7 pts), loops 3 (6 pts), error handling 2 (4 pts) (nesting depth added 13). Most of this is not in the body itself: 5 of the 70 points are its own statements and the rest belongs to 20 function items inside it that branch (applyFormat, a function literal at line 2774, a function literal at line 2896, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Dialogs.js"},"region":{"startLine":2571}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7ac493eed5bb622f2177752429dbcd1f5428af252b566bbead6b1ce16847418"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.mxGraphView.updateTieLayout (cognitive 70): Graph.mxGraphView.updateTieLayout has cognitive complexity 70 (threshold 15). Drivers by points: ternaries 19 (51 pts), if/else 5 (9 pts), boolean chains 7, loops 3 (nesting depth added 36). Of this number, 60 points are the body\u0027s own statements and 10 belong to one function literal inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":33655}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4dbf658280c7386e1b6a89845e8ef792e16375f771a936817550617068f2f70"}},{"ruleId":"D2","level":"warning","message":{"text":"ColorDialog::setColor (cognitive 70): ColorDialog::setColor has cognitive complexity 70 (threshold 15). Drivers by points: if/else 29 (55 pts), ternaries 5 (10 pts), boolean chains 5 (nesting depth added 31). 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/webapp/js/grapheditor/Dialogs.js"},"region":{"startLine":1685}}}],"partialFingerprints":{"codehealthFindingId/v1":"1078cd0a9fa8036fcf72626db74f5e75660af6b87fb5fc727ec854b60869a316"}},{"ruleId":"D2","level":"warning","message":{"text":"cellsAdded (cognitive 69): cellsAdded has cognitive complexity 69 (threshold 15). Drivers by points: if/else 13 (48 pts), boolean chains 10, ternaries 3 (9 pts), loops 1 (2 pts) (nesting depth added 42). Of this number, 65 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":4951}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e3cc6dd59ffe9218d5dd5dc5801b64487e6b89850c1bcd90c1c09dc7a9bd55d"}},{"ruleId":"D2","level":"warning","message":{"text":"updateSelectionStateForCell (cognitive 68): updateSelectionStateForCell has cognitive complexity 68 (threshold 15). Drivers by points: if/else 17 (36 pts), boolean chains 24, ternaries 2 (8 pts) (nesting depth added 25). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":2047}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6ea121c995da837f122c1e8a39ff1b2d580b31849caf81e1fcd906c448e9bc3"}},{"ruleId":"D2","level":"warning","message":{"text":"keyDown (cognitive 68): keyDown has cognitive complexity 68 (threshold 15). Drivers by points: if/else 16 (29 pts), ternaries 5 (19 pts), boolean chains 17, loops 1 (3 pts) (nesting depth added 29). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxPopupMenu.js"},"region":{"startLine":1052}}}],"partialFingerprints":{"codehealthFindingId/v1":"51a2c47985bc75795ef67857cfdbb522dd66c05a5f60d61fe123246c668b64b0"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.exportSvg (cognitive 67): EditorUi.EditorUi.exportSvg has cognitive complexity 67 (threshold 15). Drivers by points: if/else 22 (43 pts), ternaries 6 (13 pts), boolean chains 9, error handling 1 (2 pts) (nesting depth added 29). Most of this is not in the body itself: 14 of the 67 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 9729, 9819, 9867, \u2026). 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":9661}}}],"partialFingerprints":{"codehealthFindingId/v1":"44ff630eaac484e5125e12bf525e63155e2ec491444945b053c684bebac4b963"}},{"ruleId":"D2","level":"warning","message":{"text":"Format.BaseFormatPanel.installInputHandler.update (cognitive 67): Format.BaseFormatPanel.installInputHandler.update has cognitive complexity 67 (threshold 15). Drivers by points: if/else 18 (49 pts), loops 3 (11 pts), boolean chains 6, ternaries 1 (nesting depth added 39). Of this number, 63 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Format.js"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"daab2e1ef0ef0ca96d77368e877b05afdbd58b27ce1f4dd172e7b3775e1713b6"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.mxStencilRegistry.getStencil (cognitive 67): Graph.mxStencilRegistry.getStencil has cognitive complexity 67 (threshold 15). Drivers by points: if/else 12 (52 pts), error handling 1 (8 pts), loops 1 (5 pts), boolean chains 2 (nesting depth added 51). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":34135}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e80e5155c7320173000c0d67427bcfef49a2d1dd53eb6db632e35b74390c473"}},{"ruleId":"D2","level":"warning","message":{"text":"trees.Draw.loadPlugin()::addSibling (cognitive 67): trees.Draw.loadPlugin()::addSibling has cognitive complexity 67 (threshold 15). Drivers by points: if/else 16 (50 pts), boolean chains 11, loops 2 (6 pts) (nesting depth added 38). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This shape REPEATS in the file: 3 other methods here (trees.Draw.loadPlugin(), trees.Draw.loadPlugin()::getTreeDirection, trees.Draw.loadPlugin()::selectCell) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/plugins/trees/trees.js"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"718d6722944463bf29850a783e89ef7ef6b78f2f7e0818029f17968c55467daa"}},{"ruleId":"D2","level":"warning","message":{"text":"limitFill (cognitive 67): limitFill has cognitive complexity 67 (threshold 15). Drivers by points: ternaries 8 (40 pts), if/else 9 (26 pts), boolean chains 1 (nesting depth added 49). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":2355}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d3cbb4c363d5c563c69a3a0b5b90ed7d3862275b1c536a9ed77ee1e47643864"}},{"ruleId":"D2","level":"warning","message":{"text":"getEdgeShapeOutline (cognitive 67): getEdgeShapeOutline has cognitive complexity 67 (threshold 15). Drivers by points: if/else 18 (30 pts), loops 9 (14 pts), ternaries 4 (13 pts), boolean chains 9, error handling 1 (nesting depth added 26). Of this number, 54 points are the body\u0027s own statements and 13 belong to 9 function items inside it that branch. 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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":12416}}}],"partialFingerprints":{"codehealthFindingId/v1":"601734b2689c4387d0e6f8600349247b5614c1e1f8da315081054c671a64400f"}},{"ruleId":"D2","level":"warning","message":{"text":"createRouteEdges (cognitive 67): createRouteEdges has cognitive complexity 67 (threshold 15). Drivers by points: ternaries 15 (42 pts), if/else 6 (14 pts), boolean chains 9, loops 2 (nesting depth added 35). 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/webapp/js/diagramly/LibavoidRouting.js"},"region":{"startLine":1990}}}],"partialFingerprints":{"codehealthFindingId/v1":"accc24579db6d9171c6374237507a5cff34bf9d15cd5f48aa43b1c4b0d44a78a"}},{"ruleId":"D2","level":"warning","message":{"text":"collect::visit (cognitive 67): collect::visit has cognitive complexity 67 (threshold 15). Drivers by points: if/else 19 (56 pts), boolean chains 10, loops 1 (nesting depth added 37). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/tidy/Tidy.js"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"b338d41dca725e56d0d1343bdafd6499e495f40d8975281570ef57eaf8164383"}},{"ruleId":"D2","level":"warning","message":{"text":"libavoid-routing.AvoidRouting.withOutsideLabels (cognitive 66): libavoid-routing.AvoidRouting.withOutsideLabels has cognitive complexity 66 (threshold 15). Drivers by points: ternaries 8 (26 pts), if/else 17 (23 pts), boolean chains 11, loops 5 (6 pts) (nesting depth added 25). Of this number, 46 points are the body\u0027s own statements and 20 belong to 3 function items inside it that branch. 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/webapp/js/libavoid-js/libavoid-routing.js"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5e82259bf39b80f35acec84571c5f784f2cbd7e44b7f54de109471b4e70dd8d"}},{"ruleId":"D2","level":"warning","message":{"text":"create.cellListField (cognitive 66): create.cellListField has cognitive complexity 66 (threshold 15). Drivers by points: if/else 20 (31 pts), boolean chains 17, ternaries 6 (12 pts), loops 3 (6 pts) (nesting depth added 20). Most of this is not in the body itself: 8 of the 66 points are its own statements and the rest belongs to 14 function items inside it that branch (a function literal at line 7223, updateChip, missingIds, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":7103}}}],"partialFingerprints":{"codehealthFindingId/v1":"311af2dd7c11b088c87373a7f245c234e4758e69ad8c77b3d08218365b18d922"}},{"ruleId":"D2","level":"warning","message":{"text":"FreehandWindow (cognitive 66): FreehandWindow has cognitive complexity 66 (threshold 15). Drivers by points: if/else 23 (32 pts), ternaries 19 (27 pts), boolean chains 7 (nesting depth added 17). Most of this is not in the body itself: 10 of the 66 points are its own statements and the rest belongs to 21 function items inside it that branch (updateMode, updateName, startDrawing, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":11181}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7a225064b9041a2d7b26b58c17e081f5812f357254d1a873a87be7ec8abc853"}},{"ruleId":"D2","level":"warning","message":{"text":"exportToCanvas (cognitive 66): exportToCanvas has cognitive complexity 66 (threshold 15). Drivers by points: if/else 28 (39 pts), ternaries 8 (10 pts), error handling 7 (9 pts), loops 2 (5 pts), boolean chains 3 (nesting depth added 18). Most of this is not in the body itself: 13 of the 66 points are its own statements and the rest belongs to 12 function items inside it that branch (a function literal at line 8060, (anonymous)::(anonymous)::onload, a function literal at line 8237, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":8005}}}],"partialFingerprints":{"codehealthFindingId/v1":"b333819cf6c98e6406eb86fd55a304a81f3f838424a7ae65471a04edd31905ba"}},{"ruleId":"D2","level":"warning","message":{"text":"start (cognitive 66): start has cognitive complexity 66 (threshold 15). Drivers by points: if/else 16 (43 pts), boolean chains 12, ternaries 2 (7 pts), loops 1 (4 pts) (nesting depth added 35). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/handler/mxVertexHandler.js"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"59f92ddb37c493e3c0fc0c9d54b315ab9efa01962281cf88663ba64355704776"}},{"ruleId":"D2","level":"warning","message":{"text":"computeRoutes::solveWith (cognitive 66): computeRoutes::solveWith has cognitive complexity 66 (threshold 15). Drivers by points: if/else 11 (21 pts), boolean chains 17, ternaries 6 (14 pts), loops 7 (8 pts), error handling 4 (6 pts) (nesting depth added 21). 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/webapp/js/libavoid-js/libavoid-routing.js"},"region":{"startLine":1203}}}],"partialFingerprints":{"codehealthFindingId/v1":"100ab7c24cf1d4168e34bb93e584bb9c3d45ce22777fc2af8832fd8179c16bd2"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::moveCells (cognitive 66): (anonymous)::moveCells has cognitive complexity 66 (threshold 15). Drivers by points: if/else 16 (56 pts), boolean chains 6, loops 2 (4 pts) (nesting depth added 42). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/plugins/trees/trees.js"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"403a0fe301c67ae2d7c2346e90f2593960ff7e9e737852e9882eaf9a499f9cb9"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::decode (cognitive 66): (anonymous)::decode has cognitive complexity 66 (threshold 15). Drivers by points: if/else 14 (53 pts), loops 2 (5 pts), boolean chains 4, ternaries 1 (4 pts) (nesting depth added 45). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/io/mxStylesheetCodec.js"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2f0de51a1650f76016628ba37117773bc493b78a1c0f6b8552e3e6dd0664772"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.anonymizePatch (cognitive 65): EditorUi.EditorUi.anonymizePatch has cognitive complexity 65 (threshold 15). Drivers by points: if/else 14 (53 pts), loops 3 (9 pts), error handling 1 (3 pts) (nesting depth added 47). Of this number, 27 points are the body\u0027s own statements and 38 belong to one function literal inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":3451}}}],"partialFingerprints":{"codehealthFindingId/v1":"63c91119fe077fb129e46e6e11de2e6b7a3a27a9f35219b9c2d62d07aaf51819"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.setFileData (cognitive 65): EditorUi.EditorUi.setFileData has cognitive complexity 65 (threshold 15). Drivers by points: if/else 13 (36 pts), loops 3 (10 pts), boolean chains 9, ternaries 3 (7 pts), error handling 1 (3 pts) (nesting depth added 36). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":3932}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd187eef7e820fefdc6603426cea42bee420343ebe25b288a34f9de77afaaad1"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.showConfigurationEditorDialog (cognitive 65): EditorUi.EditorUi.showConfigurationEditorDialog has cognitive complexity 65 (threshold 15). Drivers by points: if/else 31 (39 pts), boolean chains 11, error handling 5 (6 pts), ternaries 4 (5 pts), loops 2 (4 pts) (nesting depth added 12). Of this number, 23 points are the body\u0027s own statements and 42 belong to 10 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":6918}}}],"partialFingerprints":{"codehealthFindingId/v1":"79b97ee871351212c116059c5975c723efbdd0ae4710a962b91ab5c07161e62d"}},{"ruleId":"D2","level":"warning","message":{"text":"Extensions.convertText (cognitive 65): Extensions.convertText has cognitive complexity 65 (threshold 15). Drivers by points: if/else 20 (41 pts), boolean chains 11, ternaries 4 (7 pts), error handling 1 (3 pts), loops 1 (3 pts) (nesting depth added 28). 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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":4549}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dfda490f6450aad3532dcfae91c8a67d30a9012f941030ca89e1fa960cbf384"}},{"ruleId":"D2","level":"warning","message":{"text":"paintForeground (cognitive 65): paintForeground has cognitive complexity 65 (threshold 15). Drivers by points: if/else 25 (44 pts), ternaries 5 (14 pts), boolean chains 7 (nesting depth added 28). 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/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":8621}}}],"partialFingerprints":{"codehealthFindingId/v1":"23d22c43db60eacf9e70aa292d3b4a8772423d1bd321b10089ba426a104589c8"}},{"ruleId":"D2","level":"warning","message":{"text":"createPopover (cognitive 65): createPopover has cognitive complexity 65 (threshold 15). Drivers by points: boolean chains 21, ternaries 10 (21 pts), if/else 17 (20 pts), loops 2 (3 pts) (nesting depth added 15). Most of this is not in the body itself: 3 of the 65 points are its own statements and the rest belongs to 9 function items inside it that branch (a function literal at line 1602, a function literal at line 1821, a function literal at line 1585, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/InlineToolbar.js"},"region":{"startLine":1517}}}],"partialFingerprints":{"codehealthFindingId/v1":"464f7b6127764890660dcf16d8a0605b8bd1ec72a23ab698810010957bd1cc9b"}},{"ruleId":"D2","level":"warning","message":{"text":"recordMenus (cognitive 65): recordMenus has cognitive complexity 65 (threshold 15). Drivers by points: if/else 11 (26 pts), ternaries 6 (19 pts), boolean chains 10, loops 3 (7 pts), error handling 1 (3 pts) (nesting depth added 34). Of this number, 55 points are the body\u0027s own statements and 10 belong to 5 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Omnibox.js"},"region":{"startLine":1026}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9cf5143de645964b6b63cd1dbda32399712c62f6ebeb92d590f0741e2b8cb26"}},{"ruleId":"D2","level":"warning","message":{"text":"Dialogs.NewDialog::filterTemplates (cognitive 64): Dialogs.NewDialog::filterTemplates has cognitive complexity 64 (threshold 15). Drivers by points: if/else 11 (34 pts), loops 8 (26 pts), boolean chains 3, ternaries 1 (nesting depth added 41). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This shape REPEATS in the file: 2 other methods here (Dialogs.NewDialog::initUi, Dialogs.NewDialog::addTemplateEntry) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":3723}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dfab3b6ec6c336c67406ca0915626c8ce486d19dc925155e0ad7e763fa8c915"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.importFiles (cognitive 64): EditorUi.EditorUi.importFiles has cognitive complexity 64 (threshold 15). Drivers by points: if/else 16 (33 pts), boolean chains 21, loops 4 (10 pts) (nesting depth added 23). Most of this is not in the body itself: 14 of the 64 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 17765, 17715, 17662, \u2026). 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":17625}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9df638994ca571e1bddf4240ed5ac7913dac5bd81deb05c30ae3f6646196b92"}},{"ruleId":"D2","level":"warning","message":{"text":"mxGraph.mxGraph.disconnectGraph (cognitive 64): mxGraph.mxGraph.disconnectGraph has cognitive complexity 64 (threshold 15). Drivers by points: if/else 8 (39 pts), loops 4 (18 pts), boolean chains 7 (nesting depth added 45). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":7671}}}],"partialFingerprints":{"codehealthFindingId/v1":"683aa305008c988d9300511aa53c12b7c90c81e18358f3cb3c36690c353a0f39"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::fitStencilBounds (cognitive 64): (anonymous)::fitStencilBounds has cognitive complexity 64 (threshold 15). Drivers by points: if/else 14 (25 pts), boolean chains 16, ternaries 10 (13 pts), loops 6 (9 pts), error handling 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":1835}}}],"partialFingerprints":{"codehealthFindingId/v1":"f09f627d4e65cc6603590e6d3723d3494df39e5ae997ffcc59a04f8188e77417"}},{"ruleId":"D2","level":"warning","message":{"text":"addTable (cognitive 64): addTable has cognitive complexity 64 (threshold 15). Drivers by points: if/else 28 (41 pts), error handling 6 (12 pts), boolean chains 7, ternaries 2 (4 pts) (nesting depth added 21). Of this number, 34 points are the body\u0027s own statements and 30 belong to 6 function literals inside it that branch. 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/webapp/js/grapheditor/Format.js"},"region":{"startLine":2460}}}],"partialFingerprints":{"codehealthFindingId/v1":"301bab2a87545c56dc3fae71b6a3e872ef72e49664d1321c5f74f260e759bda5"}},{"ruleId":"D2","level":"warning","message":{"text":"applySharedState (cognitive 64): applySharedState has cognitive complexity 64 (threshold 15). Drivers by points: if/else 9 (20 pts), ternaries 6 (18 pts), boolean chains 16, loops 4 (10 pts) (nesting depth added 29). Of this number, 60 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. 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/webapp/js/diagramly/ForceExplorer.js"},"region":{"startLine":1700}}}],"partialFingerprints":{"codehealthFindingId/v1":"800ea3365f85979c251344b2bddaf24e7d5bf435de3079fe26c45608547a567f"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.createContainerChildLayout (cognitive 63): EditorUi.EditorUi.createContainerChildLayout has cognitive complexity 63 (threshold 15). Drivers by points: if/else 15 (53 pts), loops 2 (6 pts), boolean chains 4 (nesting depth added 42). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":31886}}}],"partialFingerprints":{"codehealthFindingId/v1":"7403200f45efd4d421220c8cd172344105705f07605e8b6361f3a2966490c5a9"}},{"ruleId":"D2","level":"warning","message":{"text":"mxFreehand.mxFreehand (cognitive 63): mxFreehand.mxFreehand has cognitive complexity 63 (threshold 15). Drivers by points: if/else 19 (26 pts), boolean chains 20, loops 5 (12 pts), ternaries 3 (5 pts) (nesting depth added 16). Most of this is not in the body itself: 10 of the 63 points are its own statements and the rest belongs to 14 function items inside it that branch (a function literal at line 396, updateSvgPath, a function literal at line 158, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/mxFreehand.js"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"66dd0b8baa8bee56ca821ba315881a514f64b53809e2d51ff7401496577dbec6"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 63): (anonymous) has cognitive complexity 63 (threshold 15). Drivers by points: if/else 24 (37 pts), boolean chains 17, loops 4 (5 pts), match/switch 1 (2 pts), error handling 1, ternaries 1 (nesting depth added 15). None of this is in the body itself: all 63 points belong to 26 function items inside it that branch (mxVsdxGeometry, processGeoElem, getIndex, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":3794}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e9e750c0807cb65e14fc760e5d1a8fe89f69a7d0311f56086d8aecab8d697af"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.HoverIcons.repaint (cognitive 62): Graph.HoverIcons.repaint has cognitive complexity 62 (threshold 15). Drivers by points: if/else 22 (54 pts), boolean chains 8 (nesting depth added 32). Of this number, 38 points are the body\u0027s own statements and 24 belong to 2 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":24638}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad6d2fd27ec9cb7a462d0952a5479204bbc2762e7f32f0f647a9d5dc98dbc1e9"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi (cognitive 62): EditorUi has cognitive complexity 62 (threshold 15). Drivers by points: if/else 102 (259 pts), boolean chains 76, loops 7 (21 pts), error handling 6 (16 pts), ternaries 3 (6 pts) (nesting depth added 184). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"16c24da5550c24fb53128ef102129d07da8d2549db46dcf935e1e2e8741200cb"}},{"ruleId":"D2","level":"warning","message":{"text":"installShapePicker (cognitive 62): installShapePicker has cognitive complexity 62 (threshold 15). Drivers by points: if/else 20 (34 pts), boolean chains 18, loops 2 (6 pts), ternaries 2 (4 pts) (nesting depth added 20). Most of this is not in the body itself: 1 of the 62 points is its own statement and the rest belongs to 29 function items inside it that branch (dblClick, a function literal at line 2427, a function literal at line 2349, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":2165}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf6433585f1df3d90e6d45ae44c2ad24bf075c444e4e88bae812877a994c9991"}},{"ruleId":"D2","level":"warning","message":{"text":"getAlternateTextLines (cognitive 62): getAlternateTextLines has cognitive complexity 62 (threshold 15). Drivers by points: loops 6 (22 pts), if/else 9 (19 pts), boolean chains 12, ternaries 3 (9 pts) (nesting depth added 32). 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/webapp/mxgraph/src/util/mxSvgCanvas2D.js"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ef10925894660d515da85936eb224938e9ab0e25eee3eb6d3029baa96ab92f5"}},{"ruleId":"D2","level":"warning","message":{"text":"diffCell (cognitive 62): diffCell has cognitive complexity 62 (threshold 15). Drivers by points: ternaries 13 (27 pts), if/else 18 (24 pts), boolean chains 11 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DiffSync.js"},"region":{"startLine":2563}}}],"partialFingerprints":{"codehealthFindingId/v1":"18b0c61ec359a71bc20e0316753d5d18eb7f79845da6ace9caa8b03cb19b2d82"}},{"ruleId":"D2","level":"warning","message":{"text":"addPopupMenuCellItems (cognitive 62): addPopupMenuCellItems has cognitive complexity 62 (threshold 15). Drivers by points: if/else 12 (38 pts), boolean chains 18, ternaries 1 (6 pts) (nesting depth added 31). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Menus.js"},"region":{"startLine":1781}}}],"partialFingerprints":{"codehealthFindingId/v1":"7320d204fa0449ffdb99235d5393cd3e9c3b3a6652e4baca3ca5143e9a6af96f"}},{"ruleId":"D2","level":"warning","message":{"text":"Editor.Editor.repairTruncatedXml (cognitive 61): Editor.Editor.repairTruncatedXml has cognitive complexity 61 (threshold 15). Drivers by points: if/else 19 (47 pts), loops 4 (10 pts), boolean chains 4 (nesting depth added 34). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Editor.js"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"725b139069863a9eb4d03e125c14fd8ad2a3cf35422d1e4c55801576b5e4e4af"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::addConnectedEdge (cognitive 61): (anonymous)::addConnectedEdge has cognitive complexity 61 (threshold 15). Drivers by points: if/else 26 (40 pts), loops 4 (9 pts), boolean chains 8, ternaries 3 (4 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":2233}}}],"partialFingerprints":{"codehealthFindingId/v1":"863377fd837b5cb32511391f5e5d111bf831bfb1cf4edea159bd0fcb66520d04"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::handle (cognitive 61): (anonymous)::handle has cognitive complexity 61 (threshold 15). Drivers by points: loops 10 (25 pts), if/else 9 (21 pts), boolean chains 15 (nesting depth added 27). 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":9147}}}],"partialFingerprints":{"codehealthFindingId/v1":"921fa15de3358bd4ad0bbb86c247a57366739d91f01409892f2fb9dd09b96ab5"}},{"ruleId":"D2","level":"warning","message":{"text":"convertTxt2Html::startBlockTag (cognitive 61): convertTxt2Html::startBlockTag has cognitive complexity 61 (threshold 15). Drivers by points: if/else 25 (42 pts), boolean chains 7, ternaries 4 (7 pts), match/switch 1 (3 pts), error handling 1 (2 pts) (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Extensions.js"},"region":{"startLine":4102}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e74fb0f050054f939ff4ab541a9947f1850d3357e45c03da6de96fd89f459c5"}},{"ruleId":"D2","level":"warning","message":{"text":"extractGraphModel (cognitive 61): extractGraphModel has cognitive complexity 61 (threshold 15). Drivers by points: if/else 20 (44 pts), boolean chains 11, loops 1 (3 pts), ternaries 1 (3 pts) (nesting depth added 28). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":2926}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5d784adbce69d773d2eae6baa3cc3f42c830501ce8ba31dec9f626c6fd2b59c"}},{"ruleId":"D2","level":"warning","message":{"text":"alignCells (cognitive 61): alignCells has cognitive complexity 61 (threshold 15). Drivers by points: if/else 24 (50 pts), loops 2 (6 pts), boolean chains 5 (nesting depth added 30). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":3741}}}],"partialFingerprints":{"codehealthFindingId/v1":"335c48c1ff07252321d595e44f3830b40971f166dbab79c37759f54e491e0917"}},{"ruleId":"D2","level":"warning","message":{"text":"SequenceMessage (cognitive 61): SequenceMessage has cognitive complexity 61 (threshold 15). Drivers by points: ternaries 11 (22 pts), boolean chains 18, if/else 11 (18 pts), loops 1 (3 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":4257}}}],"partialFingerprints":{"codehealthFindingId/v1":"17cf5714fffff45d374a24ccee0419daab74e1b185cece415559d611a6d5e675"}},{"ruleId":"D2","level":"warning","message":{"text":"convertHtmlBlocksToSvg::processBlockInlineContent (cognitive 61): convertHtmlBlocksToSvg::processBlockInlineContent has cognitive complexity 61 (threshold 15). Drivers by points: if/else 24 (53 pts), loops 2 (5 pts), boolean chains 2, ternaries 1 (nesting depth added 32). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxUtils.js"},"region":{"startLine":6184}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cd6f2eca9d255d3c3fea7876b961502149a6dbfc2956345e2d021fc03750224"}},{"ruleId":"D2","level":"warning","message":{"text":"plan (cognitive 61): plan has cognitive complexity 61 (threshold 15). Drivers by points: boolean chains 29, if/else 11 (20 pts), ternaries 4 (8 pts), loops 2 (3 pts), match/switch 1 (nesting depth added 14). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/tidy/Tidy.js"},"region":{"startLine":1412}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ef0f8ae4980eac6f9cc9a9c1da29f05e00a5c22ddcb176a2d3a6b70cb4615f1"}},{"ruleId":"D2","level":"warning","message":{"text":"TrianglePerimeter (cognitive 61): TrianglePerimeter has cognitive complexity 61 (threshold 15). Drivers by points: if/else 21 (30 pts), ternaries 7 (19 pts), boolean chains 12 (nesting depth added 21). 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/webapp/mxgraph/src/view/mxPerimeter.js"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dcadd3058ef82daa269c21a2b42e92fb6c102b670b86ddd27aef491e618a7d0"}},{"ruleId":"D2","level":"warning","message":{"text":"findAnimatedPaths (cognitive 60): findAnimatedPaths has cognitive complexity 60 (threshold 15). Drivers by points: if/else 10 (32 pts), ternaries 5 (22 pts), boolean chains 5, loops 1 (nesting depth added 39). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/gif/AnimatedExport.js"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"24906aa3d7741b5bc1b09ae68bc2aff5cd3ed09319cdb13a9b605f252bff0ceb"}},{"ruleId":"D2","level":"warning","message":{"text":"Dialogs.SelectorChips.create.cellListField (cognitive 59): Dialogs.SelectorChips.create.cellListField has cognitive complexity 59 (threshold 15). Drivers by points: if/else 20 (31 pts), boolean chains 17, loops 3 (6 pts), ternaries 3 (5 pts) (nesting depth added 16). Most of this is not in the body itself: 8 of the 59 points are its own statements and the rest belongs to 10 function items inside it that branch (a function literal at line 7223, updateChip, missingIds, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":7103}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6d5feb32198d27f24350e4ac321180f16b7ef50e4fd4a5e94afdfb5cd9db84d"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.generateOpenAiMermaidDiagram.fn (cognitive 59): EditorUi.EditorUi.generateOpenAiMermaidDiagram.fn has cognitive complexity 59 (threshold 15). Drivers by points: if/else 19 (40 pts), boolean chains 7, error handling 2 (6 pts), ternaries 2 (6 pts) (nesting depth added 29). Most of this is not in the body itself: 1 of the 59 points is its own statement and the rest belongs to 6 function literals inside it that branch (lines 15446, 15440, 15384, \u2026). 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":15377}}}],"partialFingerprints":{"codehealthFindingId/v1":"82449c13c855419c873cc7a786b23ef2a6b40d56757786f28a55be1d4155487c"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.applyListText (cognitive 59): EditorUi.EditorUi.applyListText has cognitive complexity 59 (threshold 15). Drivers by points: if/else 14 (35 pts), loops 6 (10 pts), ternaries 6 (8 pts), boolean chains 6 (nesting depth added 27). Of this number, 55 points are the body\u0027s own statements and 4 belong to 2 function items inside it that branch. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":36892}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c43b8bde0fb5d60865dce3cbb3ba55fd82ffc860d3fd941fd5a121a5d3a923a"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.getTransparentChildBounds (cognitive 59): Graph.Graph.getTransparentChildBounds has cognitive complexity 59 (threshold 15). Drivers by points: if/else 16 (49 pts), loops 2 (5 pts), boolean chains 3, ternaries 2 (nesting depth added 36). Of this number, 58 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":21400}}}],"partialFingerprints":{"codehealthFindingId/v1":"b85ae83dcc1faa08dd4ca079f2cf67305ea5fbe7a1641ee939b04537b592a8ab"}},{"ruleId":"D2","level":"warning","message":{"text":"createCss (cognitive 59): createCss has cognitive complexity 59 (threshold 15). Drivers by points: if/else 26 (36 pts), ternaries 7 (12 pts), boolean chains 11 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxSvgCanvas2D.js"},"region":{"startLine":2351}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa7b6bb40a24d469fe84c543f21afbd377325cd4a2ce46c984b113e783bcd24c"}},{"ruleId":"D2","level":"warning","message":{"text":"keepLockedGeometries (cognitive 59): keepLockedGeometries has cognitive complexity 59 (threshold 15). Drivers by points: if/else 17 (25 pts), boolean chains 20, loops 5 (9 pts), ternaries 3 (5 pts) (nesting depth added 14). None of this is in the body itself: all 59 points belong to 8 function items inside it that branch (a function literal at line 734, (anonymous)::setGeometry, (anonymous)::check, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/LayoutPicker.js"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"afd0d8468614710ac66488e4bcdbd8378445005d2193537dcfd627733196e858"}},{"ruleId":"D2","level":"warning","message":{"text":"removeOverlaps (cognitive 59): removeOverlaps has cognitive complexity 59 (threshold 15). Drivers by points: if/else 14 (29 pts), ternaries 5 (12 pts), boolean chains 11, loops 6 (7 pts) (nesting depth added 23). Of this number, 45 points are the body\u0027s own statements and 14 belong to 5 function items inside it that branch. 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/webapp/js/diagramly/tidy/Tidy.js"},"region":{"startLine":2004}}}],"partialFingerprints":{"codehealthFindingId/v1":"a35af4f8e44d32488bdd324690b2d17ebbe6b9dda2416e6a5df896a99f1a37d7"}},{"ruleId":"D2","level":"warning","message":{"text":"getResults (cognitive 59): getResults has cognitive complexity 59 (threshold 15). Drivers by points: if/else 13 (29 pts), loops 6 (15 pts), ternaries 3 (13 pts), boolean chains 2 (nesting depth added 35). Of this number, 52 points are the body\u0027s own statements and 7 belong to one function literal inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Omnibox.js"},"region":{"startLine":2316}}}],"partialFingerprints":{"codehealthFindingId/v1":"d06c1983dad8b898bc01130f445b58fe9845e9bb6a9eb440deba093f871d6ff1"}},{"ruleId":"D2","level":"warning","message":{"text":"Editor.Editor.drawSvgWithHtmlInCanvas (cognitive 58): Editor.Editor.drawSvgWithHtmlInCanvas has cognitive complexity 58 (threshold 15). Drivers by points: if/else 21 (36 pts), loops 8 (11 pts), boolean chains 6, error handling 2 (3 pts), ternaries 1 (2 pts) (nesting depth added 20). Of this number, 32 points are the body\u0027s own statements and 26 belong to 5 function items inside it that branch. 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/webapp/js/diagramly/Editor.js"},"region":{"startLine":7735}}}],"partialFingerprints":{"codehealthFindingId/v1":"39908224f884847d158c63773751ccbba93c668478e7cda0f6a9bc758707aab9"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.parseHtmlData (cognitive 58): EditorUi.EditorUi.parseHtmlData has cognitive complexity 58 (threshold 15). Drivers by points: if/else 14 (43 pts), error handling 1 (6 pts), boolean chains 3, loops 1 (3 pts), ternaries 1 (3 pts) (nesting depth added 38). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":29788}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc7c49d5e2e827cadfb3f6778d558424d87b48ab0c3490189d21569e148de3a2"}},{"ruleId":"D2","level":"warning","message":{"text":"mxGraphHandler.mxGraphHandler.getStateBounds (cognitive 58): mxGraphHandler.mxGraphHandler.getStateBounds has cognitive complexity 58 (threshold 15). Drivers by points: if/else 12 (48 pts), loops 2 (8 pts), boolean chains 2 (nesting depth added 42). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/handler/mxGraphHandler.js"},"region":{"startLine":839}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad103e0e679f9e301f5d0bce1d5b3493ef4e414b6af2cb3f631ae1f103c35aad"}},{"ruleId":"D2","level":"warning","message":{"text":"getDropAndConnectGeometry (cognitive 58): getDropAndConnectGeometry has cognitive complexity 58 (threshold 15). Drivers by points: if/else 23 (51 pts), boolean chains 7 (nesting depth added 28). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":6038}}}],"partialFingerprints":{"codehealthFindingId/v1":"f437126ee218634f7ae0bf890db26519f42480a12e7e672851d1b2fb72215653"}},{"ruleId":"D2","level":"warning","message":{"text":"setStyle (cognitive 58): setStyle has cognitive complexity 58 (threshold 15). Drivers by points: if/else 13 (25 pts), ternaries 5 (23 pts), boolean chains 6, loops 1 (4 pts) (nesting depth added 33). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxUtils.js"},"region":{"startLine":4867}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f274865b80997d044c9527f57aae313a9987dd9e1ee8d31d5418cc2e600da74"}},{"ruleId":"D2","level":"warning","message":{"text":"mxFreehand::stopDrawing (cognitive 58): mxFreehand::stopDrawing has cognitive complexity 58 (threshold 15). Drivers by points: if/else 12 (35 pts), loops 5 (13 pts), boolean chains 5, ternaries 1 (5 pts) (nesting depth added 35). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/mxFreehand.js"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"36139dfa778e30582337e0c8a030c6b3e2429f36399724159bf3e158b0d48556"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.sanitizeElkLayoutOptions (cognitive 57): Graph.Graph.sanitizeElkLayoutOptions has cognitive complexity 57 (threshold 15). Drivers by points: if/else 13 (40 pts), boolean chains 8, loops 2 (5 pts), ternaries 1 (4 pts) (nesting depth added 33). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":14995}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a4012597987e1fc310d047672cabf28fc3737d0b9453fbc7d40beeea8720084"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.getCollapsedTableBorders::process (cognitive 57): Graph.Graph.getCollapsedTableBorders::process has cognitive complexity 57 (threshold 15). Drivers by points: if/else 15 (38 pts), loops 5 (11 pts), boolean chains 4, ternaries 1 (4 pts) (nesting depth added 32). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (Graph.Graph.getCollapsedTableBorders::resolve) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":26353}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc922687165ff665108fecff22d3f93beb976a40a41bdb73470631fc3146bad3"}},{"ruleId":"D2","level":"warning","message":{"text":"mxBasic.mxShapeBasicPatternFillRect.paintVertexShape (cognitive 57): mxBasic.mxShapeBasicPatternFillRect.paintVertexShape has cognitive complexity 57 (threshold 15). Drivers by points: if/else 24 (41 pts), boolean chains 8, loops 4 (8 pts) (nesting depth added 21). 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/webapp/shapes/mxBasic.js"},"region":{"startLine":3642}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9e819f7218dfd87f253b8cca58a883a53de8519bc65b5b20a76149995a65d0b"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::addShape (cognitive 57): (anonymous)::addShape has cognitive complexity 57 (threshold 15). Drivers by points: if/else 11 (28 pts), ternaries 2 (9 pts), boolean chains 8, loops 2 (8 pts), error handling 1 (4 pts) (nesting depth added 33). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":881}}}],"partialFingerprints":{"codehealthFindingId/v1":"28b8a4cc80db0a22e536f37b64f2873bedcbc6d41d37f148699cc3f01e8ea123"}},{"ruleId":"D2","level":"warning","message":{"text":"PluginsDialog (cognitive 57): PluginsDialog has cognitive complexity 57 (threshold 15). Drivers by points: if/else 24 (43 pts), loops 3 (7 pts), boolean chains 6, ternaries 1 (nesting depth added 23). Of this number, 16 points are the body\u0027s own statements and 41 belong to 15 function items inside it that branch. 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":18811}}}],"partialFingerprints":{"codehealthFindingId/v1":"def93930f1888c4055b8c7f5d9f39e7677e65f864a18399bfb2052e6ba738cfd"}},{"ruleId":"D2","level":"warning","message":{"text":"init (cognitive 57): init has cognitive complexity 57 (threshold 15). Drivers by points: if/else 18 (43 pts), boolean chains 10, ternaries 1 (4 pts) (nesting depth added 28). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Format.js"},"region":{"startLine":2310}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb6c1c70af3318c2675b7e5f551169973c9b7dbbbee15955edd66c9be7faf8c7"}},{"ruleId":"D2","level":"warning","message":{"text":"sanitizePageTerminals (cognitive 57): sanitizePageTerminals has cognitive complexity 57 (threshold 15). Drivers by points: if/else 11 (43 pts), boolean chains 7, loops 3 (7 pts) (nesting depth added 36). Of this number, 51 points are the body\u0027s own statements and 6 belong to one function item inside it that branches. This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DrawioFileSync.js"},"region":{"startLine":2831}}}],"partialFingerprints":{"codehealthFindingId/v1":"58ff2e37ec4fcba120fa6a0dcdc9b4384c3f15393e8ff983e888ec230f794778"}},{"ruleId":"D2","level":"warning","message":{"text":"mapObject (cognitive 57): mapObject has cognitive complexity 57 (threshold 15). Drivers by points: if/else 14 (32 pts), error handling 1 (6 pts), ternaries 1 (6 pts), loops 3 (5 pts), match/switch 1 (5 pts), boolean chains 3 (nesting depth added 34). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/graphml/mxGraphMlCodec.js"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"873d1aa4e31ec6e66bb7b7005da4e2b9d29e3dcf54a9cc8d033e33a762130124"}},{"ruleId":"D2","level":"warning","message":{"text":"DrawioFileSync.DrawioFileSync.handleMessageData (cognitive 56): DrawioFileSync.DrawioFileSync.handleMessageData has cognitive complexity 56 (threshold 15). Drivers by points: if/else 21 (43 pts), ternaries 2 (8 pts), boolean chains 5 (nesting depth added 28). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DrawioFileSync.js"},"region":{"startLine":985}}}],"partialFingerprints":{"codehealthFindingId/v1":"4758e2b26050f717fb8a721aa14b6182ff49845468c7140a6f46736058a76e39"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.getXmlFileData (cognitive 56): EditorUi.EditorUi.getXmlFileData has cognitive complexity 56 (threshold 15). Drivers by points: if/else 14 (38 pts), ternaries 2 (6 pts), boolean chains 5, error handling 1 (4 pts), loops 1 (3 pts) (nesting depth added 33). Of this number, 36 points are the body\u0027s own statements and 20 belong to one function item inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":3173}}}],"partialFingerprints":{"codehealthFindingId/v1":"54414f4e5965316ccd7806bcb71f5c06999515c7f048d801f261b0175ec5b6be"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.openFileHandle (cognitive 56): EditorUi.EditorUi.openFileHandle has cognitive complexity 56 (threshold 15). Drivers by points: if/else 20 (37 pts), boolean chains 7, error handling 2 (6 pts), ternaries 2 (6 pts) (nesting depth added 25). Of this number, 39 points are the body\u0027s own statements and 17 belong to 2 function literals inside it that branch. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":30752}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ba8fca280b58fd902b46612e7b257479c44eb96a90f9e2e57687f331449e2eb"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.getLoopAroundPoints (cognitive 56): Graph.Graph.getLoopAroundPoints has cognitive complexity 56 (threshold 15). Drivers by points: ternaries 11 (19 pts), boolean chains 16, if/else 12 (13 pts), loops 4 (8 pts) (nesting depth added 13). Of this number, 48 points are the body\u0027s own statements and 8 belong to 2 function items inside it that branch. 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":10898}}}],"partialFingerprints":{"codehealthFindingId/v1":"97f3ff448442d39b5560dbe8df5c2601ad7a0e0866a791e08ebf8bac5ab064c9"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.mxConnector.paintLine (cognitive 56): Graph.mxConnector.paintLine has cognitive complexity 56 (threshold 15). Drivers by points: if/else 16 (41 pts), ternaries 2 (8 pts), boolean chains 5, loops 1 (2 pts) (nesting depth added 32). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":32335}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0be90f2ebb8f3a8df69c55fd585918eb201652a2376a05045a1a62effdb78a8"}},{"ruleId":"D2","level":"warning","message":{"text":"mxArrowConnector.mxArrowConnector.paintEdgeShape (cognitive 56): mxArrowConnector.mxArrowConnector.paintEdgeShape has cognitive complexity 56 (threshold 15). Drivers by points: if/else 27 (39 pts), boolean chains 9, ternaries 3 (6 pts), loops 2 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/shape/mxArrowConnector.js"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"46cff7e18f798e2560454e7f11b89a95c14670677e1127657cc41682d3561675"}},{"ruleId":"D2","level":"warning","message":{"text":"getFastForwardSteps (cognitive 56): getFastForwardSteps has cognitive complexity 56 (threshold 15). Drivers by points: if/else 8 (32 pts), loops 3 (9 pts), ternaries 2 (8 pts), boolean chains 7 (nesting depth added 36). Of this number, 55 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":17831}}}],"partialFingerprints":{"codehealthFindingId/v1":"27b013e8ac4e326bb60fc6644a0f94e54fa04d76dd8ed537f2540e9f42e46bb0"}},{"ruleId":"D2","level":"warning","message":{"text":"click (cognitive 56): click has cognitive complexity 56 (threshold 15). Drivers by points: if/else 12 (33 pts), loops 2 (9 pts), boolean chains 7, ternaries 1 (7 pts) (nesting depth added 34). Of this number, 53 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":2644}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a33e4f5ae8f6c9720517f3170a3fe09505c0d523c6fa85fb0bb75469960585b"}},{"ruleId":"D2","level":"warning","message":{"text":"addEditOps (cognitive 56): addEditOps has cognitive complexity 56 (threshold 15). Drivers by points: if/else 16 (45 pts), boolean chains 9, loops 1 (2 pts) (nesting depth added 30). Of this number, 33 points are the body\u0027s own statements and 23 belong to 2 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Format.js"},"region":{"startLine":7309}}}],"partialFingerprints":{"codehealthFindingId/v1":"41a4c071fbce7bb9faec78e8a5d6e01c74448829240ab1ce9475061aebb6af24"}},{"ruleId":"D2","level":"warning","message":{"text":"updatePreviewState (cognitive 56): updatePreviewState has cognitive complexity 56 (threshold 15). Drivers by points: ternaries 9 (23 pts), if/else 16 (22 pts), boolean chains 11 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/handler/mxEdgeHandler.js"},"region":{"startLine":1465}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed331de3415f7e9919e55a5b0680d8297ad3a3a6813793e9a547bcf42f36be15"}},{"ruleId":"D2","level":"warning","message":{"text":"snapDistance (cognitive 56): snapDistance has cognitive complexity 56 (threshold 15). Drivers by points: if/else 15 (23 pts), ternaries 7 (15 pts), boolean chains 12, loops 3 (6 pts) (nesting depth added 19). Of this number, 54 points are the body\u0027s own statements and 2 belong to 3 function items inside it that branch. 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/webapp/mxgraph/src/util/mxGuide.js"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1fb453cb6b69a934007267ee947bba4d6cfe97ed5209519319b233ce11f7f6b"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.replaceFileData (cognitive 55): EditorUi.EditorUi.replaceFileData has cognitive complexity 55 (threshold 15). Drivers by points: if/else 11 (27 pts), loops 4 (13 pts), ternaries 5 (12 pts), boolean chains 3 (nesting depth added 32). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":2875}}}],"partialFingerprints":{"codehealthFindingId/v1":"a532dd67784ec444b5f4e07bf8695950c47e8b86d3bd07db01e80285cd565692"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.getCommentAnchorCells (cognitive 55): EditorUi.EditorUi.getCommentAnchorCells has cognitive complexity 55 (threshold 15). Drivers by points: if/else 9 (33 pts), loops 3 (15 pts), error handling 1 (4 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 40). Of this number, 38 points are the body\u0027s own statements and 17 belong to one function item inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":43475}}}],"partialFingerprints":{"codehealthFindingId/v1":"70de5ac6dc249a86ebcd6c1326acb55ff17be7cb65b22a9b4d2815f054d337f9"}},{"ruleId":"D2","level":"warning","message":{"text":"LayoutPicker.LayoutPreviews.run (cognitive 55): LayoutPicker.LayoutPreviews.run has cognitive complexity 55 (threshold 15). Drivers by points: if/else 18 (35 pts), error handling 2 (7 pts), boolean chains 6, ternaries 3 (4 pts), loops 2 (3 pts) (nesting depth added 24). Most of this is not in the body itself: 11 of the 55 points are its own statements and the rest belongs to 4 function items inside it that branch (a function literal at line 1581, next, a function literal at line 1681, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/LayoutPicker.js"},"region":{"startLine":1558}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfeeb39837a70ac09e7875b218c62dbc724aa2bbba957142ffe8a1f4b837b087"}},{"ruleId":"D2","level":"warning","message":{"text":"createDragSource::dragOver (cognitive 55): createDragSource::dragOver has cognitive complexity 55 (threshold 15). Drivers by points: if/else 16 (35 pts), boolean chains 14, ternaries 2 (6 pts) (nesting depth added 23). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":6700}}}],"partialFingerprints":{"codehealthFindingId/v1":"a472e77aa8eb9c37025a695fe20b3b36f13e2c086d23ac38e1c3e866ba1b2267"}},{"ruleId":"D2","level":"warning","message":{"text":"getPendingPageUpdates (cognitive 55): getPendingPageUpdates has cognitive complexity 55 (threshold 15). Drivers by points: if/else 7 (28 pts), loops 3 (12 pts), boolean chains 8, ternaries 2 (7 pts) (nesting depth added 35). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DrawioFileSync.js"},"region":{"startLine":2162}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7798a3fad9153285b26f25cc0963aba53000b8c9e1d250d93eb0cb37b989cdf"}},{"ruleId":"D2","level":"warning","message":{"text":"saveViewState (cognitive 55): saveViewState has cognitive complexity 55 (threshold 15). Drivers by points: ternaries 17 (27 pts), if/else 12 (17 pts), boolean chains 11 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Pages.js"},"region":{"startLine":1672}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ff78a2e350ac94b9fa2bf7d1143d28f65e3a9e5eb2abaa0bb455c6f5f61308d"}},{"ruleId":"D2","level":"warning","message":{"text":"getLazySize (cognitive 55): getLazySize has cognitive complexity 55 (threshold 15). Drivers by points: ternaries 7 (22 pts), if/else 6 (16 pts), boolean chains 12, loops 1 (4 pts), error handling 1 (nesting depth added 28). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/GraphViewer.js"},"region":{"startLine":3362}}}],"partialFingerprints":{"codehealthFindingId/v1":"bafb3173cbb4b70bc2072a657dc8bab857387daca3411c999f07f41470f50cc6"}},{"ruleId":"D2","level":"warning","message":{"text":"authenticateStep2 (cognitive 55): authenticateStep2 has cognitive complexity 55 (threshold 15). Drivers by points: if/else 18 (50 pts), error handling 1 (4 pts), boolean chains 1 (nesting depth added 35). Most of this is not in the body itself: 2 of the 55 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 167, 123, 113, \u2026). 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/webapp/js/diagramly/GitLabClient.js"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"6926720e5247f2b0b7c4205cf8c7add34d98faaa5152569a6ba681dca7959406"}},{"ruleId":"D2","level":"warning","message":{"text":"authenticateStep2 (cognitive 55): authenticateStep2 has cognitive complexity 55 (threshold 15). Drivers by points: if/else 18 (50 pts), error handling 1 (4 pts), boolean chains 1 (nesting depth added 35). Most of this is not in the body itself: 2 of the 55 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 207, 164, 154, \u2026). 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/webapp/js/diagramly/GitHubClient.js"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"901a3a9af3f2871a6cf9e924f8cc59f81cdfaeaa8c7a8519d4fd5d26b0bb7128"}},{"ruleId":"D2","level":"warning","message":{"text":"updateBoundingBox (cognitive 55): updateBoundingBox has cognitive complexity 55 (threshold 15). Drivers by points: if/else 19 (40 pts), boolean chains 8, error handling 1 (4 pts), ternaries 1 (3 pts) (nesting depth added 26). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/shape/mxText.js"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"35251c78e41a09bf7e02e11fc095faf66a042c8e25c05b63394237adb92c364d"}},{"ruleId":"D2","level":"warning","message":{"text":"saveFile (cognitive 55): saveFile has cognitive complexity 55 (threshold 15). Drivers by points: if/else 19 (30 pts), ternaries 5 (17 pts), boolean chains 4, error handling 1 (4 pts) (nesting depth added 26). Most of this is not in the body itself: 6 of the 55 points are its own statements and the rest belongs to 19 function literals inside it that branch (lines 326, 172, 174, \u2026). 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/webapp/js/diagramly/LocalFile.js"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"500b16a5992a12fd7c5f572668e82f83a374109aa13793c31687961dd5846a07"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.collectCellImages (cognitive 54): EditorUi.EditorUi.collectCellImages has cognitive complexity 54 (threshold 15). Drivers by points: if/else 15 (37 pts), boolean chains 12, loops 2 (4 pts), ternaries 1 (nesting depth added 24). Of this number, 53 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":18631}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bcd707fe8b3a3f033888132934c812374c9ceb3bf69fd6ae026cfc1661a0cef"}},{"ruleId":"D2","level":"warning","message":{"text":"ElectronApp.LocalFile.saveFile (cognitive 54): ElectronApp.LocalFile.saveFile has cognitive complexity 54 (threshold 15). Drivers by points: if/else 23 (44 pts), ternaries 2 (6 pts), boolean chains 2, error handling 1 (2 pts) (nesting depth added 26). Of this number, 32 points are the body\u0027s own statements and 22 belong to 5 function literals inside it that branch. 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/webapp/js/diagramly/ElectronApp.js"},"region":{"startLine":2019}}}],"partialFingerprints":{"codehealthFindingId/v1":"06b14ffe4f263ccc9f60c61f6177a6c1f0a6e390692aaa8304211193d7444dde"}},{"ruleId":"D2","level":"warning","message":{"text":"Trees.EditorUi.addTrees::getTreeDirection (cognitive 54): Trees.EditorUi.addTrees::getTreeDirection has cognitive complexity 54 (threshold 15). Drivers by points: ternaries 4 (25 pts), if/else 9 (24 pts), boolean chains 5 (nesting depth added 36). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This shape REPEATS in the file: 3 other methods here (Trees.EditorUi.addTrees, Trees.EditorUi.addTrees::collectTreeRemoval, Trees.EditorUi.addTrees::hasConnectedSurvivor) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Trees.js"},"region":{"startLine":1031}}}],"partialFingerprints":{"codehealthFindingId/v1":"daeaa9a86cefbf271c51389905a4ca8b3ae78e934a16e59d5f2bfd9a57a85667"}},{"ruleId":"D2","level":"warning","message":{"text":"mxGraph.mxGraph.panGraph (cognitive 54): mxGraph.mxGraph.panGraph has cognitive complexity 54 (threshold 15). Drivers by points: if/else 14 (39 pts), loops 3 (12 pts), boolean chains 3 (nesting depth added 34). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":8453}}}],"partialFingerprints":{"codehealthFindingId/v1":"59e918f5761f944a1142feb89ed430b33ddeacef3cb005575bcf07b26e0b7575"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::processExtras (cognitive 54): (anonymous)::processExtras has cognitive complexity 54 (threshold 15). Drivers by points: loops 10 (37 pts), match/switch 4 (14 pts), if/else 1 (3 pts) (nesting depth added 39). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":5679}}}],"partialFingerprints":{"codehealthFindingId/v1":"25b06a28860b471dc556fa875edc66f8f39341ede02fdb66cbd6402b909bc511"}},{"ruleId":"D2","level":"warning","message":{"text":"paintCollapsedOutline (cognitive 54): paintCollapsedOutline has cognitive complexity 54 (threshold 15). Drivers by points: if/else 14 (27 pts), ternaries 5 (14 pts), loops 7 (9 pts), boolean chains 4 (nesting depth added 24). Of this number, 48 points are the body\u0027s own statements and 6 belong to 3 function items inside it that branch. 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/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"d61013b77c4a90576ee9a76115e6eedd27528a5023c36c04221de681ec986e29"}},{"ruleId":"D2","level":"warning","message":{"text":"updateCurrentState (cognitive 54): updateCurrentState has cognitive complexity 54 (threshold 15). Drivers by points: if/else 19 (42 pts), boolean chains 11, ternaries 1 (nesting depth added 23). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/handler/mxConnectionHandler.js"},"region":{"startLine":1076}}}],"partialFingerprints":{"codehealthFindingId/v1":"17d0b3a55992a40c99f51fa45e03bfcc644096c7e851c339be2d42fc2e0a997a"}},{"ruleId":"D2","level":"warning","message":{"text":"saveFile (cognitive 54): saveFile has cognitive complexity 54 (threshold 15). Drivers by points: if/else 16 (36 pts), ternaries 3 (9 pts), error handling 2 (6 pts), boolean chains 3 (nesting depth added 30). Most of this is not in the body itself: 10 of the 54 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 622, 659, 638, \u2026). 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/webapp/js/diagramly/OneDriveFile.js"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5784d1db4d2b61f939ac4a7e32360048341d2494d7cb76fe2c73b6fd5e277de"}},{"ruleId":"D2","level":"warning","message":{"text":"DriveFile.DriveFile.saveFile (cognitive 53): DriveFile.DriveFile.saveFile has cognitive complexity 53 (threshold 15). Drivers by points: if/else 22 (42 pts), error handling 5 (11 pts) (nesting depth added 26). Most of this is not in the body itself: 11 of the 53 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 195, 263, 184, \u2026). 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/webapp/js/diagramly/DriveFile.js"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"cae3c27d4472f5b89fffbe2aef668ebb702a2cc9a50c2da06d2f972c6cbcae8b"}},{"ruleId":"D2","level":"warning","message":{"text":"Extensions.getFontStyleString (cognitive 53): Extensions.getFontStyleString has cognitive complexity 53 (threshold 15). Drivers by points: if/else 12 (37 pts), loops 3 (9 pts), boolean chains 7 (nesting depth added 31). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Extensions.js"},"region":{"startLine":5060}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d7419632056f003724d068d1fc9dffb9bfe92c324e42894aa5022aa67fbd2b2"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.renameSvgPageIds (cognitive 53): Graph.Graph.renameSvgPageIds has cognitive complexity 53 (threshold 15). Drivers by points: ternaries 7 (25 pts), if/else 6 (17 pts), loops 4 (7 pts), boolean chains 4 (nesting depth added 32). Of this number, 43 points are the body\u0027s own statements and 10 belong to 2 function items inside it that branch. 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":2634}}}],"partialFingerprints":{"codehealthFindingId/v1":"7549fefbdc0e2ce3073bb8133ec6f1d41f226a8364dd0b9095ebab26c6d7f363"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::initThemes (cognitive 53): (anonymous)::initThemes has cognitive complexity 53 (threshold 15). Drivers by points: if/else 9 (37 pts), loops 4 (11 pts), boolean chains 5 (nesting depth added 35). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":4663}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bdcb60be74bb708e041643aabdd200a8f929e63474efc5116684664d9a838d2"}},{"ruleId":"D2","level":"warning","message":{"text":"addProperties (cognitive 53): addProperties has cognitive complexity 53 (threshold 15). Drivers by points: if/else 72 (125 pts), ternaries 26 (59 pts), loops 15 (32 pts), boolean chains 31, error handling 2 (5 pts) (nesting depth added 106). 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/webapp/js/diagramly/Editor.js"},"region":{"startLine":9265}}}],"partialFingerprints":{"codehealthFindingId/v1":"49b8b99b868fece662d3e936dea089a11037d253c5a82b8abcb2db0d6846d75b"}},{"ruleId":"D2","level":"warning","message":{"text":"matchPartialEntries (cognitive 53): matchPartialEntries has cognitive complexity 53 (threshold 15). Drivers by points: if/else 6 (23 pts), loops 3 (13 pts), ternaries 2 (12 pts), boolean chains 5 (nesting depth added 37). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":2380}}}],"partialFingerprints":{"codehealthFindingId/v1":"303f0372c7cfc28b837ce9987ed37f2994530e716cdfa54a38652ff5afd8ba28"}},{"ruleId":"D2","level":"warning","message":{"text":"executeCreateObject (cognitive 53): executeCreateObject has cognitive complexity 53 (threshold 15). Drivers by points: if/else 25 (31 pts), ternaries 5 (13 pts), boolean chains 6, error handling 2 (3 pts) (nesting depth added 15). Of this number, 20 points are the body\u0027s own statements and 33 belong to 13 function literals inside it that branch. 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/webapp/js/diagramly/App.js"},"region":{"startLine":4794}}}],"partialFingerprints":{"codehealthFindingId/v1":"99e95a2e8e645f6d3dec7c6a5bbb9e41aa28f2142757bd89202ca332d763c6ee"}},{"ruleId":"D2","level":"warning","message":{"text":"fileCreated (cognitive 53): fileCreated has cognitive complexity 53 (threshold 15). Drivers by points: if/else 21 (37 pts), boolean chains 11, loops 1 (3 pts), ternaries 1 (2 pts) (nesting depth added 19). Of this number, 21 points are the body\u0027s own statements and 32 belong to 8 function literals inside it that branch. 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/webapp/js/diagramly/App.js"},"region":{"startLine":6832}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c6084691320d2c511ac03685b8ebc0c5de984439bb317c57b103e4990c14910"}},{"ruleId":"D2","level":"warning","message":{"text":"readGraphState (cognitive 53): readGraphState has cognitive complexity 53 (threshold 15). Drivers by points: if/else 20 (25 pts), boolean chains 22, ternaries 5 (6 pts) (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Editor.js"},"region":{"startLine":1779}}}],"partialFingerprints":{"codehealthFindingId/v1":"a528ef3454e4b841e495ac768ebd336c33ffb097af49e3df7a07486aa4f4560a"}},{"ruleId":"D2","level":"warning","message":{"text":"update (cognitive 53): update has cognitive complexity 53 (threshold 15). Drivers by points: if/else 12 (25 pts), ternaries 4 (15 pts), boolean chains 8, loops 5 (nesting depth added 24). 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/webapp/js/diagramly/ForceExplorer.js"},"region":{"startLine":2457}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a11c858c76006cab54b28a3ac50e08a1387631d597e6eef6c7e0806e585ff47"}},{"ruleId":"D2","level":"warning","message":{"text":"pickDiagrams (cognitive 53): pickDiagrams has cognitive complexity 53 (threshold 15). Drivers by points: if/else 16 (38 pts), loops 2 (6 pts), ternaries 2 (4 pts), boolean chains 3, error handling 1 (2 pts) (nesting depth added 29). Most of this is not in the body itself: 4 of the 53 points are its own statements and the rest belongs to 3 function items inside it that branch (a function literal at line 1663, a function literal at line 1752, (anonymous)::exit). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DriveClient.js"},"region":{"startLine":1650}}}],"partialFingerprints":{"codehealthFindingId/v1":"457993b728c96c64e75b2dafe1cdfb8904fab893eca49ca18f91ce4ee144335b"}},{"ruleId":"D2","level":"warning","message":{"text":"mxGraphMlCodec.mxGraphMlCodec.handleTemplates (cognitive 52): mxGraphMlCodec.mxGraphMlCodec.handleTemplates has cognitive complexity 52 (threshold 15). Drivers by points: if/else 6 (25 pts), ternaries 2 (12 pts), loops 5 (11 pts), match/switch 1 (3 pts), boolean chains 1 (nesting depth added 37). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/graphml/mxGraphMlCodec.js"},"region":{"startLine":1169}}}],"partialFingerprints":{"codehealthFindingId/v1":"631a999d8db92f824c354ee34f03725a8cc067d46119e82958a3f758cde8c868"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.canonicalizeSvgCssRules (cognitive 52): Graph.Graph.canonicalizeSvgCssRules has cognitive complexity 52 (threshold 15). Drivers by points: if/else 7 (29 pts), loops 3 (16 pts), boolean chains 5, error handling 1 (2 pts) (nesting depth added 36). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":6141}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a35ff8c06cfd8ccfce13adb66ca065e22b36efdadb8196a878226f81f7b98a9"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.mxText.paint (cognitive 52): Graph.mxText.paint has cognitive complexity 52 (threshold 15). Drivers by points: if/else 14 (32 pts), ternaries 5 (14 pts), boolean chains 6 (nesting depth added 27). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":8131}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ff694f68bfa324ebe38961a262b2691d90c5f17972974d58dc26305264e7547"}},{"ruleId":"D2","level":"warning","message":{"text":"mxPidMisc.mxShapePidColumn.foreground (cognitive 52): mxPidMisc.mxShapePidColumn.foreground has cognitive complexity 52 (threshold 15). Drivers by points: if/else 18 (30 pts), loops 7 (15 pts), boolean chains 7 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/shapes/pid2/mxPidMisc.js"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"70ec285b644e3c724a950705e22d060b92b36ba3399be8eba459cb52e93fb659"}},{"ruleId":"D2","level":"warning","message":{"text":"getCellsForTags (cognitive 52): getCellsForTags has cognitive complexity 52 (threshold 15). Drivers by points: if/else 7 (27 pts), loops 3 (10 pts), ternaries 2 (8 pts), boolean chains 7 (nesting depth added 33). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":14032}}}],"partialFingerprints":{"codehealthFindingId/v1":"00329037fc83b4e908d39cefd581b8563ef22c883e14ac5ed75a9743ffd8e39d"}},{"ruleId":"D2","level":"warning","message":{"text":"updateTextNodes (cognitive 52): updateTextNodes has cognitive complexity 52 (threshold 15). Drivers by points: ternaries 25 (35 pts), if/else 12 (13 pts), boolean chains 4 (nesting depth added 11). Of this number, 31 points are the body\u0027s own statements and 21 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxSvgCanvas2D.js"},"region":{"startLine":2204}}}],"partialFingerprints":{"codehealthFindingId/v1":"29bb658660042b2667ac4ae415628c8f75557c8a588b6dec3a19d9e2ebece79b"}},{"ruleId":"D2","level":"warning","message":{"text":"App.App.pickLibrary (cognitive 51): App.App.pickLibrary has cognitive complexity 51 (threshold 15). Drivers by points: ternaries 8 (25 pts), if/else 9 (18 pts), loops 1 (4 pts), boolean chains 2, error handling 2 (nesting depth added 29). Of this number, 27 points are the body\u0027s own statements and 24 belong to 5 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":5996}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1201347135984e9e45ebab49140208a377343c5a0595c16895877b35f00a908"}},{"ruleId":"D2","level":"warning","message":{"text":"DrawioFileSync.DrawioFileSync.receiveRemoteChanges (cognitive 51): DrawioFileSync.DrawioFileSync.receiveRemoteChanges has cognitive complexity 51 (threshold 15). Drivers by points: if/else 10 (25 pts), ternaries 3 (15 pts), loops 1 (5 pts), error handling 1 (4 pts), boolean chains 2 (nesting depth added 34). Most of this is not in the body itself: 5 of the 51 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 1420, 1466, 1438). 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/webapp/js/diagramly/DrawioFileSync.js"},"region":{"startLine":1404}}}],"partialFingerprints":{"codehealthFindingId/v1":"90b1598486a760b16acb52f119ffe78f2d34756a49a5db548d48361b3c4ecea3"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.showBanner (cognitive 51): EditorUi.EditorUi.showBanner has cognitive complexity 51 (threshold 15). Drivers by points: if/else 17 (38 pts), boolean chains 8, ternaries 2 (5 pts) (nesting depth added 24). Of this number, 29 points are the body\u0027s own statements and 22 belong to 3 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":8042}}}],"partialFingerprints":{"codehealthFindingId/v1":"9722eb3ad07b56685e0ae470fa4c55880eec995689506c27092ef4b1eddc2f45"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.createLayouts (cognitive 51): Graph.Graph.createLayouts has cognitive complexity 51 (threshold 15). Drivers by points: if/else 12 (29 pts), boolean chains 10, loops 3 (9 pts), ternaries 1 (3 pts) (nesting depth added 25). 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":14364}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bde04361e105d8fe9ad87db4e8bbae4be1bfdd2e8c711941d4212a3d6d2d629"}},{"ruleId":"D2","level":"warning","message":{"text":"mxBpmnShape2.mxBpmnShape.redrawPath (cognitive 51): mxBpmnShape2.mxBpmnShape.redrawPath has cognitive complexity 51 (threshold 15). Drivers by points: if/else 29 (49 pts), boolean chains 2 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/shapes/bpmn/mxBpmnShape2.js"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1230d849dde2d84a73f2147fe7ac7c8713ac74c71939ddeb751cc3c005cc54f"}},{"ruleId":"D2","level":"warning","message":{"text":"StorageDialog (cognitive 51): StorageDialog has cognitive complexity 51 (threshold 15). Drivers by points: if/else 26 (34 pts), boolean chains 11, ternaries 3 (4 pts), loops 1 (2 pts) (nesting depth added 10). Most of this is not in the body itself: 6 of the 51 points are its own statements and the rest belongs to 13 function items inside it that branch (addLogo, addButtons, addLogo::initButton::clientFn, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"faa74cfed0bb5a31bf7a7fe1cdfc6935e0b2fcfea84227b231cbc3e88eb80ae0"}},{"ruleId":"D2","level":"warning","message":{"text":"addFill (cognitive 51): addFill has cognitive complexity 51 (threshold 15). Drivers by points: if/else 13 (20 pts), ternaries 9 (18 pts), boolean chains 7, loops 5 (6 pts) (nesting depth added 17). Most of this is not in the body itself: 9 of the 51 points are its own statements and the rest belongs to 12 function items inside it that branch (a function literal at line 7572, a function literal at line 7670, a function literal at line 7477, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Format.js"},"region":{"startLine":7450}}}],"partialFingerprints":{"codehealthFindingId/v1":"52de33a140eba1f203b439ba6ba70e77335e0836f390d54efab933b451ea94b6"}},{"ruleId":"D2","level":"warning","message":{"text":"getPrettyXml (cognitive 51): getPrettyXml has cognitive complexity 51 (threshold 15). Drivers by points: if/else 16 (32 pts), loops 3 (12 pts), ternaries 3 (6 pts), boolean chains 1 (nesting depth added 28). 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/webapp/mxgraph/src/util/mxUtils.js"},"region":{"startLine":1282}}}],"partialFingerprints":{"codehealthFindingId/v1":"dce3cd369a109e0333b0da2f674f3c806e20b85b702659e22757c9392e94f515"}},{"ruleId":"D2","level":"warning","message":{"text":"sortCells (cognitive 51): sortCells has cognitive complexity 51 (threshold 15). Drivers by points: if/else 9 (20 pts), loops 7 (19 pts), ternaries 6 (11 pts), boolean chains 1 (nesting depth added 28). Of this number, 17 points are the body\u0027s own statements and 34 belong to 4 function items inside it that branch. 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/webapp/mxgraph/src/util/mxUtils.js"},"region":{"startLine":4324}}}],"partialFingerprints":{"codehealthFindingId/v1":"4803049678bc670843bb0448dab1cf466a9182f54227b81ca56dcef474fd2ff7"}},{"ruleId":"D2","level":"warning","message":{"text":"predictBounds (cognitive 51): predictBounds has cognitive complexity 51 (threshold 15). Drivers by points: ternaries 7 (21 pts), if/else 6 (12 pts), boolean chains 11, loops 6 (7 pts) (nesting depth added 21). 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/webapp/js/diagramly/ForceExplorer.js"},"region":{"startLine":2092}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa0d86dec896eda5d56972f337b4fadae08fc890515da5a9fc07342a9d2a5484"}},{"ruleId":"D2","level":"warning","message":{"text":"getSuggestedLayout (cognitive 51): getSuggestedLayout has cognitive complexity 51 (threshold 15). Drivers by points: if/else 9 (26 pts), loops 6 (16 pts), boolean chains 5, ternaries 1 (4 pts) (nesting depth added 30). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/LayoutPicker.js"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe7d95b91deb38146ae26ffec60e7b4e4e875b3e976b350312147d68608b8fa8"}},{"ruleId":"D2","level":"warning","message":{"text":"Dialogs.StyleRulesDialog.parseRules (cognitive 50): Dialogs.StyleRulesDialog.parseRules has cognitive complexity 50 (threshold 15). Drivers by points: ternaries 4 (19 pts), if/else 6 (16 pts), loops 3 (12 pts), boolean chains 2, error handling 1 (nesting depth added 34). Of this number, 36 points are the body\u0027s own statements and 14 belong to one function item inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":22434}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d25569e42e8b5e745a603d080b7875dbad2c7b137ab0e1aa919ee95b32359ca"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.createFileData (cognitive 50): EditorUi.EditorUi.createFileData has cognitive complexity 50 (threshold 15). Drivers by points: if/else 20 (36 pts), boolean chains 9, ternaries 2 (5 pts) (nesting depth added 19). 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":3015}}}],"partialFingerprints":{"codehealthFindingId/v1":"3437f5ac638cb9a02538e3764eb7fac38b86e72869ad50d09447afb4575e0831"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.fileStats (cognitive 50): EditorUi.EditorUi.fileStats has cognitive complexity 50 (threshold 15). Drivers by points: if/else 10 (34 pts), loops 4 (13 pts), boolean chains 2, error handling 1 (nesting depth added 33). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":4083}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b1771dff28f22e24c1b5dc446ee00c6080e7d082dd57ebeec38505b9a4b6ad4"}},{"ruleId":"D2","level":"warning","message":{"text":"getCellsForShapePicker (cognitive 50): getCellsForShapePicker has cognitive complexity 50 (threshold 15). Drivers by points: if/else 14 (32 pts), boolean chains 7, loops 2 (5 pts), ternaries 4, error handling 1 (2 pts) (nesting depth added 22). Of this number, 31 points are the body\u0027s own statements and 19 belong to 3 function items inside it that branch. 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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":2975}}}],"partialFingerprints":{"codehealthFindingId/v1":"56f252cf18fc76cd9a10663d96ab484664811e6936f15be9b5c9eeff21e91a61"}},{"ruleId":"D2","level":"warning","message":{"text":"pickFile (cognitive 50): pickFile has cognitive complexity 50 (threshold 15). Drivers by points: if/else 17 (36 pts), boolean chains 9, ternaries 2 (4 pts), error handling 1 (nesting depth added 21). Of this number, 20 points are the body\u0027s own statements and 30 belong to 9 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":5834}}}],"partialFingerprints":{"codehealthFindingId/v1":"a226b1575b87cab9ecfc955568dddc5985504e37ec512d57fdac3a7bbc17cacc"}},{"ruleId":"D2","level":"warning","message":{"text":"EntityRelation (cognitive 50): EntityRelation has cognitive complexity 50 (threshold 15). Drivers by points: ternaries 9 (23 pts), if/else 17 (22 pts), boolean chains 5 (nesting depth added 19). 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/webapp/mxgraph/src/view/mxEdgeStyle.js"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c48f8ff133b39addc5487748fd5d00636fa0134f8b9d1abcd3b705b8a878354"}},{"ruleId":"D2","level":"warning","message":{"text":"addMouseWheelListener (cognitive 50): addMouseWheelListener has cognitive complexity 50 (threshold 15). Drivers by points: if/else 12 (32 pts), boolean chains 7, ternaries 3 (7 pts), loops 1 (4 pts) (nesting depth added 27). Most of this is not in the body itself: 7 of the 50 points are its own statements and the rest belongs to 8 function items inside it that branch (a function literal at line 487, wheelHandler, a function literal at line 474, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxEvent.js"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"86e34a15438a31664c4ec95cba724ce1562b6f0ee6425973d9a5aa702c8e6ba1"}},{"ruleId":"D2","level":"warning","message":{"text":"mxRuler::drawRuler (cognitive 50): mxRuler::drawRuler has cognitive complexity 50 (threshold 15). Drivers by points: if/else 19 (33 pts), ternaries 11 (12 pts), boolean chains 3, loops 1, match/switch 1 (nesting depth added 15). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/mxRuler.js"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"e178364ad868ee64043c86b6cfb425838357998ac441ea6d4bb4cc69c5e46717"}},{"ruleId":"D2","level":"warning","message":{"text":"MiroImporter::parseStyles (cognitive 50): MiroImporter::parseStyles has cognitive complexity 50 (threshold 15). Drivers by points: if/else 12 (30 pts), ternaries 5 (13 pts), boolean chains 3, match/switch 1 (2 pts), error handling 1, loops 1 (nesting depth added 27). 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/webapp/js/diagramly/miro/MiroImporter.js"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"d35e0f593747c3791119194f7555cc4fbe09e59b10f56179db8b20922e6e8351"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.installSettings (cognitive 49): EditorUi.EditorUi.installSettings has cognitive complexity 49 (threshold 15). Drivers by points: if/else 15 (38 pts), boolean chains 8, error handling 1 (3 pts) (nesting depth added 25). Of this number, 38 points are the body\u0027s own statements and 11 belong to 3 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":28009}}}],"partialFingerprints":{"codehealthFindingId/v1":"800016f135fde40b2fc059046fe7ec7e9310253fdf40dc687d1f64fa71be5887"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.refreshDataSources (cognitive 49): EditorUi.EditorUi.refreshDataSources has cognitive complexity 49 (threshold 15). Drivers by points: if/else 11 (20 pts), loops 6 (9 pts), ternaries 3 (9 pts), boolean chains 6, error handling 2 (5 pts) (nesting depth added 21). Most of this is not in the body itself: 7 of the 49 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 39119, 39153, 39134, \u2026). 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":39101}}}],"partialFingerprints":{"codehealthFindingId/v1":"086e9d2ba37fdd435ad9ff155d30895c8982b13af7aa9dbe36559bebe7ff7d74"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.copyCellStyles (cognitive 49): Graph.Graph.copyCellStyles has cognitive complexity 49 (threshold 15). Drivers by points: if/else 11 (30 pts), boolean chains 14, loops 2 (3 pts), ternaries 1 (2 pts) (nesting depth added 21). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":11322}}}],"partialFingerprints":{"codehealthFindingId/v1":"740f8e75bc475426cc7ec467f5f2d3db71b702b2742a4c3124e2faf4eaad72fe"}},{"ruleId":"D2","level":"warning","message":{"text":"setGraphXml (cognitive 49): setGraphXml has cognitive complexity 49 (threshold 15). Drivers by points: if/else 12 (25 pts), ternaries 3 (9 pts), boolean chains 7, error handling 1 (4 pts), loops 1 (4 pts) (nesting depth added 25). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":5098}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f2ad08e45c795aec00c28fe8e282577f87b4fd88e4d70f9a10f53a1053c17e6"}},{"ruleId":"D2","level":"warning","message":{"text":"getImageForMarker (cognitive 49): getImageForMarker has cognitive complexity 49 (threshold 15). Drivers by points: if/else 29 (30 pts), ternaries 9 (18 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":5257}}}],"partialFingerprints":{"codehealthFindingId/v1":"50d533b40f97b42a3efb8afa4543705f88b16e5e71b7266622e3fcfd76c2bd59"}},{"ruleId":"D2","level":"warning","message":{"text":"App (cognitive 49): App has cognitive complexity 49 (threshold 15). Drivers by points: if/else 17 (25 pts), error handling 4 (9 pts), boolean chains 8, ternaries 3 (5 pts), loops 1 (2 pts) (nesting depth added 16). Of this number, 24 points are the body\u0027s own statements and 25 belong to 6 function literals inside it that branch. 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/webapp/js/diagramly/App.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b0c0488741d8e5f35caebdb65d2b88ffe5d33863c5dfbbae73d4f9e758662b6"}},{"ruleId":"D2","level":"warning","message":{"text":"keepFixedRoleColors (cognitive 49): keepFixedRoleColors has cognitive complexity 49 (threshold 15). Drivers by points: if/else 9 (32 pts), boolean chains 11, loops 2 (3 pts), ternaries 1 (3 pts) (nesting depth added 26). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/tidy/TidyStyle.js"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"d52e5c0671076e40aa06c9b01bf6cf7671fbb321ed48c485ea5dd0489fef8265"}},{"ruleId":"D2","level":"warning","message":{"text":"insertStateAfter (cognitive 49): insertStateAfter has cognitive complexity 49 (threshold 15). Drivers by points: if/else 12 (32 pts), boolean chains 8, loops 2 (6 pts), ternaries 1 (3 pts) (nesting depth added 26). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxCellRenderer.js"},"region":{"startLine":1666}}}],"partialFingerprints":{"codehealthFindingId/v1":"eec359b8fcfd37c24bfa483a6965e0965977883f13c27e1f8930176bbdf8e546"}},{"ruleId":"D2","level":"warning","message":{"text":"DrawioFileSync.DrawioFileSync.sendLocalChanges (cognitive 48): DrawioFileSync.DrawioFileSync.sendLocalChanges has cognitive complexity 48 (threshold 15). Drivers by points: if/else 13 (29 pts), loops 3 (10 pts), boolean chains 4, ternaries 2 (4 pts), error handling 1 (nesting depth added 25). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DrawioFileSync.js"},"region":{"startLine":3042}}}],"partialFingerprints":{"codehealthFindingId/v1":"a618b18a6489a6ab4aa02ccadd672da15fca43caee8c660f43f2b945cb7ada11"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.applySharedViewMode (cognitive 48): EditorUi.EditorUi.applySharedViewMode has cognitive complexity 48 (threshold 15). Drivers by points: if/else 10 (24 pts), boolean chains 13, ternaries 4 (11 pts) (nesting depth added 21). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":1901}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab7806c617421c51c07ae9659e895bda88d740a037f8e4612e4e26f813f107be"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.downloadRequestBuilder (cognitive 48): EditorUi.EditorUi.downloadRequestBuilder has cognitive complexity 48 (threshold 15). Drivers by points: if/else 14 (19 pts), boolean chains 16, ternaries 10, loops 1 (3 pts) (nesting depth added 7). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":4425}}}],"partialFingerprints":{"codehealthFindingId/v1":"afa6b7f74914f2053ebfb1f6dfe273810ce0c9e9dbfcc957aaf60f8bb12733a9"}},{"ruleId":"D2","level":"warning","message":{"text":"Dialogs.ExportDialog (cognitive 48): Dialogs.ExportDialog has cognitive complexity 48 (threshold 15). Drivers by points: if/else 34 (37 pts), boolean chains 11 (nesting depth added 3). Most of this is not in the body itself: 5 of the 48 points are its own statements and the rest belongs to 8 function items inside it that branch (formatChanged, a function literal at line 3725, checkValues, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Dialogs.js"},"region":{"startLine":3340}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae6cdbc37288abbd5c30b9fd93fd12ff29485415ea17504e091fb4dfaa69fc53"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.foldCells (cognitive 48): Graph.Graph.foldCells has cognitive complexity 48 (threshold 15). Drivers by points: if/else 12 (40 pts), boolean chains 6, loops 1 (2 pts) (nesting depth added 29). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":19851}}}],"partialFingerprints":{"codehealthFindingId/v1":"a935be4cf88d8d610107f3a5960fa9983612d4a4dadb9b5cfc93356ecaec308d"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.getAutoLabelPlacement (cognitive 48): Graph.Graph.getAutoLabelPlacement has cognitive complexity 48 (threshold 15). Drivers by points: if/else 17 (30 pts), boolean chains 8, loops 3 (6 pts), ternaries 2 (4 pts) (nesting depth added 18). 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":29813}}}],"partialFingerprints":{"codehealthFindingId/v1":"b00e2dc65395f7977f7f13ae49a0270f8f2cba0a38b56b9e9b9ee6d3b60a1872"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.mxGraphView.getMultiplePerimeterPoint (cognitive 48): Graph.mxGraphView.getMultiplePerimeterPoint has cognitive complexity 48 (threshold 15). Drivers by points: if/else 10 (27 pts), boolean chains 9, loops 2 (8 pts), ternaries 2 (4 pts) (nesting depth added 25). Of this number, 44 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":31020}}}],"partialFingerprints":{"codehealthFindingId/v1":"54d071ab72d795c6152a4bdc504df1809bcf59c27efdc82603d5eace54640116"}},{"ruleId":"D2","level":"warning","message":{"text":"mxArchiMate3.mxArchiMate3Application.foreground (cognitive 48): mxArchiMate3.mxArchiMate3Application.foreground has cognitive complexity 48 (threshold 15). Drivers by points: if/else 48. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/shapes/mxArchiMate3.js"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6d972a0e9bba882f389c493c0199a9ddb75ccd173375290feb86b886c5e90cb"}},{"ruleId":"D2","level":"warning","message":{"text":"createLegend (cognitive 48): createLegend has cognitive complexity 48 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 5 (17 pts), ternaries 2 (10 pts), boolean chains 3 (nesting depth added 30). 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":22624}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d3b42c94a02a9cc9182fc8407e4cdac93afdedbc508f10036a5e6b10c856eba"}},{"ruleId":"D2","level":"warning","message":{"text":"createColorOption::apply (cognitive 48): createColorOption::apply has cognitive complexity 48 (threshold 15). Drivers by points: if/else 16 (28 pts), ternaries 5 (12 pts), boolean chains 8 (nesting depth added 19). 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/webapp/js/grapheditor/Format.js"},"region":{"startLine":1542}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9ff64dbd9fd03184832e97ef794b8db5a1ea014df6509c11601097aa4879b5c"}},{"ruleId":"D2","level":"warning","message":{"text":"connectionPreview (cognitive 48): connectionPreview has cognitive complexity 48 (threshold 15). Drivers by points: if/else 16 (20 pts), boolean chains 16, ternaries 7 (11 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/LibavoidRouting.js"},"region":{"startLine":3297}}}],"partialFingerprints":{"codehealthFindingId/v1":"24c007cf9417783132e88c56d5eac2e0313b8c5a6317fc674b0471e0688f4262"}},{"ruleId":"D2","level":"warning","message":{"text":"addTextBackground (cognitive 48): addTextBackground has cognitive complexity 48 (threshold 15). Drivers by points: if/else 14 (26 pts), ternaries 7 (14 pts), boolean chains 8 (nesting depth added 19). 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/webapp/mxgraph/src/util/mxSvgCanvas2D.js"},"region":{"startLine":4163}}}],"partialFingerprints":{"codehealthFindingId/v1":"e490c0948d747a8a1936db6c86162f36c0f2db82fc1a20d98f2f37428093a733"}},{"ruleId":"D2","level":"warning","message":{"text":"createParentLookup (cognitive 48): createParentLookup has cognitive complexity 48 (threshold 15). Drivers by points: if/else 11 (36 pts), ternaries 2 (6 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 31). Of this number, 47 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DiffSync.js"},"region":{"startLine":1008}}}],"partialFingerprints":{"codehealthFindingId/v1":"778c207720d7e788f92634bc1375881ffffe97c67262f7b7e5970a3a102c0657"}},{"ruleId":"D2","level":"warning","message":{"text":"addTrees::onKeyDown (cognitive 48): addTrees::onKeyDown has cognitive complexity 48 (threshold 15). Drivers by points: if/else 17 (33 pts), boolean chains 10, ternaries 2 (4 pts), error handling 1 (nesting depth added 18). 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/webapp/js/diagramly/Trees.js"},"region":{"startLine":1549}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc8be9b0eea9a93a0dc17e6f0fdd12835a0d890d1eee1196d2602a69ffee813d"}},{"ruleId":"D2","level":"warning","message":{"text":"styleEdges (cognitive 48): styleEdges has cognitive complexity 48 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 12, ternaries 5 (12 pts), loops 5 (8 pts) (nesting depth added 18). 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/webapp/js/diagramly/tidy/TidyStyle.js"},"region":{"startLine":1721}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7bb46441b86e59b480a2f5832f29e958613860b8ed86c4c332df294c2650940"}},{"ruleId":"D2","level":"warning","message":{"text":"open (cognitive 48): open has cognitive complexity 48 (threshold 15). Drivers by points: if/else 22 (33 pts), loops 4 (7 pts), boolean chains 4, ternaries 3, error handling 1 (nesting depth added 14). Of this number, 44 points are the body\u0027s own statements and 4 belong to 3 function items inside it that branch. 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/webapp/mxgraph/src/view/mxPrintPreview.js"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed33406a8bd4070b1e320835ad3df4e9aacda44bcf00ab8e317b54483225af66"}},{"ruleId":"D2","level":"warning","message":{"text":"LayoutPicker.EditorUi.keepLockedGeometries.\u003Creturned closure\u003E (cognitive 47): LayoutPicker.EditorUi.keepLockedGeometries.\u003Creturned closure\u003E has cognitive complexity 47 (threshold 15). Drivers by points: if/else 13 (19 pts), boolean chains 18, loops 5 (9 pts), ternaries 1 (nesting depth added 10). Of this number, 29 points are the body\u0027s own statements and 18 belong to 7 function items inside it that branch. 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/webapp/js/diagramly/LayoutPicker.js"},"region":{"startLine":734}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e5016463d3f1a329393c312d311f9bbf4c78adc968b5330d6c1881ec764b123"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.isLiveLayoutLimited (cognitive 47): Graph.Graph.isLiveLayoutLimited has cognitive complexity 47 (threshold 15). Drivers by points: if/else 6 (18 pts), loops 4 (12 pts), ternaries 3 (10 pts), boolean chains 7 (nesting depth added 27). 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":13892}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c93794681ee7aa5dc882d32b8e11b0d764bc1b200d42014610aa114a63c9c15"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.updateShapes (cognitive 47): Graph.Graph.updateShapes has cognitive complexity 47 (threshold 15). Drivers by points: if/else 12 (30 pts), boolean chains 8, loops 3 (8 pts), ternaries 1 (nesting depth added 23). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":17212}}}],"partialFingerprints":{"codehealthFindingId/v1":"167f8ee5690238d95ab11298476dba064c04f160cff4955dedc1dde5c7339c06"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.mxGraphView.updateCurveLineJumps (cognitive 47): Graph.mxGraphView.updateCurveLineJumps has cognitive complexity 47 (threshold 15). Drivers by points: if/else 6 (22 pts), boolean chains 10, loops 5 (10 pts), ternaries 4 (5 pts) (nesting depth added 22). Of this number, 44 points are the body\u0027s own statements and 3 belong to 2 function items inside it that branch. 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":31777}}}],"partialFingerprints":{"codehealthFindingId/v1":"801a1c34736cc4f76a12302e93d4d206f4ba6769ee36d4474fe6d4a8aace4bb1"}},{"ruleId":"D2","level":"warning","message":{"text":"mxSvgCanvas2D.mxSvgCanvas2D.wrapSvgTextElement::collectLeaves (cognitive 47): mxSvgCanvas2D.mxSvgCanvas2D.wrapSvgTextElement::collectLeaves has cognitive complexity 47 (threshold 15). Drivers by points: if/else 10 (37 pts), loops 3 (9 pts), boolean chains 1 (nesting depth added 33). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This shape REPEATS in the file: one other method here (mxSvgCanvas2D.mxSvgCanvas2D.wrapSvgTextElement) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxSvgCanvas2D.js"},"region":{"startLine":2603}}}],"partialFingerprints":{"codehealthFindingId/v1":"de41464e1c8287be0be541367e6a2e4310d84a30749831379576afda4157fbcd"}},{"ruleId":"D2","level":"warning","message":{"text":"RevisionDialog::(anonymous)::updateGraph (cognitive 47): RevisionDialog::(anonymous)::updateGraph has cognitive complexity 47 (threshold 15). Drivers by points: if/else 13 (35 pts), loops 2 (7 pts), boolean chains 3, ternaries 1 (2 pts) (nesting depth added 28). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":9071}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2b40f6a967ac2424a6b8cb7a2e211e633ef55e0c6bdb19a9dff63d9c6afe601"}},{"ruleId":"D2","level":"warning","message":{"text":"convertImages::(anonymous)::(anonymous)::processNext::onload (cognitive 47): convertImages::(anonymous)::(anonymous)::processNext::onload has cognitive complexity 47 (threshold 15). Drivers by points: if/else 10 (27 pts), loops 6 (17 pts), boolean chains 2, error handling 1 (nesting depth added 28). 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/webapp/js/diagramly/Editor.js"},"region":{"startLine":6709}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b64b592525f9b0a1c797b937221302e8329f59da3036778b926484a08bd8c1d"}},{"ruleId":"D2","level":"warning","message":{"text":"execute (cognitive 47): execute has cognitive complexity 47 (threshold 15). Drivers by points: if/else 16 (39 pts), boolean chains 5, ternaries 1 (3 pts) (nesting depth added 25). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":15322}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d9238c6e6b2190e4e65fb8f81a8c0512568c1dd08dd717318d1ac291e401551"}},{"ruleId":"D2","level":"warning","message":{"text":"moveCells (cognitive 47): moveCells has cognitive complexity 47 (threshold 15). Drivers by points: if/else 9 (24 pts), boolean chains 10, loops 4 (10 pts), ternaries 3 (nesting depth added 21). Of this number, 42 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":6660}}}],"partialFingerprints":{"codehealthFindingId/v1":"07a041b0ea2aaf973f2d42169538ae910c708c889ea9dfe6bd559bdc1d7dc264"}},{"ruleId":"D2","level":"warning","message":{"text":"getConnectionPoint (cognitive 47): getConnectionPoint has cognitive complexity 47 (threshold 15). Drivers by points: if/else 18 (36 pts), boolean chains 10, ternaries 1 (nesting depth added 18). 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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":7439}}}],"partialFingerprints":{"codehealthFindingId/v1":"20e3bdf01f48c0ae1c426d212b97b41e1f1817993bea1208567292ae7d8c335c"}},{"ruleId":"D2","level":"warning","message":{"text":"showTextMenu (cognitive 47): showTextMenu has cognitive complexity 47 (threshold 15). Drivers by points: if/else 12 (18 pts), ternaries 8 (16 pts), boolean chains 7, loops 4 (6 pts) (nesting depth added 16). Most of this is not in the body itself: 14 of the 47 points are its own statements and the rest belongs to 25 function items inside it that branch (a function literal at line 2930, getValue, a function literal at line 3087, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/InlineToolbar.js"},"region":{"startLine":2863}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a30753fda23ab48b7c2629dc40f55aaa7fd7f378985e807605fffa042b81f43"}},{"ruleId":"D2","level":"warning","message":{"text":"showShapeMenu (cognitive 47): showShapeMenu has cognitive complexity 47 (threshold 15). Drivers by points: if/else 16 (22 pts), ternaries 6 (10 pts), loops 6 (9 pts), boolean chains 6 (nesting depth added 13). Most of this is not in the body itself: 8 of the 47 points are its own statements and the rest belongs to 9 function items inside it that branch (a function literal at line 4901, a function literal at line 4784, a function literal at line 4826, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/InlineToolbar.js"},"region":{"startLine":4733}}}],"partialFingerprints":{"codehealthFindingId/v1":"c546bb4c55cdff324c823e8c3f2cf02f127a7a70f82da6a20a64f64c8da2d4bb"}},{"ruleId":"D2","level":"warning","message":{"text":"showLocalLightbox (cognitive 47): showLocalLightbox has cognitive complexity 47 (threshold 15). Drivers by points: if/else 17 (20 pts), ternaries 9 (14 pts), boolean chains 10, error handling 2 (3 pts) (nesting depth added 9). Of this number, 32 points are the body\u0027s own statements and 15 belong to 21 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/GraphViewer.js"},"region":{"startLine":2733}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0d8fa6a749878827225b59bfa28c6ef4b61fa4bb820bb3cc7dd9fcf87b22f51"}},{"ruleId":"D2","level":"warning","message":{"text":"patchCell (cognitive 47): patchCell has cognitive complexity 47 (threshold 15). Drivers by points: if/else 16 (35 pts), boolean chains 10, loops 1 (2 pts) (nesting depth added 20). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DiffSync.js"},"region":{"startLine":1731}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ea11941e4f954f4120c0f18e047d25a1489dcf2e76383e80b6204669dadf9aa"}},{"ruleId":"D2","level":"warning","message":{"text":"resizeVertex (cognitive 47): resizeVertex has cognitive complexity 47 (threshold 15). Drivers by points: if/else 19 (40 pts), boolean chains 5, ternaries 2 (nesting depth added 21). 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/webapp/mxgraph/src/handler/mxVertexHandler.js"},"region":{"startLine":1029}}}],"partialFingerprints":{"codehealthFindingId/v1":"c229156b8587e5a66247a49215df45f8d4167f328095ba49a2d5718855e16f95"}},{"ruleId":"D2","level":"warning","message":{"text":"getFile (cognitive 47): getFile has cognitive complexity 47 (threshold 15). Drivers by points: if/else 15 (34 pts), ternaries 3 (7 pts), boolean chains 6 (nesting depth added 23). Most of this is not in the body itself: 1 of the 47 points is its own statement and the rest belongs to 7 function literals inside it that branch (lines 158, 128, 211, \u2026). 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/webapp/js/diagramly/TrelloClient.js"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe5e5b45efa2d3d22ba63682db3e5c7537f9f5d53136715865d1fbcfdaa3d525"}},{"ruleId":"D2","level":"warning","message":{"text":"update (cognitive 47): update has cognitive complexity 47 (threshold 15). Drivers by points: if/else 8 (19 pts), boolean chains 15, ternaries 3 (10 pts), loops 1 (3 pts) (nesting depth added 20). Of this number, 41 points are the body\u0027s own statements and 6 belong to 2 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/handler/mxConstraintHandler.js"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"1799cbcbaebb36c760d026b531b9d52833770c7a60410052aaffd2b48e9a08fe"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.showPublishLinkDialog (cognitive 46): EditorUi.EditorUi.showPublishLinkDialog has cognitive complexity 46 (threshold 15). Drivers by points: if/else 23 (28 pts), boolean chains 11, ternaries 5, loops 1 (2 pts) (nesting depth added 6). Of this number, 27 points are the body\u0027s own statements and 19 belong to 5 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":11056}}}],"partialFingerprints":{"codehealthFindingId/v1":"04a05c395a4d6141c51cb0db3f225eeef824091e84e72612188e3b237b54db0e"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.getTooltipForCell (cognitive 46): Graph.Graph.getTooltipForCell has cognitive complexity 46 (threshold 15). Drivers by points: if/else 13 (32 pts), boolean chains 8, loops 2 (6 pts) (nesting depth added 23). Of this number, 41 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":22474}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eae0fc6f1c4b9898452438ae2b210c3afd4e2be57005c1818d44abb82076130"}},{"ruleId":"D2","level":"warning","message":{"text":"mxEdgeHandler.mxEdgeHandler.getHandleForEvent (cognitive 46): mxEdgeHandler.mxEdgeHandler.getHandleForEvent has cognitive complexity 46 (threshold 15). Drivers by points: if/else 10 (26 pts), loops 3 (9 pts), boolean chains 7, ternaries 2 (4 pts) (nesting depth added 24). Of this number, 38 points are the body\u0027s own statements and 8 belong to one function item inside it that branches. 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/webapp/mxgraph/src/handler/mxEdgeHandler.js"},"region":{"startLine":847}}}],"partialFingerprints":{"codehealthFindingId/v1":"9784e0e60b0011aeaac83d1437db544674c1e0fc474bb65ec2d9905d67f23ddd"}},{"ruleId":"D2","level":"warning","message":{"text":"mxSwimlane.mxSwimlane.paintSwimlane (cognitive 46): mxSwimlane.mxSwimlane.paintSwimlane has cognitive complexity 46 (threshold 15). Drivers by points: if/else 22 (44 pts), boolean chains 2 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (mxSwimlane.mxSwimlane.paintRoundedSwimlane) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/shape/mxSwimlane.js"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ceedce9fb07a9b260c0931f03daf14b91349a074b2c256ace2fab5a20da16e1"}},{"ruleId":"D2","level":"warning","message":{"text":"mxSwimlane.mxSwimlane.paintRoundedSwimlane (cognitive 46): mxSwimlane.mxSwimlane.paintRoundedSwimlane has cognitive complexity 46 (threshold 15). Drivers by points: if/else 22 (44 pts), boolean chains 2 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (mxSwimlane.mxSwimlane.paintSwimlane) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/shape/mxSwimlane.js"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"0333985208a2f0d432998cbf1bee5d9b13fe9d47c4c8434c872a6d9966aa05c2"}},{"ruleId":"D2","level":"warning","message":{"text":"mxGraphView.mxGraphView.getPerimeterPoint (cognitive 46): mxGraphView.mxGraphView.getPerimeterPoint has cognitive complexity 46 (threshold 15). Drivers by points: if/else 11 (41 pts), boolean chains 5 (nesting depth added 30). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxGraphView.js"},"region":{"startLine":3559}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8f7150beba504a14fee36df52400308bf31a346495f12e905df6ad299dce5b5"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::parseNodes (cognitive 46): (anonymous)::parseNodes has cognitive complexity 46 (threshold 15). Drivers by points: if/else 9 (24 pts), ternaries 2 (10 pts), boolean chains 6, loops 3 (6 pts) (nesting depth added 26). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":5044}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2ab232289a5c374fb3b1342fee7bc781cbcdc242e4e7e2c9c643b903ceeffdf"}},{"ruleId":"D2","level":"warning","message":{"text":"addEffects (cognitive 46): addEffects has cognitive complexity 46 (threshold 15). Drivers by points: if/else 14 (22 pts), boolean chains 10, ternaries 6 (10 pts), loops 2 (4 pts) (nesting depth added 14). None of this is in the body itself: all 46 points belong to 6 function items inside it that branch (a function literal at line 8650, a function literal at line 8684, a function literal at line 8640, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Format.js"},"region":{"startLine":8612}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f523760e2265615177ed06afcc3570a5bb841a7cd98a2ca83e7a9e7b497fcd8"}},{"ruleId":"D2","level":"warning","message":{"text":"executeRequest (cognitive 46): executeRequest has cognitive complexity 46 (threshold 15). Drivers by points: if/else 19 (29 pts), ternaries 2 (8 pts), boolean chains 6, error handling 1 (3 pts) (nesting depth added 18). Most of this is not in the body itself: 2 of the 46 points are its own statements and the rest belongs to 13 function literals inside it that branch (lines 327, 433, 422, \u2026). 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/webapp/js/diagramly/GitHubClient.js"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"67914316397f9b2ba74fedffd6a8d70edf85b33d90786a0191e6c5f805393916"}},{"ruleId":"D2","level":"warning","message":{"text":"Dialogs.EditGeometryDialog::applyFn (cognitive 45): Dialogs.EditGeometryDialog::applyFn has cognitive complexity 45 (threshold 15). Drivers by points: if/else 12 (44 pts), loops 1 (nesting depth added 32). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":19752}}}],"partialFingerprints":{"codehealthFindingId/v1":"66f6efdc9172655df16db0c680474b4e9cf69fbcf11d497651f6accba280fe43"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.saveRequest (cognitive 45): EditorUi.EditorUi.saveRequest has cognitive complexity 45 (threshold 15). Drivers by points: if/else 11 (24 pts), error handling 2 (11 pts), boolean chains 6, ternaries 2 (4 pts) (nesting depth added 24). Most of this is not in the body itself: 2 of the 45 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 9331, 9368, 9346). 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":9327}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b180444d978f274e986103e08ebdc4b2a70bcbe5e2656891450c468a6008e2a"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.importFile (cognitive 45): EditorUi.EditorUi.importFile has cognitive complexity 45 (threshold 15). Drivers by points: if/else 19 (31 pts), boolean chains 8, ternaries 2 (6 pts) (nesting depth added 16). Of this number, 35 points are the body\u0027s own statements and 10 belong to 2 function literals inside it that branch. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":17474}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac818a2987f157e5301d55943d9d0a8dd334acd3ebff099f8aa0ea87b583af63"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.pasteXml (cognitive 45): EditorUi.EditorUi.pasteXml has cognitive complexity 45 (threshold 15). Drivers by points: if/else 18 (34 pts), boolean chains 5, loops 1 (3 pts), ternaries 2 (3 pts) (nesting depth added 19). 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":28576}}}],"partialFingerprints":{"codehealthFindingId/v1":"19e745e55dcf8e7177727af0679ed0363150cb7d2bd4686fe83c2cc8003c040c"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.insertCellEditorDrop (cognitive 45): EditorUi.EditorUi.insertCellEditorDrop has cognitive complexity 45 (threshold 15). Drivers by points: if/else 20 (26 pts), boolean chains 10, loops 2 (4 pts), ternaries 4, error handling 1 (nesting depth added 8). Of this number, 29 points are the body\u0027s own statements and 16 belong to 5 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":29230}}}],"partialFingerprints":{"codehealthFindingId/v1":"023ae5fa7274d35bcee5c1c854078321517c6c93e9ae8c20cbb27f2d4ac1e33d"}},{"ruleId":"D2","level":"warning","message":{"text":"LayoutPicker.EditorUi.applyLayoutList (cognitive 45): LayoutPicker.EditorUi.applyLayoutList has cognitive complexity 45 (threshold 15). Drivers by points: if/else 20 (34 pts), boolean chains 4, loops 2 (4 pts), ternaries 2 (3 pts) (nesting depth added 17). Of this number, 25 points are the body\u0027s own statements and 20 belong to 6 function items inside it that branch. 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/webapp/js/diagramly/LayoutPicker.js"},"region":{"startLine":941}}}],"partialFingerprints":{"codehealthFindingId/v1":"20c413e2df3f33c487b9c7dff34f1387e6587f892af02701fed07395707defc6"}},{"ruleId":"D2","level":"warning","message":{"text":"Format.TextFormatPanel.getMatchConnectorChanges (cognitive 45): Format.TextFormatPanel.getMatchConnectorChanges has cognitive complexity 45 (threshold 15). Drivers by points: if/else 6 (22 pts), loops 5 (13 pts), boolean chains 7, ternaries 2 (3 pts) (nesting depth added 25). Of this number, 43 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Format.js"},"region":{"startLine":4944}}}],"partialFingerprints":{"codehealthFindingId/v1":"6658ea1e449f6383b01d59c26b2120bf6d47c6e92edb904d2a681bcd98d913f4"}},{"ruleId":"D2","level":"warning","message":{"text":"liftLegacyLayers (cognitive 45): liftLegacyLayers has cognitive complexity 45 (threshold 15). Drivers by points: if/else 7 (25 pts), ternaries 2 (9 pts), loops 3 (7 pts), boolean chains 4 (nesting depth added 29). 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":8198}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e95fbdec3aebd31b685866ece82031b1c1aabf8c72bcbd27ff5c9cdd206dcd7"}},{"ruleId":"D2","level":"warning","message":{"text":"AnimationDialog::makeStepRow (cognitive 45): AnimationDialog::makeStepRow has cognitive complexity 45 (threshold 15). Drivers by points: boolean chains 22, if/else 14 (19 pts), loops 1 (3 pts), ternaries 1 (nesting depth added 7). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":16367}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2e0b256a6094c017695ac241785399fd3af8f5844949c307c58cfdaef7c474f"}},{"ruleId":"D2","level":"warning","message":{"text":"FilenameDialog (cognitive 45): FilenameDialog has cognitive complexity 45 (threshold 15). Drivers by points: if/else 21 (33 pts), boolean chains 10, ternaries 2 (nesting depth added 12). Most of this is not in the body itself: 15 of the 45 points are its own statements and the rest belongs to 7 function items inside it that branch (init, a function literal at line 4453, a function literal at line 4526, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Editor.js"},"region":{"startLine":4410}}}],"partialFingerprints":{"codehealthFindingId/v1":"21f31951cedc5e83dbe7b115684792c749bf3ba162c6cbedce84843f16745e27"}},{"ruleId":"D2","level":"warning","message":{"text":"validateBackgroundStyles (cognitive 45): validateBackgroundStyles has cognitive complexity 45 (threshold 15). Drivers by points: ternaries 11 (19 pts), if/else 14 (18 pts), boolean chains 8 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Editor.js"},"region":{"startLine":4874}}}],"partialFingerprints":{"codehealthFindingId/v1":"681a83c3725e765fa8276009576e77e6ab6aa242277574a37534dc541a9931fe"}},{"ruleId":"D2","level":"warning","message":{"text":"markLocalChanges (cognitive 45): markLocalChanges has cognitive complexity 45 (threshold 15). Drivers by points: if/else 11 (28 pts), loops 2 (8 pts), boolean chains 7, error handling 1 (2 pts) (nesting depth added 24). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DrawioFileSync.js"},"region":{"startLine":2403}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfa3effafdfb7a6bb84297eacffd312cbd93e6ad549970d42b223120abfeb52c"}},{"ruleId":"D2","level":"warning","message":{"text":"invalidate (cognitive 45): invalidate has cognitive complexity 45 (threshold 15). Drivers by points: if/else 6 (19 pts), loops 4 (14 pts), ternaries 5 (10 pts), boolean chains 2 (nesting depth added 28). 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/webapp/mxgraph/src/view/mxGraphView.js"},"region":{"startLine":1032}}}],"partialFingerprints":{"codehealthFindingId/v1":"1447f39f18b5e6a675919ed95cf7f3c4f7613c0c9f883ae3b5c0a029fae994e4"}},{"ruleId":"D2","level":"warning","message":{"text":"image (cognitive 45): image has cognitive complexity 45 (threshold 15). Drivers by points: if/else 20 (30 pts), ternaries 5 (8 pts), boolean chains 7 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxSvgCanvas2D.js"},"region":{"startLine":1743}}}],"partialFingerprints":{"codehealthFindingId/v1":"92392e1a84280fc0f417570d92f1ed7b106975f8789e831260d1db08b973ebff"}},{"ruleId":"D2","level":"warning","message":{"text":"readGraphFile (cognitive 45): readGraphFile has cognitive complexity 45 (threshold 15). Drivers by points: if/else 17 (25 pts), boolean chains 9, ternaries 5 (8 pts), error handling 1 (3 pts) (nesting depth added 13). Most of this is not in the body itself: 6 of the 45 points are its own statements and the rest belongs to 17 function literals inside it that branch (lines 1437, 1444, 1408, \u2026). 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/webapp/js/diagramly/ElectronApp.js"},"region":{"startLine":1389}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c66f6f88a42b2cb5314bed90d5bcc7ca305ace1728e9f15ce8465b31f00ffc5"}},{"ruleId":"D2","level":"warning","message":{"text":"keyDown (cognitive 45): keyDown has cognitive complexity 45 (threshold 15). Drivers by points: if/else 14 (20 pts), ternaries 7 (17 pts), boolean chains 8 (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/webapp/js/grapheditor/Omnibox.js"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"426db86462d7aa01f3b5d27f66fcacdb04836f6d4b64dbae6f2e6c222ddb547b"}},{"ruleId":"D2","level":"warning","message":{"text":"pickColor (cognitive 45): pickColor has cognitive complexity 45 (threshold 15). Drivers by points: ternaries 6 (22 pts), if/else 8 (19 pts), boolean chains 4 (nesting depth added 27). None of this is in the body itself: all 45 points belong to 5 function items inside it that branch (a function literal at line 1410, a function literal at line 1454, (anonymous)::getColorFn, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Menus.js"},"region":{"startLine":1408}}}],"partialFingerprints":{"codehealthFindingId/v1":"1232190b81c0abfd450ff920b1f0c7a5ed6055696a9df8d8e54c8cfc54288545"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.convertLucidChart (cognitive 44): EditorUi.EditorUi.convertLucidChart has cognitive complexity 44 (threshold 15). Drivers by points: if/else 15 (31 pts), error handling 2 (6 pts), loops 1 (5 pts), boolean chains 2 (nesting depth added 24). None of this is in the body itself: all 44 points belong to 4 function literals inside it that branch (lines 14709, 14699, 14685, \u2026). 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":14683}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7fbedaaa8cd9660cb37afcbf9c2f90a3b973272c8aab3eddb7b6dc9c76dd1d8"}},{"ruleId":"D2","level":"warning","message":{"text":"mxJsCanvas.mxJsCanvas.text (cognitive 44): mxJsCanvas.mxJsCanvas.text has cognitive complexity 44 (threshold 15). Drivers by points: if/else 12 (27 pts), loops 3 (7 pts), match/switch 3 (6 pts), boolean chains 4 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/util/mxJsCanvas.js"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"19f412beaaba2630822d71c5aab25bdf67f38c4df57283b5d3e247a6f5ad4db4"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.getTabGroups (cognitive 44): EditorUi.EditorUi.getTabGroups has cognitive complexity 44 (threshold 15). Drivers by points: if/else 7 (22 pts), loops 5 (13 pts), ternaries 2 (7 pts), boolean chains 2 (nesting depth added 28). 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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":3967}}}],"partialFingerprints":{"codehealthFindingId/v1":"75c1b9055fb2a5b5111b29921b571a3f35c31d2a479b0681eaa34a88c4f43155"}},{"ruleId":"D2","level":"warning","message":{"text":"mxGraph.mxGraph.setConnectionConstraint (cognitive 44): mxGraph.mxGraph.setConnectionConstraint has cognitive complexity 44 (threshold 15). Drivers by points: ternaries 11 (35 pts), if/else 5 (8 pts), boolean chains 1 (nesting depth added 27). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":7375}}}],"partialFingerprints":{"codehealthFindingId/v1":"f279a9b81b46d53e257260a35a8c0d6bd034733ac4ce969bb4079c82008d270a"}},{"ruleId":"D2","level":"warning","message":{"text":"mxGraph.mxGraph.scrollRectToVisible (cognitive 44): mxGraph.mxGraph.scrollRectToVisible has cognitive complexity 44 (threshold 15). Drivers by points: if/else 16 (42 pts), boolean chains 2 (nesting depth added 26). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":8911}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b463869b691817f077f247c2814d211878d1f67cea4754e6ea4835a4e23c6fa"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::setLabelOffset (cognitive 44): (anonymous)::setLabelOffset has cognitive complexity 44 (threshold 15). Drivers by points: if/else 19 (35 pts), boolean chains 7, loops 1 (2 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":13309}}}],"partialFingerprints":{"codehealthFindingId/v1":"af9ba63e2ef4f7c4de31bb5f2f6608796f38af6542398377d0f9a78b9efedb8f"}},{"ruleId":"D2","level":"warning","message":{"text":"AnimationDialog::buildStepObject (cognitive 44): AnimationDialog::buildStepObject has cognitive complexity 44 (threshold 15). Drivers by points: if/else 12 (28 pts), ternaries 4 (11 pts), loops 1 (3 pts), boolean chains 2 (nesting depth added 25). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":17015}}}],"partialFingerprints":{"codehealthFindingId/v1":"02191db92f1bb2ad3714a67e3688100ee00eb35e3ec9052e46ae19a4e8ab0f08"}},{"ruleId":"D2","level":"warning","message":{"text":"getPreferredSizeForCell (cognitive 44): getPreferredSizeForCell has cognitive complexity 44 (threshold 15). Drivers by points: if/else 13 (40 pts), boolean chains 3, ternaries 1 (nesting depth added 27). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":6047}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dfabc962c03d74aa3b5b16759dbd0f7e805a2b0badd595c6692ac81ee841580"}},{"ruleId":"D2","level":"warning","message":{"text":"getCells (cognitive 44): getCells has cognitive complexity 44 (threshold 15). Drivers by points: if/else 8 (27 pts), boolean chains 13, loops 1 (3 pts), ternaries 1 (nesting depth added 21). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":13126}}}],"partialFingerprints":{"codehealthFindingId/v1":"04759c65ba2aea037ffe05300d9d162a35e2785e074d25bf16a4aa0ad93530ad"}},{"ruleId":"D2","level":"warning","message":{"text":"updateHeader (cognitive 44): updateHeader has cognitive complexity 44 (threshold 15). Drivers by points: if/else 12 (25 pts), ternaries 5 (14 pts), boolean chains 5 (nesting depth added 22). Most of this is not in the body itself: 14 of the 44 points are its own statements and the rest belongs to 13 function literals inside it that branch (lines 9107, 9140, 9175, \u2026). 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/webapp/js/diagramly/App.js"},"region":{"startLine":9088}}}],"partialFingerprints":{"codehealthFindingId/v1":"d76fee73f2e276c1981e95628facdb1c4b42f3e3a9f4e218315265750e02213f"}},{"ruleId":"D2","level":"warning","message":{"text":"addUnsavedStatus (cognitive 44): addUnsavedStatus has cognitive complexity 44 (threshold 15). Drivers by points: if/else 9 (26 pts), boolean chains 12, ternaries 2 (6 pts) (nesting depth added 21). Of this number, 24 points are the body\u0027s own statements and 20 belong to 3 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DrawioFile.js"},"region":{"startLine":3256}}}],"partialFingerprints":{"codehealthFindingId/v1":"24c19ea79f08257c66a69ae4d63fb90416f51c8a725e9738e8a2bed2fb85f77f"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.doImportCsv::updateListItems (cognitive 43): EditorUi.EditorUi.doImportCsv::updateListItems has cognitive complexity 43 (threshold 15). Drivers by points: if/else 8 (23 pts), ternaries 3 (11 pts), loops 3 (5 pts), boolean chains 4 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 2 other methods here (EditorUi.EditorUi.doImportCsv, EditorUi.EditorUi.doImportCsv::moveToInsertPoint) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":40297}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f0049fae6d303027046ffefdccda146ef8d0a83a4631c38f20f1ddf9c1402a4"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.prefixSvgIds (cognitive 43): Graph.Graph.prefixSvgIds has cognitive complexity 43 (threshold 15). Drivers by points: if/else 44 (80 pts), loops 14 (25 pts), boolean chains 18, ternaries 5 (6 pts) (nesting depth added 48). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (Graph.Graph.prefixSvgIds::prefixRule) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":5474}}}],"partialFingerprints":{"codehealthFindingId/v1":"871a60ab38aef7be72ce65934486fbdd04a622b2e6afd5b5a6e51ca44dd3fcff"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.computeShapeInsideSpacer::run (cognitive 43): Graph.Graph.computeShapeInsideSpacer::run has cognitive complexity 43 (threshold 15). Drivers by points: if/else 13 (29 pts), boolean chains 6, loops 3 (6 pts), ternaries 1 (2 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (Graph.Graph.computeShapeInsideSpacer) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":7726}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ac893923effedfc722864ffe53c63d6d295a6c286775d66367ae3a6022e6467"}},{"ruleId":"D2","level":"warning","message":{"text":"AbsAuth.doGetAbst (cognitive 43): AbsAuth.doGetAbst has cognitive complexity 43 (threshold 15). Drivers by points: if/else 21 (31 pts), boolean chains 7, error handling 2, loops 1 (2 pts), ternaries 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/server/java/com/mxgraph/online/AbsAuth.java"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f49dcf0f35681f065479c0dca4a6465976fd80c20c75c7ef1f964ec48e732a7"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::initPages (cognitive 43): (anonymous)::initPages has cognitive complexity 43 (threshold 15). Drivers by points: if/else 6 (26 pts), loops 3 (15 pts), boolean chains 2 (nesting depth added 32). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":4805}}}],"partialFingerprints":{"codehealthFindingId/v1":"20a583abc6ae23d24ddf2d5c7b6a3b3330051027738d51475cd52939b6929615"}},{"ruleId":"D2","level":"warning","message":{"text":"replaceLightDarkFunctions (cognitive 43): replaceLightDarkFunctions has cognitive complexity 43 (threshold 15). Drivers by points: if/else 14 (25 pts), boolean chains 10, loops 3 (6 pts), ternaries 1 (2 pts) (nesting depth added 15). Of this number, 30 points are the body\u0027s own statements and 13 belong to one function item inside it that branches. 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/webapp/js/diagramly/Editor.js"},"region":{"startLine":1742}}}],"partialFingerprints":{"codehealthFindingId/v1":"f19514e87e84cf98cea64bd45616340720bbfd4670c764edd189cb014e64e693"}},{"ruleId":"D2","level":"warning","message":{"text":"addFont (cognitive 43): addFont has cognitive complexity 43 (threshold 15). Drivers by points: if/else 13 (34 pts), ternaries 2 (6 pts), boolean chains 3 (nesting depth added 25). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":10723}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e635c5e72632a4d9b42833b1710ccd89cbf89c04ac3e53a74b23a7db730f623"}},{"ruleId":"D2","level":"warning","message":{"text":"addResizePreviewRoutes (cognitive 43): addResizePreviewRoutes has cognitive complexity 43 (threshold 15). Drivers by points: loops 6 (14 pts), if/else 5 (13 pts), ternaries 5 (13 pts), boolean chains 3 (nesting depth added 24). 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/webapp/js/diagramly/LibavoidRouting.js"},"region":{"startLine":4191}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6be675b1d2b2bee51d090e9db11b7bbebce62ca0b1e42f6fe569f136acff110"}},{"ruleId":"D2","level":"warning","message":{"text":"redrawHandles (cognitive 43): redrawHandles has cognitive complexity 43 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 12, ternaries 4 (11 pts), loops 2 (4 pts) (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/webapp/mxgraph/src/handler/mxEdgeHandler.js"},"region":{"startLine":2654}}}],"partialFingerprints":{"codehealthFindingId/v1":"250521053422f38e647ec2a3ec9c2bac8a310d1ffe6a2db5b12037e5e4d0e63c"}},{"ruleId":"D2","level":"warning","message":{"text":"shapePin (cognitive 43): shapePin has cognitive complexity 43 (threshold 15). Drivers by points: ternaries 15 (25 pts), if/else 4 (9 pts), boolean chains 8, loops 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/libavoid-js/libavoid-routing.js"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"18264a5717ec57c6ea362cdc69ecbba02cda2c7886861b8d8cfd25168e759e17"}},{"ruleId":"D2","level":"warning","message":{"text":"updateValue (cognitive 43): updateValue has cognitive complexity 43 (threshold 15). Drivers by points: if/else 13 (28 pts), ternaries 4 (9 pts), boolean chains 6 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/shape/mxText.js"},"region":{"startLine":1033}}}],"partialFingerprints":{"codehealthFindingId/v1":"651836a1f3eb718ac7c38f8bf9d7c37d5bb160253d321c0a99ac38176dfd63c5"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 43): (anonymous) has cognitive complexity 43 (threshold 15). Drivers by points: if/else 14 (33 pts), boolean chains 5, error handling 1 (3 pts), ternaries 1 (2 pts) (nesting depth added 22). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Init.js"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cb864dd01b4ef36533c5b8e930d075cb4f2a1de86b8de96ccd9e7c968cf60ba"}},{"ruleId":"D2","level":"warning","message":{"text":"saveFile (cognitive 43): saveFile has cognitive complexity 43 (threshold 15). Drivers by points: if/else 13 (29 pts), ternaries 3 (9 pts), boolean chains 5 (nesting depth added 22). Most of this is not in the body itself: 10 of the 43 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 344, 331, 335, \u2026). 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/webapp/js/diagramly/StorageFile.js"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"0df8f36dc895050d18befb88b2abf1a19c8e9206729b847ddc6385abfa3474fb"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::beforeDecode (cognitive 43): (anonymous)::beforeDecode has cognitive complexity 43 (threshold 15). Drivers by points: if/else 12 (34 pts), boolean chains 5, loops 1 (2 pts), ternaries 1 (2 pts) (nesting depth added 24). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/io/mxCellCodec.js"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1c974982b6d02abf6087da74704a9f012b9ad35fda0c945ee41bf966854ca0a"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.downloadFile (cognitive 42): EditorUi.EditorUi.downloadFile has cognitive complexity 42 (threshold 15). Drivers by points: if/else 17 (30 pts), boolean chains 8, error handling 2 (4 pts) (nesting depth added 15). Of this number, 30 points are the body\u0027s own statements and 12 belong to 3 function literals inside it that branch. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":4244}}}],"partialFingerprints":{"codehealthFindingId/v1":"afaa314271ad28651c8cfc81a98d482f7dc7dbce971413832cfa15ad035a4211"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.addChromelessToolbarItems (cognitive 42): EditorUi.EditorUi.addChromelessToolbarItems has cognitive complexity 42 (threshold 15). Drivers by points: if/else 20 (34 pts), boolean chains 4, error handling 2 (4 pts) (nesting depth added 16). Most of this is not in the body itself: 10 of the 42 points are its own statements and the rest belongs to 13 function literals inside it that branch (lines 9035, 9123, 9138, \u2026). 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":8992}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0dbee4b3754699e8aec11952d50fee0a5a6d6b8d41aa54e30fe81d30f8ce26a"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.resetScrollbars (cognitive 42): EditorUi.EditorUi.resetScrollbars has cognitive complexity 42 (threshold 15). Drivers by points: if/else 14 (34 pts), ternaries 2 (6 pts), boolean chains 2 (nesting depth added 24). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":8448}}}],"partialFingerprints":{"codehealthFindingId/v1":"780871ea1f1128986adb824afec8227fbe95ad5b817327e658514c05685567b0"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.isLabelBoxFree (cognitive 42): Graph.Graph.isLabelBoxFree has cognitive complexity 42 (threshold 15). Drivers by points: if/else 16 (21 pts), boolean chains 18, loops 1 (2 pts), ternaries 1 (nesting depth added 6). Most of this is not in the body itself: 3 of the 42 points are its own statements and the rest belongs to 7 function items inside it that branch (a function literal at line 29414, hitsOutline, a function literal at line 29387, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":29346}}}],"partialFingerprints":{"codehealthFindingId/v1":"87e227a7a586dc87c1b41451f4bc7ae821ec9325b27eb98dea740bb87e38cf88"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.mxGraphView.updateFixedPointSpacing (cognitive 42): Graph.mxGraphView.updateFixedPointSpacing has cognitive complexity 42 (threshold 15). Drivers by points: ternaries 10 (19 pts), if/else 7 (12 pts), boolean chains 9, loops 1 (2 pts) (nesting depth added 15). Of this number, 30 points are the body\u0027s own statements and 12 belong to 2 function items inside it that branch. 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":32573}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf17ef9569179a4d6dc80f1d7c8d583fdec3a84173269432dc2a06d01d4144e7"}},{"ruleId":"D2","level":"warning","message":{"text":"InlineToolbar.InlineToolbar.showTableMenu (cognitive 42): InlineToolbar.InlineToolbar.showTableMenu has cognitive complexity 42 (threshold 15). Drivers by points: if/else 14 (22 pts), ternaries 5 (8 pts), boolean chains 6, loops 3 (6 pts) (nesting depth added 14). Of this number, 20 points are the body\u0027s own statements and 22 belong to 7 function literals inside it that branch. 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/webapp/js/grapheditor/InlineToolbar.js"},"region":{"startLine":4103}}}],"partialFingerprints":{"codehealthFindingId/v1":"c98aaed0b69a3a6a9667064355a8b58788be21d49a81ce3425c8207500a778c9"}},{"ruleId":"D2","level":"warning","message":{"text":"Shapes.mxSwimlane.paintVertexShape (cognitive 42): Shapes.mxSwimlane.paintVertexShape has cognitive complexity 42 (threshold 15). Drivers by points: ternaries 4 (20 pts), if/else 8 (14 pts), boolean chains 8 (nesting depth added 22). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":1018}}}],"partialFingerprints":{"codehealthFindingId/v1":"323d7bb24d81d144b3913ef00ee8131ef483af6bf1374bbea49ee6d563325329"}},{"ruleId":"D2","level":"warning","message":{"text":"mxGraph.mxGraph.isPointNearPolyline (cognitive 42): mxGraph.mxGraph.isPointNearPolyline has cognitive complexity 42 (threshold 15). Drivers by points: ternaries 4 (19 pts), if/else 6 (17 pts), boolean chains 4, loops 2 (nesting depth added 26). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":12328}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ed994a5e9be2cb0fbdca6e74696d0e15a79e163df030e39be5de1b4e41a7bcd"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatWindow::renderResponseData (cognitive 42): ChatWindow::renderResponseData has cognitive complexity 42 (threshold 15). Drivers by points: if/else 14 (25 pts), boolean chains 8, ternaries 3 (7 pts), error handling 1 (2 pts) (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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":12744}}}],"partialFingerprints":{"codehealthFindingId/v1":"5162879b2c4a78101ae8f80834cfed4455854ee0dbe5fe2ae0b7768e1b78d848"}},{"ruleId":"D2","level":"warning","message":{"text":"cellsOrdered (cognitive 42): cellsOrdered has cognitive complexity 42 (threshold 15). Drivers by points: ternaries 6 (25 pts), if/else 5 (13 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 28). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":4043}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a5d785ab81fc0ae125ecb78b9a0bd1036d6c6c597d1d0cb847a792237ed1dfb"}},{"ruleId":"D2","level":"warning","message":{"text":"getThumbnail (cognitive 42): getThumbnail has cognitive complexity 42 (threshold 15). Drivers by points: if/else 17 (26 pts), boolean chains 10, error handling 3 (5 pts), ternaries 1 (nesting depth added 11). Of this number, 25 points are the body\u0027s own statements and 17 belong to 8 function items inside it that branch. 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/webapp/js/diagramly/App.js"},"region":{"startLine":3638}}}],"partialFingerprints":{"codehealthFindingId/v1":"4405556f9594fcf655f3788f6c81063e5382e635a34672e383fadb31e358aaf4"}},{"ruleId":"D2","level":"warning","message":{"text":"previewEndpointDrag (cognitive 42): previewEndpointDrag has cognitive complexity 42 (threshold 15). Drivers by points: if/else 15 (17 pts), boolean chains 12, ternaries 8 (12 pts), loops 1 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/LibavoidRouting.js"},"region":{"startLine":2970}}}],"partialFingerprints":{"codehealthFindingId/v1":"f01dea28234fdc327e1b25d6b415b4467c7f658b03ae78a6b55b487053f21e3a"}},{"ruleId":"D2","level":"warning","message":{"text":"resolveColor (cognitive 42): resolveColor has cognitive complexity 42 (threshold 15). Drivers by points: if/else 13 (22 pts), ternaries 5 (14 pts), boolean chains 6 (nesting depth added 18). 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/webapp/mxgraph/src/view/mxCellRenderer.js"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"055c5a98d9383010fbf701ffac75d3a2738fcc42e4fc00b1384da1d049c6a1cc"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::onKeyDown (cognitive 42): (anonymous)::onKeyDown has cognitive complexity 42 (threshold 15). Drivers by points: if/else 17 (33 pts), boolean chains 4, ternaries 1 (4 pts), error handling 1 (nesting depth added 19). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/plugins/trees/trees.js"},"region":{"startLine":852}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca62801bee888938aea060bea5985a8dbf070ce7db40528ff50889c27c327580"}},{"ruleId":"D2","level":"warning","message":{"text":"DrawioFile.DrawioFile.updateFile (cognitive 41): DrawioFile.DrawioFile.updateFile has cognitive complexity 41 (threshold 15). Drivers by points: if/else 13 (34 pts), boolean chains 4, error handling 1 (3 pts) (nesting depth added 23). Most of this is not in the body itself: 13 of the 41 points are its own statements and the rest belongs to one function literal inside it that branches (line 588). The decisions are inside the literal, 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 literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DrawioFile.js"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b1cf068553a7a95ead3a24c50f6abbf3476dcd2e8b3df2a9e4a11ab1168be88"}},{"ruleId":"D2","level":"warning","message":{"text":"ViewerModern.GraphViewer.getDiagramLanguages (cognitive 41): ViewerModern.GraphViewer.getDiagramLanguages has cognitive complexity 41 (threshold 15). Drivers by points: if/else 10 (26 pts), loops 3 (7 pts), boolean chains 5, ternaries 2 (3 pts) (nesting depth added 21). Of this number, 38 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ViewerModern.js"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dd36236a6c4b3745e725b69c8f34083a58cc947755f8ed238adb2000c4e4087"}},{"ruleId":"D2","level":"warning","message":{"text":"Sidebar.Sidebar.isEntryVisible (cognitive 41): Sidebar.Sidebar.isEntryVisible has cognitive complexity 41 (threshold 15). Drivers by points: if/else 8 (27 pts), loops 2 (7 pts), boolean chains 4, ternaries 1 (3 pts) (nesting depth added 26). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar.js"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3acd1c9f5592c88b97571e897da9278e4bfcc584353be0b1e70267ac8202ecb"}},{"ruleId":"D2","level":"warning","message":{"text":"export.render::collectAnnotRects (cognitive 41): export.render::collectAnnotRects has cognitive complexity 41 (threshold 15). Drivers by points: if/else 5 (22 pts), loops 3 (14 pts), boolean chains 5 (nesting depth added 28). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This shape REPEATS in the file: one other method here (export.render) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/export.js"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae21ba841e8c2344a74b7e77f895a7e12bcf942555b01965177eb245efa62e37"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.HoverIcons.update (cognitive 41): Graph.HoverIcons.update has cognitive complexity 41 (threshold 15). Drivers by points: if/else 13 (29 pts), boolean chains 12 (nesting depth added 16). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":24907}}}],"partialFingerprints":{"codehealthFindingId/v1":"3188ee146ce9fbbc2b246cd1d3bac83f70f75d2f07fb580b6f1700e2af8fec11"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::getRoutingPoints (cognitive 41): (anonymous)::getRoutingPoints has cognitive complexity 41 (threshold 15). Drivers by points: ternaries 5 (21 pts), if/else 5 (13 pts), loops 2 (4 pts), boolean chains 3 (nesting depth added 26). 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":4117}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d17e7b7a6522f9d9f16d0e910cf637adc4952367714f71d32183ee5c821c11e"}},{"ruleId":"D2","level":"warning","message":{"text":"addProperties::applyStyleVal (cognitive 41): addProperties::applyStyleVal has cognitive complexity 41 (threshold 15). Drivers by points: if/else 13 (28 pts), loops 3 (11 pts), boolean chains 2 (nesting depth added 23). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":9276}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5ee0a0df5e4c31060ef72f6e1f1dc0fafd3a4af3809e94ab8514932026188bc"}},{"ruleId":"D2","level":"warning","message":{"text":"findTreeRoots (cognitive 41): findTreeRoots has cognitive complexity 41 (threshold 15). Drivers by points: if/else 7 (20 pts), ternaries 4 (10 pts), loops 2 (6 pts), boolean chains 5 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":13259}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeee4b1c1a21688e46bb0d2b607600400316f512b136fa6a86ce557c00c7d4d9"}},{"ruleId":"D2","level":"warning","message":{"text":"hideDialog (cognitive 41): hideDialog has cognitive complexity 41 (threshold 15). Drivers by points: if/else 12 (27 pts), boolean chains 10, loops 1 (2 pts), ternaries 1 (2 pts) (nesting depth added 17). Of this number, 22 points are the body\u0027s own statements and 19 belong to one function literal inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":9873}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea6dd59abccc9996abb94ae7aef64ed7d933d5f4301300cb62575f0791fefd79"}},{"ruleId":"D2","level":"warning","message":{"text":"createFile (cognitive 41): createFile has cognitive complexity 41 (threshold 15). Drivers by points: if/else 15 (22 pts), boolean chains 13, ternaries 3 (4 pts), error handling 1 (2 pts) (nesting depth added 9). Of this number, 33 points are the body\u0027s own statements and 8 belong to 5 function literals inside it that branch. 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/webapp/js/diagramly/App.js"},"region":{"startLine":6718}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcf4ddc7327434cc403eb9d53b8b9ae0559b507ee38f0c294fc3c1418d92b0a3"}},{"ruleId":"D2","level":"warning","message":{"text":"createKeyboardGrid (cognitive 41): createKeyboardGrid has cognitive complexity 41 (threshold 15). Drivers by points: ternaries 6 (18 pts), if/else 9 (15 pts), boolean chains 8 (nesting depth added 18). Most of this is not in the body itself: 1 of the 41 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 1340, 1329). 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/webapp/js/grapheditor/Editor.js"},"region":{"startLine":1260}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc3c69716f9a787741ea95296494834205157b20a091bdd7144f2755ca2a6762"}},{"ruleId":"D2","level":"warning","message":{"text":"updateFixedPointSpacing (cognitive 41): updateFixedPointSpacing has cognitive complexity 41 (threshold 15). Drivers by points: ternaries 10 (19 pts), boolean chains 10, if/else 5 (10 pts), loops 1 (2 pts) (nesting depth added 15). Of this number, 29 points are the body\u0027s own statements and 12 belong to 2 function items inside it that branch. 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/webapp/mxgraph/src/view/mxGraphView.js"},"region":{"startLine":3353}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d2984e172cd2135f5e788e7046ea149d20ed95dab6061e3395181c0b842c402"}},{"ruleId":"D2","level":"warning","message":{"text":"installListeners (cognitive 41): installListeners has cognitive complexity 41 (threshold 15). Drivers by points: if/else 13 (25 pts), boolean chains 16 (nesting depth added 12). Most of this is not in the body itself: 6 of the 41 points are its own statements and the rest belongs to 15 function items inside it that branch (a function literal at line 4796, a function literal at line 4824, a function literal at line 4812, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxGraphView.js"},"region":{"startLine":4691}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bab54694cf6adc95d8c9019d2c9e741db163790c95cae0f7c5a1ced38d67ff9"}},{"ruleId":"D2","level":"warning","message":{"text":"addNode (cognitive 41): addNode has cognitive complexity 41 (threshold 15). Drivers by points: if/else 15 (26 pts), boolean chains 15 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxSvgCanvas2D.js"},"region":{"startLine":1172}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0410afe5991c85b191bf9061da26824a6ca1990bc7fe61336ce7d223fbd29e5"}},{"ruleId":"D2","level":"warning","message":{"text":"loadScripts (cognitive 41): loadScripts has cognitive complexity 41 (threshold 15). Drivers by points: if/else 9 (18 pts), loops 3 (11 pts), ternaries 2 (6 pts), boolean chains 3, error handling 1 (3 pts) (nesting depth added 23). Of this number, 25 points are the body\u0027s own statements and 16 belong to 4 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/FusionTheme.js"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"d86eb264f8b18efb3511937490a24b1ee46e49e6c0fa114edebc66abab1f2cb6"}},{"ruleId":"D2","level":"warning","message":{"text":"showTrelloDialog (cognitive 41): showTrelloDialog has cognitive complexity 41 (threshold 15). Drivers by points: if/else 17 (25 pts), ternaries 7 (9 pts), loops 2 (4 pts), boolean chains 3 (nesting depth added 12). Most of this is not in the body itself: 1 of the 41 points is its own statement and the rest belongs to 21 function items inside it that branch (a function literal at line 616, a function literal at line 475, a function literal at line 524, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/TrelloClient.js"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1239b169ecad252d381e316d0bcb595f8b167c4df28ec25a99c0e0760d6106d"}},{"ruleId":"D2","level":"warning","message":{"text":"App.App.loadPlugins (cognitive 40): App.App.loadPlugins has cognitive complexity 40 (threshold 15). Drivers by points: if/else 12 (35 pts), error handling 1 (3 pts), boolean chains 1, loops 1 (nesting depth added 25). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":1924}}}],"partialFingerprints":{"codehealthFindingId/v1":"d90d02b6e7da9345c8e099252a82367d651ae2e060ed8330ba766913a98fed1b"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.setOutlineOrder (cognitive 40): EditorUi.EditorUi.setOutlineOrder has cognitive complexity 40 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 8 (12 pts), boolean chains 9, ternaries 3 (5 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":35653}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0d0d2d372488822661b08579939232669cf23c6acf99787aa28702d49fcacca"}},{"ruleId":"D2","level":"warning","message":{"text":"GraphViewer.GraphViewer.showLayers (cognitive 40): GraphViewer.GraphViewer.showLayers has cognitive complexity 40 (threshold 15). Drivers by points: if/else 7 (18 pts), loops 4 (14 pts), boolean chains 5, ternaries 2 (3 pts) (nesting depth added 22). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/GraphViewer.js"},"region":{"startLine":1761}}}],"partialFingerprints":{"codehealthFindingId/v1":"f40e86bb899fe2f9f79cfba6fe5c96500b978455af3ad25196f1fc5973f43316"}},{"ruleId":"D2","level":"warning","message":{"text":"Trees.EditorUi.addTrees (cognitive 40): Trees.EditorUi.addTrees has cognitive complexity 40 (threshold 15). Drivers by points: if/else 103 (224 pts), boolean chains 113, ternaries 12 (40 pts), loops 18 (38 pts), error handling 1 (2 pts) (nesting depth added 170). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This shape REPEATS in the file: 3 other methods here (Trees.EditorUi.addTrees::collectTreeRemoval, Trees.EditorUi.addTrees::hasConnectedSurvivor, Trees.EditorUi.addTrees::getTreeDirection) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Trees.js"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac440e04eda5c032fdb779796097c6629ee4cf74f3f618784224a8cda60f097b"}},{"ruleId":"D2","level":"warning","message":{"text":"Sidebar.Sidebar.showEntries (cognitive 40): Sidebar.Sidebar.showEntries has cognitive complexity 40 (threshold 15). Drivers by points: if/else 10 (18 pts), loops 5 (12 pts), boolean chains 10 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar.js"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd0efb7f93bddc2d32fc932c08a16fd97847d2e9359871d209ae9c455d73447c"}},{"ruleId":"D2","level":"warning","message":{"text":"TidyStyle.Tidy.styleTheme (cognitive 40): TidyStyle.Tidy.styleTheme has cognitive complexity 40 (threshold 15). Drivers by points: if/else 9 (22 pts), loops 5 (9 pts), boolean chains 5, ternaries 2 (4 pts) (nesting depth added 19). 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/webapp/js/diagramly/tidy/TidyStyle.js"},"region":{"startLine":1599}}}],"partialFingerprints":{"codehealthFindingId/v1":"725c4d6d86730ea227ad027cf53124004beb969cb3064cda42829fb63124d198"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.exploreFromCell::exploreFromHere::rootChanged (cognitive 40): Graph.Graph.exploreFromCell::exploreFromHere::rootChanged has cognitive complexity 40 (threshold 15). Drivers by points: if/else 10 (24 pts), boolean chains 11, loops 3 (5 pts) (nesting depth added 16). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This shape REPEATS in the file: one other method here (Graph.Graph.exploreFromCell::exploreFromHere::load) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":4204}}}],"partialFingerprints":{"codehealthFindingId/v1":"e41f9adac6659483778877d68d8f963e8afe7a6bec07f228918089744bda1d85"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.updateInheritedLabelValues (cognitive 40): Graph.Graph.updateInheritedLabelValues has cognitive complexity 40 (threshold 15). Drivers by points: ternaries 5 (19 pts), loops 3 (10 pts), if/else 3 (8 pts), boolean chains 3 (nesting depth added 26). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":19094}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b4e609f3a4fd4424de221b4f171215501afc291f7ce9d29fa70785cfb519041"}},{"ruleId":"D2","level":"warning","message":{"text":"Sidebar.Sidebar.matchTermEntries (cognitive 40): Sidebar.Sidebar.matchTermEntries has cognitive complexity 40 (threshold 15). Drivers by points: if/else 13 (28 pts), loops 3 (9 pts), boolean chains 3 (nesting depth added 21). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":2440}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dc24cd5b660df03775a04661fe5726a86fd3fc75f94ea772fbb574744a16186"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::processTheme (cognitive 40): (anonymous)::processTheme has cognitive complexity 40 (threshold 15). Drivers by points: if/else 10 (33 pts), loops 2 (4 pts), boolean chains 2, error handling 1 (nesting depth added 25). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":5551}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4399e22a55d643d502a93e274f99ffa54eb66d8ffb251a9029393f6277a2e1f"}},{"ruleId":"D2","level":"warning","message":{"text":"getClassicStyleEntries (cognitive 40): getClassicStyleEntries has cognitive complexity 40 (threshold 15). Drivers by points: if/else 6 (18 pts), boolean chains 11, loops 4 (7 pts), ternaries 2 (4 pts) (nesting depth added 17). Of this number, 26 points are the body\u0027s own statements and 14 belong to 2 function items inside it that branch. 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/webapp/js/diagramly/Editor.js"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"e41a14402508ba3107a450df9a6eb812f24deab7a648925bf22872629d5f5af1"}},{"ruleId":"D2","level":"warning","message":{"text":"absoluteCssFonts (cognitive 40): absoluteCssFonts has cognitive complexity 40 (threshold 15). Drivers by points: if/else 8 (20 pts), ternaries 4 (16 pts), loops 1 (3 pts), boolean chains 1 (nesting depth added 26). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":7030}}}],"partialFingerprints":{"codehealthFindingId/v1":"c45c466de30a098d897ddbcc1dbebeccccf16a5635e55644301b813e0a0f7cec"}},{"ruleId":"D2","level":"warning","message":{"text":"flexArrow (cognitive 40): flexArrow has cognitive complexity 40 (threshold 15). Drivers by points: if/else 16 (36 pts), boolean chains 4 (nesting depth added 20). Most of this is not in the body itself: 2 of the 40 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 10180, 10251, 10149, \u2026). 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/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":10134}}}],"partialFingerprints":{"codehealthFindingId/v1":"1530bee6f1be9f090ab92560c84cc6ca15318c8dc923d2a4be670bc73f51c03a"}},{"ruleId":"D2","level":"warning","message":{"text":"removeUserDefinedDarkColors (cognitive 40): removeUserDefinedDarkColors has cognitive complexity 40 (threshold 15). Drivers by points: if/else 9 (25 pts), error handling 1 (5 pts), loops 2 (5 pts), boolean chains 4, ternaries 1 (nesting depth added 23). Of this number, 33 points are the body\u0027s own statements and 7 belong to 2 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":1947}}}],"partialFingerprints":{"codehealthFindingId/v1":"bba3fad3fe6d2d9d665a4d030ec61a91f1449902a711f0bbdc343143644a040e"}},{"ruleId":"D2","level":"warning","message":{"text":"initCanvas::lazyZoom (cognitive 40): initCanvas::lazyZoom has cognitive complexity 40 (threshold 15). Drivers by points: ternaries 7 (15 pts), if/else 9 (14 pts), boolean chains 9, loops 1 (2 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":6945}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee032c01afaf08bb3b2de42baa5e9ccfd311ed44c817c293eef83dce91f549fa"}},{"ruleId":"D2","level":"warning","message":{"text":"load (cognitive 40): load has cognitive complexity 40 (threshold 15). Drivers by points: if/else 12 (26 pts), error handling 3 (6 pts), boolean chains 5, ternaries 1 (3 pts) (nesting depth added 19). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":4079}}}],"partialFingerprints":{"codehealthFindingId/v1":"32d8102a45a539dda3d2235693c4823e04c1439b822c1e6b620879574c234bb2"}},{"ruleId":"D2","level":"warning","message":{"text":"saveLibrary (cognitive 40): saveLibrary has cognitive complexity 40 (threshold 15). Drivers by points: if/else 16 (22 pts), boolean chains 13, ternaries 4, error handling 1 (nesting depth added 6). Most of this is not in the body itself: 12 of the 40 points are its own statements and the rest belongs to 11 function literals inside it that branch (lines 6179, 6159, 6247, \u2026). 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/webapp/js/diagramly/App.js"},"region":{"startLine":6150}}}],"partialFingerprints":{"codehealthFindingId/v1":"85fab551e48c6e129c563626e54d0d33cac8a418c3a80d3ccc04fbe7316dadc6"}},{"ruleId":"D2","level":"warning","message":{"text":"ColorDialog::buildFinalColor (cognitive 40): ColorDialog::buildFinalColor has cognitive complexity 40 (threshold 15). Drivers by points: if/else 10 (24 pts), boolean chains 8, ternaries 2 (8 pts) (nesting depth added 20). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Dialogs.js"},"region":{"startLine":798}}}],"partialFingerprints":{"codehealthFindingId/v1":"aef50a8e9e8df1ceb05727e36e3bc81fe281c77af616309ff0d144d63a52408b"}},{"ruleId":"D2","level":"warning","message":{"text":"createAlternateContent (cognitive 40): createAlternateContent has cognitive complexity 40 (threshold 15). Drivers by points: if/else 13 (23 pts), ternaries 6 (12 pts), loops 1 (3 pts), boolean chains 2 (nesting depth added 18). 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/webapp/mxgraph/src/util/mxSvgCanvas2D.js"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"208236c17f715087738bc6595587dd682e04888e65cba17eb4356bb8a9d29e81"}},{"ruleId":"D2","level":"warning","message":{"text":"handleFileError (cognitive 40): handleFileError has cognitive complexity 40 (threshold 15). Drivers by points: if/else 13 (25 pts), ternaries 2 (8 pts), boolean chains 7 (nesting depth added 18). Of this number, 23 points are the body\u0027s own statements and 17 belong to 2 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DrawioFile.js"},"region":{"startLine":3680}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1fc8f4c5fa39c44e2d75a5e4cdda6affbee1c513e951d5cc97853226d22e38d"}},{"ruleId":"D2","level":"warning","message":{"text":"init (cognitive 40): init has cognitive complexity 40 (threshold 15). Drivers by points: if/else 18 (26 pts), loops 6 (9 pts), boolean chains 3, ternaries 2 (nesting depth added 11). None of this is in the body itself: all 40 points belong to 52 function items inside it that branch (a function literal at line 227, a function literal at line 59, a function literal at line 240, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Menus.js"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aec1be4667aebe9e2681c8ce108c4756a0dcd6b722ec82f59648441d2944f3f"}},{"ruleId":"D2","level":"warning","message":{"text":"styleMindmap (cognitive 40): styleMindmap has cognitive complexity 40 (threshold 15). Drivers by points: if/else 10 (24 pts), loops 6 (9 pts), boolean chains 6, ternaries 1 (nesting depth added 17). Of this number, 36 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. 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/webapp/js/diagramly/tidy/TidyStyle.js"},"region":{"startLine":1145}}}],"partialFingerprints":{"codehealthFindingId/v1":"a25ee313c05806fecb367a1428ae66da7078ca84ac2714365a7933748e2f639b"}},{"ruleId":"D2","level":"warning","message":{"text":"getRoutePoints (cognitive 40): getRoutePoints has cognitive complexity 40 (threshold 15). Drivers by points: boolean chains 16, if/else 6 (12 pts), loops 7 (9 pts), ternaries 1 (3 pts) (nesting depth added 10). Of this number, 35 points are the body\u0027s own statements and 5 belong to 4 function items inside it that branch. 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/webapp/js/orgchart/mxOrgChartLayout.js"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9d85d8f522cc9853804073cb3b1da163ee9228614047e6790378ee0a0fc67a3"}},{"ruleId":"D2","level":"warning","message":{"text":"initStates (cognitive 40): initStates has cognitive complexity 40 (threshold 15). Drivers by points: if/else 7 (23 pts), loops 6 (13 pts), boolean chains 4 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/SpringMove.js"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"f48a02298e67c450b600a4139a23bb7bb1a1720e85d398fe8ce58da6288cdec8"}},{"ruleId":"D2","level":"warning","message":{"text":"addGraphFragment (cognitive 40): addGraphFragment has cognitive complexity 40 (threshold 15). Drivers by points: if/else 17 (35 pts), ternaries 1 (3 pts), boolean chains 1, loops 1 (nesting depth added 20). Of this number, 27 points are the body\u0027s own statements and 13 belong to 3 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxPrintPreview.js"},"region":{"startLine":963}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcd2a78ac50033a49f7187c06bd1cdb11a621723f3412fa1f09546c0f30fab7a"}},{"ruleId":"D2","level":"warning","message":{"text":"Dialogs.LinkDialog (cognitive 39): Dialogs.LinkDialog has cognitive complexity 39 (threshold 15). Drivers by points: if/else 34 (52 pts), ternaries 9 (23 pts), boolean chains 20, error handling 1 (2 pts), loops 1 (2 pts) (nesting depth added 34). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (Dialogs.LinkDialog::updateActionSummary) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":6051}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce6ec491858bf61702f78636715d6d00d23c35e7c3f7e12a07bcc8cabfb6cb0d"}},{"ruleId":"D2","level":"warning","message":{"text":"LibavoidRouting.LibavoidRouting.livePreviewMove (cognitive 39): LibavoidRouting.LibavoidRouting.livePreviewMove has cognitive complexity 39 (threshold 15). Drivers by points: if/else 12 (23 pts), loops 6 (8 pts), boolean chains 5, ternaries 3 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/LibavoidRouting.js"},"region":{"startLine":3842}}}],"partialFingerprints":{"codehealthFindingId/v1":"93e61c8223f4f6b8fe2a1353310d0c9eb47f4736e4bb4896239238967e253b8e"}},{"ruleId":"D2","level":"warning","message":{"text":"Editor.mxGraph.updatePageBreaks (cognitive 39): Editor.mxGraph.updatePageBreaks has cognitive complexity 39 (threshold 15). Drivers by points: if/else 9 (17 pts), ternaries 6 (11 pts), boolean chains 7, loops 2 (4 pts) (nesting depth added 15). Most of this is not in the body itself: 12 of the 39 points are its own statements and the rest belongs to one function literal inside it that branches (line 5169). The decisions are inside the literal, 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 literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Editor.js"},"region":{"startLine":5108}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a94bba03e935fac06b0a193248fb6ff5629706a42f040c1889cb3ea7ffe59cc"}},{"ruleId":"D2","level":"warning","message":{"text":"mxVertexHandler.mxVertexHandler.mouseMove (cognitive 39): mxVertexHandler.mxVertexHandler.mouseMove has cognitive complexity 39 (threshold 15). Drivers by points: if/else 13 (36 pts), boolean chains 3 (nesting depth added 23). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/handler/mxVertexHandler.js"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e8e82faeae7f00e21289085b246e0bfae57e1219ae377b17b75b72a25464c33"}},{"ruleId":"D2","level":"warning","message":{"text":"mxAtlassian.mxAtlassianJiraIssue.paintForeground (cognitive 39): mxAtlassian.mxAtlassianJiraIssue.paintForeground has cognitive complexity 39 (threshold 15). Drivers by points: if/else 18 (36 pts), match/switch 3 (nesting depth added 18). 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/webapp/shapes/mxAtlassian.js"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"c63df1a13a79b5066a2a1370c228b199e4f00c9064b8d5440de743a82d29ea73"}},{"ruleId":"D2","level":"warning","message":{"text":"SplashDialog (cognitive 39): SplashDialog has cognitive complexity 39 (threshold 15). Drivers by points: if/else 15 (24 pts), boolean chains 10, loops 1 (4 pts), ternaries 1 (nesting depth added 12). Of this number, 35 points are the body\u0027s own statements and 4 belong to 15 function items inside it that branch. 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa67fb21ddc5ebe5b15bad3dbaf9855450b99e402000dfec24752936db1c9e2a"}},{"ruleId":"D2","level":"warning","message":{"text":"SaveDialog (cognitive 39): SaveDialog has cognitive complexity 39 (threshold 15). Drivers by points: if/else 64 (120 pts), boolean chains 57, ternaries 10 (27 pts), loops 1 (2 pts) (nesting depth added 74). 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":4424}}}],"partialFingerprints":{"codehealthFindingId/v1":"499e6532fa25e65ea5f5f6f23f5100b797ed4e1d528c73f615b28c742ae99c68"}},{"ruleId":"D2","level":"warning","message":{"text":"addGroupPadding (cognitive 39): addGroupPadding has cognitive complexity 39 (threshold 15). Drivers by points: if/else 10 (20 pts), loops 4 (7 pts), boolean chains 6, ternaries 2 (6 pts) (nesting depth added 17). Most of this is not in the body itself: 11 of the 39 points are its own statements and the rest belongs to 6 function items inside it that branch (a function literal at line 4020, a function literal at line 3997, isUniform, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Format.js"},"region":{"startLine":3969}}}],"partialFingerprints":{"codehealthFindingId/v1":"74e44670af4b7d8f9116701e71fd44d7e6a1d9eff754b643d6473a5c910e3665"}},{"ruleId":"D2","level":"warning","message":{"text":"addFoldingHandler (cognitive 39): addFoldingHandler has cognitive complexity 39 (threshold 15). Drivers by points: if/else 11 (17 pts), loops 2 (10 pts), ternaries 3 (7 pts), boolean chains 5 (nesting depth added 18). Most of this is not in the body itself: 4 of the 39 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 7735, 7830, 7775). 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/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":7723}}}],"partialFingerprints":{"codehealthFindingId/v1":"045a09e15638a3118bf677e9dc5da514436cd8cd3ae8a5bd8bba97886ffe2f9d"}},{"ruleId":"D2","level":"warning","message":{"text":"pingVersion (cognitive 39): pingVersion has cognitive complexity 39 (threshold 15). Drivers by points: ternaries 8 (21 pts), error handling 3 (8 pts), if/else 3 (6 pts), boolean chains 4 (nesting depth added 21). 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/webapp/js/diagramly/App.js"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5757ea284ee631c778d23705d2a1aa6ec989cf9d45406bda544c6c9ae792cc9"}},{"ruleId":"D2","level":"warning","message":{"text":"showNotification (cognitive 39): showNotification has cognitive complexity 39 (threshold 15). Drivers by points: if/else 15 (25 pts), ternaries 5 (7 pts), loops 3 (5 pts), boolean chains 2 (nesting depth added 14). Of this number, 16 points are the body\u0027s own statements and 23 belong to 5 function items inside it that branch. 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/webapp/js/diagramly/App.js"},"region":{"startLine":8210}}}],"partialFingerprints":{"codehealthFindingId/v1":"7380002e297c14e92f97819a78128f60fe7b0476147093b3fa875f68b13d2536"}},{"ruleId":"D2","level":"warning","message":{"text":"ColorPicker (cognitive 39): ColorPicker has cognitive complexity 39 (threshold 15). Drivers by points: if/else 11 (12 pts), ternaries 10 (12 pts), boolean chains 11, loops 2 (3 pts), match/switch 1 (nesting depth added 4). Most of this is not in the body itself: 1 of the 39 points is its own statement and the rest belongs to 10 function items inside it that branch (fromHSV, a function literal at line 149, fromString, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Dialogs.js"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea50adf32f8e6a7a6e893a40c8f6dd5a594d0c0fbb8ca78d17f5af0c10c97662"}},{"ruleId":"D2","level":"warning","message":{"text":"getResizePreviewCache (cognitive 39): getResizePreviewCache has cognitive complexity 39 (threshold 15). Drivers by points: if/else 6 (19 pts), loops 6 (19 pts), boolean chains 1 (nesting depth added 26). Of this number, 37 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. 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/webapp/js/diagramly/LibavoidRouting.js"},"region":{"startLine":4090}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c6bcfa50a02bc952825b4dea9d17d4c61d6071f226e2cd55e5df34e2a9c6eb4"}},{"ruleId":"D2","level":"warning","message":{"text":"collideLabels (cognitive 39): collideLabels has cognitive complexity 39 (threshold 15). Drivers by points: if/else 8 (22 pts), loops 4 (6 pts), ternaries 2 (6 pts), boolean chains 5 (nesting depth added 20). Of this number, 35 points are the body\u0027s own statements and 4 belong to 2 function items inside it that branch. 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/webapp/js/diagramly/ForceExplorer.js"},"region":{"startLine":3023}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f6c5003eeab1eea85548c5dd347b676f3b61d63cc319d752cee66b2b2f9233c"}},{"ruleId":"D2","level":"warning","message":{"text":"updateCellState (cognitive 39): updateCellState has cognitive complexity 39 (threshold 15). Drivers by points: if/else 12 (33 pts), ternaries 1 (4 pts), boolean chains 2 (nesting depth added 24). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxGraphView.js"},"region":{"startLine":2636}}}],"partialFingerprints":{"codehealthFindingId/v1":"000f2ad2704c9b1d8cf23aa0edf067d2e96fe81fcd1b4154cde1ea0a6c358717"}},{"ruleId":"D2","level":"warning","message":{"text":"getStructure (cognitive 39): getStructure has cognitive complexity 39 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 14, loops 8 (nesting depth added 9). Of this number, 36 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. 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/webapp/js/diagramly/tidy/Tidy.js"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2869542af04520bc132be607922b79c69057d5845d06c0112b5f6c79d35d2b2"}},{"ruleId":"D2","level":"warning","message":{"text":"App.App.exportFile (cognitive 38): App.App.exportFile has cognitive complexity 38 (threshold 15). Drivers by points: if/else 15 (23 pts), ternaries 3 (9 pts), boolean chains 6 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":8664}}}],"partialFingerprints":{"codehealthFindingId/v1":"842c95fe9d4d6c983522d24145232a1cad0dcf1665177e72df5ec8d08d15841b"}},{"ruleId":"D2","level":"warning","message":{"text":"Dialogs.AnimationDialog::formatSelectorText (cognitive 38): Dialogs.AnimationDialog::formatSelectorText has cognitive complexity 38 (threshold 15). Drivers by points: if/else 12 (20 pts), boolean chains 7, loops 3 (7 pts), ternaries 1 (4 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 2 other methods here (Dialogs.AnimationDialog, Dialogs.AnimationDialog::stepLabel) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":14697}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1868ef0a2d14289eeac04b9570046b2e0aa1da9058fc4453fa318eb3c727b90"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.mxChildChange.execute::collect (cognitive 38): EditorUi.mxChildChange.execute::collect has cognitive complexity 38 (threshold 15). Drivers by points: if/else 4 (13 pts), ternaries 4 (13 pts), boolean chains 6, loops 4 (6 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (EditorUi.mxChildChange.execute) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":22347}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fad3fdeac94cb0fad52379a353bab1f17dbf9be4d39d21aff840fe18d4c715a"}},{"ruleId":"D2","level":"warning","message":{"text":"Extensions.createGroup (cognitive 38): Extensions.createGroup has cognitive complexity 38 (threshold 15). Drivers by points: if/else 11 (14 pts), ternaries 5 (12 pts), loops 4 (7 pts), boolean chains 4, error handling 1 (nesting depth added 13). Of this number, 22 points are the body\u0027s own statements and 16 belong to 2 function items inside it that branch. 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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":6507}}}],"partialFingerprints":{"codehealthFindingId/v1":"603ed14d4a3fd7b500f8c6e340b9b750a8acb69fd62ba9a3192636d4dad6eeb7"}},{"ruleId":"D2","level":"warning","message":{"text":"emf-svg.emitTextOut (cognitive 38): emf-svg.emitTextOut has cognitive complexity 38 (threshold 15). Drivers by points: if/else 21 (33 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/emf/emf-svg.js"},"region":{"startLine":2877}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ee97ea2a278809f3af8e2bfe1d57805f9c54961161f9234684006f59bf62687"}},{"ruleId":"D2","level":"warning","message":{"text":"mxGraphMlCodec.mxGraphMlCodec.dataElem2Obj (cognitive 38): mxGraphMlCodec.mxGraphMlCodec.dataElem2Obj has cognitive complexity 38 (threshold 15). Drivers by points: if/else 13 (28 pts), loops 2 (5 pts), boolean chains 3, ternaries 1 (2 pts) (nesting depth added 19). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/graphml/mxGraphMlCodec.js"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"191cbd24a421b385267d11d93a8286b279091b079d4e2d0b7b45071112c11d90"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.optimizeNode (cognitive 38): Graph.Graph.optimizeNode has cognitive complexity 38 (threshold 15). Drivers by points: loops 8 (18 pts), if/else 8 (14 pts), boolean chains 6 (nesting depth added 16). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":4580}}}],"partialFingerprints":{"codehealthFindingId/v1":"be9fdc38f611654afa5efb9340366bd841ba8d3fed4eb003c208c5de2fac37d2"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.isStyleAllowed::isTokenAllowed (cognitive 38): Graph.Graph.isStyleAllowed::isTokenAllowed has cognitive complexity 38 (threshold 15). Drivers by points: if/else 9 (21 pts), boolean chains 6, ternaries 2 (6 pts), loops 2 (5 pts) (nesting depth added 19). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":4954}}}],"partialFingerprints":{"codehealthFindingId/v1":"11d66adb6e2710693daca0ebcbc40a4607187f2eaa0d817a8abf5b6cf64805c8"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.initTransparentBoundsStyleSync (cognitive 38): Graph.Graph.initTransparentBoundsStyleSync has cognitive complexity 38 (threshold 15). Drivers by points: if/else 10 (22 pts), loops 3 (9 pts), boolean chains 7 (nesting depth added 18). None of this is in the body itself: all 38 points belong to one function literal inside it that branches (line 9077). The decisions are inside the literal, 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 literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":9075}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b30b46b206ce2c4555305fc3620f7eb0c94f3baaec4e24bab2449803c35cc5e"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.writeContainerLayoutGeometries (cognitive 38): Graph.Graph.writeContainerLayoutGeometries has cognitive complexity 38 (threshold 15). Drivers by points: if/else 10 (21 pts), boolean chains 9, loops 4 (7 pts), ternaries 1 (nesting depth added 14). Of this number, 37 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":14733}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa684d18899cd5b79eed828d63eb5c4769faa3534f8e44d02e9c1195138816f1"}},{"ruleId":"D2","level":"warning","message":{"text":"scrollPointToVisible (cognitive 38): scrollPointToVisible has cognitive complexity 38 (threshold 15). Drivers by points: if/else 12 (30 pts), boolean chains 6, ternaries 1 (2 pts) (nesting depth added 19). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":2859}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fe2c7bee524bef55e12b2ac59720752a6854b187e2659dd4a3ae727bd86cdf5"}},{"ruleId":"D2","level":"warning","message":{"text":"createMarker (cognitive 38): createMarker has cognitive complexity 38 (threshold 15). Drivers by points: ternaries 10 (28 pts), if/else 4 (7 pts), boolean chains 3 (nesting depth added 21). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":7849}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b7c1e7693614215ae2c4bbc3422b5f35f9b1af8bbc36440516676e5d649c828"}},{"ruleId":"D2","level":"warning","message":{"text":"sanityCheck (cognitive 38): sanityCheck has cognitive complexity 38 (threshold 15). Drivers by points: ternaries 12 (25 pts), if/else 4 (8 pts), boolean chains 5 (nesting depth added 17). Of this number, 35 points are the body\u0027s own statements and 3 belong to 3 function literals inside it that branch. 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/webapp/js/diagramly/App.js"},"region":{"startLine":2519}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4df24aa320bade1a48e870de9aacba8f8f85082f95533e7247879e3473889a6"}},{"ruleId":"D2","level":"warning","message":{"text":"pickFolder (cognitive 38): pickFolder has cognitive complexity 38 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 11, ternaries 5 (11 pts) (nesting depth added 11). Most of this is not in the body itself: 15 of the 38 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 8584, 8605, 8619, \u2026). 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/webapp/js/diagramly/App.js"},"region":{"startLine":8574}}}],"partialFingerprints":{"codehealthFindingId/v1":"4835fe69932b62315ee5c680d5542156ed1bd7569d680b323b77a6120112e68c"}},{"ruleId":"D2","level":"warning","message":{"text":"wrapSvgBlockElements (cognitive 38): wrapSvgBlockElements has cognitive complexity 38 (threshold 15). Drivers by points: if/else 9 (24 pts), boolean chains 9, loops 3 (5 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxSvgCanvas2D.js"},"region":{"startLine":3215}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d2c28eb851009d161cfeffbf612feb1c6f1699770f9d4dd36f1cd5710423a0e"}},{"ruleId":"D2","level":"warning","message":{"text":"isJsonEqual (cognitive 38): isJsonEqual has cognitive complexity 38 (threshold 15). Drivers by points: if/else 8 (18 pts), ternaries 2 (8 pts), boolean chains 6, loops 3 (6 pts) (nesting depth added 19). 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/webapp/js/diagramly/DiffSync.js"},"region":{"startLine":3211}}}],"partialFingerprints":{"codehealthFindingId/v1":"3abe8412618ba6f7ed76d633468b84e06e4336e742f2ee8949b2c4820f08b864"}},{"ruleId":"D2","level":"warning","message":{"text":"parse (cognitive 38): parse has cognitive complexity 38 (threshold 15). Drivers by points: if/else 18 (33 pts), boolean chains 4, ternaries 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Settings.js"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"931b3509b67685b7750b107a74ab86ba9b08cbc7c1d9cd709412d7e1ada296f0"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.mergeMermaidStyleDelta (cognitive 37): EditorUi.EditorUi.mergeMermaidStyleDelta has cognitive complexity 37 (threshold 15). Drivers by points: if/else 14 (28 pts), loops 5, boolean chains 2, ternaries 2 (nesting depth added 14). Of this number, 24 points are the body\u0027s own statements and 13 belong to one function item inside it that branches. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":15151}}}],"partialFingerprints":{"codehealthFindingId/v1":"0805ae50b35178e13a95edce094c2626fa90958e17631957227903515219d67d"}},{"ruleId":"D2","level":"warning","message":{"text":"GitHubFile.GitHubFile.saveFile (cognitive 37): GitHubFile.GitHubFile.saveFile has cognitive complexity 37 (threshold 15). Drivers by points: if/else 16 (33 pts), error handling 1 (3 pts), boolean chains 1 (nesting depth added 19). Most of this is not in the body itself: 9 of the 37 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 244, 270, 260, \u2026). 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/webapp/js/diagramly/GitHubFile.js"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d51c71fed58d87f2a9179e2b59695503c35d61cdcd4fdea7737e03e381a24f3"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.createKeyHandler (cognitive 37): EditorUi.EditorUi.createKeyHandler has cognitive complexity 37 (threshold 15). Drivers by points: if/else 33 (104 pts), boolean chains 44, ternaries 3 (11 pts), loops 2 (5 pts) (nesting depth added 82). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":10922}}}],"partialFingerprints":{"codehealthFindingId/v1":"99b876408a25ed88fdd87415407f6b9b291c563fa6c7b4b4e45b3115820dae34"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.mxGraphView.updateAutoLabelPlacements (cognitive 37): Graph.mxGraphView.updateAutoLabelPlacements has cognitive complexity 37 (threshold 15). Drivers by points: if/else 11 (28 pts), boolean chains 4, loops 4, ternaries 1 (nesting depth added 17). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":30328}}}],"partialFingerprints":{"codehealthFindingId/v1":"02b2115b6fe8b7172ac9fe8d46a1f98cd0f2721a7a5a4bc123fbde165ea13ef0"}},{"ruleId":"D2","level":"warning","message":{"text":"Sidebar.Sidebar.itemClicked (cognitive 37): Sidebar.Sidebar.itemClicked has cognitive complexity 37 (threshold 15). Drivers by points: if/else 9 (15 pts), ternaries 5 (12 pts), boolean chains 8, loops 1 (2 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":7306}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f1201c8d90e48174b76d2eeeb79b29101710a9347b45d279604a341363bb6f6"}},{"ruleId":"D2","level":"warning","message":{"text":"mxLeanMap.mxShapeLeanTimeline.paintVertexShape (cognitive 37): mxLeanMap.mxShapeLeanTimeline.paintVertexShape has cognitive complexity 37 (threshold 15). Drivers by points: if/else 22, boolean chains 15. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/shapes/mxLeanMap.js"},"region":{"startLine":1999}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6ba155a7bfbb3830af9c0386195433fa8f1f29730cc389f019cc157cbfd26a3"}},{"ruleId":"D2","level":"warning","message":{"text":"AbsAuth.contactOAuthServer (cognitive 37): AbsAuth.contactOAuthServer has cognitive complexity 37 (threshold 15). Drivers by points: if/else 17 (27 pts), error handling 2 (4 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/server/java/com/mxgraph/online/AbsAuth.java"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b39271e330fe1441fa730c8192ae5f827c929ad5fc84771a057cf9df9f534cd"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::addEdgeSublabel (cognitive 37): (anonymous)::addEdgeSublabel has cognitive complexity 37 (threshold 15). Drivers by points: ternaries 5 (16 pts), if/else 6 (14 pts), boolean chains 7 (nesting depth added 19). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":2165}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b19360fca7a1f233ecd62727801df0f02765ec55992c9942da4ef27ab76cdd2"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::getControlPoints::nurbsSegsTo (cognitive 37): (anonymous)::getControlPoints::nurbsSegsTo has cognitive complexity 37 (threshold 15). Drivers by points: loops 10 (13 pts), boolean chains 12, if/else 7 (8 pts), ternaries 2 (4 pts) (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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":14097}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6cadc24c159f071f54b8907b9c1b06cfff2ddbb8f2f58043b1a057815c215e2"}},{"ruleId":"D2","level":"warning","message":{"text":"NewDialog::create (cognitive 37): NewDialog::create has cognitive complexity 37 (threshold 15). Drivers by points: if/else 12 (24 pts), boolean chains 12, ternaries 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":2783}}}],"partialFingerprints":{"codehealthFindingId/v1":"acaaa6bb86c2ef155679cc61cad22abc71f454d4cf6aa4edb73bf7fbed59c564"}},{"ruleId":"D2","level":"warning","message":{"text":"FindWindow::replacePlaceholderMatch (cognitive 37): FindWindow::replacePlaceholderMatch has cognitive complexity 37 (threshold 15). Drivers by points: if/else 12 (22 pts), boolean chains 6, loops 2 (5 pts), ternaries 1 (4 pts) (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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":10752}}}],"partialFingerprints":{"codehealthFindingId/v1":"72d8cbed4a6d9a184ad24d6e7f10573b08d77b5f3d480b0ae2bfa11f4483d268"}},{"ruleId":"D2","level":"warning","message":{"text":"init (cognitive 37): init has cognitive complexity 37 (threshold 15). Drivers by points: if/else 16 (27 pts), boolean chains 8, loops 1, ternaries 1 (nesting depth added 11). Most of this is not in the body itself: 1 of the 37 points is its own statement and the rest belongs to 10 function items inside it that branch (a function literal at line 28270, a function literal at line 28228, a function literal at line 28341, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":28223}}}],"partialFingerprints":{"codehealthFindingId/v1":"af9a1e5b87851621a5645aebcc962c787493f5467c0c43db174dac09929d4199"}},{"ruleId":"D2","level":"warning","message":{"text":"createCellColorOption (cognitive 37): createCellColorOption has cognitive complexity 37 (threshold 15). Drivers by points: if/else 8 (14 pts), ternaries 7 (10 pts), loops 4 (7 pts), boolean chains 6 (nesting depth added 12). Most of this is not in the body itself: 4 of the 37 points are its own statements and the rest belongs to 8 function items inside it that branch (getValue, getColor, a function literal at line 1961, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Format.js"},"region":{"startLine":1881}}}],"partialFingerprints":{"codehealthFindingId/v1":"e30be0a44215b703e0b5ed9e0c592504fd9b53e2bd962ebe24ac237ccd5dfdc1"}},{"ruleId":"D2","level":"warning","message":{"text":"Sidebar (cognitive 37): Sidebar has cognitive complexity 37 (threshold 15). Drivers by points: ternaries 8 (16 pts), if/else 9 (11 pts), boolean chains 8, loops 1 (2 pts) (nesting depth added 11). Of this number, 18 points are the body\u0027s own statements and 19 belong to 7 function literals inside it that branch. 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/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff551fa1d19c7f6606f477184df51af5bf059702382adfb1d3cf0dbd5d147c78"}},{"ruleId":"D2","level":"warning","message":{"text":"installAutoRouting::collectRestyled (cognitive 37): installAutoRouting::collectRestyled has cognitive complexity 37 (threshold 15). Drivers by points: if/else 10 (20 pts), boolean chains 12, loops 3 (5 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/LibavoidRouting.js"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc9f24f0571e44d2b4e70ea3ce40d6748ac632ab09495e5b9f6fb5b776eb73cb"}},{"ruleId":"D2","level":"warning","message":{"text":"searchEntries (cognitive 37): searchEntries has cognitive complexity 37 (threshold 15). Drivers by points: if/else 13 (28 pts), boolean chains 6, error handling 1 (3 pts) (nesting depth added 17). Most of this is not in the body itself: 7 of the 37 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 2466, 2459, 2507). 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/webapp/js/diagramly/sidebar/Sidebar.js"},"region":{"startLine":2436}}}],"partialFingerprints":{"codehealthFindingId/v1":"b92406e4cd64eeb2deb29d5d7f7383117ee80b04e29281b6a0e506778c1844ef"}},{"ruleId":"D2","level":"warning","message":{"text":"redrawPreviewHandles (cognitive 37): redrawPreviewHandles has cognitive complexity 37 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 10, ternaries 3 (6 pts), loops 2 (5 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/handler/mxEdgeHandler.js"},"region":{"startLine":1764}}}],"partialFingerprints":{"codehealthFindingId/v1":"36301c0c45ae8655da9dbd77c5b09f071da5227f79775831c69677facd37c573"}},{"ruleId":"D2","level":"warning","message":{"text":"getFormatControl (cognitive 37): getFormatControl has cognitive complexity 37 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 12, ternaries 5 (7 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Omnibox.js"},"region":{"startLine":1543}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4121dc77fe4fe479dc27ef946d8082653dc6388de1c2ccd0ea8128385a2ca11"}},{"ruleId":"D2","level":"warning","message":{"text":"createMarker (cognitive 37): createMarker has cognitive complexity 37 (threshold 15). Drivers by points: if/else 14 (25 pts), boolean chains 11, ternaries 1 (nesting depth added 11). None of this is in the body itself: all 37 points belong to 4 function literals inside it that branch (lines 555, 619, 633, \u2026). 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/webapp/mxgraph/src/handler/mxConnectionHandler.js"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"90ad7df2242055540342dd0661530f382f1505a6c45efbc6cbecbf4898b3968f"}},{"ruleId":"D2","level":"warning","message":{"text":"createTextToolbar (cognitive 37): createTextToolbar has cognitive complexity 37 (threshold 15). Drivers by points: if/else 10 (14 pts), error handling 6 (13 pts), boolean chains 6, ternaries 2 (4 pts) (nesting depth added 13). None of this is in the body itself: all 37 points belong to 36 function literals inside it that branch (lines 286, 365, 428, \u2026). 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/webapp/js/grapheditor/Toolbar.js"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f0a956a2ccc02c49d5ce1b5d2c75d2adccea18675ad243bd531d65d315ebfc3"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.sanitizeRealtimeTerminals (cognitive 36): EditorUi.EditorUi.sanitizeRealtimeTerminals has cognitive complexity 36 (threshold 15). Drivers by points: if/else 8 (22 pts), loops 3 (9 pts), boolean chains 5 (nesting depth added 20). Of this number, 26 points are the body\u0027s own statements and 10 belong to one function item inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":20930}}}],"partialFingerprints":{"codehealthFindingId/v1":"ade4d4d1bb7933432d91321c66eada957363a99926cf9f198010eb17ea585dd0"}},{"ruleId":"D2","level":"warning","message":{"text":"Extensions.LucidImporter.importState (cognitive 36): Extensions.LucidImporter.importState has cognitive complexity 36 (threshold 15). Drivers by points: if/else 14 (25 pts), loops 4 (5 pts), boolean chains 4, ternaries 2 (nesting depth added 12). Of this number, 25 points are the body\u0027s own statements and 11 belong to 2 function items inside it that branch. 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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":7300}}}],"partialFingerprints":{"codehealthFindingId/v1":"d474db98941119eab97f60b30a8253682ee1d7c05f37bc3a5f996241dfb26371"}},{"ruleId":"D2","level":"warning","message":{"text":"ForceExplorer.ForceExplorer.renderTransform (cognitive 36): ForceExplorer.ForceExplorer.renderTransform has cognitive complexity 36 (threshold 15). Drivers by points: if/else 8 (22 pts), loops 4 (9 pts), boolean chains 3, ternaries 1 (2 pts) (nesting depth added 20). Of this number, 35 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. 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/webapp/js/diagramly/ForceExplorer.js"},"region":{"startLine":4146}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e277f8fa369cdf6800a6ca5e5f97e516dcd5ab5c89976872f2d608aea83e412"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.destroy (cognitive 36): EditorUi.EditorUi.destroy has cognitive complexity 36 (threshold 15). Drivers by points: if/else 23 (27 pts), loops 4 (7 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":12049}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0fd022eed3a330917f8b037bca7de0cde44198908d58ac9d8a0ac66e7941e29"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.refreshBrowserTranslateMirror (cognitive 36): Graph.Graph.refreshBrowserTranslateMirror has cognitive complexity 36 (threshold 15). Drivers by points: if/else 9 (19 pts), loops 6 (11 pts), boolean chains 3, ternaries 1 (3 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":9513}}}],"partialFingerprints":{"codehealthFindingId/v1":"66e51a992563c3436803e7a1cfe5159581ce226c3426bc57c726e4c8f0a958ea"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.mxEdgeStyle.SideToSide (cognitive 36): Graph.mxEdgeStyle.SideToSide has cognitive complexity 36 (threshold 15). Drivers by points: if/else 13 (26 pts), boolean chains 7, ternaries 2 (3 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":32686}}}],"partialFingerprints":{"codehealthFindingId/v1":"1821f7e4389682958caf88ce52234f1d2d84ae2136ad9fe4f5e075983dfee6f9"}},{"ruleId":"D2","level":"warning","message":{"text":"Sidebar.Sidebar.getShapeMatches (cognitive 36): Sidebar.Sidebar.getShapeMatches has cognitive complexity 36 (threshold 15). Drivers by points: if/else 8 (19 pts), loops 2 (9 pts), ternaries 3 (6 pts), boolean chains 2 (nesting depth added 21). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":1314}}}],"partialFingerprints":{"codehealthFindingId/v1":"60dc831caccf45787ead48b8f69261b83242271db36bfd9326fb372cff4bb728"}},{"ruleId":"D2","level":"warning","message":{"text":"FindWindow::updateCount (cognitive 36): FindWindow::updateCount has cognitive complexity 36 (threshold 15). Drivers by points: if/else 6 (18 pts), ternaries 3 (7 pts), boolean chains 5, loops 2 (5 pts), error handling 1 (nesting depth added 19). 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":10409}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4d7f641e2137025a27b7118c59958fd247102e093c4bfb21a14284fc9c6901e"}},{"ruleId":"D2","level":"warning","message":{"text":"getStyle (cognitive 36): getStyle has cognitive complexity 36 (threshold 15). Drivers by points: if/else 12 (16 pts), ternaries 8 (15 pts), loops 1 (3 pts), boolean chains 2 (nesting depth added 13). Of this number, 31 points are the body\u0027s own statements and 5 belong to one function item inside it that branches. 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/webapp/js/diagramly/Editor.js"},"region":{"startLine":2215}}}],"partialFingerprints":{"codehealthFindingId/v1":"fae4f07b3c178db59ab796d99d4a0200e97fa913e380fec2620d9214f3b544bd"}},{"ruleId":"D2","level":"warning","message":{"text":"isEventIgnored (cognitive 36): isEventIgnored has cognitive complexity 36 (threshold 15). Drivers by points: boolean chains 19, if/else 14 (17 pts) (nesting depth added 3). Of this number, 30 points are the body\u0027s own statements and 6 belong to 3 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":14060}}}],"partialFingerprints":{"codehealthFindingId/v1":"15d8d883580123b5073bd3896756532b8df3f1785b27aa47b53488a5cc0d904e"}},{"ruleId":"D2","level":"warning","message":{"text":"paintVertexShape (cognitive 36): paintVertexShape has cognitive complexity 36 (threshold 15). Drivers by points: if/else 14 (25 pts), boolean chains 11 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":5787}}}],"partialFingerprints":{"codehealthFindingId/v1":"646a86c183af87568205fa543a742410ebfce4aafce2f89afa2d2c26194f278e"}},{"ruleId":"D2","level":"warning","message":{"text":"createItem (cognitive 36): createItem has cognitive complexity 36 (threshold 15). Drivers by points: if/else 13 (23 pts), ternaries 4 (7 pts), boolean chains 6 (nesting depth added 13). Of this number, 29 points are the body\u0027s own statements and 7 belong to 4 function literals inside it that branch. 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/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":5244}}}],"partialFingerprints":{"codehealthFindingId/v1":"327889531fe87844d0c0a2e47ef6b9d35af681b025dfed627da78db48c4c1872"}},{"ruleId":"D2","level":"warning","message":{"text":"save (cognitive 36): save has cognitive complexity 36 (threshold 15). Drivers by points: if/else 15 (24 pts), error handling 3 (7 pts), boolean chains 5 (nesting depth added 13). Most of this is not in the body itself: 6 of the 36 points are its own statements and the rest belongs to 6 function items inside it that branch (a function literal at line 8421, a function literal at line 8429, a function literal at line 8407, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":8401}}}],"partialFingerprints":{"codehealthFindingId/v1":"2478ba864f5b4762d2641363c82e4ddb20f9e3a9c83cd65f762c3a22dfbc6f57"}},{"ruleId":"D2","level":"warning","message":{"text":"getEndLabelPoint (cognitive 36): getEndLabelPoint has cognitive complexity 36 (threshold 15). Drivers by points: ternaries 7 (20 pts), if/else 4 (10 pts), boolean chains 6 (nesting depth added 19). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ForceExplorer.js"},"region":{"startLine":2966}}}],"partialFingerprints":{"codehealthFindingId/v1":"a79f02d65dd8f402016618997421bd9ac4a337ed345ca3d4a6fd9f6bf28fee53"}},{"ruleId":"D2","level":"warning","message":{"text":"validateCellState (cognitive 36): validateCellState has cognitive complexity 36 (threshold 15). Drivers by points: if/else 9 (29 pts), loops 1 (4 pts), boolean chains 2, ternaries 1 (nesting depth added 23). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxGraphView.js"},"region":{"startLine":2389}}}],"partialFingerprints":{"codehealthFindingId/v1":"5283b883b10bd41e90d68998a4c4bbf976267f6b8b6c3723b5c9dc1d9a489f47"}},{"ruleId":"D2","level":"warning","message":{"text":"getLayoutFormValues (cognitive 36): getLayoutFormValues has cognitive complexity 36 (threshold 15). Drivers by points: ternaries 8 (18 pts), if/else 9 (11 pts), boolean chains 6, loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/LayoutPicker.js"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"83c106df85cd5a73383ce478a8b176f9aee249e1eaeb30793bf5c44d3722dfbe"}},{"ruleId":"D2","level":"warning","message":{"text":"tryCandidate (cognitive 36): tryCandidate has cognitive complexity 36 (threshold 15). Drivers by points: if/else 14 (21 pts), boolean chains 10, ternaries 2 (4 pts), loops 1 (nesting depth added 9). Most of this is not in the body itself: 15 of the 36 points are its own statements and the rest belongs to 3 function items inside it that branch (a function literal at line 2885, a function literal at line 2950, (anonymous)::isCellMovable). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/tidy/Tidy.js"},"region":{"startLine":2871}}}],"partialFingerprints":{"codehealthFindingId/v1":"e375de478b66a3bad20a5fceeb9d2a4787ce04bc0ff399a5290d434cd581208c"}},{"ruleId":"D2","level":"warning","message":{"text":"Loop (cognitive 36): Loop has cognitive complexity 36 (threshold 15). Drivers by points: if/else 15 (26 pts), boolean chains 5, loops 1 (3 pts), ternaries 1 (2 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxEdgeStyle.js"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8f1cfdec1b4d7c1200ef415b0af8cc6c67f2702e3f61874399f2901e57f7501"}},{"ruleId":"D2","level":"warning","message":{"text":"SideToSide (cognitive 36): SideToSide has cognitive complexity 36 (threshold 15). Drivers by points: if/else 13 (26 pts), boolean chains 7, ternaries 2 (3 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxEdgeStyle.js"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"27eecae069eb063506a5fe62272ca21b17c3b69dda910e33a582488ead1e3bee"}},{"ruleId":"D2","level":"warning","message":{"text":"dragOver (cognitive 36): dragOver has cognitive complexity 36 (threshold 15). Drivers by points: if/else 11 (19 pts), boolean chains 9, ternaries 3 (8 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxDragSource.js"},"region":{"startLine":654}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e61a93cbd98bb1b0c961b657ce1b4eb2d2ac2d7565fbe9d9056279aa1cc62a1"}},{"ruleId":"D2","level":"warning","message":{"text":"updatePreviewState (cognitive 36): updatePreviewState has cognitive complexity 36 (threshold 15). Drivers by points: if/else 9 (23 pts), boolean chains 11, loops 1 (2 pts) (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/handler/mxEdgeSegmentHandler.js"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"48b8282227930b2bf9398a39d322ddcaf2c4ab72b842adbf34dec6473e1e0b0c"}},{"ruleId":"D2","level":"warning","message":{"text":"Dialogs.CustomActionDialog (cognitive 35): Dialogs.CustomActionDialog has cognitive complexity 35 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 8, loops 2 (8 pts), ternaries 4, error handling 1 (2 pts) (nesting depth added 12). Of this number, 32 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":8082}}}],"partialFingerprints":{"codehealthFindingId/v1":"706539af604174850bd75be435a6b56cf923413c6cee91bd2f136c028112710b"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.isDiagramDataEmpty (cognitive 35): EditorUi.EditorUi.isDiagramDataEmpty has cognitive complexity 35 (threshold 15). Drivers by points: if/else 10 (28 pts), boolean chains 4, loops 1 (2 pts), error handling 1 (nesting depth added 19). Of this number, 34 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":1183}}}],"partialFingerprints":{"codehealthFindingId/v1":"068d45cf848eb0b81872137efba206688072d8b58a37b45894a71a66b4a34dbc"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.createHtml (cognitive 35): EditorUi.EditorUi.createHtml has cognitive complexity 35 (threshold 15). Drivers by points: if/else 19 (24 pts), ternaries 4 (7 pts), boolean chains 4 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":10671}}}],"partialFingerprints":{"codehealthFindingId/v1":"41f50860501f78a5c144059ea614f2c0d3df6bad69e0117e72b3c39b3b83302f"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.createFormatWindow (cognitive 35): EditorUi.EditorUi.createFormatWindow has cognitive complexity 35 (threshold 15). Drivers by points: ternaries 6 (15 pts), if/else 7 (12 pts), boolean chains 8 (nesting depth added 14). Of this number, 25 points are the body\u0027s own statements and 10 belong to 4 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":26727}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d5a16454d15b7b6710edef76f0ee8184dc4ab5b9eae2d8b602a27b93cb1362e"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.parseTableRows (cognitive 35): EditorUi.EditorUi.parseTableRows has cognitive complexity 35 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 5 (12 pts), boolean chains 11 (nesting depth added 13). Of this number, 34 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":37089}}}],"partialFingerprints":{"codehealthFindingId/v1":"a54bcaa7488faa22845f404db684c97ee09fdd326c8648292f098b63f698f860"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.applyDataStyles (cognitive 35): Graph.Graph.applyDataStyles has cognitive complexity 35 (threshold 15). Drivers by points: if/else 8 (21 pts), boolean chains 8, loops 1 (3 pts), ternaries 1 (3 pts) (nesting depth added 17). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":18471}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e4be4ff7b81f413704e3faabd688501269ec239275f27111014307fafcaa124"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.parseDataSource (cognitive 35): Graph.Graph.parseDataSource has cognitive complexity 35 (threshold 15). Drivers by points: if/else 5 (14 pts), ternaries 4 (10 pts), boolean chains 8, loops 1 (3 pts) (nesting depth added 17). Of this number, 31 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":18831}}}],"partialFingerprints":{"codehealthFindingId/v1":"96be2e49d56acbcba136075d81fc8392c67797dc494fbf28c9ef84ee2c848b46"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.getBoundsForGroup (cognitive 35): Graph.Graph.getBoundsForGroup has cognitive complexity 35 (threshold 15). Drivers by points: if/else 13 (32 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 20). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":21561}}}],"partialFingerprints":{"codehealthFindingId/v1":"5583ec9d6d1f69815e51b153110c5832aef20dcf1c571018c13cfbdeaf856e9b"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.LabelBoxIndex.add (cognitive 35): Graph.LabelBoxIndex.add has cognitive complexity 35 (threshold 15). Drivers by points: if/else 13 (17 pts), boolean chains 10, loops 4 (8 pts) (nesting depth added 8). Of this number, 19 points are the body\u0027s own statements and 16 belong to 3 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":29570}}}],"partialFingerprints":{"codehealthFindingId/v1":"98ab76ddf44e1c6f330e3cf1887844daa462644da9d22bc6dd2f82d99d6bce6e"}},{"ruleId":"D2","level":"warning","message":{"text":"mxGraph.mxGraph.processChange (cognitive 35): mxGraph.mxGraph.processChange has cognitive complexity 35 (threshold 15). Drivers by points: if/else 15 (26 pts), boolean chains 9 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":2071}}}],"partialFingerprints":{"codehealthFindingId/v1":"94d6dd819e02496e9db81fc56f241fcfe8c6c8db8004a184391d8b464e216ca1"}},{"ruleId":"D2","level":"warning","message":{"text":"mxBpmnShape2.mxShapeBpmn2Task2.paintVertexShape (cognitive 35): mxBpmnShape2.mxShapeBpmn2Task2.paintVertexShape has cognitive complexity 35 (threshold 15). Drivers by points: if/else 26 (34 pts), match/switch 1 (nesting depth added 8). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/shapes/bpmn/mxBpmnShape2.js"},"region":{"startLine":1880}}}],"partialFingerprints":{"codehealthFindingId/v1":"937da1475c24c89901350c1cd042b2e2053e5a0b561f2c2e07d23fc77f900e26"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::parseSection (cognitive 35): (anonymous)::parseSection has cognitive complexity 35 (threshold 15). Drivers by points: if/else 9 (21 pts), loops 2 (6 pts), match/switch 1 (5 pts), boolean chains 3 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":10942}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d7b1cb7cdb6a67f869e5599d71e139715a5d5ac0749895a62aba44fc5910872"}},{"ruleId":"D2","level":"warning","message":{"text":"BackgroundImageDialog (cognitive 35): BackgroundImageDialog has cognitive complexity 35 (threshold 15). Drivers by points: if/else 40 (61 pts), boolean chains 20, ternaries 13 (16 pts), loops 3 (4 pts) (nesting depth added 25). 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":927}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a56fab52c10718d4b7b5fef0fcfbe74f9a1120d65ea256300b10d7b930fab58"}},{"ruleId":"D2","level":"warning","message":{"text":"convertImageToDataUri (cognitive 35): convertImageToDataUri has cognitive complexity 35 (threshold 15). Drivers by points: if/else 15 (25 pts), error handling 2 (4 pts), boolean chains 3, ternaries 1 (3 pts) (nesting depth added 14). Most of this is not in the body itself: 9 of the 35 points are its own statements and the rest belongs to 6 function items inside it that branch (onload, a function literal at line 6229, onerror, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":6202}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0a51f1c9ea683f8eec75a7b196237b28ad1ca1f30416f56fcc3450984d83f2b"}},{"ruleId":"D2","level":"warning","message":{"text":"addGeometryHandler::update (cognitive 35): addGeometryHandler::update has cognitive complexity 35 (threshold 15). Drivers by points: if/else 8 (27 pts), loops 1 (3 pts), ternaries 1 (3 pts), boolean chains 2 (nesting depth added 23). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Format.js"},"region":{"startLine":4131}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5f2e5bfe8eb43787c51bbbf30701ec6a1d56c6eb4a84788ea1ae59d49adc99b"}},{"ruleId":"D2","level":"warning","message":{"text":"nextDriveUse (cognitive 35): nextDriveUse has cognitive complexity 35 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 11, ternaries 5 (9 pts) (nesting depth added 8). Most of this is not in the body itself: 6 of the 35 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 3225, 3201, 3261, \u2026). 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/webapp/js/diagramly/App.js"},"region":{"startLine":3178}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1b4e5f45087df2f9f7be44263d329c37dda94fbcbb16daf1e91dc5db24ec604"}},{"ruleId":"D2","level":"warning","message":{"text":"loadTemplate (cognitive 35): loadTemplate has cognitive complexity 35 (threshold 15). Drivers by points: if/else 11 (16 pts), ternaries 6 (13 pts), boolean chains 5, error handling 1 (nesting depth added 12). Most of this is not in the body itself: 7 of the 35 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 6529, 6558, 6551, \u2026). 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/webapp/js/diagramly/App.js"},"region":{"startLine":6513}}}],"partialFingerprints":{"codehealthFindingId/v1":"8736902ed58d280705a45f77ab20bd5ff931c2262a9891961b6bbf0afae8a571"}},{"ruleId":"D2","level":"warning","message":{"text":"getMaxInlineFontSize (cognitive 35): getMaxInlineFontSize has cognitive complexity 35 (threshold 15). Drivers by points: if/else 10 (32 pts), boolean chains 2, loops 1 (nesting depth added 22). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxUtils.js"},"region":{"startLine":6089}}}],"partialFingerprints":{"codehealthFindingId/v1":"786769ee1df0e31e459d5bca984e206255b10a203913899d489659a952cb59be"}},{"ruleId":"D2","level":"warning","message":{"text":"snapPoints (cognitive 35): snapPoints has cognitive complexity 35 (threshold 15). Drivers by points: boolean chains 18, if/else 8 (11 pts), ternaries 5, loops 1 (nesting depth added 3). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/LibavoidRouting.js"},"region":{"startLine":1650}}}],"partialFingerprints":{"codehealthFindingId/v1":"86626de0b3d79550e1c37aacca119155a2d27084e063025dff8d7cfaf4af1623"}},{"ruleId":"D2","level":"warning","message":{"text":"cleanup (cognitive 35): cleanup has cognitive complexity 35 (threshold 15). Drivers by points: if/else 12 (24 pts), boolean chains 7, ternaries 1 (3 pts), error handling 1 (nesting depth added 14). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DrawioFileSync.js"},"region":{"startLine":1573}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb1c9116b9c6e8ddb67954c4914b24c64cae56073fccf09a242b2f43af63d5e6"}},{"ruleId":"D2","level":"warning","message":{"text":"addSearchIndex (cognitive 35): addSearchIndex has cognitive complexity 35 (threshold 15). Drivers by points: if/else 6 (26 pts), ternaries 1 (7 pts), loops 1 (2 pts) (nesting depth added 27). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar.js"},"region":{"startLine":1411}}}],"partialFingerprints":{"codehealthFindingId/v1":"be23ddc902af2b1d8c44e55632d6990f2b3011f9644872b71b03a1e10a9b3937"}},{"ruleId":"D2","level":"warning","message":{"text":"getFillPattern (cognitive 35): getFillPattern has cognitive complexity 35 (threshold 15). Drivers by points: ternaries 10 (13 pts), if/else 7 (11 pts), boolean chains 5, loops 1 (3 pts), match/switch 1 (3 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxSvgCanvas2D.js"},"region":{"startLine":901}}}],"partialFingerprints":{"codehealthFindingId/v1":"77d5a878913d32727b5447077f961524be673f2463c4e6395c83156e154b75f6"}},{"ruleId":"D2","level":"warning","message":{"text":"setViewState (cognitive 35): setViewState has cognitive complexity 35 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 7, ternaries 3 (6 pts), loops 2 (5 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Pages.js"},"region":{"startLine":1805}}}],"partialFingerprints":{"codehealthFindingId/v1":"56a6d83c83cf3f839f23f973d88358b1050df6cb7f4474dbe98a2f5cc9da955c"}},{"ruleId":"D2","level":"warning","message":{"text":"runWithDialog::collect (cognitive 35): runWithDialog::collect has cognitive complexity 35 (threshold 15). Drivers by points: if/else 13 (22 pts), boolean chains 6, loops 3 (4 pts), ternaries 1 (3 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ElkLayout.js"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d9b9e98ec27315792f975aecdcf32a808f97e48cc1706216c2c82ccac0f9267"}},{"ruleId":"D2","level":"warning","message":{"text":"Editor.Editor.embedCssFonts (cognitive 34): Editor.Editor.embedCssFonts has cognitive complexity 34 (threshold 15). Drivers by points: if/else 13 (20 pts), loops 3 (8 pts), boolean chains 6 (nesting depth added 12). Most of this is not in the body itself: 8 of the 34 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 7153, 7119, 7193). 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/webapp/js/diagramly/Editor.js"},"region":{"startLine":7108}}}],"partialFingerprints":{"codehealthFindingId/v1":"359e3dde833717e8e736dfdea393a35b67d56d6f4e9c314220ace430089d3040"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.showSearchWindow (cognitive 34): EditorUi.EditorUi.showSearchWindow has cognitive complexity 34 (threshold 15). Drivers by points: ternaries 9 (23 pts), boolean chains 6, if/else 4 (5 pts) (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":6093}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ec8afb7a705982cbb2047fd251f40133699a4002a0267df1b657defb0293610"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.showExportDialog::setPresetValues (cognitive 34): EditorUi.EditorUi.showExportDialog::setPresetValues has cognitive complexity 34 (threshold 15). Drivers by points: if/else 19 (24 pts), boolean chains 8, loops 1 (2 pts) (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This shape REPEATS in the file: 2 other methods here (EditorUi.EditorUi.showExportDialog, EditorUi.EditorUi.showExportDialog::getPresetValues) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":12622}}}],"partialFingerprints":{"codehealthFindingId/v1":"35c54df2af61ec82a24cedbbe13f12dd7fe558d472f7e510a59e6406c25d039b"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.encodeEmbedImage (cognitive 34): EditorUi.EditorUi.encodeEmbedImage has cognitive complexity 34 (threshold 15). Drivers by points: if/else 11 (25 pts), loops 3 (4 pts), boolean chains 3, ternaries 2 (nesting depth added 15). Most of this is not in the body itself: 4 of the 34 points are its own statements and the rest belongs to one function literal inside it that branches (line 19467). The decisions are inside the literal, 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 literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":19428}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4c3ec3c1f8f89d2197390cff5aa554679ff1c3366603be1548aeb376b52c6bf"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.installResizeHandler (cognitive 34): EditorUi.EditorUi.installResizeHandler has cognitive complexity 34 (threshold 15). Drivers by points: if/else 21 (23 pts), boolean chains 7, ternaries 2 (4 pts) (nesting depth added 4). Most of this is not in the body itself: 6 of the 34 points are its own statements and the rest belongs to 12 function literals inside it that branch (lines 26280, 26345, 26242, \u2026). 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":26160}}}],"partialFingerprints":{"codehealthFindingId/v1":"da4dd5c74089be51d6ca4a246f991e7c2378ed0a59f569db88b9e0a8018b3217"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.updateActionStates (cognitive 34): EditorUi.EditorUi.updateActionStates has cognitive complexity 34 (threshold 15). Drivers by points: boolean chains 29, if/else 3 (4 pts), loops 1 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":41885}}}],"partialFingerprints":{"codehealthFindingId/v1":"4519df4cbebd18b061ca20ad8021cdcca76aaf143ede92aa0858b50f7aa62f9f"}},{"ruleId":"D2","level":"warning","message":{"text":"Tidy.Tidy.getOrderKept (cognitive 34): Tidy.Tidy.getOrderKept has cognitive complexity 34 (threshold 15). Drivers by points: ternaries 5 (17 pts), if/else 3 (11 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 21). 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/webapp/js/diagramly/tidy/Tidy.js"},"region":{"startLine":1349}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8f967ff855abed01a20b80b3f3fea65e25e742cd5ea006fa977af1638e4dd04"}},{"ruleId":"D2","level":"warning","message":{"text":"Dialogs.EditDiagramDialog (cognitive 34): Dialogs.EditDiagramDialog has cognitive complexity 34 (threshold 15). Drivers by points: if/else 21 (27 pts), error handling 2 (4 pts), boolean chains 3 (nesting depth added 8). Most of this is not in the body itself: 11 of the 34 points are its own statements and the rest belongs to 4 function items inside it that branch (a function literal at line 3217, handleDrop, a function literal at line 3267, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Dialogs.js"},"region":{"startLine":3062}}}],"partialFingerprints":{"codehealthFindingId/v1":"f55fcbc132e40e0881e19d526f92171322cb74b0db92ec220ef5ae4dbd3a4130"}},{"ruleId":"D2","level":"warning","message":{"text":"Editor.FilenameDialog.createFileTypes (cognitive 34): Editor.FilenameDialog.createFileTypes has cognitive complexity 34 (threshold 15). Drivers by points: if/else 12 (22 pts), ternaries 2 (5 pts), loops 3 (4 pts), boolean chains 3 (nesting depth added 14). Of this number, 21 points are the body\u0027s own statements and 13 belong to 2 function items inside it that branch. 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/webapp/js/grapheditor/Editor.js"},"region":{"startLine":4647}}}],"partialFingerprints":{"codehealthFindingId/v1":"1609b7fd8ebea9d8c4c7f45452a068efba5cadcccedf9ad52887f085bec06e72"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.applyStyleRules (cognitive 34): Graph.Graph.applyStyleRules has cognitive complexity 34 (threshold 15). Drivers by points: if/else 6 (21 pts), loops 3 (7 pts), boolean chains 4, ternaries 1 (2 pts) (nesting depth added 20). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":18654}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb7e09366945eba5c6fae7aa809a7cf4c8a365bfa3ea02960c0e6396e7c71735"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.mxEdgeStyle.TopToBottom (cognitive 34): Graph.mxEdgeStyle.TopToBottom has cognitive complexity 34 (threshold 15). Drivers by points: if/else 13 (23 pts), boolean chains 8, ternaries 2 (3 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":32776}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfa2d887c793280c8dcabf22363f1e3dc425a304de2092ad84f8579e05b80f98"}},{"ruleId":"D2","level":"warning","message":{"text":"InlineToolbar.InlineToolbar.getTableRange (cognitive 34): InlineToolbar.InlineToolbar.getTableRange has cognitive complexity 34 (threshold 15). Drivers by points: if/else 8 (14 pts), ternaries 5 (13 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 15). Of this number, 31 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. 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/webapp/js/grapheditor/InlineToolbar.js"},"region":{"startLine":3979}}}],"partialFingerprints":{"codehealthFindingId/v1":"b15e6430ca944076a6bef0e26272ba1782507ed321d4190035bc6ffb4b15cbb6"}},{"ruleId":"D2","level":"warning","message":{"text":"Omnibox.Omnibox.getFields (cognitive 34): Omnibox.Omnibox.getFields has cognitive complexity 34 (threshold 15). Drivers by points: if/else 8 (20 pts), loops 4 (10 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 19). Most of this is not in the body itself: 13 of the 34 points are its own statements and the rest belongs to 2 function items inside it that branch (add, a function literal at line 1997). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Omnibox.js"},"region":{"startLine":1954}}}],"partialFingerprints":{"codehealthFindingId/v1":"f00bb1837e580bf0a62445de71810db8eac1813d6a486056fcf1ae25b66f32dc"}},{"ruleId":"D2","level":"warning","message":{"text":"mxSvgCanvas2D.mxSvgCanvas2D.measureTextBackgrounds (cognitive 34): mxSvgCanvas2D.mxSvgCanvas2D.measureTextBackgrounds has cognitive complexity 34 (threshold 15). Drivers by points: ternaries 4 (15 pts), if/else 5 (12 pts), loops 3 (6 pts), boolean chains 1 (nesting depth added 21). 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/webapp/mxgraph/src/util/mxSvgCanvas2D.js"},"region":{"startLine":4399}}}],"partialFingerprints":{"codehealthFindingId/v1":"c64773ad10a05064cff3ec2c5443af728a8e43ebe35430aa2b54d1460f514f31"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::processColors (cognitive 34): (anonymous)::processColors has cognitive complexity 34 (threshold 15). Drivers by points: if/else 8 (23 pts), loops 2 (5 pts), ternaries 1 (5 pts), boolean chains 1 (nesting depth added 22). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":5843}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4d6c838867ed513d95ffec51791df16f00ad87b81b88f6e0759345e804089c9"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::getCellElement$java_lang_String (cognitive 34): (anonymous)::getCellElement$java_lang_String has cognitive complexity 34 (threshold 15). Drivers by points: if/else 9 (21 pts), boolean chains 13 (nesting depth added 12). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":9690}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf860b73b91ba86dc4a9074f454ae38e5fb87a285d1d16adab9ae1c74025d2cf"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::parseShapeElem (cognitive 34): (anonymous)::parseShapeElem has cognitive complexity 34 (threshold 15). Drivers by points: if/else 15 (27 pts), error handling 1 (4 pts), boolean chains 3 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":10756}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9809a424d04f7be8ed3b33c9a11a524119adf7e7ca73df65a30f63500aeed73"}},{"ruleId":"D2","level":"warning","message":{"text":"FontDialog (cognitive 34): FontDialog has cognitive complexity 34 (threshold 15). Drivers by points: if/else 24 (25 pts), boolean chains 7, loops 1 (2 pts) (nesting depth added 2). Of this number, 18 points are the body\u0027s own statements and 16 belong to 6 function items inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":23963}}}],"partialFingerprints":{"codehealthFindingId/v1":"5709c69a77e2d36be09fbdb60442f19162f9562ee6cc8c9a24de683450c915a3"}},{"ruleId":"D2","level":"warning","message":{"text":"getEdgeValidationError (cognitive 34): getEdgeValidationError has cognitive complexity 34 (threshold 15). Drivers by points: if/else 10 (18 pts), boolean chains 10, loops 1 (3 pts), ternaries 2 (3 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":9286}}}],"partialFingerprints":{"codehealthFindingId/v1":"618a6cbd01fb577e935501cbe8a2986134a53fbaad2973d7bad758ac9c4d8472"}},{"ruleId":"D2","level":"warning","message":{"text":"paintForeground (cognitive 34): paintForeground has cognitive complexity 34 (threshold 15). Drivers by points: if/else 11 (25 pts), boolean chains 5, loops 2 (4 pts) (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/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":3339}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5682c343141ba6a481a16afca29dc99165ed9e61a6643ed25d4c722b9ee89ce"}},{"ruleId":"D2","level":"warning","message":{"text":"createKeyHandler::getFunction (cognitive 34): createKeyHandler::getFunction has cognitive complexity 34 (threshold 15). Drivers by points: if/else 12 (21 pts), boolean chains 10, ternaries 2 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":11243}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf62d0eb2935606feaf6357ee2c4337104f5f332ca161dce5665357aac527dcb"}},{"ruleId":"D2","level":"warning","message":{"text":"getClosestKeys (cognitive 34): getClosestKeys has cognitive complexity 34 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 7 (12 pts), boolean chains 7, ternaries 2 (nesting depth added 11). Of this number, 32 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. 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/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":1426}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7589194c61de31fe353cafd8a94978868558892d0ac11a491a1b61d5e3c6d0d"}},{"ruleId":"D2","level":"warning","message":{"text":"getPortConstraints (cognitive 34): getPortConstraints has cognitive complexity 34 (threshold 15). Drivers by points: if/else 11 (21 pts), match/switch 4 (12 pts), ternaries 1 (nesting depth added 18). 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/webapp/mxgraph/src/util/mxUtils.js"},"region":{"startLine":3142}}}],"partialFingerprints":{"codehealthFindingId/v1":"b849faec548fa629bb282c0f917e64dc274c93222a5d63e575466fd215fbbebe"}},{"ruleId":"D2","level":"warning","message":{"text":"updateStatus (cognitive 34): updateStatus has cognitive complexity 34 (threshold 15). Drivers by points: ternaries 5 (15 pts), if/else 6 (11 pts), boolean chains 8 (nesting depth added 15). Most of this is not in the body itself: 12 of the 34 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 615, 655). 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/webapp/js/diagramly/DrawioFileSync.js"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a99625e33cf7b39ec934d0d1259fcb4a9add8e27d1158afa0a21c1d09a534b7"}},{"ruleId":"D2","level":"warning","message":{"text":"getPreviousNode (cognitive 34): getPreviousNode has cognitive complexity 34 (threshold 15). Drivers by points: if/else 7 (21 pts), loops 3 (7 pts), boolean chains 5, ternaries 1 (nesting depth added 18). 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/webapp/mxgraph/src/view/mxGraphView.js"},"region":{"startLine":1702}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a2ce8efadad34efc7a149dd7555e716d6de959f813037b367b563a1046f5641"}},{"ruleId":"D2","level":"warning","message":{"text":"moveDraggedTabsOutsideGroups (cognitive 34): moveDraggedTabsOutsideGroups has cognitive complexity 34 (threshold 15). Drivers by points: if/else 5 (12 pts), ternaries 3 (8 pts), boolean chains 7, loops 3 (7 pts) (nesting depth added 16). Of this number, 26 points are the body\u0027s own statements and 8 belong to one function item inside it that branches. 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/webapp/js/diagramly/Pages.js"},"region":{"startLine":3775}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd56a1c892dfdf8217cb041a873af6bd40d7cbaa8b6d6cbd0c9ace8359c731f0"}},{"ruleId":"D2","level":"warning","message":{"text":"attachTexts (cognitive 34): attachTexts has cognitive complexity 34 (threshold 15). Drivers by points: if/else 8 (19 pts), boolean chains 8, loops 4 (7 pts) (nesting depth added 14). Of this number, 27 points are the body\u0027s own statements and 7 belong to one function literal inside it that branches. 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/webapp/js/diagramly/tidy/Tidy.js"},"region":{"startLine":1631}}}],"partialFingerprints":{"codehealthFindingId/v1":"08425d496cfaf464bb0dad5a1d46ac78dcea3d8f8f50b7f773e31c617853838e"}},{"ruleId":"D2","level":"warning","message":{"text":"updateParentHighlight (cognitive 34): updateParentHighlight has cognitive complexity 34 (threshold 15). Drivers by points: if/else 7 (16 pts), boolean chains 14, ternaries 1 (4 pts) (nesting depth added 12). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/handler/mxVertexHandler.js"},"region":{"startLine":2206}}}],"partialFingerprints":{"codehealthFindingId/v1":"30bb17abb6986314ad007604d849d7a3116936ec2f9e4a6d328bb4fe204692c6"}},{"ruleId":"D2","level":"warning","message":{"text":"TopToBottom (cognitive 34): TopToBottom has cognitive complexity 34 (threshold 15). Drivers by points: if/else 13 (23 pts), boolean chains 8, ternaries 2 (3 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxEdgeStyle.js"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"aabd9dd2846ac921aed92048546adefddfe79cac974d8bafd45d6107b13bd4c6"}},{"ruleId":"D2","level":"warning","message":{"text":"saveBase (cognitive 34): saveBase has cognitive complexity 34 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 4 (10 pts), ternaries 3 (9 pts), boolean chains 5 (nesting depth added 18). 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/webapp/js/diagramly/tidy/TidyWindow.js"},"region":{"startLine":929}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ccc50a185c8d76fabe588be85fdf7e6f7833068f72eeeeb682f3cb109185ab8"}},{"ruleId":"D2","level":"warning","message":{"text":"startEditing (cognitive 34): startEditing has cognitive complexity 34 (threshold 15). Drivers by points: if/else 14 (26 pts), boolean chains 8 (nesting depth added 12). Most of this is not in the body itself: 14 of the 34 points are its own statements and the rest belongs to one function literal inside it that branches (line 889). The decisions are inside the literal, 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 literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxCellEditor.js"},"region":{"startLine":840}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b3500eba642d6c9d26b06205d28e920c24cc992dd3e218752750572102a0367"}},{"ruleId":"D2","level":"warning","message":{"text":"Dialogs.NewDialog::initUi (cognitive 33): Dialogs.NewDialog::initUi has cognitive complexity 33 (threshold 15). Drivers by points: if/else 10 (20 pts), loops 3 (7 pts), ternaries 2 (6 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 2 other methods here (Dialogs.NewDialog::filterTemplates, Dialogs.NewDialog::addTemplateEntry) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":3860}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e0dc811198faa2a92bf50fa76894cf3e59f22d2c4bf0284eede657d1b2932c9"}},{"ruleId":"D2","level":"warning","message":{"text":"Editor.Editor.keepFocusInList (cognitive 33): Editor.Editor.keepFocusInList has cognitive complexity 33 (threshold 15). Drivers by points: if/else 5 (15 pts), loops 2 (7 pts), ternaries 1 (6 pts), boolean chains 5 (nesting depth added 20). Most of this is not in the body itself: 1 of the 33 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 1173, 1162). 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/webapp/js/grapheditor/Editor.js"},"region":{"startLine":1152}}}],"partialFingerprints":{"codehealthFindingId/v1":"c56e57d17868cae175e2604746830aa0c7e3cae53f8c59db77a835cd6f77da8c"}},{"ruleId":"D2","level":"warning","message":{"text":"Editor.Editor.getGraphXml (cognitive 33): Editor.Editor.getGraphXml has cognitive complexity 33 (threshold 15). Drivers by points: ternaries 12 (17 pts), if/else 10 (13 pts), boolean chains 3 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Editor.js"},"region":{"startLine":1977}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8c3e958207c66c46ce3a2cf1b9444dd706892f3d0007c69f2eceff7ec888da1"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.getPaletteCellsForShapePicker (cognitive 33): EditorUi.EditorUi.getPaletteCellsForShapePicker has cognitive complexity 33 (threshold 15). Drivers by points: if/else 5 (16 pts), loops 3 (9 pts), boolean chains 6, ternaries 2 (nesting depth added 17). Of this number, 23 points are the body\u0027s own statements and 10 belong to one function literal inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":3149}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b92cc02be29d6918eee91c87b54810e744abdbb0d3fec50198f2a8f1a58f4e6"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.updateActionStates (cognitive 33): EditorUi.EditorUi.updateActionStates has cognitive complexity 33 (threshold 15). Drivers by points: boolean chains 26, loops 5, if/else 1 (2 pts) (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":8945}}}],"partialFingerprints":{"codehealthFindingId/v1":"d52000df07a2634404203799f95a261323ff322b170293e3e35a984f048be3d3"}},{"ruleId":"D2","level":"warning","message":{"text":"Format.Format.immediateRefresh (cognitive 33): Format.Format.immediateRefresh has cognitive complexity 33 (threshold 15). Drivers by points: if/else 17 (26 pts), boolean chains 4, ternaries 2 (3 pts) (nesting depth added 10). Most of this is not in the body itself: 11 of the 33 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 338, 336). 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/webapp/js/grapheditor/Format.js"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7796f5e29fe2da910f979e166c277ccb675c3f363c94391fa0ddd7da88b3dd6"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.updateFollowingEdges (cognitive 33): Graph.Graph.updateFollowingEdges has cognitive complexity 33 (threshold 15). Drivers by points: if/else 10 (21 pts), boolean chains 6, loops 4, ternaries 2 (nesting depth added 11). Of this number, 24 points are the body\u0027s own statements and 9 belong to 3 function literals inside it that branch. 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":13636}}}],"partialFingerprints":{"codehealthFindingId/v1":"f56a8e05056b1bc92fa3fd31532d1d397605cc8d487398890bb152d6397b0e52"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.getFirstLine::visit (cognitive 33): Graph.Graph.getFirstLine::visit has cognitive complexity 33 (threshold 15). Drivers by points: boolean chains 15, if/else 5 (11 pts), loops 2 (4 pts), ternaries 1 (3 pts) (nesting depth added 10). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":22600}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ceae2c392abeac088a9250bb7a837092494ab91230a2bdb38e5bf0a8129c0a7"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.getCellDescription (cognitive 33): Graph.Graph.getCellDescription has cognitive complexity 33 (threshold 15). Drivers by points: if/else 11 (18 pts), ternaries 4 (8 pts), boolean chains 5, loops 1 (2 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":22857}}}],"partialFingerprints":{"codehealthFindingId/v1":"f78c1232b1ffa7584ff62fc056cf973fb9fb02f693cdb961c34465c9459dbce8"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.mxGraphView.snapToAnchorPoint (cognitive 33): Graph.mxGraphView.snapToAnchorPoint has cognitive complexity 33 (threshold 15). Drivers by points: if/else 7 (24 pts), ternaries 1 (4 pts), loops 1 (3 pts), boolean chains 2 (nesting depth added 22). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":32509}}}],"partialFingerprints":{"codehealthFindingId/v1":"92022d9ba20b813a020421e0d7ec49c09dfb9764870c76a70f8ad8951e506b0a"}},{"ruleId":"D2","level":"warning","message":{"text":"mxEdgeHandler.mxEdgeHandler.createBends (cognitive 33): mxEdgeHandler.mxEdgeHandler.createBends has cognitive complexity 33 (threshold 15). Drivers by points: if/else 6 (23 pts), ternaries 1 (6 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 23). Most of this is not in the body itself: 12 of the 33 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 671, 674). 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/webapp/mxgraph/src/handler/mxEdgeHandler.js"},"region":{"startLine":654}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef7c33e21e3350cd28c04e79fb0fd53e6af8f534951cf75a3191c460338eca98"}},{"ruleId":"D2","level":"warning","message":{"text":"mxBpmnShape2.mxShapeBpmnEvent.strictDrawShape (cognitive 33): mxBpmnShape2.mxShapeBpmnEvent.strictDrawShape has cognitive complexity 33 (threshold 15). Drivers by points: if/else 23 (31 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/shapes/bpmn/mxBpmnShape2.js"},"region":{"startLine":903}}}],"partialFingerprints":{"codehealthFindingId/v1":"98da8f212c2ef8a2f32e6f05ff598270743d05e952be66f2907d5f726e720896"}},{"ruleId":"D2","level":"warning","message":{"text":"mxBpmnShape2.mxShapeBpmn2Task.paintVertexShape (cognitive 33): mxBpmnShape2.mxShapeBpmn2Task.paintVertexShape has cognitive complexity 33 (threshold 15). Drivers by points: if/else 24 (32 pts), match/switch 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/shapes/bpmn/mxBpmnShape2.js"},"region":{"startLine":1578}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ce76fe6c82b03d9601750ab629440b78b64f04bfc81c4d1589a66c1a192740c"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::processMasterShape (cognitive 33): (anonymous)::processMasterShape has cognitive complexity 33 (threshold 15). Drivers by points: if/else 6 (17 pts), loops 3 (7 pts), ternaries 1 (5 pts), boolean chains 4 (nesting depth added 19). 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":4458}}}],"partialFingerprints":{"codehealthFindingId/v1":"4712bb59efb6063c7ee457a6bc85939ca8f52e3be873a61098eefde2028591bd"}},{"ruleId":"D2","level":"warning","message":{"text":"updateSelectionStateForTableCells (cognitive 33): updateSelectionStateForTableCells has cognitive complexity 33 (threshold 15). Drivers by points: if/else 6 (15 pts), ternaries 2 (8 pts), boolean chains 7, loops 1 (3 pts) (nesting depth added 17). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":1788}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ade5258f96a875f5a107b0f86d6b4c83c258d8092f044c290f2f53d682e84e3"}},{"ruleId":"D2","level":"warning","message":{"text":"initCanvas::zoomGraph (cognitive 33): initCanvas::zoomGraph has cognitive complexity 33 (threshold 15). Drivers by points: if/else 11 (19 pts), boolean chains 8, ternaries 2 (6 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":7326}}}],"partialFingerprints":{"codehealthFindingId/v1":"980eed9b50208cb863bfd8c45a4a6aaada462bd6c31b1e09d1504ca4aa78ae1d"}},{"ruleId":"D2","level":"warning","message":{"text":"getPageIdForChange (cognitive 33): getPageIdForChange has cognitive complexity 33 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 9, loops 2 (5 pts), ternaries 2 (4 pts) (nesting depth added 10). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DrawioFileSync.js"},"region":{"startLine":2555}}}],"partialFingerprints":{"codehealthFindingId/v1":"39df43249797b40ccda1a9868abe584f963a30b81429aec624e866bfac8be029"}},{"ruleId":"D2","level":"warning","message":{"text":"createPolygonHandles (cognitive 33): createPolygonHandles has cognitive complexity 33 (threshold 15). Drivers by points: if/else 8 (20 pts), boolean chains 8, loops 3, error handling 1, ternaries 1 (nesting depth added 12). Most of this is not in the body itself: 10 of the 33 points are its own statements and the rest belongs to 9 function items inside it that branch ((anonymous)::execute, (anonymous)::redraw, a function literal at line 3535, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/shapes/mxBasic.js"},"region":{"startLine":3435}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab3079824da3e2f1df36b4e2ec91ed63cee56fbd06f241cf8f829acd524a0fef"}},{"ruleId":"D2","level":"warning","message":{"text":"getLayoutFormConfig (cognitive 33): getLayoutFormConfig has cognitive complexity 33 (threshold 15). Drivers by points: if/else 14 (23 pts), ternaries 1 (4 pts), boolean chains 3, loops 1 (3 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/LayoutPicker.js"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b8b38a1947d2837f889d60c724328f4091fcbfa8c02ed9f292b8021ec3594a4"}},{"ruleId":"D2","level":"warning","message":{"text":"mxODPicker (cognitive 33): mxODPicker has cognitive complexity 33 (threshold 15). Drivers by points: if/else 77 (107 pts), ternaries 47 (73 pts), boolean chains 41, error handling 4 (7 pts), loops 5 (7 pts), match/switch 2 (3 pts) (nesting depth added 62). 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/webapp/js/onedrive/mxODPicker.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"cad268ae8abee1c56f0a4a5b29cc91616827a8fa157c3c1b99210aa68b39ddb2"}},{"ruleId":"D2","level":"warning","message":{"text":"add (cognitive 33): add has cognitive complexity 33 (threshold 15). Drivers by points: if/else 11 (23 pts), error handling 2 (8 pts), ternaries 2 (nesting depth added 18). Of this number, 18 points are the body\u0027s own statements and 15 belong to 5 function items inside it that branch. 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/webapp/mxgraph/src/util/mxResources.js"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee825aee10347b0927f21135a464d2580987b2ae378d9c0e2b866383be89b8a1"}},{"ruleId":"D2","level":"warning","message":{"text":"refresh (cognitive 33): refresh has cognitive complexity 33 (threshold 15). Drivers by points: if/else 11 (27 pts), loops 4, boolean chains 2 (nesting depth added 16). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/handler/mxSelectionCellsHandler.js"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"001c0731dc71ad80ba1581e79a41ee30e88ce6be9c659091cfbb1ec205434755"}},{"ruleId":"D2","level":"warning","message":{"text":"getCellStyle (cognitive 33): getCellStyle has cognitive complexity 33 (threshold 15). Drivers by points: if/else 9 (18 pts), loops 2 (7 pts), ternaries 2 (5 pts), boolean chains 3 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxStylesheet.js"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"a96694dd4ee488219fa72f7144fb4bed5429a71dcbc4851db94886b4a52f4955"}},{"ruleId":"D2","level":"warning","message":{"text":"Dialogs.ParseDialog (cognitive 32): Dialogs.ParseDialog has cognitive complexity 32 (threshold 15). Drivers by points: if/else 71 (142 pts), boolean chains 33, ternaries 9 (33 pts), loops 8 (22 pts), error handling 1 (nesting depth added 109). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":1514}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee389b4e01bb6c099091038ceaead0f082bd2cae5b7783c81c9d572fe8c53996"}},{"ruleId":"D2","level":"warning","message":{"text":"Dialogs.PolygonDialog::renderPolygon (cognitive 32): Dialogs.PolygonDialog::renderPolygon has cognitive complexity 32 (threshold 15). Drivers by points: if/else 9 (13 pts), ternaries 4 (8 pts), loops 7, boolean chains 4 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":26244}}}],"partialFingerprints":{"codehealthFindingId/v1":"863903d84137ec4f99fc14549527a7eca41c9421116f8784e622b2f2640f3e20"}},{"ruleId":"D2","level":"warning","message":{"text":"DiffSync.EditorUi.diffSavedPages (cognitive 32): DiffSync.EditorUi.diffSavedPages has cognitive complexity 32 (threshold 15). Drivers by points: if/else 6 (19 pts), ternaries 2 (6 pts), loops 2 (4 pts), boolean chains 3 (nesting depth added 19). 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/webapp/js/diagramly/DiffSync.js"},"region":{"startLine":2100}}}],"partialFingerprints":{"codehealthFindingId/v1":"11177ab2d33c4c92a69b293a2118eaeaf969ed52647c6ace4fa143bdd58b197b"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.installImagePasteHandler (cognitive 32): EditorUi.EditorUi.installImagePasteHandler has cognitive complexity 32 (threshold 15). Drivers by points: if/else 12 (22 pts), loops 3 (5 pts), boolean chains 3, error handling 1, ternaries 1 (nesting depth added 12). None of this is in the body itself: all 32 points belong to 5 function literals inside it that branch (lines 29418, 29454, 29463, \u2026). 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":29414}}}],"partialFingerprints":{"codehealthFindingId/v1":"669cb0e98d405d96303b9372f8ebc7d5ff8c3efe16a46dfe7d0de945451ad6e1"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.readGraphModelFromHtmlClipboardData (cognitive 32): EditorUi.EditorUi.readGraphModelFromHtmlClipboardData has cognitive complexity 32 (threshold 15). Drivers by points: if/else 8 (18 pts), error handling 4 (7 pts), boolean chains 4, ternaries 2 (3 pts) (nesting depth added 14). None of this is in the body itself: all 32 points belong to one function literal inside it that branches (line 29591). The decisions are inside the literal, 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 literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":29589}}}],"partialFingerprints":{"codehealthFindingId/v1":"8712a44a75bc4f382d19ede5ce96c6bf53ae0ed601b2f878d8b039eb2bfe0d42"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.showRemotelyStoredLibrary (cognitive 32): EditorUi.EditorUi.showRemotelyStoredLibrary has cognitive complexity 32 (threshold 15). Drivers by points: if/else 12 (21 pts), loops 4 (5 pts), error handling 2 (3 pts), boolean chains 2, ternaries 1 (nesting depth added 11). Most of this is not in the body itself: 6 of the 32 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 42406, 42467, 42430, \u2026). 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":42367}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad8cc0d49998e21f24e510acf6dd783f0342eeeb0978dd925505b84d8369889a"}},{"ruleId":"D2","level":"warning","message":{"text":"SpringMove.SpringMove.init (cognitive 32): SpringMove.SpringMove.init has cognitive complexity 32 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 5 (7 pts), boolean chains 4, ternaries 1 (3 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/SpringMove.js"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c4912f92cb16b66e8c92fe30391fb9e3b997c716bec7e115119b33fa4c6ae46"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.selectCellInDirection (cognitive 32): EditorUi.EditorUi.selectCellInDirection has cognitive complexity 32 (threshold 15). Drivers by points: ternaries 7 (15 pts), if/else 5 (11 pts), boolean chains 5, loops 1 (nesting depth added 14). Most of this is not in the body itself: 13 of the 32 points are its own statements and the rest belongs to 3 function items inside it that branch (a function literal at line 4685, bounds, depth). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":4648}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e609851cd1c8d8c1cb09b3839786e479e684a95d87b32664fa884d4a2baf8cf"}},{"ruleId":"D2","level":"warning","message":{"text":"Format.ArrangePanel.addGeometryHandler.update (cognitive 32): Format.ArrangePanel.addGeometryHandler.update has cognitive complexity 32 (threshold 15). Drivers by points: if/else 8 (27 pts), loops 1 (3 pts), boolean chains 2 (nesting depth added 21). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Format.js"},"region":{"startLine":4131}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0b1fe4d54011955ad64b87e4d286471e559cfda7a1b7e447929c0de4a0d94ef"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.mxImageShape.getImageDataUri (cognitive 32): Graph.mxImageShape.getImageDataUri has cognitive complexity 32 (threshold 15). Drivers by points: if/else 10 (27 pts), boolean chains 5 (nesting depth added 17). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"50a1a0ded1dc94082b790c062140839752cd117ef5f9863c7d7d9279de8767ef"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.replaceFontElements (cognitive 32): Graph.Graph.replaceFontElements has cognitive complexity 32 (threshold 15). Drivers by points: if/else 7 (19 pts), loops 4 (6 pts), boolean chains 5, ternaries 1 (2 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":6297}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e522f3cdeea083a31a9f4b56b3a8122eed53bb85f4fc514a31b33be426a188e"}},{"ruleId":"D2","level":"warning","message":{"text":"mxGraphView.mxGraphView.getPoint (cognitive 32): mxGraphView.mxGraphView.getPoint has cognitive complexity 32 (threshold 15). Drivers by points: if/else 8 (17 pts), ternaries 4 (10 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 16). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxGraphView.js"},"region":{"startLine":4093}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea35837c1bb75ba999cc6ad7a3903bad7dc9a96cffa20e61e84934e669b2ee62"}},{"ruleId":"D2","level":"warning","message":{"text":"ExportProxyServlet.doRequest (cognitive 32): ExportProxyServlet.doRequest has cognitive complexity 32 (threshold 15). Drivers by points: if/else 14 (19 pts), loops 4 (7 pts), boolean chains 3, error handling 3 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/server/java/com/mxgraph/online/ExportProxyServlet.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0ff2376b28d6715b022304e2b568a9632d8f7719da7976c4f299155e6c0ce68"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::importNodes (cognitive 32): (anonymous)::importNodes has cognitive complexity 32 (threshold 15). Drivers by points: if/else 7 (18 pts), loops 4 (11 pts), boolean chains 3 (nesting depth added 18). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"62d89f4371d9f8ba68de8750cf9a6d5d6a7f74dd97e6956ab882029865a8531a"}},{"ruleId":"D2","level":"warning","message":{"text":"addMathTextLayer (cognitive 32): addMathTextLayer has cognitive complexity 32 (threshold 15). Drivers by points: ternaries 8 (14 pts), boolean chains 10, if/else 4 (6 pts), loops 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":5631}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd1fd53a7533ae552bee18d160ec0aabb4a166851ae728707d746dbe50ffdd41"}},{"ruleId":"D2","level":"warning","message":{"text":"addClickHandler (cognitive 32): addClickHandler has cognitive complexity 32 (threshold 15). Drivers by points: if/else 13 (20 pts), boolean chains 11, error handling 1 (nesting depth added 7). None of this is in the body itself: all 32 points belong to 5 function items inside it that branch (a function literal at line 7416, mouseUp, mouseMove, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":7406}}}],"partialFingerprints":{"codehealthFindingId/v1":"32862cfb007d7c449bd472f18410871f4b8959c263a0544b9a7df559a3a69c4f"}},{"ruleId":"D2","level":"warning","message":{"text":"getPosition (cognitive 32): getPosition has cognitive complexity 32 (threshold 15). Drivers by points: boolean chains 10, ternaries 7 (10 pts), if/else 6 (9 pts), loops 3 (nesting depth added 6). Of this number, 17 points are the body\u0027s own statements and 15 belong to one function literal inside it that branches. 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/webapp/js/grapheditor/InlineToolbar.js"},"region":{"startLine":1238}}}],"partialFingerprints":{"codehealthFindingId/v1":"61ce72945b940c5218918a5d4d6ef4b56824d5ca91f7ce0b5d1ed344a7995049"}},{"ruleId":"D2","level":"warning","message":{"text":"installFlaggedCells (cognitive 32): installFlaggedCells has cognitive complexity 32 (threshold 15). Drivers by points: if/else 10 (18 pts), boolean chains 11, loops 2 (3 pts) (nesting depth added 9). Most of this is not in the body itself: 1 of the 32 points is its own statement and the rest belongs to 2 function items inside it that branch (a function literal at line 1018, update). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/LibavoidRouting.js"},"region":{"startLine":978}}}],"partialFingerprints":{"codehealthFindingId/v1":"a34597f16b204268e9d6e264b258d007231ca8e247368fa0a9406759a3bb31b7"}},{"ruleId":"D2","level":"warning","message":{"text":"updateDiagramData (cognitive 32): updateDiagramData has cognitive complexity 32 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 8, loops 3 (6 pts), ternaries 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Pages.js"},"region":{"startLine":2076}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf673a5ce82a2f5f220ee1b5e04b6fc733c94ee331f287d8e691c7772f35b54b"}},{"ruleId":"D2","level":"warning","message":{"text":"checksumError (cognitive 32): checksumError has cognitive complexity 32 (threshold 15). Drivers by points: if/else 9 (13 pts), ternaries 11, boolean chains 3, error handling 3, loops 1 (2 pts) (nesting depth added 5). Most of this is not in the body itself: 13 of the 32 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 938, 1004). 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/webapp/js/diagramly/DrawioFile.js"},"region":{"startLine":890}}}],"partialFingerprints":{"codehealthFindingId/v1":"42360b9a547ebeb1c254c3d5517fb693370600133c9976bd2b5bc4572579e833"}},{"ruleId":"D2","level":"warning","message":{"text":"patchFileNode (cognitive 32): patchFileNode has cognitive complexity 32 (threshold 15). Drivers by points: if/else 6 (17 pts), loops 2 (6 pts), ternaries 1 (6 pts), boolean chains 3 (nesting depth added 20). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DiffSync.js"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"59794f40dafc829e217960f3d61bfa8b2a4fb27716790d08d0b9446a35800aa3"}},{"ruleId":"D2","level":"warning","message":{"text":"diffOwnCellProperties (cognitive 32): diffOwnCellProperties has cognitive complexity 32 (threshold 15). Drivers by points: if/else 6 (13 pts), ternaries 3 (9 pts), boolean chains 7, loops 3 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DiffSync.js"},"region":{"startLine":2675}}}],"partialFingerprints":{"codehealthFindingId/v1":"0be12a230725c5915e2df7357d770897fcc97702901153d44d8af3933c234ce2"}},{"ruleId":"D2","level":"warning","message":{"text":"createControls (cognitive 32): createControls has cognitive complexity 32 (threshold 15). Drivers by points: if/else 13 (19 pts), boolean chains 9, error handling 1 (3 pts), loops 1 (nesting depth added 8). Of this number, 26 points are the body\u0027s own statements and 6 belong to 13 function items inside it that branch. 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/webapp/js/diagramly/ViewerModern.js"},"region":{"startLine":1143}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceded44709f81db8766b58bf83dabcd7902c90c72aa379ee11add45cab8aee63"}},{"ruleId":"D2","level":"warning","message":{"text":"render::redraw (cognitive 32): render::redraw has cognitive complexity 32 (threshold 15). Drivers by points: if/else 6 (15 pts), ternaries 3 (10 pts), boolean chains 7 (nesting depth added 16). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/export.js"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c236d61ec534eaf9b1459495b4c9ef12d8e12d4f0ed25c63e88873961be5d81"}},{"ruleId":"D2","level":"warning","message":{"text":"redrawShape (cognitive 32): redrawShape has cognitive complexity 32 (threshold 15). Drivers by points: if/else 12 (20 pts), boolean chains 12 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxCellRenderer.js"},"region":{"startLine":1788}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7d919b029c9ee1063487893df04368e7f6849e117d6fab0cc65869c1c5cf8d2"}},{"ruleId":"D2","level":"warning","message":{"text":"start (cognitive 32): start has cognitive complexity 32 (threshold 15). Drivers by points: boolean chains 18, if/else 3 (7 pts), loops 2 (5 pts), ternaries 1 (2 pts) (nesting depth added 8). Of this number, 24 points are the body\u0027s own statements and 8 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/handler/mxGraphHandler.js"},"region":{"startLine":1010}}}],"partialFingerprints":{"codehealthFindingId/v1":"d74044b3dbd01d8065e2956850ea8d33a09a5302992869c5b364ff1264e6eb19"}},{"ruleId":"D2","level":"warning","message":{"text":"createThumbnail (cognitive 32): createThumbnail has cognitive complexity 32 (threshold 15). Drivers by points: if/else 12, boolean chains 9, ternaries 6 (9 pts), loops 1 (2 pts) (nesting depth added 4). Of this number, 22 points are the body\u0027s own statements and 10 belong to 6 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/tidy/TidyWindow.js"},"region":{"startLine":1518}}}],"partialFingerprints":{"codehealthFindingId/v1":"36481a3ca24eb4f62be9aded8fe5ab1c853d8c7c70126dbcf151bb3d538f8b49"}},{"ruleId":"D2","level":"warning","message":{"text":"Dialogs.NewDialog::addTemplateEntry (cognitive 31): Dialogs.NewDialog::addTemplateEntry has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (29 pts), boolean chains 2 (nesting depth added 19). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This shape REPEATS in the file: 2 other methods here (Dialogs.NewDialog::filterTemplates, Dialogs.NewDialog::initUi) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":4111}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe3e2b1e71694e418f70a586de9f205ad43dfe45064e0a8f490bd69f5b615071"}},{"ruleId":"D2","level":"warning","message":{"text":"Editor.Editor.addHtmlInCanvasFonts (cognitive 31): Editor.Editor.addHtmlInCanvasFonts has cognitive complexity 31 (threshold 15). Drivers by points: if/else 6 (20 pts), loops 3 (8 pts), error handling 1 (2 pts), boolean chains 1 (nesting depth added 20). Of this number, 28 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. 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/webapp/js/diagramly/Editor.js"},"region":{"startLine":7640}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc8e80492caeefc534514c14521569777c69294b547450a1f15286a1059704c8"}},{"ruleId":"D2","level":"warning","message":{"text":"Editor.Editor.parseAnimationScript (cognitive 31): Editor.Editor.parseAnimationScript has cognitive complexity 31 (threshold 15). Drivers by points: if/else 12 (25 pts), boolean chains 4, loops 1, ternaries 1 (nesting depth added 13). Of this number, 28 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. 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/webapp/js/diagramly/Editor.js"},"region":{"startLine":15440}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc22f68d4e7ebbce565b28d2f6fea5111a444a02e6dc038bb11b7643f3dea916"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.hashValue (cognitive 31): EditorUi.EditorUi.hashValue has cognitive complexity 31 (threshold 15). Drivers by points: if/else 8 (17 pts), loops 3 (8 pts), ternaries 1 (4 pts), boolean chains 2 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":5715}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf201442c392a04f56248267b90ffdd3395b344888061ef983a9b1c6885f207e"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.getEmbeddedSvg (cognitive 31): EditorUi.EditorUi.getEmbeddedSvg has cognitive complexity 31 (threshold 15). Drivers by points: if/else 14 (20 pts), boolean chains 5, error handling 1 (3 pts), ternaries 3 (nesting depth added 8). Of this number, 18 points are the body\u0027s own statements and 13 belong to 4 function literals inside it that branch. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":13624}}}],"partialFingerprints":{"codehealthFindingId/v1":"cecdac025de6d789f7cb7e84dc9d34fbb74645eed738e0d6fdaa1506322d8602"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.importVisio (cognitive 31): EditorUi.EditorUi.importVisio has cognitive complexity 31 (threshold 15). Drivers by points: if/else 13 (19 pts), error handling 3 (9 pts), boolean chains 3 (nesting depth added 12). None of this is in the body itself: all 31 points belong to 5 function literals inside it that branch (lines 14393, 14381, 14434, \u2026). 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":14364}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c0e180ae623f8829f045c4c9485a57ddb1efaf00599a4b418c536b4e1ae6758"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.updateDefaultStyles (cognitive 31): EditorUi.EditorUi.updateDefaultStyles has cognitive complexity 31 (threshold 15). Drivers by points: if/else 13 (21 pts), boolean chains 10 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":27719}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1b5c634ac9497b5984fa20c064fa219852af9b193ba25390db4d2e1f81da7a9"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.parseDataSourceRows (cognitive 31): EditorUi.EditorUi.parseDataSourceRows has cognitive complexity 31 (threshold 15). Drivers by points: if/else 7 (20 pts), loops 3 (8 pts), boolean chains 3 (nesting depth added 18). 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":38340}}}],"partialFingerprints":{"codehealthFindingId/v1":"15b1baba9d73e07697aa5049ba8e9c30226b64124636bb6a84c1349b3f7d8ba3"}},{"ruleId":"D2","level":"warning","message":{"text":"ElectronApp.App.main (cognitive 31): ElectronApp.App.main has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (21 pts), error handling 1 (4 pts), loops 2 (4 pts), boolean chains 1, ternaries 1 (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/webapp/js/diagramly/ElectronApp.js"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"f04ea587d2c1b5fbde20d0d309b1a8e36607c4feba4923af9988a1436cb55e66"}},{"ruleId":"D2","level":"warning","message":{"text":"GraphViewer.GraphViewer.loadLanguageResources (cognitive 31): GraphViewer.GraphViewer.loadLanguageResources has cognitive complexity 31 (threshold 15). Drivers by points: if/else 8 (16 pts), error handling 3 (10 pts), loops 1 (3 pts), boolean chains 2 (nesting depth added 17). Most of this is not in the body itself: 12 of the 31 points are its own statements and the rest belongs to 2 function items inside it that branch (done, a function literal at line 3986). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/GraphViewer.js"},"region":{"startLine":3952}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec4093b3c2988a315b1b16639be0492300aca38924fcd6507ba451ed55faf8a1"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.getPaletteStyle (cognitive 31): EditorUi.EditorUi.getPaletteStyle has cognitive complexity 31 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 9 (12 pts), boolean chains 4, ternaries 3 (nesting depth added 9). Of this number, 24 points are the body\u0027s own statements and 7 belong to 4 function items inside it that branch. 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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":3356}}}],"partialFingerprints":{"codehealthFindingId/v1":"289402fbe0a9abeb85a5fe6bb39bc6c4d95eda9cf18d633675c6be04c6626a68"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.ctrlEnter (cognitive 31): EditorUi.EditorUi.ctrlEnter has cognitive complexity 31 (threshold 15). Drivers by points: if/else 6 (15 pts), ternaries 2 (8 pts), error handling 1 (3 pts), loops 1 (3 pts), boolean chains 2 (nesting depth added 19). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":9963}}}],"partialFingerprints":{"codehealthFindingId/v1":"87dadd11038437768592bc7812166f0edef8e7747ae133e93524c9695d086570"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.getNestedCornerIconOffset (cognitive 31): Graph.Graph.getNestedCornerIconOffset has cognitive complexity 31 (threshold 15). Drivers by points: if/else 7 (20 pts), loops 4 (8 pts), boolean chains 3 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":20175}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac6d764294df221f2f8b9fb77bb30a146b8a103723c74a283a50fc94d386f03a"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.addTextOutlineButton (cognitive 31): Graph.Graph.addTextOutlineButton has cognitive complexity 31 (threshold 15). Drivers by points: if/else 16 (21 pts), boolean chains 6, loops 2, error handling 1, ternaries 1 (nesting depth added 5). Most of this is not in the body itself: 1 of the 31 points is its own statement and the rest belongs to 9 function items inside it that branch (escape, setVisible, keydown, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":23234}}}],"partialFingerprints":{"codehealthFindingId/v1":"73ff8e4948989a69b5748922093ada87918b65d9e2a29ffa6676cc970fd3ee8c"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.addFlowAnimationToNode (cognitive 31): Graph.Graph.addFlowAnimationToNode has cognitive complexity 31 (threshold 15). Drivers by points: if/else 8 (17 pts), loops 2 (7 pts), boolean chains 4, ternaries 1 (3 pts) (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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":23581}}}],"partialFingerprints":{"codehealthFindingId/v1":"cae27102b4d5f690f0218336234d7774817ae8ce68a1471f5baef8f5c4c3ae79"}},{"ruleId":"D2","level":"warning","message":{"text":"Omnibox.Omnibox.revealFormatControl (cognitive 31): Omnibox.Omnibox.revealFormatControl has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (22 pts), boolean chains 5, loops 1 (4 pts) (nesting depth added 15). Most of this is not in the body itself: 7 of the 31 points are its own statements and the rest belongs to one function literal inside it that branches (line 1693). The decisions are inside the literal, 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 literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Omnibox.js"},"region":{"startLine":1689}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e3ee05f3f1a3af25486c07bfcd23d434a7006a3b3efa2f8142478a5f9ce5306"}},{"ruleId":"D2","level":"warning","message":{"text":"Shapes.addCurvedPath (cognitive 31): Shapes.addCurvedPath has cognitive complexity 31 (threshold 15). Drivers by points: if/else 9 (18 pts), loops 4 (8 pts), ternaries 1 (3 pts), boolean chains 2 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":2058}}}],"partialFingerprints":{"codehealthFindingId/v1":"f353871732c284fef6640814bbce96e822ee0a5ec40dfd9c070939e399ea30de"}},{"ruleId":"D2","level":"warning","message":{"text":"Shapes.MermaidBlockArrowShape.redrawPath (cognitive 31): Shapes.MermaidBlockArrowShape.redrawPath has cognitive complexity 31 (threshold 15). Drivers by points: if/else 19, boolean chains 11, loops 1. Of this number, 28 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":9486}}}],"partialFingerprints":{"codehealthFindingId/v1":"4744858fd957955ea28fca6e3e16e42e716f02b3c223a4ca4f871c8f958a0e72"}},{"ruleId":"D2","level":"warning","message":{"text":"mxEdgeHandler.mxEdgeHandler.redraw (cognitive 31): mxEdgeHandler.mxEdgeHandler.redraw has cognitive complexity 31 (threshold 15). Drivers by points: if/else 7 (23 pts), loops 1 (5 pts), boolean chains 3 (nesting depth added 20). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/handler/mxEdgeHandler.js"},"region":{"startLine":2599}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e3d26f5d848859eb0b771d1cda13785704748d53e296bda4ca5308eb02d7b02"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::getStencilBounds (cognitive 31): (anonymous)::getStencilBounds has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (19 pts), loops 2 (5 pts), boolean chains 4, ternaries 1 (3 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":1707}}}],"partialFingerprints":{"codehealthFindingId/v1":"a27e6e12ca7f8f0a20c4e27077445fb8f341ab3e7521d983fae53348bbe3e8d3"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 31): (anonymous) has cognitive complexity 31 (threshold 15). Drivers by points: match/switch 5 (14 pts), if/else 7 (9 pts), loops 2 (6 pts), boolean chains 2 (nesting depth added 15). None of this is in the body itself: all 31 points belong to 11 function items inside it that branch (a function literal at line 7303, LineStyle, getLineColor, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":7268}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d781de53be859be5de8236f125fa1a67090b37335a91a6a52d16d45d320accb"}},{"ruleId":"D2","level":"warning","message":{"text":"NewDialog::addButton (cognitive 31): NewDialog::addButton has cognitive complexity 31 (threshold 15). Drivers by points: if/else 15 (22 pts), boolean chains 7, ternaries 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":3325}}}],"partialFingerprints":{"codehealthFindingId/v1":"96d743b315efbccc36437cd0bb934016a14915c96289edbf65404d3acaf61478"}},{"ruleId":"D2","level":"warning","message":{"text":"updatePreview (cognitive 31): updatePreview has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 6 (15 pts), if/else 8 (12 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":28116}}}],"partialFingerprints":{"codehealthFindingId/v1":"9303bc27c79c71f72f38115bb0fee8007352a922ef07db81ea119dc9602b1aeb"}},{"ruleId":"D2","level":"warning","message":{"text":"getSvg (cognitive 31): getSvg has cognitive complexity 31 (threshold 15). Drivers by points: if/else 8 (11 pts), ternaries 5 (9 pts), boolean chains 8, error handling 1 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":11732}}}],"partialFingerprints":{"codehealthFindingId/v1":"c23055c9bc4461a23fcdf34dda010913fba4474ee2cb500adc6336b856a1e902"}},{"ruleId":"D2","level":"warning","message":{"text":"getCustomLinkTitle (cognitive 31): getCustomLinkTitle has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 4 (13 pts), boolean chains 8, if/else 5 (8 pts), error handling 1 (2 pts) (nesting depth added 13). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":12039}}}],"partialFingerprints":{"codehealthFindingId/v1":"04eff882e282ba42742b58b5679cd8cf4aea186543e3ee2f5d34bc6e73c0aab5"}},{"ruleId":"D2","level":"warning","message":{"text":"play (cognitive 31): play has cognitive complexity 31 (threshold 15). Drivers by points: if/else 17 (18 pts), boolean chains 8, error handling 2 (4 pts), loops 1 (nesting depth added 3). Most of this is not in the body itself: 8 of the 31 points are its own statements and the rest belongs to 4 function items inside it that branch (runStep, a function literal at line 16111, iter, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":15978}}}],"partialFingerprints":{"codehealthFindingId/v1":"9673c058112456457a592ffe740506722c0ab62385bc8e2a357987a163ec5f5d"}},{"ruleId":"D2","level":"warning","message":{"text":"paintCollapsedTable (cognitive 31): paintCollapsedTable has cognitive complexity 31 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 10, loops 7 (10 pts) (nesting depth added 5). Of this number, 29 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. 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/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e3c3b4cdb8a73ea95df487717dfa416ac69a048488bfe9b93d454d7396e3d74"}},{"ruleId":"D2","level":"warning","message":{"text":"createRelativeOption (cognitive 31): createRelativeOption has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (17 pts), ternaries 5 (12 pts), boolean chains 2 (nesting depth added 14). Most of this is not in the body itself: 3 of the 31 points are its own statements and the rest belongs to 4 function items inside it that branch (a function literal at line 2133, a function literal at line 2193, a function literal at line 2203, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Format.js"},"region":{"startLine":2121}}}],"partialFingerprints":{"codehealthFindingId/v1":"df4a731d8823cb29481a143476c203ae92adb19d6460d2fb4448912b8c8efc2a"}},{"ruleId":"D2","level":"warning","message":{"text":"setStyleFlag (cognitive 31): setStyleFlag has cognitive complexity 31 (threshold 15). Drivers by points: if/else 13 (21 pts), ternaries 2 (6 pts), boolean chains 4 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxUtils.js"},"region":{"startLine":5001}}}],"partialFingerprints":{"codehealthFindingId/v1":"213b7a735ccd5d16e0d111f739b49758d0ff52613648210c3d2f51f5cf4a4acc"}},{"ruleId":"D2","level":"warning","message":{"text":"installPaletteDragReorder (cognitive 31): installPaletteDragReorder has cognitive complexity 31 (threshold 15). Drivers by points: if/else 14 (19 pts), boolean chains 6, ternaries 4 (5 pts), loops 1 (nesting depth added 6). Most of this is not in the body itself: 3 of the 31 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 824, 928, 812, \u2026). 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/webapp/js/diagramly/sidebar/Sidebar.js"},"region":{"startLine":801}}}],"partialFingerprints":{"codehealthFindingId/v1":"7059466f311a1fd5da325c1f2940a6a09666f05c2e9c7473baa6da65da89eb96"}},{"ruleId":"D2","level":"warning","message":{"text":"update (cognitive 31): update has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 17 (20 pts), if/else 8 (9 pts), boolean chains 1, loops 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/LightboxModern.js"},"region":{"startLine":1993}}}],"partialFingerprints":{"codehealthFindingId/v1":"46846916e119eb86797f70d41a568a55bb40afd27629e41f1d93b47f8025b19a"}},{"ruleId":"D2","level":"warning","message":{"text":"createExportPanel (cognitive 31): createExportPanel has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 10 (13 pts), if/else 8 (9 pts), boolean chains 6, loops 3 (nesting depth added 4). Most of this is not in the body itself: 8 of the 31 points are its own statements and the rest belongs to 13 function literals inside it that branch (lines 2958, 3012, 2932, \u2026). 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/webapp/js/diagramly/LightboxModern.js"},"region":{"startLine":2914}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b0a606f537766df4763194739c6f72cf1596fd6c579f188cd4931e3263e5257"}},{"ruleId":"D2","level":"warning","message":{"text":"getFile (cognitive 31): getFile has cognitive complexity 31 (threshold 15). Drivers by points: if/else 12 (20 pts), boolean chains 6, ternaries 3, error handling 1 (2 pts) (nesting depth added 9). Most of this is not in the body itself: 8 of the 31 points are its own statements and the rest belongs to 3 function items inside it that branch (a function literal at line 1868, checkAnswer, a function literal at line 1850). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DriveClient.js"},"region":{"startLine":1820}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fda451ce30846a76cae8ad0b3f321c7fe49b72debbb90ed0bacd4567483ba71"}},{"ruleId":"D2","level":"warning","message":{"text":"addTrees::selectCell (cognitive 31): addTrees::selectCell has cognitive complexity 31 (threshold 15). Drivers by points: if/else 8 (19 pts), boolean chains 7, ternaries 1 (5 pts) (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Trees.js"},"region":{"startLine":1492}}}],"partialFingerprints":{"codehealthFindingId/v1":"de4ce7fa1d65719b97c3aff4f92d40e4faee66c1213366230d05e18b2bba639f"}},{"ruleId":"D2","level":"warning","message":{"text":"addPoints (cognitive 31): addPoints has cognitive complexity 31 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 7, loops 2 (6 pts), ternaries 2 (5 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/shape/mxShape.js"},"region":{"startLine":1483}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3a7b8b6fd9318b3e97b18a70eba62e1c3086533c177dee951ce58a5ddfa3532"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::selectCell (cognitive 31): (anonymous)::selectCell has cognitive complexity 31 (threshold 15). Drivers by points: if/else 8 (19 pts), boolean chains 7, ternaries 1 (5 pts) (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/plugins/trees/trees.js"},"region":{"startLine":798}}}],"partialFingerprints":{"codehealthFindingId/v1":"6106812ee85a95fe263e2c71faa8e58e0c64c70c3134bbe2cc5197e95a63bc11"}},{"ruleId":"D2","level":"warning","message":{"text":"redrawText (cognitive 31): redrawText has cognitive complexity 31 (threshold 15). Drivers by points: if/else 12 (19 pts), boolean chains 12 (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/webapp/mxgraph/src/shape/mxText.js"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"d659b188dfac5403e17a9035d3b5d698a17b2f6180ee1987fa36834c53f7ffee"}},{"ruleId":"D2","level":"warning","message":{"text":"updateTextAreaStyle (cognitive 31): updateTextAreaStyle has cognitive complexity 31 (threshold 15). Drivers by points: if/else 13, ternaries 7 (11 pts), boolean chains 7 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxCellEditor.js"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1c1d47d37bad744b150f16b032ba8203344034722efbb4bd392e88c6e805602"}},{"ruleId":"D2","level":"warning","message":{"text":"moveCell (cognitive 31): moveCell has cognitive complexity 31 (threshold 15). Drivers by points: if/else 5 (15 pts), ternaries 4 (12 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 19). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/layout/mxStackLayout.js"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa1dadc861da2ea16e27f7225acf6729e5ac17bf4f5973af67e991eeec5286a3"}},{"ruleId":"D2","level":"warning","message":{"text":"DrawioFile.DrawioFile.compressionChanged (cognitive 30): DrawioFile.DrawioFile.compressionChanged has cognitive complexity 30 (threshold 15). Drivers by points: if/else 6 (19 pts), ternaries 2 (5 pts), boolean chains 4, loops 1 (2 pts) (nesting depth added 17). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DrawioFile.js"},"region":{"startLine":3872}}}],"partialFingerprints":{"codehealthFindingId/v1":"00cb1011b7ebc806d08216a9e4645d6f1caf87ebdc97a301cc232ea97611058c"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.importZipFile (cognitive 30): EditorUi.EditorUi.importZipFile has cognitive complexity 30 (threshold 15). Drivers by points: if/else 15 (29 pts), boolean chains 1 (nesting depth added 14). Most of this is not in the body itself: 3 of the 30 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 17383, 17394, 17377, \u2026). 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":17373}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfc2f2a2adceef11cc5e5c74a0e07dcd93dd599cdb5460745b073e755a7880d9"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.removeSvgMetadata (cognitive 30): EditorUi.EditorUi.removeSvgMetadata has cognitive complexity 30 (threshold 15). Drivers by points: if/else 6 (18 pts), loops 3 (8 pts), boolean chains 4 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":20617}}}],"partialFingerprints":{"codehealthFindingId/v1":"4933bff4263019907c806fefdaa193b6fcad7d9a73a418cf1aad45cb0d98b439"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.CommentsWindow::addComment (cognitive 30): EditorUi.CommentsWindow::addComment has cognitive complexity 30 (threshold 15). Drivers by points: if/else 14 (17 pts), boolean chains 9, ternaries 2 (3 pts), loops 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This shape REPEATS in the file: 3 other methods here (EditorUi.CommentsWindow::renderAnchorRow, EditorUi.CommentsWindow::getCommentEditorValue::walk, EditorUi.CommentsWindow::installMentionHandler::updateMenu) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":45460}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f55f23e5cf33b1b66c7d946ef98c95a89d4755cb117bb1c72ba5cab6f88560d"}},{"ruleId":"D2","level":"warning","message":{"text":"Editor.mxGraphView.validateBackgroundPage (cognitive 30): Editor.mxGraphView.validateBackgroundPage has cognitive complexity 30 (threshold 15). Drivers by points: if/else 8 (22 pts), boolean chains 4, loops 1 (4 pts) (nesting depth added 17). Of this number, 18 points are the body\u0027s own statements and 12 belong to one function literal inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Editor.js"},"region":{"startLine":4784}}}],"partialFingerprints":{"codehealthFindingId/v1":"9017a80cc7ff4a7ee2974d4e841787e63041998eb67c5b971539f2a266ac128f"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.removePasteFormatting (cognitive 30): Graph.Graph.removePasteFormatting has cognitive complexity 30 (threshold 15). Drivers by points: if/else 7 (20 pts), boolean chains 5, loops 2 (5 pts) (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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":4363}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a1fa3f7e11bf3a86473f8c734dd11b2c6e49c0500c5aa1d81318a6b1a25088f"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.convertValueToString (cognitive 30): Graph.Graph.convertValueToString has cognitive complexity 30 (threshold 15). Drivers by points: if/else 7 (19 pts), boolean chains 8, loops 1 (3 pts) (nesting depth added 14). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":17848}}}],"partialFingerprints":{"codehealthFindingId/v1":"9855845901328a0ce57cbb7151f7a1a17bcb1173d5ac29001f272e4e5aba3f98"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.getBorderContainer (cognitive 30): Graph.Graph.getBorderContainer has cognitive complexity 30 (threshold 15). Drivers by points: if/else 6 (22 pts), boolean chains 5, loops 1 (3 pts) (nesting depth added 18). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":20055}}}],"partialFingerprints":{"codehealthFindingId/v1":"62d7c4bac872f75b4b6571b5f6b864871267f880719452f85aeebe887bdca4a0"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.HoverIcons.getState (cognitive 30): Graph.HoverIcons.getState has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (24 pts), boolean chains 6 (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":24849}}}],"partialFingerprints":{"codehealthFindingId/v1":"df015d8352b8a357cd1d81c8f1050e7b67f7bebabf1f14a1ba60975149716897"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.BalloonTreeLayout.getTrees (cognitive 30): Graph.BalloonTreeLayout.getTrees has cognitive complexity 30 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 7 (9 pts), boolean chains 4, ternaries 1 (nesting depth added 12). Of this number, 22 points are the body\u0027s own statements and 8 belong to 3 function items inside it that branch. 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":27480}}}],"partialFingerprints":{"codehealthFindingId/v1":"34214b2366c20a0b33315669487b2585affe24a1f4ad12666fb5130c78b6a29a"}},{"ruleId":"D2","level":"warning","message":{"text":"InlineToolbar.InlineToolbar.showLineEndMenu (cognitive 30): InlineToolbar.InlineToolbar.showLineEndMenu has cognitive complexity 30 (threshold 15). Drivers by points: if/else 12 (20 pts), loops 2 (5 pts), boolean chains 4, ternaries 1 (nesting depth added 11). Most of this is not in the body itself: 1 of the 30 points is its own statement and the rest belongs to 4 function literals inside it that branch (lines 3306, 3386, 3221, \u2026). 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/webapp/js/grapheditor/InlineToolbar.js"},"region":{"startLine":3195}}}],"partialFingerprints":{"codehealthFindingId/v1":"d29fb292c212c36909add5ad91889c226a27448c7de0e0f341dd51fa418db0cc"}},{"ruleId":"D2","level":"warning","message":{"text":"mxEdgeHandler.mxEdgeHandler.getPointForEvent (cognitive 30): mxEdgeHandler.mxEdgeHandler.getPointForEvent has cognitive complexity 30 (threshold 15). Drivers by points: if/else 11 (23 pts), boolean chains 4, loops 1 (3 pts) (nesting depth added 14). Of this number, 20 points are the body\u0027s own statements and 10 belong to 2 function items inside it that branch. 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/webapp/mxgraph/src/handler/mxEdgeHandler.js"},"region":{"startLine":1141}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3dbc4fdb732976880fd149fde6f997581e0afe2460b801575b57a8f9d031920"}},{"ruleId":"D2","level":"warning","message":{"text":"mxGuide.mxGuide.moveDistance (cognitive 30): mxGuide.mxGuide.moveDistance has cognitive complexity 30 (threshold 15). Drivers by points: boolean chains 14, if/else 5 (8 pts), ternaries 5 (7 pts), loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxGuide.js"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"68c0cc34950189fe79d87b8abea8ee069fc250cf3a1a6194a448a8ebe46c9579"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::VsdxShape (cognitive 30): (anonymous)::VsdxShape has cognitive complexity 30 (threshold 15). Drivers by points: if/else 18 (23 pts), boolean chains 6, loops 1 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":11624}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3be4917a0f57a2ed676db0369e8b7e88579a652d12fa00035a564b20a6ddff1"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::getHtmlTextContent (cognitive 30): (anonymous)::getHtmlTextContent has cognitive complexity 30 (threshold 15). Drivers by points: if/else 11 (22 pts), ternaries 2 (5 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":12310}}}],"partialFingerprints":{"codehealthFindingId/v1":"83743b4722a6d014ba5b8b9793afece23a50325f547ed8e8e24f31b3529247a0"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::getStyleFromShape (cognitive 30): (anonymous)::getStyleFromShape has cognitive complexity 30 (threshold 15). Drivers by points: if/else 22 (24 pts), boolean chains 3, loops 2, error handling 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":12830}}}],"partialFingerprints":{"codehealthFindingId/v1":"59af9e87c5293620e1c17bc3f37dd8b1adaa818f92dca83fa662e38c4ed5d2fe"}},{"ruleId":"D2","level":"warning","message":{"text":"updateEndpoint (cognitive 30): updateEndpoint has cognitive complexity 30 (threshold 15). Drivers by points: ternaries 5 (15 pts), if/else 5 (12 pts), boolean chains 3 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Extensions.js"},"region":{"startLine":6476}}}],"partialFingerprints":{"codehealthFindingId/v1":"c511abab8fde520ed263289c8528fd9b7673c9a11398b94ee57962dd609ea97c"}},{"ruleId":"D2","level":"warning","message":{"text":"addProperties::createPropertyRow (cognitive 30): addProperties::createPropertyRow has cognitive complexity 30 (threshold 15). Drivers by points: if/else 13 (16 pts), ternaries 6 (9 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 7). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":9534}}}],"partialFingerprints":{"codehealthFindingId/v1":"95ab4a4595decfaff7b13fdd2d6dad0b3182d95611cd3d3e0dd88dbdb610e2ab"}},{"ruleId":"D2","level":"warning","message":{"text":"getCellContainmentArea (cognitive 30): getCellContainmentArea has cognitive complexity 30 (threshold 15). Drivers by points: if/else 6 (20 pts), boolean chains 10 (nesting depth added 14). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":6904}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae173b897f9e4bd0dd207a15478aa64ac8d480b83b87a472706e0be7c8a28dfc"}},{"ruleId":"D2","level":"warning","message":{"text":"traverse (cognitive 30): traverse has cognitive complexity 30 (threshold 15). Drivers by points: if/else 5 (16 pts), boolean chains 5, loops 1 (5 pts), ternaries 2 (4 pts) (nesting depth added 17). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":13354}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d1ddad0e44bc31998a6280624627328a4f01ae6699d170da1e8b1fe56565d1a"}},{"ruleId":"D2","level":"warning","message":{"text":"main::doMain (cognitive 30): main::doMain has cognitive complexity 30 (threshold 15). Drivers by points: if/else 11 (20 pts), boolean chains 6, error handling 2, loops 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":1643}}}],"partialFingerprints":{"codehealthFindingId/v1":"b82b5d5e33c106cb71c1e4adf895e1666141805cb58133427a970d2fe9a89b0e"}},{"ruleId":"D2","level":"warning","message":{"text":"open (cognitive 30): open has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (20 pts), ternaries 2 (6 pts), boolean chains 3, error handling 1 (nesting depth added 15). Most of this is not in the body itself: 9 of the 30 points are its own statements and the rest belongs to one function literal inside it that branches (line 4017). The decisions are inside the literal, 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 literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":3990}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1599fb4e6a95f6f674b0966684c12a860b4eb9dc5e0497d353fd2755b60eed6"}},{"ruleId":"D2","level":"warning","message":{"text":"checkDrafts (cognitive 30): checkDrafts has cognitive complexity 30 (threshold 15). Drivers by points: if/else 8 (12 pts), ternaries 5 (10 pts), error handling 3 (7 pts), boolean chains 1 (nesting depth added 13). Most of this is not in the body itself: 1 of the 30 points is its own statement and the rest belongs to 7 function literals inside it that branch (lines 5276, 5310, 5291, \u2026). 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/webapp/js/diagramly/App.js"},"region":{"startLine":5264}}}],"partialFingerprints":{"codehealthFindingId/v1":"7744ee96ecb0eaa74ed1dfa899169690dda4074a3fd4ca515887d14b3619ebd7"}},{"ruleId":"D2","level":"warning","message":{"text":"init::(anonymous)::(anonymous)::checkModel (cognitive 30): init::(anonymous)::(anonymous)::checkModel has cognitive complexity 30 (threshold 15). Drivers by points: if/else 13 (28 pts), boolean chains 1, loops 1 (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Menus.js"},"region":{"startLine":2501}}}],"partialFingerprints":{"codehealthFindingId/v1":"f34bc671506df8fcc308563c78662252d45909a7d35af5680311e3bbb0466133"}},{"ruleId":"D2","level":"warning","message":{"text":"getShapeSelection (cognitive 30): getShapeSelection has cognitive complexity 30 (threshold 15). Drivers by points: boolean chains 11, if/else 5 (10 pts), loops 3 (7 pts), ternaries 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/InlineToolbar.js"},"region":{"startLine":4619}}}],"partialFingerprints":{"codehealthFindingId/v1":"7579d3583b1a55bec0b5f1ae6f2a9861deaa62f96e3ac198510bbf6da423d4dd"}},{"ruleId":"D2","level":"warning","message":{"text":"getVisibleCells (cognitive 30): getVisibleCells has cognitive complexity 30 (threshold 15). Drivers by points: if/else 4 (12 pts), loops 3 (7 pts), boolean chains 6, ternaries 1 (5 pts) (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/webapp/js/diagramly/ForceExplorer.js"},"region":{"startLine":2388}}}],"partialFingerprints":{"codehealthFindingId/v1":"52dd195cb94bb3ef4fd9f8a7732fa4483b019b1fa5f6bfd43973d17e8f8f32eb"}},{"ruleId":"D2","level":"warning","message":{"text":"updateTweens (cognitive 30): updateTweens has cognitive complexity 30 (threshold 15). Drivers by points: if/else 7 (16 pts), ternaries 3 (11 pts), boolean chains 2, loops 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ForceExplorer.js"},"region":{"startLine":3755}}}],"partialFingerprints":{"codehealthFindingId/v1":"decf832fd8a606a73d1e26b4018e67512c8a98e00c0c8ce507dc78126a2318ef"}},{"ruleId":"D2","level":"warning","message":{"text":"updateLabelBoundingBoxes (cognitive 30): updateLabelBoundingBoxes has cognitive complexity 30 (threshold 15). Drivers by points: if/else 8 (18 pts), ternaries 2 (8 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 17). Of this number, 17 points are the body\u0027s own statements and 13 belong to one function literal inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxGraphView.js"},"region":{"startLine":4886}}}],"partialFingerprints":{"codehealthFindingId/v1":"007647f32a680a47a8957394cff6a637edb9757552425d51a7e708cf6d576dae"}},{"ruleId":"D2","level":"warning","message":{"text":"syncPreview (cognitive 30): syncPreview has cognitive complexity 30 (threshold 15). Drivers by points: if/else 8 (15 pts), ternaries 4 (10 pts), boolean chains 4, loops 1 (nesting depth added 13). Of this number, 18 points are the body\u0027s own statements and 12 belong to 5 function items inside it that branch. 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/webapp/js/diagramly/LayoutPicker.js"},"region":{"startLine":3028}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf8668a25c117ee4ee95df076efe17ccc407a1f98f8f4d41e6d5d08687399a3d"}},{"ruleId":"D2","level":"warning","message":{"text":"showPermissions (cognitive 30): showPermissions has cognitive complexity 30 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 2 (7 pts), boolean chains 4, error handling 1 (2 pts), ternaries 1 (nesting depth added 15). Most of this is not in the body itself: 2 of the 30 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 3224, 3202, 3187, \u2026). 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/webapp/js/diagramly/DriveClient.js"},"region":{"startLine":3183}}}],"partialFingerprints":{"codehealthFindingId/v1":"574fd02b28c45f19a1be0c17246a4e9fc6c266dcb7a3f75ae210fd9f6605eb9f"}},{"ruleId":"D2","level":"warning","message":{"text":"getLayoutVertices (cognitive 30): getLayoutVertices has cognitive complexity 30 (threshold 15). Drivers by points: if/else 5 (15 pts), loops 5 (8 pts), ternaries 1 (4 pts), boolean chains 3 (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/webapp/js/diagramly/tidy/Tidy.js"},"region":{"startLine":1558}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a9b90d03340932c197d5d7ee1d7f2fa717f616eaf5f75b21505235871f27e15"}},{"ruleId":"D2","level":"warning","message":{"text":"executeRequest (cognitive 30): executeRequest has cognitive complexity 30 (threshold 15). Drivers by points: if/else 14 (19 pts), boolean chains 5, error handling 1 (3 pts), ternaries 1 (3 pts) (nesting depth added 9). Most of this is not in the body itself: 2 of the 30 points are its own statements and the rest belongs to 11 function items inside it that branch (a function literal at line 256, a function literal at line 328, a function literal at line 317, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/GitLabClient.js"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bfd2db5de8a0e8eab1f490642de27cf79d5cc45361b5f7aa7ba6772b121e938"}},{"ruleId":"D2","level":"warning","message":{"text":"mxODPicker::fillFolderFiles::renderList (cognitive 30): mxODPicker::fillFolderFiles::renderList has cognitive complexity 30 (threshold 15). Drivers by points: if/else 7 (13 pts), ternaries 4 (9 pts), boolean chains 7, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/onedrive/mxODPicker.js"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6655640e535ef1d8f3a86948d44f966f341614a60fb983f48825bd33a52456d"}},{"ruleId":"D2","level":"warning","message":{"text":"compare (cognitive 30): compare has cognitive complexity 30 (threshold 15). Drivers by points: ternaries 5 (19 pts), if/else 5 (9 pts), boolean chains 1, loops 1 (nesting depth added 18). 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/webapp/mxgraph/src/model/mxCellPath.js"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"8073360a00891df464d8d0948b8b62af4a845a3b10464afcf55dce12ff52adee"}},{"ruleId":"D2","level":"warning","message":{"text":"DrawioFile.DrawioFile.repairUnrenderableEdges (cognitive 29): DrawioFile.DrawioFile.repairUnrenderableEdges has cognitive complexity 29 (threshold 15). Drivers by points: if/else 6 (20 pts), loops 2 (5 pts), boolean chains 4 (nesting depth added 17). Most of this is not in the body itself: 5 of the 29 points are its own statements and the rest belongs to one function literal inside it that branches (line 1208). The decisions are inside the literal, 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 literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DrawioFile.js"},"region":{"startLine":1202}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c8d2f70292af7a910604aabddda796b319d5323d53d20609426ef611def33ad"}},{"ruleId":"D2","level":"warning","message":{"text":"DrawioFile.DrawioFile.redirectToNewApp (cognitive 29): DrawioFile.DrawioFile.redirectToNewApp has cognitive complexity 29 (threshold 15). Drivers by points: if/else 13 (22 pts), ternaries 2 (4 pts), boolean chains 3 (nesting depth added 11). Most of this is not in the body itself: 10 of the 29 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 3515, 3530, 3513). 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/webapp/js/diagramly/DrawioFile.js"},"region":{"startLine":3496}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbbf106d701dab8431c411c749fd02840a79d81db24333dcce894b065232bea2"}},{"ruleId":"D2","level":"warning","message":{"text":"Editor.Editor.loadCompatibleCss (cognitive 29): Editor.Editor.loadCompatibleCss has cognitive complexity 29 (threshold 15). Drivers by points: if/else 8 (18 pts), boolean chains 6, loops 1 (3 pts), error handling 1 (2 pts) (nesting depth added 13). Most of this is not in the body itself: 13 of the 29 points are its own statements and the rest belongs to 2 function items inside it that branch (a function literal at line 1914, replaceLightDarkFunctions). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":1864}}}],"partialFingerprints":{"codehealthFindingId/v1":"c29665b83c45e89170aaf9974a659725cd53d875caaf97cf2f679ce007b47330"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.loadDescriptor (cognitive 29): EditorUi.EditorUi.loadDescriptor has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (18 pts), boolean chains 6, ternaries 4 (5 pts) (nesting depth added 7). Most of this is not in the body itself: 3 of the 29 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 4778, 4847, 4827, \u2026). 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":4774}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b405126d4f20ab8318f60b1c602f4fd885499d1d3814a66921bf2358604340f"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.createExportPresetsRow (cognitive 29): EditorUi.EditorUi.createExportPresetsRow has cognitive complexity 29 (threshold 15). Drivers by points: if/else 13 (23 pts), loops 3, ternaries 1 (2 pts), boolean chains 1 (nesting depth added 11). None of this is in the body itself: all 29 points belong to 5 function items inside it that branch (a function literal at line 11697, a function literal at line 11707, a function literal at line 11647, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":11632}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffca4b8d562f0ad6f10585365d37f2dc6c7dfee64560c5f2238614d72f9f0079"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.openLocalFile (cognitive 29): EditorUi.EditorUi.openLocalFile has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (17 pts), boolean chains 10, error handling 1 (2 pts) (nesting depth added 6). Of this number, 17 points are the body\u0027s own statements and 12 belong to 2 function literals inside it that branch. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":30960}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c3ecd09561070a868045c6380891d4fb02f83c769d27ff9de15a19072fc2b6a"}},{"ruleId":"D2","level":"warning","message":{"text":"ElectronApp.ExportDialog.exportFile (cognitive 29): ElectronApp.ExportDialog.exportFile has cognitive complexity 29 (threshold 15). Drivers by points: if/else 8 (15 pts), ternaries 3 (9 pts), boolean chains 5 (nesting depth added 13). Of this number, 19 points are the body\u0027s own statements and 10 belong to one function literal inside it that branches. 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/webapp/js/diagramly/ElectronApp.js"},"region":{"startLine":2836}}}],"partialFingerprints":{"codehealthFindingId/v1":"7679c48a22a4c9a51546e5ac324ebf65e1f7835f9b8573a224d59a90231d32e3"}},{"ruleId":"D2","level":"warning","message":{"text":"ForceExplorer.ForceExplorer.flattenPath (cognitive 29): ForceExplorer.ForceExplorer.flattenPath has cognitive complexity 29 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 6, ternaries 3 (5 pts), loops 2 (4 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ForceExplorer.js"},"region":{"startLine":4500}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb3c852f3cc0b1daffaa5c8f3db65ec199bfc9d84c8f194465f041a028147b43"}},{"ruleId":"D2","level":"warning","message":{"text":"mxGraphMlCodec.mxGraphMlCodec.decode (cognitive 29): mxGraphMlCodec.mxGraphMlCodec.decode has cognitive complexity 29 (threshold 15). Drivers by points: loops 5 (12 pts), if/else 4 (11 pts), error handling 3 (5 pts), boolean chains 1 (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/webapp/js/diagramly/graphml/mxGraphMlCodec.js"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"29110bff4afce8f6d990254dca75654230f5775c3dd7c4c3fd95acd376a430e9"}},{"ruleId":"D2","level":"warning","message":{"text":"mxGraphMlCodec.mxGraphMlCodec.importEdge (cognitive 29): mxGraphMlCodec.mxGraphMlCodec.importEdge has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (17 pts), ternaries 2 (7 pts), boolean chains 4, loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/graphml/mxGraphMlCodec.js"},"region":{"startLine":2050}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f812e4c4bfee1d0225548ad16591c7dde3aa932385c1cb94bcdf671e3a67132"}},{"ruleId":"D2","level":"warning","message":{"text":"Format.DiagramStylePanel.getGlobalStyleButtons (cognitive 29): Format.DiagramStylePanel.getGlobalStyleButtons has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (16 pts), ternaries 5 (10 pts), loops 2 (3 pts) (nesting depth added 13). Most of this is not in the body itself: 11 of the 29 points are its own statements and the rest belongs to 3 function items inside it that branch (a function literal at line 8926, a function literal at line 8881, isAllRounded). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Format.js"},"region":{"startLine":8864}}}],"partialFingerprints":{"codehealthFindingId/v1":"11198c2e3447c277ebf745529b4c3429af4efac8a94c16b9d18ef5089f5bb318"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.inlineSingleUseImages (cognitive 29): Graph.Graph.inlineSingleUseImages has cognitive complexity 29 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 3 (6 pts), boolean chains 4, ternaries 1 (3 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":6231}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ce3ee3fb9ff8ecb2ecd4be89ca45800be5ee8d7221d0458db56da939ae6c38e"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.BalloonTreeLayout.measure (cognitive 29): Graph.BalloonTreeLayout.measure has cognitive complexity 29 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 5 (13 pts), ternaries 1 (nesting depth added 16). Of this number, 27 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":27694}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee1e7831947dab515a3b47a139c0ea5d75b790e851b90061b0c0ad947bde9b4c"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.mxGraphView.setTieClones (cognitive 29): Graph.mxGraphView.setTieClones has cognitive complexity 29 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 5 (8 pts), ternaries 3 (8 pts), boolean chains 4 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":33267}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6dfdd37fb315b4543605cdd86841336650fecb52b6a992e04e9c309fed8efe8"}},{"ruleId":"D2","level":"warning","message":{"text":"InlineToolbar.InlineToolbar.repaint (cognitive 29): InlineToolbar.InlineToolbar.repaint has cognitive complexity 29 (threshold 15). Drivers by points: if/else 6 (16 pts), ternaries 3 (10 pts), boolean chains 3 (nesting depth added 17). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/InlineToolbar.js"},"region":{"startLine":1180}}}],"partialFingerprints":{"codehealthFindingId/v1":"da5aca8881c299987c1892d80ba9020afc1dd7cb0c63ea1f4527d19c79deb932"}},{"ruleId":"D2","level":"warning","message":{"text":"InlineToolbar.InlineToolbar.createPopover.position (cognitive 29): InlineToolbar.InlineToolbar.createPopover.position has cognitive complexity 29 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 9, loops 2 (3 pts), ternaries 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/InlineToolbar.js"},"region":{"startLine":1602}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc0bd1f2c6fc17a2fc82b8f7dd7d028fa43b62a86fb2972ff2f625b81795aed2"}},{"ruleId":"D2","level":"warning","message":{"text":"InlineToolbar.InlineToolbar.showConnStyleMenu (cognitive 29): InlineToolbar.InlineToolbar.showConnStyleMenu has cognitive complexity 29 (threshold 15). Drivers by points: if/else 15 (22 pts), loops 3 (5 pts), boolean chains 2 (nesting depth added 9). Of this number, 20 points are the body\u0027s own statements and 9 belong to one function literal inside it that branches. 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/webapp/js/grapheditor/InlineToolbar.js"},"region":{"startLine":3608}}}],"partialFingerprints":{"codehealthFindingId/v1":"0042271efc11917b4f905280f02ea351c12c0fa9e3d3c8ce25244ee6543e2c46"}},{"ruleId":"D2","level":"warning","message":{"text":"Shapes.TableShape.paintStripes (cognitive 29): Shapes.TableShape.paintStripes has cognitive complexity 29 (threshold 15). Drivers by points: ternaries 3 (11 pts), if/else 5 (8 pts), boolean chains 5, loops 3 (5 pts) (nesting depth added 13). Of this number, 27 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. 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/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bbed43f5a6bdd1180155f59aec9f3169b90509d8a6f1eea36b8dcf5de2df4ef"}},{"ruleId":"D2","level":"warning","message":{"text":"Sidebar.Sidebar.getPickerShapes (cognitive 29): Sidebar.Sidebar.getPickerShapes has cognitive complexity 29 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 4 (9 pts), ternaries 3 (5 pts), boolean chains 2 (nesting depth added 14). Of this number, 27 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. 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/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":2016}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffd31d21696758acf58f1b9e887ba6f03ba8f5ae76dd58abc17cb743e3da83f3"}},{"ruleId":"D2","level":"warning","message":{"text":"mxEdgeSegmentHandler.mxEdgeSegmentHandler.redrawInnerBends (cognitive 29): mxEdgeSegmentHandler.mxEdgeSegmentHandler.redrawInnerBends has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (24 pts), loops 1 (3 pts), boolean chains 2 (nesting depth added 17). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/handler/mxEdgeSegmentHandler.js"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c3cf5f8830012d8d4ce3ac3f5890e3cd04572e4e96dead40dd43dd795e5f0be"}},{"ruleId":"D2","level":"warning","message":{"text":"mxVertexHandler.mxVertexHandler.mouseUp (cognitive 29): mxVertexHandler.mxVertexHandler.mouseUp has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (24 pts), boolean chains 5 (nesting depth added 13). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/handler/mxVertexHandler.js"},"region":{"startLine":1305}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7e531abe49e1e6657044b0f52251a8ac01a13e4a242c4db99710ccc04580eb7"}},{"ruleId":"D2","level":"warning","message":{"text":"mxGraphView.mxGraphView.getLabelPerimeterPoint (cognitive 29): mxGraphView.mxGraphView.getLabelPerimeterPoint has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 8, loops 1 (2 pts), ternaries 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxGraphView.js"},"region":{"startLine":3735}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d15a50e3b41bd69e786b2a3342dc035c1a95eb9b1f0b9b868006e3a30bb14ea"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::rotateChildEdge (cognitive 29): (anonymous)::rotateChildEdge has cognitive complexity 29 (threshold 15). Drivers by points: if/else 6 (19 pts), loops 2 (8 pts), boolean chains 2 (nesting depth added 19). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":2617}}}],"partialFingerprints":{"codehealthFindingId/v1":"459b92687f4c8de947a640b80e4b3e916d135a62f17657111f7c04d69a7d53dc"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::handle (cognitive 29): (anonymous)::handle has cognitive complexity 29 (threshold 15). Drivers by points: boolean chains 17, if/else 5 (10 pts), loops 1 (2 pts) (nesting depth added 6). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":9068}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4816437c449906cce70f5525c2384116c361038e475c6968a7398fcc6f2ce56"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::createLabelSubShape (cognitive 29): (anonymous)::createLabelSubShape has cognitive complexity 29 (threshold 15). Drivers by points: if/else 13 (25 pts), boolean chains 4 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":14657}}}],"partialFingerprints":{"codehealthFindingId/v1":"44890480102f84d7972fad3c2eafb7c1990c77c487b6c42587b7760d68d8840d"}},{"ruleId":"D2","level":"warning","message":{"text":"updateGroupBounds (cognitive 29): updateGroupBounds has cognitive complexity 29 (threshold 15). Drivers by points: if/else 5 (15 pts), ternaries 7 (11 pts), boolean chains 2, loops 1 (nesting depth added 14). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":4453}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfc62fe3c60047ed8f792d9e17168a63fd804cd1404a91228ce2e02a49126356"}},{"ruleId":"D2","level":"warning","message":{"text":"intersectsEdgeShape (cognitive 29): intersectsEdgeShape has cognitive complexity 29 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 6, loops 4 (6 pts), ternaries 1 (4 pts) (nesting depth added 12). Of this number, 22 points are the body\u0027s own statements and 7 belong to one function item inside it that branches. 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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":12661}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cdf63e173462a110568d06d2bdad1916cfeeefa56d557d032508edd17852c83"}},{"ruleId":"D2","level":"warning","message":{"text":"addLineMarkerItems (cognitive 29): addLineMarkerItems has cognitive complexity 29 (threshold 15). Drivers by points: ternaries 6 (13 pts), if/else 5 (8 pts), boolean chains 5, loops 1 (3 pts) (nesting depth added 12). Of this number, 27 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. 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/webapp/js/grapheditor/Format.js"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"53df28d506c95451fd9035fa9177a86a858fb766ea595e35147a8bc40abac809"}},{"ruleId":"D2","level":"warning","message":{"text":"addStencilPalette (cognitive 29): addStencilPalette has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (17 pts), loops 2 (6 pts), ternaries 2 (4 pts), boolean chains 2 (nesting depth added 14). Most of this is not in the body itself: 8 of the 29 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 8048, 8070, 8090). 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/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":8031}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cc1e00b7511fe41e30c72550fb6add450600aefe7480867cf1e9da51ba0ba4e"}},{"ruleId":"D2","level":"warning","message":{"text":"splitAtBr (cognitive 29): splitAtBr has cognitive complexity 29 (threshold 15). Drivers by points: if/else 7 (18 pts), loops 3 (11 pts) (nesting depth added 19). 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/webapp/mxgraph/src/util/mxUtils.js"},"region":{"startLine":6806}}}],"partialFingerprints":{"codehealthFindingId/v1":"4943312f0b0cbde2b1750e94cd4eda0b6b46078c41dc39f869838482e678e7c1"}},{"ruleId":"D2","level":"warning","message":{"text":"TextareaDialog (cognitive 29): TextareaDialog has cognitive complexity 29 (threshold 15). Drivers by points: if/else 14 (18 pts), boolean chains 6, ternaries 3, loops 1 (2 pts) (nesting depth added 5). Of this number, 20 points are the body\u0027s own statements and 9 belong to 6 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Dialogs.js"},"region":{"startLine":2404}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ce42fa40d7a8f00538add32f84cd98ce37feaf947f4b703f9c12b88a5b55fbc"}},{"ruleId":"D2","level":"warning","message":{"text":"handleLegacyMessage (cognitive 29): handleLegacyMessage has cognitive complexity 29 (threshold 15). Drivers by points: boolean chains 12, if/else 5 (11 pts), ternaries 2 (6 pts) (nesting depth added 10). Most of this is not in the body itself: 14 of the 29 points are its own statements and the rest belongs to one function literal inside it that branches (line 4008). The decisions are inside the literal, 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 literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DrawioFileSync.js"},"region":{"startLine":3995}}}],"partialFingerprints":{"codehealthFindingId/v1":"a44b70fc569296eff007e7a931b60a9b8e375b2c306df7f28945d9cc8571c4ff"}},{"ruleId":"D2","level":"warning","message":{"text":"installListeners (cognitive 29): installListeners has cognitive complexity 29 (threshold 15). Drivers by points: boolean chains 12, if/else 11 (12 pts), ternaries 3 (5 pts) (nesting depth added 3). None of this is in the body itself: all 29 points belong to 13 function items inside it that branch (a function literal at line 1008, a function literal at line 974, a function literal at line 1059, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ForceExplorer.js"},"region":{"startLine":945}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bc6fbbe3dcd87069669c5533af41b3adcecd3c9a6e0fa711df2acc4bf895219"}},{"ruleId":"D2","level":"warning","message":{"text":"validateCells (cognitive 29): validateCells has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (17 pts), ternaries 6 (7 pts), boolean chains 5 (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/webapp/mxgraph/src/view/mxGraphView.js"},"region":{"startLine":1174}}}],"partialFingerprints":{"codehealthFindingId/v1":"f952a65991dbb12444842e2aa0ecea78240edd3273923ff88407d67f6d458cfd"}},{"ruleId":"D2","level":"warning","message":{"text":"createToggleGroup (cognitive 29): createToggleGroup has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 7, ternaries 2 (4 pts), loops 3 (nesting depth added 6). Most of this is not in the body itself: 2 of the 29 points are its own statements and the rest belongs to 6 function items inside it that branch (a function literal at line 282, setIndex, choose, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/LightboxModern.js"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"94f606617ccabb020e97241c7a425564b66fab2f5970561b71a429887b8c6f3d"}},{"ruleId":"D2","level":"warning","message":{"text":"mouseUp (cognitive 29): mouseUp has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 10, ternaries 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/handler/mxConnectionHandler.js"},"region":{"startLine":1738}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f2214b6b458b04302173aed0de69a42ce60ce40cc3c5bb372b2f7dc8a685b23"}},{"ruleId":"D2","level":"warning","message":{"text":"getPalettes (cognitive 29): getPalettes has cognitive complexity 29 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 9, loops 4 (5 pts), ternaries 2 (3 pts) (nesting depth added 7). Of this number, 23 points are the body\u0027s own statements and 6 belong to one function item inside it that branches. 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/webapp/js/diagramly/tidy/TidyStyle.js"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"c30540f259e611b8c7fbb67f66af0bf11a26e019afcfc2dfb6764963f8f2e9c3"}},{"ruleId":"D2","level":"warning","message":{"text":"computeRoutes::solve (cognitive 29): computeRoutes::solve has cognitive complexity 29 (threshold 15). Drivers by points: ternaries 5 (14 pts), loops 5 (10 pts), if/else 2 (4 pts), boolean chains 1 (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/webapp/js/libavoid-js/libavoid-routing.js"},"region":{"startLine":1563}}}],"partialFingerprints":{"codehealthFindingId/v1":"be167a91ab5907a587da9507b4e15464793171c69f0026458aba40ce50e768ae"}},{"ruleId":"D2","level":"warning","message":{"text":"mouseUp (cognitive 29): mouseUp has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 13 (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/webapp/mxgraph/src/handler/mxGraphHandler.js"},"region":{"startLine":1880}}}],"partialFingerprints":{"codehealthFindingId/v1":"46ff8b338540e67b3bf3c900231bf268020cf99ee2332cf28836bc683cff6e59"}},{"ruleId":"D2","level":"warning","message":{"text":"render (cognitive 29): render has cognitive complexity 29 (threshold 15). Drivers by points: if/else 5 (11 pts), boolean chains 8, loops 5 (8 pts), ternaries 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/SpringMove.js"},"region":{"startLine":1216}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d60b4890dcd10d6218004078679f9c411c4e78d730d65a8ee886c6f979774a4"}},{"ruleId":"D2","level":"warning","message":{"text":"mxODPicker::fillFolderFiles (cognitive 29): mxODPicker::fillFolderFiles has cognitive complexity 29 (threshold 15). Drivers by points: ternaries 8 (15 pts), if/else 7 (9 pts), boolean chains 2, loops 1 (2 pts), match/switch 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/onedrive/mxODPicker.js"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f028a2626d91fcfea490d6ddcd856cab7315c30907ffde75081a6c9a5111041"}},{"ruleId":"D2","level":"warning","message":{"text":"load (cognitive 29): load has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 8, ternaries 3 (5 pts) (nesting depth added 7). Most of this is not in the body itself: 12 of the 29 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 355, 339). 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/webapp/js/diagramly/HomeDialog.js"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"430e66c11bcd86e21dc89777bc676522a92b76b27f52bba32f4ce7a7304b889b"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::createDemoResponse (cognitive 29): (anonymous)::createDemoResponse has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (24 pts), boolean chains 4, loops 1 (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/plugins/update.js"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"f42a62e8f7c7ff233ba3b0362aa3007c8f1ae62d933d2088a323a77fe4fa8466"}},{"ruleId":"D2","level":"warning","message":{"text":"Dialogs.SaveDialog::addStorageEntries (cognitive 28): Dialogs.SaveDialog::addStorageEntries has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 7, ternaries 2 (5 pts), loops 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":4792}}}],"partialFingerprints":{"codehealthFindingId/v1":"13f46c89d2db244922fa082e0d58186d64e0c974c3b351601d287db236d2afb3"}},{"ruleId":"D2","level":"warning","message":{"text":"Dialogs.DraftDialog (cognitive 28): Dialogs.DraftDialog has cognitive complexity 28 (threshold 15). Drivers by points: if/else 14 (17 pts), boolean chains 6, loops 2 (4 pts), ternaries 1 (nesting depth added 5). Of this number, 18 points are the body\u0027s own statements and 10 belong to 8 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":9516}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2015af8589e589a61fa7cb1b725d121923f5e58bc51e40f7663632e366a3588"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.doSaveLocalFile (cognitive 28): EditorUi.EditorUi.doSaveLocalFile has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 7, error handling 1 (3 pts), ternaries 1 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":8751}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0d127c972e0a25a813cee8e699b13db8a8d7456cdfdc33e6af1ac1446ee19e2"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.createEmbedSvg (cognitive 28): EditorUi.EditorUi.createEmbedSvg has cognitive complexity 28 (threshold 15). Drivers by points: if/else 13 (21 pts), boolean chains 5, loops 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":13101}}}],"partialFingerprints":{"codehealthFindingId/v1":"4855596718643c9dc47894a430da2b43c04c684b284440d4fa731cff6a90360c"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.exportImage (cognitive 28): EditorUi.EditorUi.exportImage has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (18 pts), error handling 2 (5 pts), ternaries 1 (3 pts), boolean chains 2 (nesting depth added 15). Most of this is not in the body itself: 6 of the 28 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 13889, 13904, 13927, \u2026). 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":13836}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a5c6b36235ee48260033ea3df79a71dbbfea9bc8ac51dcf651a8d0103ee42fd"}},{"ruleId":"D2","level":"warning","message":{"text":"Extensions.removeCellFromParent (cognitive 28): Extensions.removeCellFromParent has cognitive complexity 28 (threshold 15). Drivers by points: if/else 6 (19 pts), loops 2 (8 pts), boolean chains 1 (nesting depth added 19). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Extensions.js"},"region":{"startLine":7083}}}],"partialFingerprints":{"codehealthFindingId/v1":"70faadb65b448a759fbeaea694ff2ab88e5d789ae9643a7a4cc7225b5c4081a1"}},{"ruleId":"D2","level":"warning","message":{"text":"Trees.EditorUi.addTrees::collectTreeRemoval (cognitive 28): Trees.EditorUi.addTrees::collectTreeRemoval has cognitive complexity 28 (threshold 15). Drivers by points: if/else 7 (18 pts), loops 3 (6 pts), boolean chains 4 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 3 other methods here (Trees.EditorUi.addTrees, Trees.EditorUi.addTrees::hasConnectedSurvivor, Trees.EditorUi.addTrees::getTreeDirection) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Trees.js"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3247bda13e66b855daf6cf00675a92808ab6b3ec4bf83ae754ac68b02611018"}},{"ruleId":"D2","level":"warning","message":{"text":"TidyStyle.Tidy.restoreKeptRoleValues (cognitive 28): TidyStyle.Tidy.restoreKeptRoleValues has cognitive complexity 28 (threshold 15). Drivers by points: if/else 4 (12 pts), ternaries 2 (8 pts), boolean chains 4, loops 2 (4 pts) (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/webapp/js/diagramly/tidy/TidyStyle.js"},"region":{"startLine":909}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dd61a38da2995cf354a28e6e0ebd12f290ceb03f8e3e2d3ab05c76d7e3bc1a4"}},{"ruleId":"D2","level":"warning","message":{"text":"Dialogs.ColorDialog::addCurrentToRecent (cognitive 28): Dialogs.ColorDialog::addCurrentToRecent has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (20 pts), boolean chains 8 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 3 other methods here (Dialogs.ColorDialog, Dialogs.ColorDialog::setDefaultSelected, Dialogs.ColorDialog::inputChanged) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Dialogs.js"},"region":{"startLine":862}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec86008b418c63edf76453547482261d1db723db2a580ca23f38a4aa3cb6376e"}},{"ruleId":"D2","level":"warning","message":{"text":"Editor.Editor.soundex (cognitive 28): Editor.Editor.soundex has cognitive complexity 28 (threshold 15). Drivers by points: if/else 7 (21 pts), loops 2 (5 pts), boolean chains 2 (nesting depth added 17). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Editor.js"},"region":{"startLine":1041}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eeacd8e457d046089376baac69ed1e8da22ce9e92259486a97b401c94199ccc"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.measureShapeInsideFlow (cognitive 28): Graph.Graph.measureShapeInsideFlow has cognitive complexity 28 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 3 (8 pts), ternaries 1 (4 pts), boolean chains 2 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":7559}}}],"partialFingerprints":{"codehealthFindingId/v1":"93f4aa3ca4b96ef560db60768cc212b879f2a54c00837af778af3990ba17468a"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.mayIntersect (cognitive 28): Graph.Graph.mayIntersect has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 6, ternaries 2 (4 pts), loops 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":12011}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bd3cb6095a1e78d524e709b5c5b99ae933df7556a2809c21635e7a3d7a28bc1"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.runAsyncLayout (cognitive 28): Graph.Graph.runAsyncLayout has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 8, error handling 2 (4 pts), ternaries 1 (nesting depth added 7). Most of this is not in the body itself: 8 of the 28 points are its own statements and the rest belongs to 3 function items inside it that branch (a function literal at line 14225, next, finish). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":14147}}}],"partialFingerprints":{"codehealthFindingId/v1":"3662c41df16998d53a7f910b81f4481d842eb1d7c32ecb74f8bcb7d2348b6707"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.mxGraphView.updateChangedTies (cognitive 28): Graph.mxGraphView.updateChangedTies has cognitive complexity 28 (threshold 15). Drivers by points: if/else 5 (17 pts), loops 4 (7 pts), boolean chains 2, ternaries 1 (2 pts) (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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":33948}}}],"partialFingerprints":{"codehealthFindingId/v1":"03d837e76ee515b2b0bbc06724746cea0750113ca877f0fd77af82d6e3c6e0c9"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.mxStencilRegistry.parseStencilSet (cognitive 28): Graph.mxStencilRegistry.parseStencilSet has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (24 pts), loops 2 (4 pts) (nesting depth added 18). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":34319}}}],"partialFingerprints":{"codehealthFindingId/v1":"109f4275a205c61b7daadcbf7ec8edd33e9a46ebe294ab3782020c40f35791a6"}},{"ruleId":"D2","level":"warning","message":{"text":"Omnibox.Omnibox.render (cognitive 28): Omnibox.Omnibox.render has cognitive complexity 28 (threshold 15). Drivers by points: if/else 6 (13 pts), ternaries 4 (6 pts), boolean chains 5, loops 2 (4 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Omnibox.js"},"region":{"startLine":2465}}}],"partialFingerprints":{"codehealthFindingId/v1":"c08e0d0b63167a4333ae4755d72c442ff526cf76f5d4bce3b09e0a2632e612f1"}},{"ruleId":"D2","level":"warning","message":{"text":"mxGraph.mxGraph.resetEdges (cognitive 28): mxGraph.mxGraph.resetEdges has cognitive complexity 28 (threshold 15). Drivers by points: ternaries 2 (10 pts), if/else 3 (9 pts), loops 3 (8 pts), boolean chains 1 (nesting depth added 19). 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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":7137}}}],"partialFingerprints":{"codehealthFindingId/v1":"74c4875cea65c76a71ee10cc0dd0fffec44a4a807da749b917cfac31360e15e3"}},{"ruleId":"D2","level":"warning","message":{"text":"mxGraph.mxGraph.getOutlineConstraint (cognitive 28): mxGraph.mxGraph.getOutlineConstraint has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (19 pts), boolean chains 5, ternaries 2 (4 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":7216}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d5c7788e0e341b75d81e04b8ba5b7fba00cc30fa17bc6b16a77780f54e2f705"}},{"ruleId":"D2","level":"warning","message":{"text":"props.Draw.loadPlugin()::cellClicked (cognitive 28): props.Draw.loadPlugin()::cellClicked has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (21 pts), loops 1 (3 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/plugins/props.js"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"b79bf1d09065e57c2be475db164202d6823ba2594d32d6cd61968897e2f9cc90"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::importPage (cognitive 28): (anonymous)::importPage has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (21 pts), loops 5 (6 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c101a42ddbf3e746c6e3df09da100194585d256c11f1058db2f6d1d762e2154"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::addUnconnectedEdge (cognitive 28): (anonymous)::addUnconnectedEdge has cognitive complexity 28 (threshold 15). Drivers by points: if/else 13 (24 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":2472}}}],"partialFingerprints":{"codehealthFindingId/v1":"086c445b63c634987c4ef580b23a358c63d96ccbb6ad624fd9f9e708422095f9"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::mxVsdxPage (cognitive 28): (anonymous)::mxVsdxPage has cognitive complexity 28 (threshold 15). Drivers by points: loops 4 (13 pts), if/else 4 (10 pts), boolean chains 4, ternaries 1 (nesting depth added 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":4957}}}],"partialFingerprints":{"codehealthFindingId/v1":"b339f6b8a78241c165c3e548f92c9e2dbed7e900f06536176af1c1c5c0f2696c"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::parseShapes (cognitive 28): (anonymous)::parseShapes has cognitive complexity 28 (threshold 15). Drivers by points: if/else 5 (16 pts), ternaries 2 (6 pts), boolean chains 5, loops 1 (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":5161}}}],"partialFingerprints":{"codehealthFindingId/v1":"267be2c1df7b59a8b0d9a5bffed28734c9f5bf032450173ebe86315fd62e6616"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::parseShapeElem::getForeignRel (cognitive 28): (anonymous)::parseShapeElem::getForeignRel has cognitive complexity 28 (threshold 15). Drivers by points: if/else 4 (14 pts), error handling 2 (11 pts), boolean chains 2, loops 1 (nesting depth added 19). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":10766}}}],"partialFingerprints":{"codehealthFindingId/v1":"03ce773fe348373906c3f557b9096826529fbf76bec8930707938837daef3703"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::getGradient (cognitive 28): (anonymous)::getGradient has cognitive complexity 28 (threshold 15). Drivers by points: if/else 7 (16 pts), ternaries 3 (10 pts), boolean chains 2 (nesting depth added 16). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":12593}}}],"partialFingerprints":{"codehealthFindingId/v1":"22116a7ba808f088159ed80799d3ee4606d6c812c452cd9463b46a404abb821c"}},{"ruleId":"D2","level":"warning","message":{"text":"NewDialog::selectElement (cognitive 28): NewDialog::selectElement has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (20 pts), ternaries 2 (8 pts) (nesting depth added 16). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":3011}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c0843ebe44f0f5ec55ffb4827f559e164ca2dafc2bec432b6af5b431389c04a"}},{"ruleId":"D2","level":"warning","message":{"text":"addSvgRule (cognitive 28): addSvgRule has cognitive complexity 28 (threshold 15). Drivers by points: if/else 7 (15 pts), ternaries 2 (6 pts), boolean chains 4, loops 1 (3 pts) (nesting depth added 14). Most of this is not in the body itself: 1 of the 28 points is its own statement and the rest belongs to 5 function items inside it that branch (a function literal at line 7101, a function literal at line 7131, a function literal at line 7128, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Format.js"},"region":{"startLine":7093}}}],"partialFingerprints":{"codehealthFindingId/v1":"aae6404c5a5f004e60da6387b406fff623a58ce18230cb50fa86bdb2d11d1eb3"}},{"ruleId":"D2","level":"warning","message":{"text":"main::doLoad::(anonymous)::realMain (cognitive 28): main::doLoad::(anonymous)::realMain has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 10, error handling 2, ternaries 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":1466}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a19046936364db4849a7434aebdee8e43b9781729ddc2b563b5ebe39a8c24c5"}},{"ruleId":"D2","level":"warning","message":{"text":"extractGraphModelFromPng (cognitive 28): extractGraphModelFromPng has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 8, error handling 2 (4 pts), ternaries 2 (4 pts) (nesting depth added 8). Most of this is not in the body itself: 7 of the 28 points are its own statements and the rest belongs to one function literal inside it that branches (line 936). The decisions are inside the literal, 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 literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Editor.js"},"region":{"startLine":925}}}],"partialFingerprints":{"codehealthFindingId/v1":"b29323f0ed292d40f0e8cd5d2a65afb1e9988ed83959940207622551b5a7aaa9"}},{"ruleId":"D2","level":"warning","message":{"text":"getOptions (cognitive 28): getOptions has cognitive complexity 28 (threshold 15). Drivers by points: boolean chains 14, if/else 6 (11 pts), ternaries 2, loops 1 (nesting depth added 5). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/InlineToolbar.js"},"region":{"startLine":5015}}}],"partialFingerprints":{"codehealthFindingId/v1":"95426a5268ef58dc8d8f172c9cd05bdea022b0d086b49fa609c42033fc6097dd"}},{"ruleId":"D2","level":"warning","message":{"text":"absorbUnconfirmedRepairs (cognitive 28): absorbUnconfirmedRepairs has cognitive complexity 28 (threshold 15). Drivers by points: if/else 7 (12 pts), ternaries 4 (7 pts), boolean chains 6, loops 2 (3 pts) (nesting depth added 9). Of this number, 18 points are the body\u0027s own statements and 10 belong to one function literal inside it that branches. 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/webapp/js/diagramly/DrawioFile.js"},"region":{"startLine":1274}}}],"partialFingerprints":{"codehealthFindingId/v1":"33c976a94baea4a5b25dfce26c3c5ba67adbf8ec401608029e62906b52f8cc14"}},{"ruleId":"D2","level":"warning","message":{"text":"paintForeground (cognitive 28): paintForeground has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (22 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/shapes/mxSysML.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"97ed84473d05d63ddd0de52208a0d2b2440d205682bbbd5f2500288cd5200cd7"}},{"ruleId":"D2","level":"warning","message":{"text":"getPreviewTerminalState (cognitive 28): getPreviewTerminalState has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (15 pts), ternaries 4 (7 pts), boolean chains 6 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/handler/mxEdgeHandler.js"},"region":{"startLine":1231}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7fec6ae7d128e54dde96bfc475cdce41e48f55c4ee8589d8a2200bc620ccb88"}},{"ruleId":"D2","level":"warning","message":{"text":"reset (cognitive 28): reset has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (19 pts), boolean chains 5, loops 2 (4 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/handler/mxVertexHandler.js"},"region":{"startLine":1481}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c29fd692f74a29e28c288860c1a000696bed4984d26aa31ceb2e2c4bfa9f23d"}},{"ruleId":"D2","level":"warning","message":{"text":"prepareStyle (cognitive 28): prepareStyle has cognitive complexity 28 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 4 (7 pts), ternaries 6, boolean chains 5 (nesting depth added 7). Of this number, 18 points are the body\u0027s own statements and 10 belong to 2 function items inside it that branch. 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/webapp/js/diagramly/tidy/TidyStyle.js"},"region":{"startLine":2013}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bbb4e954934cf9ece5f943e5cce727f1b881a58c2f280cbcbb2876e7e0680f6"}},{"ruleId":"D2","level":"warning","message":{"text":"mouseDown (cognitive 28): mouseDown has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 11 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/handler/mxGraphHandler.js"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b89db4c04590d60f77bc5e02ef6e3db137a6abc00fe28412e89d74ff687d30e"}},{"ruleId":"D2","level":"warning","message":{"text":"installListeners (cognitive 28): installListeners has cognitive complexity 28 (threshold 15). Drivers by points: if/else 13 (18 pts), boolean chains 10 (nesting depth added 5). None of this is in the body itself: all 28 points belong to 8 function literals inside it that branch (lines 396, 431, 463, \u2026). 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/webapp/mxgraph/src/view/mxCellEditor.js"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bc8fa3e596ba138bfa4d20acfb97d87951080098862454bc3479d4c1ae98e79"}},{"ruleId":"D2","level":"warning","message":{"text":"render (cognitive 28): render has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 6, loops 3 (4 pts), ternaries 3 (4 pts) (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/HomeDialog.js"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"52b07f1e4273b62c92dfc44d914ccc71c66c3aa54fadf3805e0d6f5f979f98d0"}},{"ruleId":"D2","level":"warning","message":{"text":"createPalette (cognitive 28): createPalette has cognitive complexity 28 (threshold 15). Drivers by points: loops 9 (17 pts), if/else 4 (7 pts), boolean chains 2, ternaries 2 (nesting depth added 11). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/gif/GifEncoder.js"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"dba294753115979c0d40bd5439b8141f720018d143b8fb7e4ac65482a0c0c1f2"}},{"ruleId":"D2","level":"warning","message":{"text":"mxPanningManager::panTo (cognitive 28): mxPanningManager::panTo has cognitive complexity 28 (threshold 15). Drivers by points: if/else 18 (21 pts), boolean chains 5, ternaries 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxPanningManager.js"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d3f012e17f1526c70f66a0e8180c74a002bdd64900ac5a53079f21e33fbb473"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::cellClicked (cognitive 28): (anonymous)::cellClicked has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (21 pts), loops 1 (3 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/plugins/props.js"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a6587ac17d08c1ace317dcff6e3c8973b03be109a409be2937896df1ea84b95"}},{"ruleId":"D2","level":"warning","message":{"text":"Dialogs.SelectorChips.create.openTagPicker (cognitive 27): Dialogs.SelectorChips.create.openTagPicker has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (15 pts), ternaries 4 (6 pts), loops 3 (5 pts), boolean chains 1 (nesting depth added 10). Of this number, 14 points are the body\u0027s own statements and 13 belong to 3 function literals inside it that branch. 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":7535}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdfc072abf3dbd5987f6d7eaca41b30932b78e60050bd24c515a52fa025cdfbf"}},{"ruleId":"D2","level":"warning","message":{"text":"DiffSync.EditorUi.disconnectTerminal (cognitive 27): DiffSync.EditorUi.disconnectTerminal has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (21 pts), boolean chains 5, error handling 1 (nesting depth added 11). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DiffSync.js"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"06818c4c0b9ea3724a3d9b7f500a0240b1154b62a973423a50a6c33f03b08dc8"}},{"ruleId":"D2","level":"warning","message":{"text":"Editor.Editor.AnimationPlayer.collectReferencedCells (cognitive 27): Editor.Editor.AnimationPlayer.collectReferencedCells has cognitive complexity 27 (threshold 15). Drivers by points: if/else 4 (15 pts), loops 3 (7 pts), boolean chains 5 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":15866}}}],"partialFingerprints":{"codehealthFindingId/v1":"16b4c01e0c9f1e1091c0f3aca85a89d535a71b10dbbd91e8f7fb9d77a7dda066"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.loadGliffy (cognitive 27): EditorUi.EditorUi.loadGliffy has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (16 pts), boolean chains 4, error handling 1 (4 pts), loops 1 (3 pts) (nesting depth added 14). Most of this is not in the body itself: 9 of the 27 points are its own statements and the rest belongs to one function literal inside it that branches (line 16326). The decisions are inside the literal, 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 literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":16304}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e85f5ec73a6f270f1108ca6e3046cc107a022b655c1ee91539829e6d358e11d"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.windowResized (cognitive 27): EditorUi.EditorUi.windowResized has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (20 pts), boolean chains 7 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":24673}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b06331bb081aa1fc11e38ae4fce0d12f50b7fb3cc832d38aa812d145448808d"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.pasteFromClipboard (cognitive 27): EditorUi.EditorUi.pasteFromClipboard has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (14 pts), ternaries 2 (9 pts), boolean chains 2, error handling 1 (2 pts) (nesting depth added 14). Most of this is not in the body itself: 9 of the 27 points are its own statements and the rest belongs to one function literal inside it that branches (line 29088). The decisions are inside the literal, 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 literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":29072}}}],"partialFingerprints":{"codehealthFindingId/v1":"446b80a955750454b3243dec67e0db77cb19b811488a573e3b595ad3d50030a7"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.updateCommentOverlays (cognitive 27): EditorUi.EditorUi.updateCommentOverlays has cognitive complexity 27 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 4 (10 pts), boolean chains 3, ternaries 1 (2 pts) (nesting depth added 14). Of this number, 19 points are the body\u0027s own statements and 8 belong to 2 function literals inside it that branch. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":43735}}}],"partialFingerprints":{"codehealthFindingId/v1":"24c369a7f263412eb22e8078f5061391292cd7cd23949cab262897fd997a9181"}},{"ruleId":"D2","level":"warning","message":{"text":"LayoutPicker.EditorUi.showLayoutPicker (cognitive 27): LayoutPicker.EditorUi.showLayoutPicker has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 5, loops 4 (5 pts), ternaries 2 (nesting depth added 7). Most of this is not in the body itself: 11 of the 27 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 3542, a function literal at line 3429, a function literal at line 3437, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/LayoutPicker.js"},"region":{"startLine":3370}}}],"partialFingerprints":{"codehealthFindingId/v1":"18427ef5e2d0585374245a88e7aa89b38d9fa54ae3357e4d3964b18022b791cb"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.computeShapeInsideSpacer (cognitive 27): Graph.Graph.computeShapeInsideSpacer has cognitive complexity 27 (threshold 15). Drivers by points: if/else 29 (72 pts), boolean chains 28, loops 7 (19 pts), ternaries 5 (12 pts) (nesting depth added 62). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (Graph.Graph.computeShapeInsideSpacer::run) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":7669}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cbcf444d0624844719230e10d5f206a1be8120169bbfd58c579cbb3c265fa8d"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.updateInheritedLabelValuesOfEdges (cognitive 27): Graph.Graph.updateInheritedLabelValuesOfEdges has cognitive complexity 27 (threshold 15). Drivers by points: if/else 3 (12 pts), loops 3 (9 pts), ternaries 1 (4 pts), boolean chains 2 (nesting depth added 18). 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":19150}}}],"partialFingerprints":{"codehealthFindingId/v1":"57a09575a2586e1fdf01c7de766a177a127b13a495fcf9c298f9689053078815"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.moveTextBox (cognitive 27): Graph.moveTextBox has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 5 (15 pts), if/else 5 (8 pts), boolean chains 4 (nesting depth added 13). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":30261}}}],"partialFingerprints":{"codehealthFindingId/v1":"922c6fa1c819f7b6b3602a16bb79ef8809682798d0067b9f17904c87fc52bb28"}},{"ruleId":"D2","level":"warning","message":{"text":"mxEdgeSegmentHandler.mxEdgeSegmentHandler.getPreviewPoints (cognitive 27): mxEdgeSegmentHandler.mxEdgeSegmentHandler.getPreviewPoints has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (21 pts), boolean chains 4, loops 1 (2 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/handler/mxEdgeSegmentHandler.js"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"39aa187bf6c12b909625ed57ded9459ff1695e1691b07c72bfaac8269b6cb9cd"}},{"ruleId":"D2","level":"warning","message":{"text":"mxVertexHandler.mxVertexHandler.rotateCell (cognitive 27): mxVertexHandler.mxVertexHandler.rotateCell has cognitive complexity 27 (threshold 15). Drivers by points: if/else 6 (17 pts), boolean chains 5, loops 1 (5 pts) (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/handler/mxVertexHandler.js"},"region":{"startLine":1433}}}],"partialFingerprints":{"codehealthFindingId/v1":"af6c8332a8063b50b32afdcd666728f8a8cb3c627f4f8496da60910347039c3d"}},{"ruleId":"D2","level":"warning","message":{"text":"mxGraph.mxGraph.snapDelta (cognitive 27): mxGraph.mxGraph.snapDelta has cognitive complexity 27 (threshold 15). Drivers by points: if/else 14 (26 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":8368}}}],"partialFingerprints":{"codehealthFindingId/v1":"76671d27137f57c25ea15fcdf63ab6ec92047e6dcea3e8d8ff93f7551d0e0c81"}},{"ruleId":"D2","level":"warning","message":{"text":"update.Draw.loadPlugin()::createDemoResponse (cognitive 27): update.Draw.loadPlugin()::createDemoResponse has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (24 pts), boolean chains 2, loops 1 (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/plugins/update.js"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"766c32de5f2a29b3b701cc0de2cacf20b5a66db0a459b1978072ac34e245f8bf"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::sanitiseCell (cognitive 27): (anonymous)::sanitiseCell has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 5, loops 3 (5 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":2717}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a569cb50499e95043a76d78415cbc3b0d670c7b4674b46280681c791ad2a72c"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::getTransformedRoutingPoints (cognitive 27): (anonymous)::getTransformedRoutingPoints has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 5, loops 3 (5 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":4177}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fd116e6fbe8e4d3bdfb7622ae14c2af055e8f953456104b94ce2e1d033a6a93"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::getFillColor$com_mxgraph_io_vsdx_theme_QuickStyleVals$boolean (cognitive 27): (anonymous)::getFillColor$com_mxgraph_io_vsdx_theme_QuickStyleVals$boolean has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (15 pts), ternaries 3 (7 pts), boolean chains 2, error handling 2, match/switch 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":5993}}}],"partialFingerprints":{"codehealthFindingId/v1":"543cdfaf8de2ab186e20e5c5432caeaf58ebc5ad024eef12d347c990c1efc669"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 27): (anonymous) has cognitive complexity 27 (threshold 15). Drivers by points: if/else 12 (14 pts), ternaries 8 (13 pts) (nesting depth added 7). None of this is in the body itself: all 27 points belong to 15 function items inside it that branch (toHsl, toHsv, toHexStr, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":6873}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf6e2bde5335a8276f848c052a7dd050c16445c3c25fb2816f340996049a1d30"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::getCellElement$java_lang_String$java_lang_String$java_lang_String (cognitive 27): (anonymous)::getCellElement$java_lang_String$java_lang_String$java_lang_String has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (22 pts), boolean chains 5 (nesting depth added 12). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":9619}}}],"partialFingerprints":{"codehealthFindingId/v1":"df6491b4ce76597de46e1cce168ed4cbe1bc973a4a55823e77455e1726f4a1b6"}},{"ruleId":"D2","level":"warning","message":{"text":"create.openTagPicker (cognitive 27): create.openTagPicker has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (15 pts), ternaries 4 (6 pts), loops 3 (5 pts), boolean chains 1 (nesting depth added 10). Of this number, 14 points are the body\u0027s own statements and 13 belong to 9 function items inside it that branch. 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":7535}}}],"partialFingerprints":{"codehealthFindingId/v1":"00dabef6502a482464fa5c0933087f4796dd317f41315bffe125a49bdc7b83c7"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 27): (anonymous) has cognitive complexity 27 (threshold 15). Drivers by points: boolean chains 10, if/else 7 (9 pts), ternaries 4, loops 2 (3 pts), error handling 1 (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bca019f36f4a4a2db2e5c549fba0b68aeb899b0091c98460f25f7d43ffe7f57"}},{"ruleId":"D2","level":"warning","message":{"text":"getOpposites (cognitive 27): getOpposites has cognitive complexity 27 (threshold 15). Drivers by points: if/else 5 (13 pts), ternaries 4 (8 pts), boolean chains 4, loops 1 (2 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":12994}}}],"partialFingerprints":{"codehealthFindingId/v1":"1439f759ebbfa0f057ed8f893a013ab580f02bd5b01fa5eeab8f2f4c101b29f4"}},{"ruleId":"D2","level":"warning","message":{"text":"init (cognitive 27): init has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 7, error handling 1 (2 pts) (nesting depth added 10). Most of this is not in the body itself: 8 of the 27 points are its own statements and the rest belongs to 9 function items inside it that branch (a function literal at line 1412, a function literal at line 1462, a function literal at line 1442, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":1396}}}],"partialFingerprints":{"codehealthFindingId/v1":"9100b8a28487c7b29878f27c908c5d507a27489cc3e76a793ac907250f9213a8"}},{"ruleId":"D2","level":"warning","message":{"text":"createZoomInput (cognitive 27): createZoomInput has cognitive complexity 27 (threshold 15). Drivers by points: if/else 15 (19 pts), boolean chains 7, ternaries 1 (nesting depth added 4). Most of this is not in the body itself: 2 of the 27 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 11962, 11892, 11912, \u2026). 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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":11869}}}],"partialFingerprints":{"codehealthFindingId/v1":"51e7e0ae33a8b83456dcff155bf6b3b7275a2cb21e97853440354ff8a9064050"}},{"ruleId":"D2","level":"warning","message":{"text":"createStepper (cognitive 27): createStepper has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (12 pts), ternaries 7 (10 pts), error handling 1 (3 pts), boolean chains 2 (nesting depth added 8). Most of this is not in the body itself: 3 of the 27 points are its own statements and the rest belongs to 9 function items inside it that branch (changeValue, a function literal at line 1237, a function literal at line 1262, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Format.js"},"region":{"startLine":1160}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5172a424bc41073973f92d71cbd2b923ba3b43b0c9fe02b41f3472554afe045"}},{"ruleId":"D2","level":"warning","message":{"text":"rasterizeSvgDataUri (cognitive 27): rasterizeSvgDataUri has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 6, ternaries 2 (4 pts), error handling 2 (3 pts) (nesting depth added 10). Most of this is not in the body itself: 6 of the 27 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 5085, finish, a function literal at line 5082, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":5050}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce4ffd765764cfbae6d9e51914f08fdbb6b35e732ccd5d1703684af75fb93487"}},{"ruleId":"D2","level":"warning","message":{"text":"parseCssSpacing (cognitive 27): parseCssSpacing has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 4 (13 pts), if/else 4 (9 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxUtils.js"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d1c0a91fc654b0ef362a15ad6d5981aa1d8b6d555b90cf884c09ad4f6fc2045"}},{"ruleId":"D2","level":"warning","message":{"text":"ColorWindow (cognitive 27): ColorWindow has cognitive complexity 27 (threshold 15). Drivers by points: boolean chains 15, if/else 7 (9 pts), ternaries 2 (3 pts) (nesting depth added 3). None of this is in the body itself: all 27 points belong to 12 function items inside it that branch (a function literal at line 2134, fitHeight, a function literal at line 2068, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Dialogs.js"},"region":{"startLine":1989}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbde55dc8cf6f0e694fae531d8a1098beeb790c8e59c409b1c646cef462741d4"}},{"ruleId":"D2","level":"warning","message":{"text":"getLabelBox (cognitive 27): getLabelBox has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 9 (10 pts), if/else 8 (9 pts), boolean chains 8 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/LibavoidRouting.js"},"region":{"startLine":2671}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f164b6720ca7da29d263bd40e7611aa663805f5f6400787746ced166c685129"}},{"ruleId":"D2","level":"warning","message":{"text":"edgeRouteBounds (cognitive 27): edgeRouteBounds has cognitive complexity 27 (threshold 15). Drivers by points: boolean chains 11, ternaries 8, if/else 4 (6 pts), loops 1 (2 pts) (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/LibavoidRouting.js"},"region":{"startLine":2813}}}],"partialFingerprints":{"codehealthFindingId/v1":"789cf06d5ed3ab48130f29030395fa65ebbf3c54d067fc977f4d156a0d015c79"}},{"ruleId":"D2","level":"warning","message":{"text":"isAdditiveOnly (cognitive 27): isAdditiveOnly has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (17 pts), boolean chains 8, loops 1 (2 pts) (nesting depth added 11). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DrawioFileSync.js"},"region":{"startLine":1766}}}],"partialFingerprints":{"codehealthFindingId/v1":"624f5e3b7a5edbcf4d77991397e7a38d5ef21de3f3ba1bda94d2540f92e928c2"}},{"ruleId":"D2","level":"warning","message":{"text":"updateAnimations (cognitive 27): updateAnimations has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (14 pts), ternaries 3 (7 pts), boolean chains 4, loops 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ForceExplorer.js"},"region":{"startLine":4018}}}],"partialFingerprints":{"codehealthFindingId/v1":"83b7b525163f1e0c1af354f84dd7216117ab8e69f796ad5c20ecbb98127adb69"}},{"ruleId":"D2","level":"warning","message":{"text":"getMatchingLibraryChips (cognitive 27): getMatchingLibraryChips has cognitive complexity 27 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 3 (9 pts), boolean chains 7 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar.js"},"region":{"startLine":2021}}}],"partialFingerprints":{"codehealthFindingId/v1":"33ac584bcf2dcbdb09f262225ad3f3f3ef56055592d4f00d8504e3b2b3ad1822"}},{"ruleId":"D2","level":"warning","message":{"text":"doShowLayoutSettings::renderOptions (cognitive 27): doShowLayoutSettings::renderOptions has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 5, loops 2 (5 pts), ternaries 3 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/LayoutPicker.js"},"region":{"startLine":3789}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b37822939f62c38a0c1ee202c427a8626210ab4e12c748afbe934b6fab0fda7"}},{"ruleId":"D2","level":"warning","message":{"text":"collect (cognitive 27): collect has cognitive complexity 27 (threshold 15). Drivers by points: if/else 29 (74 pts), boolean chains 27, loops 6 (10 pts) (nesting depth added 49). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/tidy/Tidy.js"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c798aa97e28ed03e02c31c52807e2ab998b6d3e60ff6e4bdf5ef3bfc3f84295"}},{"ruleId":"D2","level":"warning","message":{"text":"refresh (cognitive 27): refresh has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (22 pts), boolean chains 3, ternaries 1 (2 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/handler/mxEdgeHandler.js"},"region":{"startLine":2981}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8b7b0000f3bff9465cc13a6b9c216d9cd406e3518af78f3385a0442f7c227ea"}},{"ruleId":"D2","level":"warning","message":{"text":"resetGraphView (cognitive 27): resetGraphView has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (12 pts), ternaries 5 (10 pts), boolean chains 5 (nesting depth added 9). Of this number, 14 points are the body\u0027s own statements and 13 belong to one function literal inside it that branches. 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/webapp/connect/common/js/mxReader.js"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"9687b1e543c5c0f8aaff0db5d0813a113e8165f48d73ffdfe894d09c0702aab3"}},{"ruleId":"D2","level":"warning","message":{"text":"getResults (cognitive 27): getResults has cognitive complexity 27 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 9, ternaries 3 (6 pts), loops 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Omnibox.js"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"27140c96bd58180c2aa23139eed1a223eac3fc01951a6d8fbcc84bd5b390ce7b"}},{"ruleId":"D2","level":"warning","message":{"text":"traverse (cognitive 27): traverse has cognitive complexity 27 (threshold 15). Drivers by points: if/else 5 (16 pts), loops 1 (5 pts), boolean chains 4, ternaries 1 (2 pts) (nesting depth added 16). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/layout/mxGraphLayout.js"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"87696fe3b29a6a3f2adf0da383a8b3ad4cabea3ddbdf3b817d6c390aa0d4046a"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 27): (anonymous) has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 10, loops 1 (2 pts) (nesting depth added 7). None of this is in the body itself: all 27 points belong to 5 function items inside it that branch (beforeDecode, isExcluded, afterDecode, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/io/mxChildChangeCodec.js"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"e81a7f1362756d854f546442896e8f1a9da3accacd922adb6921404b58dea376"}},{"ruleId":"D2","level":"warning","message":{"text":"Dialogs.AnimationDialog (cognitive 26): Dialogs.AnimationDialog has cognitive complexity 26 (threshold 15). Drivers by points: if/else 270 (385 pts), boolean chains 147, ternaries 37 (61 pts), loops 37 (52 pts), error handling 4 (6 pts) (nesting depth added 156). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 2 other methods here (Dialogs.AnimationDialog::stepLabel, Dialogs.AnimationDialog::formatSelectorText) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":14088}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fd1582bc8081f9d705e651f38b5a548c34118bfb5b2d3a6a5a6afc16c802eb0"}},{"ruleId":"D2","level":"warning","message":{"text":"Dialogs.PolygonTool.keyChanged (cognitive 26): Dialogs.PolygonTool.keyChanged has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 9 (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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":27563}}}],"partialFingerprints":{"codehealthFindingId/v1":"06534241c14838b6c9095ff393ccedb76b1aeda8d5ac0f1c5c8a273d357d0eb1"}},{"ruleId":"D2","level":"warning","message":{"text":"DrawioFile.DrawioFile.save (cognitive 26): DrawioFile.DrawioFile.save has cognitive complexity 26 (threshold 15). Drivers by points: if/else 14 (22 pts), error handling 2 (3 pts), boolean chains 1 (nesting depth added 9). Of this number, 14 points are the body\u0027s own statements and 12 belong to one function literal inside it that branches. 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/webapp/js/diagramly/DrawioFile.js"},"region":{"startLine":1873}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba6c4f856b842010a91241ca305bfaaa4c259dc8e0a308f6bb4c117f6d0e4fe1"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.addLibraryEntries (cognitive 26): EditorUi.EditorUi.addLibraryEntries has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 4 (13 pts), if/else 4 (9 pts), error handling 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":6748}}}],"partialFingerprints":{"codehealthFindingId/v1":"0290f4b884619f0edfb5de341a6337f5ca80d48fc04e094a5b2805a121244e00"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.showAnimatedGifExportDialog (cognitive 26): EditorUi.EditorUi.showAnimatedGifExportDialog has cognitive complexity 26 (threshold 15). Drivers by points: boolean chains 13, if/else 5 (6 pts), ternaries 6, loops 1 (nesting depth added 1). Of this number, 16 points are the body\u0027s own statements and 10 belong to 5 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":8300}}}],"partialFingerprints":{"codehealthFindingId/v1":"0899a6333cfa3827100a7526069c63c8a52810f6777b44efbc46e52cf2062895"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.editContainerLayout (cognitive 26): EditorUi.EditorUi.editContainerLayout has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 8, ternaries 4 (5 pts), loops 2 (3 pts) (nesting depth added 5). Of this number, 21 points are the body\u0027s own statements and 5 belong to 2 function literals inside it that branch. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":37848}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6c81a8589aed773ad89709fcde120337fb5279f3a8ad833bf267a46baad05d2"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.handleRemoteInvoke (cognitive 26): EditorUi.EditorUi.handleRemoteInvoke has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (18 pts), boolean chains 3, loops 1 (3 pts), error handling 1, ternaries 1 (nesting depth added 10). Of this number, 23 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":42615}}}],"partialFingerprints":{"codehealthFindingId/v1":"f38ce0b6aec31a54d767ae9d435b2bde1bb583ac454fef8f97d6b6417cb5ebea"}},{"ruleId":"D2","level":"warning","message":{"text":"LibavoidRouting.LibavoidRouting.computeRoutes (cognitive 26): LibavoidRouting.LibavoidRouting.computeRoutes has cognitive complexity 26 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 4 (6 pts), boolean chains 5, ternaries 3 (4 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/LibavoidRouting.js"},"region":{"startLine":4320}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eb7cd9dbed8fceb8306349cc51783fed76b9c61edc2f8437a68835b8b109648"}},{"ruleId":"D2","level":"warning","message":{"text":"TrelloFile.TrelloFile.saveFile (cognitive 26): TrelloFile.TrelloFile.saveFile has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (26 pts) (nesting depth added 14). Most of this is not in the body itself: 8 of the 26 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 114, 145, 131, \u2026). 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/webapp/js/diagramly/TrelloFile.js"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"33a1d35f250686c392954383643bc6faf4142f225b8cff0dc65d4a980d950126"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.elkOptionsToConfig (cognitive 26): Graph.Graph.elkOptionsToConfig has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (20 pts), boolean chains 4, loops 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":15152}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c433a68120520d4ccf1e20c704979906ae24c092a8364dd6c5c059546fc5800"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.getZoomSteps (cognitive 26): Graph.Graph.getZoomSteps has cognitive complexity 26 (threshold 15). Drivers by points: loops 6 (16 pts), if/else 4 (6 pts), boolean chains 4 (nesting depth added 12). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":22149}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b2d5fb9901b097014c593817f55e675613256d65fae216089e4b15fbd4e4bce"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.visitTableCells (cognitive 26): Graph.Graph.visitTableCells has cognitive complexity 26 (threshold 15). Drivers by points: if/else 6 (17 pts), boolean chains 6, loops 2 (3 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":25204}}}],"partialFingerprints":{"codehealthFindingId/v1":"db3a0700159ea76b76bd185b63be6a21b599f54b1e46d5115aa1965cba31bdea"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.LabelBoxIndex.isFree (cognitive 26): Graph.LabelBoxIndex.isFree has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (15 pts), loops 4 (7 pts), boolean chains 4 (nesting depth added 9). Most of this is not in the body itself: 10 of the 26 points are its own statements and the rest belongs to 2 function items inside it that branch (testAll, test). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":29706}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b7ee5aab4e0c276bb09d79d2cdbd53dfd931117c4482c143ad7b9699dec5794"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.getLabelBoxSize (cognitive 26): Graph.getLabelBoxSize has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 4 (13 pts), if/else 4 (8 pts), boolean chains 5 (nesting depth added 13). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":30198}}}],"partialFingerprints":{"codehealthFindingId/v1":"103f8d034262913eec4064cecdf558e387a2d9e526189148349832c8c718e2e3"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.mxGraphView.updateIconOverlay (cognitive 26): Graph.mxGraphView.updateIconOverlay has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (21 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 13). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":30618}}}],"partialFingerprints":{"codehealthFindingId/v1":"86c0df60b69740d056063200f9e0fa29bb1e2eb971f2cf2b4d2ada8d336a4bec"}},{"ruleId":"D2","level":"warning","message":{"text":"Shapes.mxShapeBasicRect2.paintFolds (cognitive 26): Shapes.mxShapeBasicRect2.paintFolds has cognitive complexity 26 (threshold 15). Drivers by points: boolean chains 17, if/else 5 (9 pts) (nesting depth added 4). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":7461}}}],"partialFingerprints":{"codehealthFindingId/v1":"c26c310308ac8664c018ebaa45359f64754fe5506277b32b0fef27fe3fd26d84"}},{"ruleId":"D2","level":"warning","message":{"text":"mxSwimlane.mxSwimlane.paintTitleGlassEffect (cognitive 26): mxSwimlane.mxSwimlane.paintTitleGlassEffect has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 11 (24 pts), if/else 2 (nesting depth added 13). Most of this is not in the body itself: 12 of the 26 points are its own statements and the rest belongs to 3 function items inside it that branch (mapX, mapY, a function literal at line 354). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/shape/mxSwimlane.js"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5824d794a2abec3ea0eb4f638dc486ec666445e2f9c51608d69b0a54e909e25"}},{"ruleId":"D2","level":"warning","message":{"text":"mxGraph.mxGraph.updatePageBreaks (cognitive 26): mxGraph.mxGraph.updatePageBreaks has cognitive complexity 26 (threshold 15). Drivers by points: if/else 6 (11 pts), ternaries 4 (7 pts), boolean chains 4, loops 2 (4 pts) (nesting depth added 10). Most of this is not in the body itself: 7 of the 26 points are its own statements and the rest belongs to one function literal inside it that branches (line 3341). The decisions are inside the literal, 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 literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":3305}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f9cfc957838570cef9fd140f69359966c7e624d24d88bee859130fb19346fce"}},{"ruleId":"D2","level":"warning","message":{"text":"mxSwimlaneManager.mxSwimlaneManager.cellsResized (cognitive 26): mxSwimlaneManager.mxSwimlaneManager.cellsResized has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 2 (11 pts), if/else 3 (8 pts), loops 2 (7 pts) (nesting depth added 19). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxSwimlaneManager.js"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef23cb537c8f417de818987997bc1dfde24b03a90550193494fafbce530454e9"}},{"ruleId":"D2","level":"warning","message":{"text":"trees.Draw.loadPlugin()::getTreeDirection (cognitive 26): trees.Draw.loadPlugin()::getTreeDirection has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (23 pts), boolean chains 3 (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This shape REPEATS in the file: 3 other methods here (trees.Draw.loadPlugin(), trees.Draw.loadPlugin()::addSibling, trees.Draw.loadPlugin()::selectCell) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/plugins/trees/trees.js"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"215a08ab78e1665e85fb5a9d44cd91be4cd998df54baf10e6b897b6f57a2a1c3"}},{"ruleId":"D2","level":"warning","message":{"text":"trees.Draw.loadPlugin()::selectCell (cognitive 26): trees.Draw.loadPlugin()::selectCell has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (19 pts), boolean chains 7 (nesting depth added 11). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This shape REPEATS in the file: 3 other methods here (trees.Draw.loadPlugin(), trees.Draw.loadPlugin()::getTreeDirection, trees.Draw.loadPlugin()::addSibling) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/plugins/trees/trees.js"},"region":{"startLine":798}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc2a6c57cb33671bb91e46a44dd040f4b7168199d5cb260bb5ad8c07733ca4be"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 26): (anonymous) has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (16 pts), loops 2 (6 pts), ternaries 3 (4 pts) (nesting depth added 11). None of this is in the body itself: all 26 points belong to 10 function items inside it that branch (initialise, getColor, getFont, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":3387}}}],"partialFingerprints":{"codehealthFindingId/v1":"e26661d6ff616cb31434999bcd76198a9188b332058ddbbe2a85b9328d413bfb"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::processMasterShapes (cognitive 26): (anonymous)::processMasterShapes has cognitive complexity 26 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 3 (8 pts), boolean chains 4 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":4403}}}],"partialFingerprints":{"codehealthFindingId/v1":"64f61527d8fc6b3d34d54247d64f8f3ff2cac936eded3ba80751c096d973b86a"}},{"ruleId":"D2","level":"warning","message":{"text":"applyCustomResources (cognitive 26): applyCustomResources has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 4 (12 pts), if/else 4 (8 pts), boolean chains 4, loops 1 (2 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":4500}}}],"partialFingerprints":{"codehealthFindingId/v1":"437e427fd9f2cff039cf726cdc002a25f49e699c2321bc2da750d4602a23bf9f"}},{"ruleId":"D2","level":"warning","message":{"text":"ungroupCells (cognitive 26): ungroupCells has cognitive complexity 26 (threshold 15). Drivers by points: if/else 5 (16 pts), loops 2 (6 pts), boolean chains 4 (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":4300}}}],"partialFingerprints":{"codehealthFindingId/v1":"803b49effb581865fdd4c767b5cacbd72831a67ef1839f72b208d8c3bd7928aa"}},{"ruleId":"D2","level":"warning","message":{"text":"updateAlternateBounds (cognitive 26): updateAlternateBounds has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (20 pts), ternaries 1 (4 pts), boolean chains 2 (nesting depth added 16). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":5731}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b53a0c7e2ad06d78af2ffa6007f77830a77c27190a87092af88290eaf49cdf1"}},{"ruleId":"D2","level":"warning","message":{"text":"paintVertexShape (cognitive 26): paintVertexShape has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 6 (14 pts), boolean chains 4, if/else 4, loops 2 (4 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":8157}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc001021d816531244abe752a7a3cf16bfa60bebf94b420c11f554cb76d4453e"}},{"ruleId":"D2","level":"warning","message":{"text":"installResizeHandler (cognitive 26): installResizeHandler has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 8, ternaries 2 (6 pts) (nesting depth added 8). Most of this is not in the body itself: 1 of the 26 points is its own statement and the rest belongs to 4 function items inside it that branch (setSize, setLocation, destroy, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":8585}}}],"partialFingerprints":{"codehealthFindingId/v1":"11f72e67ba085479dae48c42bf13a18f15316c06077ecdff2743626c4c3a40ef"}},{"ruleId":"D2","level":"warning","message":{"text":"validateDependencies (cognitive 26): validateDependencies has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (19 pts), ternaries 1 (4 pts), boolean chains 2, loops 1 (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxGraphView.js"},"region":{"startLine":2558}}}],"partialFingerprints":{"codehealthFindingId/v1":"28b2df9267a8ddc8c92ae492ae1d9e0a08c42132e9fc7cf07ef214505866afe6"}},{"ruleId":"D2","level":"warning","message":{"text":"rotate (cognitive 26): rotate has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 5 (15 pts), if/else 5 (8 pts), boolean chains 3 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxSvgCanvas2D.js"},"region":{"startLine":1621}}}],"partialFingerprints":{"codehealthFindingId/v1":"38f16c1f34a435f5f9f533528be1357784bf257c51ae8920a52925619d904c99"}},{"ruleId":"D2","level":"warning","message":{"text":"addClickHandler (cognitive 26): addClickHandler has cognitive complexity 26 (threshold 15). Drivers by points: boolean chains 12, if/else 7 (10 pts), error handling 1 (2 pts), loops 1 (2 pts) (nesting depth added 5). Most of this is not in the body itself: 1 of the 26 points is its own statement and the rest belongs to 3 function literals inside it that branch (lines 2547, 2589, 2575). 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/webapp/js/diagramly/GraphViewer.js"},"region":{"startLine":2543}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e32029c56b08db87ce1c7c01c9b16bd32402618605288e71dba017b7c15cba5"}},{"ruleId":"D2","level":"warning","message":{"text":"diffCellRecursive (cognitive 26): diffCellRecursive has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (13 pts), ternaries 3 (7 pts), boolean chains 5, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DiffSync.js"},"region":{"startLine":2211}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd51289db3ba244f4c801be381bdac73b600cd842d047b4a69bf5ded5b53ddf5"}},{"ruleId":"D2","level":"warning","message":{"text":"applyChange (cognitive 26): applyChange has cognitive complexity 26 (threshold 15). Drivers by points: boolean chains 10, if/else 5 (9 pts), ternaries 3 (7 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/tidy/Tidy.js"},"region":{"startLine":3335}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c6e4a7d6accb7b12d3fb5bbbc4c474ab21838a5f94140540da410a00b1dd85f"}},{"ruleId":"D2","level":"warning","message":{"text":"setHandlesVisible (cognitive 26): setHandlesVisible has cognitive complexity 26 (threshold 15). Drivers by points: if/else 6 (10 pts), ternaries 3 (10 pts), loops 3 (6 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/handler/mxEdgeHandler.js"},"region":{"startLine":2782}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ffbd3edfd890113a8d6f54c6f52076d919e61db1c3dab5cc2b03233afc98279"}},{"ruleId":"D2","level":"warning","message":{"text":"keepRoleColors (cognitive 26): keepRoleColors has cognitive complexity 26 (threshold 15). Drivers by points: if/else 4 (10 pts), boolean chains 7, loops 3 (5 pts), ternaries 2 (4 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/tidy/TidyStyle.js"},"region":{"startLine":1439}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c250bc032c37cdcdfa2f9350e0fa571e5579c785185c564ab89f4deba3b332d"}},{"ruleId":"D2","level":"warning","message":{"text":"moveCells (cognitive 26): moveCells has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 10, loops 3 (5 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/handler/mxGraphHandler.js"},"region":{"startLine":2010}}}],"partialFingerprints":{"codehealthFindingId/v1":"92d7a624f04da0b105ed21a369922ea2cc7faa65bb10e76d7ed008e2be12c53f"}},{"ruleId":"D2","level":"warning","message":{"text":"executeWriteRequest (cognitive 26): executeWriteRequest has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 5, error handling 3 (5 pts) (nesting depth added 8). Most of this is not in the body itself: 8 of the 26 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 1244, 1206, 1228, \u2026). 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/webapp/js/diagramly/OneDriveClient.js"},"region":{"startLine":1200}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb5a8f06ee2681669402282798ab07cdd6f44b4a2e1a0c63b5631d678635f37e"}},{"ruleId":"D2","level":"warning","message":{"text":"P2PCollab::sendMessage (cognitive 26): P2PCollab::sendMessage has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 10, loops 1 (2 pts), error handling 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/P2PCollab.js"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"71b45bc4508f0d48dbef4be6d1b433026bcf46b546b0af9feee91b07a71fca4c"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::getTreeDirection (cognitive 26): (anonymous)::getTreeDirection has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (23 pts), boolean chains 3 (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/plugins/trees/trees.js"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb8e1de7f7d7eeca7bf0f5e4b042cd931eebb5ee96a84d2f2f193107783c9946"}},{"ruleId":"D2","level":"warning","message":{"text":"animateChanges::animate (cognitive 26): animateChanges::animate has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (18 pts), boolean chains 7, loops 1 (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxEffects.js"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"c10900ce86f990acefe03cbb83ef228538468ee09db89099c287fb7b1485d835"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.saveLocalFile (cognitive 25): EditorUi.EditorUi.saveLocalFile has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 6, error handling 2 (3 pts), ternaries 1 (nesting depth added 5). Most of this is not in the body itself: 5 of the 25 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 8867, 8906). 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":8860}}}],"partialFingerprints":{"codehealthFindingId/v1":"44f017500901eaf497c327b871ea619438d31e37c2ba610f68d9e8f5184d6a98"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.createEmbedImage (cognitive 25): EditorUi.EditorUi.createEmbedImage has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (16 pts), ternaries 3 (7 pts), boolean chains 2 (nesting depth added 9). Of this number, 15 points are the body\u0027s own statements and 10 belong to 3 function items inside it that branch. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":13000}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed0d2aa705969cdc14137b34c7be8ce5ce6fc3289d94abc6f20705b052b0c797"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.drawEmbedImage (cognitive 25): EditorUi.EditorUi.drawEmbedImage has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 5, ternaries 1 (2 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":19626}}}],"partialFingerprints":{"codehealthFindingId/v1":"b993dbe08474958a3e51e58356d54e45ce7b6c2d942e5ce8f36b55cdadcaa1b3"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.createShapesWindow (cognitive 25): EditorUi.EditorUi.createShapesWindow has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 6 (14 pts), boolean chains 7, if/else 3 (4 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":27018}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cb58c75e8dc33bd492f2fba441308ffbe4b4781432889952bcb0a774fc168d1"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.placeRestoredEdgeLabels (cognitive 25): EditorUi.EditorUi.placeRestoredEdgeLabels has cognitive complexity 25 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 3 (6 pts), boolean chains 4, ternaries 1 (4 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":28993}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eee404218950c10d09f6d9f8bf836c525a9ff4716ffff39e2442d514a04abcc"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.loadOrgChartScripts (cognitive 25): EditorUi.EditorUi.loadOrgChartScripts has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (20 pts), error handling 1 (3 pts), loops 1 (2 pts) (nesting depth added 11). Most of this is not in the body itself: 10 of the 25 points are its own statements and the rest belongs to one function item inside it that branches (done). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":38045}}}],"partialFingerprints":{"codehealthFindingId/v1":"07be1e38ea56e9181a7a2f2f14b08659272ab6fc96b99e105faa3cf4f45487b8"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.loadDataSource (cognitive 25): EditorUi.EditorUi.loadDataSource has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 5 (12 pts), if/else 6 (8 pts), boolean chains 3, error handling 1 (2 pts) (nesting depth added 10). Most of this is not in the body itself: 5 of the 25 points are its own statements and the rest belongs to 4 function items inside it that branch (a function literal at line 38965, a function literal at line 38945, a function literal at line 38954, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":38908}}}],"partialFingerprints":{"codehealthFindingId/v1":"8af2073ab90dd7ccfd2b0f9d56c8fdd6e24c333f0330288068970f76ef6f82da"}},{"ruleId":"D2","level":"warning","message":{"text":"ForceExplorer.ForceExplorer.updateShownCells (cognitive 25): ForceExplorer.ForceExplorer.updateShownCells has cognitive complexity 25 (threshold 15). Drivers by points: loops 4 (13 pts), if/else 3 (10 pts), boolean chains 2 (nesting depth added 16). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ForceExplorer.js"},"region":{"startLine":3320}}}],"partialFingerprints":{"codehealthFindingId/v1":"a33fa66f46401d6a7ccb1ccf3c73a7bf0f8231460dcf1f6efbae7189e7508f15"}},{"ruleId":"D2","level":"warning","message":{"text":"SpringMove.SpringMove.finish (cognitive 25): SpringMove.SpringMove.finish has cognitive complexity 25 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 3 (8 pts), ternaries 1 (4 pts), boolean chains 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/SpringMove.js"},"region":{"startLine":1342}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8c06e05631931b3315c6220b1175a010a758dd040eb22197d19c28f503c877d"}},{"ruleId":"D2","level":"warning","message":{"text":"Editor.PageSetupDialog.addPageFormatPanel.listener (cognitive 25): Editor.PageSetupDialog.addPageFormatPanel.listener has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (22 pts), boolean chains 2, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Editor.js"},"region":{"startLine":4185}}}],"partialFingerprints":{"codehealthFindingId/v1":"df3968e3ad1f49cfe0e6f9d782ef18331a2d5ea3ac0a735f5b7ebab5dcd2bd01"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.addAdaptiveColors (cognitive 25): Graph.Graph.addAdaptiveColors has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 3 (4 pts), ternaries 2 (4 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":2802}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e10a2dbea36560eb8e7c58d7881a07b806f930a787b9871518db8c442cf6d43"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.addLightDarkColors (cognitive 25): Graph.Graph.addLightDarkColors has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 6, loops 2 (4 pts) (nesting depth added 9). Of this number, 17 points are the body\u0027s own statements and 8 belong to one function item inside it that branches. 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":2936}}}],"partialFingerprints":{"codehealthFindingId/v1":"a709f9e014b266c5bbb4b50fbe2128c93562617c8e6158ae936e247b0e8f8b01"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.exploreFromCell::exploreFromHere::load (cognitive 25): Graph.Graph.exploreFromCell::exploreFromHere::load has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 3 (6 pts), boolean chains 3 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (Graph.Graph.exploreFromCell::exploreFromHere::rootChanged) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":4101}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd36987357845134a49845b275177edc45b9607d5797abeaf51ef58656c1fc53"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.prefixSvgIds::prefixRule (cognitive 25): Graph.Graph.prefixSvgIds::prefixRule has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (19 pts), loops 2 (6 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (Graph.Graph.prefixSvgIds) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":5706}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0b75d28012c532d63e0257b76d8c9e73c8611b404bfabf61e57165d34f2800c"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.getTieIndex (cognitive 25): Graph.Graph.getTieIndex has cognitive complexity 25 (threshold 15). Drivers by points: loops 3 (11 pts), if/else 3 (8 pts), ternaries 1 (4 pts), boolean chains 2 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":20518}}}],"partialFingerprints":{"codehealthFindingId/v1":"e69ef25cbf308dc916eff13fdd7b0a0d64335de040cf361bab631d4f99084a76"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.getBoundingBoxFromGeometry (cognitive 25): Graph.Graph.getBoundingBoxFromGeometry has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (19 pts), ternaries 1 (3 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 13). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":21842}}}],"partialFingerprints":{"codehealthFindingId/v1":"28d0d7a3a278fdae335e3bb4601ddcd6092a38690aaea8a88850631cee369a80"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.HoverIcons.init (cognitive 25): Graph.HoverIcons.init has cognitive complexity 25 (threshold 15). Drivers by points: if/else 14 (16 pts), boolean chains 9 (nesting depth added 2). Most of this is not in the body itself: 1 of the 25 points is its own statement and the rest belongs to 5 function literals inside it that branch (lines 24311, 24268, 24290, \u2026). 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":24196}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b8220474169670477dc2a9fdff0cecd56e184b03db052b0c4ab7026002d7326"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.paintTableCellLines (cognitive 25): Graph.Graph.paintTableCellLines has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 8, ternaries 2 (4 pts) (nesting depth added 6). Of this number, 21 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":25343}}}],"partialFingerprints":{"codehealthFindingId/v1":"16703d08eb414581e0c1b1c05e9fac25518a81978eed6b7ac28977a312cc2a32"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.setTableColumnWidth (cognitive 25): Graph.Graph.setTableColumnWidth has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (23 pts), boolean chains 1, loops 1 (nesting depth added 14). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":26637}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c5f90a84dc00402b0ae0261f4b0e9a355e893891d58c991c103415c85567f8a"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.mxShape.getFlowAnimationPath (cognitive 25): Graph.mxShape.getFlowAnimationPath has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (18 pts), boolean chains 4, loops 1 (2 pts), ternaries 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":30760}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f5d82d4a2edbf0be63967710f1048e7c92069ea7f5c4df6c4c186dbbcd54a95"}},{"ruleId":"D2","level":"warning","message":{"text":"Utils.isIPv6TransitionAddress (cognitive 25): Utils.isIPv6TransitionAddress has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 11, if/else 5 (9 pts), loops 2 (5 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/server/java/com/mxgraph/online/Utils.java"},"region":{"startLine":792}}}],"partialFingerprints":{"codehealthFindingId/v1":"88e70fb7f230e202d56a184c6a3baf990387203f2d7b20c638735efef7452efe"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::normalizeGraph (cognitive 25): (anonymous)::normalizeGraph has cognitive complexity 25 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 4 (10 pts), boolean chains 4 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":2976}}}],"partialFingerprints":{"codehealthFindingId/v1":"10ea7e6f2998f191e62bc3e9648207f190e55f07694b3aa321d38320a4221130"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::isEdge (cognitive 25): (anonymous)::isEdge has cognitive complexity 25 (threshold 15). Drivers by points: if/else 5 (18 pts), boolean chains 4, loops 1 (3 pts) (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":5212}}}],"partialFingerprints":{"codehealthFindingId/v1":"64295df892801fc07796e3dbd6488465e3798ab3314ab6523d559952976bac45"}},{"ruleId":"D2","level":"warning","message":{"text":"init (cognitive 25): init has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13 (18 pts), boolean chains 5, loops 1, ternaries 1 (nesting depth added 5). Most of this is not in the body itself: 1 of the 25 points is its own statement and the rest belongs to 11 function items inside it that branch (a function literal at line 27290, a function literal at line 27379, dblClick, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":27280}}}],"partialFingerprints":{"codehealthFindingId/v1":"b86b24a4f7af656c3cbbabdcb820547c45041dbf139891105394765ed5a44cbc"}},{"ruleId":"D2","level":"warning","message":{"text":"convertTxt2Html::startTag (cognitive 25): convertTxt2Html::startTag has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13 (15 pts), boolean chains 9, ternaries 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Extensions.js"},"region":{"startLine":4292}}}],"partialFingerprints":{"codehealthFindingId/v1":"05f6fd0295cbfeecd57640f999b6c273c743588e8487e0ba441e716eaa9825c2"}},{"ruleId":"D2","level":"warning","message":{"text":"loadUrl (cognitive 25): loadUrl has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (15 pts), ternaries 2 (5 pts), boolean chains 4, error handling 1 (nesting depth added 8). Most of this is not in the body itself: 6 of the 25 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 6936, 6980, 6974, \u2026). 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/webapp/js/diagramly/Editor.js"},"region":{"startLine":6925}}}],"partialFingerprints":{"codehealthFindingId/v1":"d438126c8270acd2b7a5e47ae24371f62e732b0671b1c883b4dc0c71803e91b7"}},{"ruleId":"D2","level":"warning","message":{"text":"intersects (cognitive 25): intersects has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (20 pts), ternaries 1 (3 pts), boolean chains 2 (nesting depth added 14). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":12263}}}],"partialFingerprints":{"codehealthFindingId/v1":"3030e4d6ece962e389099a90fef7a988e3fff8438ddfa3b1ecca8536363d7a5c"}},{"ruleId":"D2","level":"warning","message":{"text":"paintBackground (cognitive 25): paintBackground has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 7 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":2705}}}],"partialFingerprints":{"codehealthFindingId/v1":"37a46764d3c85cf94a7d3c0e04d67f9dbbd9d502ce3e6a51065493b4333aec4a"}},{"ruleId":"D2","level":"warning","message":{"text":"getDoubleClickTerminalForEvent (cognitive 25): getDoubleClickTerminalForEvent has cognitive complexity 25 (threshold 15). Drivers by points: if/else 4 (12 pts), boolean chains 5, ternaries 1 (5 pts), loops 1 (3 pts) (nesting depth added 14). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":2484}}}],"partialFingerprints":{"codehealthFindingId/v1":"0264c8b5490f4454e0beaf13263a2358bfb7f1d0854e6bd681475437eda56ade"}},{"ruleId":"D2","level":"warning","message":{"text":"createStatusContainer (cognitive 25): createStatusContainer has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (18 pts), boolean chains 5, loops 1 (2 pts) (nesting depth added 9). None of this is in the body itself: all 25 points belong to 2 function literals inside it that branch (lines 9228, 9284). 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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":9222}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bf74e677f11db7a100a1e2beb01bb38ff1a16d300db817228aef78a4a7f3048"}},{"ruleId":"D2","level":"warning","message":{"text":"descriptorChanged (cognitive 25): descriptorChanged has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (16 pts), ternaries 2 (5 pts), boolean chains 4 (nesting depth added 11). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":8783}}}],"partialFingerprints":{"codehealthFindingId/v1":"990b559fd630fe1e9c75cb8bbe21e4bbfc250a031b705060ff87c3a5802b36d5"}},{"ruleId":"D2","level":"warning","message":{"text":"init::(anonymous)::setSharedState (cognitive 25): init::(anonymous)::setSharedState has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (11 pts), ternaries 3 (8 pts), boolean chains 6 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Menus.js"},"region":{"startLine":5082}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1ca11f543fc3a842bdb245f11219843a1f18a93ea0b1e1cf1d02233973b2607"}},{"ruleId":"D2","level":"warning","message":{"text":"addPageFormatPanel.listener (cognitive 25): addPageFormatPanel.listener has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (22 pts), boolean chains 2, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Editor.js"},"region":{"startLine":4185}}}],"partialFingerprints":{"codehealthFindingId/v1":"58bb15c7727f29a6c9a74da97f2d88099f8c80516793370f3f8031c33dc2a5e2"}},{"ruleId":"D2","level":"warning","message":{"text":"clone (cognitive 25): clone has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (14 pts), boolean chains 4, ternaries 2 (4 pts), loops 1 (3 pts) (nesting depth added 12). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxUtils.js"},"region":{"startLine":2709}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f7e1f1ba69764bb76c4760e28bdf6f9ebcfd76a46f83cdc85a7ab93918e9807"}},{"ruleId":"D2","level":"warning","message":{"text":"zapGremlins (cognitive 25): zapGremlins has cognitive complexity 25 (threshold 15). Drivers by points: if/else 5 (9 pts), ternaries 3 (9 pts), boolean chains 6, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxUtils.js"},"region":{"startLine":3840}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d4b4489f235c83cf7e2209e7ca868fc2fe8a0f5234d425b3ff4f8b81a136308"}},{"ruleId":"D2","level":"warning","message":{"text":"convertHtmlBlocksToSvg::processAnonymousInlineRun (cognitive 25): convertHtmlBlocksToSvg::processAnonymousInlineRun has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 4 (7 pts), boolean chains 4, ternaries 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxUtils.js"},"region":{"startLine":6366}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6de70dccd71a289d7cdf0fa6618fe516259b85cc5707a5c5160421c6f74faa6"}},{"ruleId":"D2","level":"warning","message":{"text":"showLineStyleMenu (cognitive 25): showLineStyleMenu has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 6 (14 pts), if/else 4 (6 pts), boolean chains 4, loops 1 (nesting depth added 10). Most of this is not in the body itself: 8 of the 25 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 2606, createDashPreview, a function literal at line 2624, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/InlineToolbar.js"},"region":{"startLine":2559}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f29016d4b4e15c55f3c89804f2374b45e93e734402aded75efef418609710d5"}},{"ruleId":"D2","level":"warning","message":{"text":"getMovePreviewCache (cognitive 25): getMovePreviewCache has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 3 (8 pts), boolean chains 2 (nesting depth added 14). Of this number, 23 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. 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/webapp/js/diagramly/LibavoidRouting.js"},"region":{"startLine":3533}}}],"partialFingerprints":{"codehealthFindingId/v1":"72e323b8766e076e49a4af19b1643fd8366af5581d545e1396c368c304384748"}},{"ruleId":"D2","level":"warning","message":{"text":"updateRealtime (cognitive 25): updateRealtime has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 9 (nesting depth added 8). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DrawioFileSync.js"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b2c6b7e3a6898a2a864556ed21fbebf2e66bca07ce11f35ee89b3332357e146"}},{"ruleId":"D2","level":"warning","message":{"text":"cloneSourceCells (cognitive 25): cloneSourceCells has cognitive complexity 25 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 5 (9 pts), ternaries 2 (4 pts), boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ForceExplorer.js"},"region":{"startLine":3252}}}],"partialFingerprints":{"codehealthFindingId/v1":"9474bbb515c7e3a8024507dc917c7c5abb8337e550490296148903e73e14a15e"}},{"ruleId":"D2","level":"warning","message":{"text":"updatePoints (cognitive 25): updatePoints has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (16 pts), boolean chains 3, loops 1 (3 pts), ternaries 1 (3 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxGraphView.js"},"region":{"startLine":3041}}}],"partialFingerprints":{"codehealthFindingId/v1":"06367cae6baa2e95065278625318cde6bcd8e54f7a9b5fc0bdc9207c23bbbbb8"}},{"ruleId":"D2","level":"warning","message":{"text":"addFoldingHandler (cognitive 25): addFoldingHandler has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (20 pts), loops 2 (4 pts), ternaries 1 (nesting depth added 11). Most of this is not in the body itself: 2 of the 25 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 611, 660, 667, \u2026). 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/webapp/js/diagramly/sidebar/Sidebar.js"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b9e3b6ecad5426186f48c6e9bfaa4fb319cb289ca5551c7956163b7342f4e54"}},{"ruleId":"D2","level":"warning","message":{"text":"addTabListeners (cognitive 25): addTabListeners has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 11, ternaries 1 (2 pts) (nesting depth added 4). None of this is in the body itself: all 25 points belong to 6 function literals inside it that branch (lines 4537, 4514, 4490, \u2026). 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/webapp/js/diagramly/Pages.js"},"region":{"startLine":4440}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a678fbeabd3b85cc1511552ccd503172c52449f99e5ca682d89e3538d5fd557"}},{"ruleId":"D2","level":"warning","message":{"text":"fileSaved (cognitive 25): fileSaved has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (14 pts), error handling 3 (4 pts), ternaries 3 (4 pts), boolean chains 3 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DrawioFile.js"},"region":{"startLine":4122}}}],"partialFingerprints":{"codehealthFindingId/v1":"4605b421ec01f63b059fc21a5484849b67859a4cd48b226f987ccbc7c7327b35"}},{"ruleId":"D2","level":"warning","message":{"text":"doShowLayoutSettings (cognitive 25): doShowLayoutSettings has cognitive complexity 25 (threshold 15). Drivers by points: if/else 24 (38 pts), ternaries 13 (18 pts), boolean chains 17, loops 3 (6 pts), error handling 3 (4 pts) (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/LayoutPicker.js"},"region":{"startLine":3601}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae4df4d5c45fda5c8cb878137a091f0d7f5d3ccf873556ebfbf70de18e683bc1"}},{"ruleId":"D2","level":"warning","message":{"text":"initializeKeys (cognitive 25): initializeKeys has cognitive complexity 25 (threshold 15). Drivers by points: loops 6 (16 pts), if/else 3 (5 pts), match/switch 1 (2 pts), ternaries 1 (2 pts) (nesting depth added 14). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/graphml/mxGraphMlCodec.js"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffef9ad5db3f0e5fa35f189d37e8fc556c6a6e55e67190b2cea94eeffae6d633"}},{"ruleId":"D2","level":"warning","message":{"text":"getEdgesThroughShapes (cognitive 25): getEdgesThroughShapes has cognitive complexity 25 (threshold 15). Drivers by points: if/else 5 (12 pts), boolean chains 9, loops 3 (4 pts) (nesting depth added 8). Of this number, 20 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. 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/webapp/js/diagramly/tidy/Tidy.js"},"region":{"startLine":2268}}}],"partialFingerprints":{"codehealthFindingId/v1":"3332ac7fc121a378a5a46b7a7c8646eb7117b4c4ab5998c652e899d77a1f1283"}},{"ruleId":"D2","level":"warning","message":{"text":"runLayout (cognitive 25): runLayout has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 6, loops 2 (3 pts) (nesting depth added 9). Of this number, 18 points are the body\u0027s own statements and 7 belong to one function item inside it that branches. 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/webapp/js/diagramly/tidy/Tidy.js"},"region":{"startLine":2404}}}],"partialFingerprints":{"codehealthFindingId/v1":"7210c03cf0eebce824404b069b29c13006f56e3ca619dd1c4d0ecebe2a08e373"}},{"ruleId":"D2","level":"warning","message":{"text":"mouseDown (cognitive 25): mouseDown has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 7 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/handler/mxEdgeHandler.js"},"region":{"startLine":955}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c5865cf56f14059621132f64ee3d283f83d4a7b0c8e184c0099822f34979426"}},{"ruleId":"D2","level":"warning","message":{"text":"addActionEntries (cognitive 25): addActionEntries has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 3 (11 pts), boolean chains 8, if/else 2 (5 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Omnibox.js"},"region":{"startLine":1214}}}],"partialFingerprints":{"codehealthFindingId/v1":"52d5c080155bcbb0a09231349b745a6ba2f124ff0dd95df883583786018c1c88"}},{"ruleId":"D2","level":"warning","message":{"text":"redrawLabel (cognitive 25): redrawLabel has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 13, if/else 7 (11 pts), ternaries 1 (nesting depth added 4). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxCellRenderer.js"},"region":{"startLine":1151}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ea0ac835439b5d751b1f5f1a8512a8b1ae26b8e7e5e784e362c47e7f89fd301"}},{"ruleId":"D2","level":"warning","message":{"text":"filterEnclosing (cognitive 25): filterEnclosing has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 4 (6 pts), boolean chains 4 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/libavoid-js/libavoid-routing.js"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fd04645af15e52f81669c6a8095e9ab948293df243892b36838a54550307a13"}},{"ruleId":"D2","level":"warning","message":{"text":"getBoundingBox (cognitive 25): getBoundingBox has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (19 pts), boolean chains 4, loops 1 (2 pts) (nesting depth added 14). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/handler/mxGraphHandler.js"},"region":{"startLine":929}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fa7804b2984ec13030df3e82baa762515fcca00dfed9a49f0e6e059fcce3f00"}},{"ruleId":"D2","level":"warning","message":{"text":"updateSegment (cognitive 25): updateSegment has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 4, ternaries 1 (3 pts), loops 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/gif/AnimationExport.js"},"region":{"startLine":1338}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2006f003d796a4870e5c606e021052bf81708d16c63590f17b1298cec260c27"}},{"ruleId":"D2","level":"warning","message":{"text":"previewStyles (cognitive 25): previewStyles has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 8, ternaries 2 (4 pts), loops 3 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/tidy/TidyWindow.js"},"region":{"startLine":1206}}}],"partialFingerprints":{"codehealthFindingId/v1":"dec93d465d03d1f141ad053230fa00422e76fa1acc7907736c2851a9b16f73c7"}},{"ruleId":"D2","level":"warning","message":{"text":"decodeChild (cognitive 25): decodeChild has cognitive complexity 25 (threshold 15). Drivers by points: if/else 5 (10 pts), ternaries 3 (10 pts), boolean chains 3, error handling 1 (2 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/io/mxObjectCodec.js"},"region":{"startLine":1146}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f1cfc7981d55b6464bcd79ded01405064849e8f3cce733f9fc7f59ce6ee0dd1"}},{"ruleId":"D2","level":"warning","message":{"text":"loadCss (cognitive 25): loadCss has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (10 pts), ternaries 3 (8 pts), loops 1 (3 pts), boolean chains 2, error handling 1 (2 pts) (nesting depth added 11). Of this number, 17 points are the body\u0027s own statements and 8 belong to 4 function items inside it that branch. 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/webapp/js/diagramly/FusionTheme.js"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ce8fb58351ba3f276bf959d44683acce5131de5d8c3424c54bb841854ed84b3"}},{"ruleId":"D2","level":"warning","message":{"text":"setVertexLocation (cognitive 25): setVertexLocation has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (21 pts), boolean chains 4 (nesting depth added 13). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/layout/mxGraphLayout.js"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c360b95c10f5cec7767f2ac38300b26ae2382eae618c1c8911884ad86e0e092"}},{"ruleId":"D2","level":"warning","message":{"text":"Dialogs.LinkDialog::updateActionSummary (cognitive 24): Dialogs.LinkDialog::updateActionSummary has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 5 (13 pts), if/else 6 (7 pts), boolean chains 3, error handling 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (Dialogs.LinkDialog) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":6281}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fcb8ddc8a5d9f8e631a175d4634e7b977ffc89e0e2084ba99b81710f2ed8440"}},{"ruleId":"D2","level":"warning","message":{"text":"Dialogs.ChatWindow::addExchange (cognitive 24): Dialogs.ChatWindow::addExchange has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 6, ternaries 3 (5 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This shape REPEATS in the file: one other method here (Dialogs.ChatWindow) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":13323}}}],"partialFingerprints":{"codehealthFindingId/v1":"482dd0772a58e772e943c61466ef923ad1fa3fbe2ef7b9ce2ed7ee18b0f18cce"}},{"ruleId":"D2","level":"warning","message":{"text":"DrawioFile.DrawioFile.synchronizeFile (cognitive 24): DrawioFile.DrawioFile.synchronizeFile has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (24 pts) (nesting depth added 13). Most of this is not in the body itself: 7 of the 24 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 520, 551, 506, \u2026). 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/webapp/js/diagramly/DrawioFile.js"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f74ac1870d62d566b6ee3a96e6d3855e2db6722571c5310cb165ed3bfb3ff9c"}},{"ruleId":"D2","level":"warning","message":{"text":"Editor.Editor.toggleFlowAnimation (cognitive 24): Editor.Editor.toggleFlowAnimation has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 6, ternaries 1 (2 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":16200}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fb38474135c682d71cee61e933ca71a2a0182ba3d08b1cd31e0093ea1aa7b62"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.installStatusMinimizer (cognitive 24): EditorUi.EditorUi.installStatusMinimizer has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 7, ternaries 2 (5 pts) (nesting depth added 7). None of this is in the body itself: all 24 points belong to 3 function literals inside it that branch (lines 25369, 25353, 25361). 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":25348}}}],"partialFingerprints":{"codehealthFindingId/v1":"410dbe474ab59d479d5cc2c9b7a6147595ab36f260dc691fbba6885cd92e7a43"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.parseBoxNames (cognitive 24): EditorUi.EditorUi.parseBoxNames has cognitive complexity 24 (threshold 15). Drivers by points: loops 4 (9 pts), boolean chains 8, if/else 2 (5 pts), ternaries 1 (2 pts) (nesting depth added 9). Of this number, 23 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":36119}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2a77cc254b3b62556d9db4c6fc891ead75511c83daf7bfc2aab195eadbddfd1"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.getCsvStyle::isSourceValue (cognitive 24): EditorUi.EditorUi.getCsvStyle::isSourceValue has cognitive complexity 24 (threshold 15). Drivers by points: if/else 4 (13 pts), loops 3 (6 pts), boolean chains 3, ternaries 1 (2 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (EditorUi.EditorUi.getCsvStyle) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":39327}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9d23beea34db648c822fe1ce31228f25d679b1a6fc527c07a60b35f4a31817c"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.CommentsWindow::renderAnchorRow (cognitive 24): EditorUi.CommentsWindow::renderAnchorRow has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (11 pts), ternaries 3 (7 pts), boolean chains 3, loops 1 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 3 other methods here (EditorUi.CommentsWindow::getCommentEditorValue::walk, EditorUi.CommentsWindow::installMentionHandler::updateMenu, EditorUi.CommentsWindow::addComment) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":44646}}}],"partialFingerprints":{"codehealthFindingId/v1":"10cfb0b145d0790b59c78c64e12bc30dc16f2b0c2db93aa4c6bbdd5557ce9ae5"}},{"ruleId":"D2","level":"warning","message":{"text":"LibavoidRouting.LibavoidRouting.createLayout (cognitive 24): LibavoidRouting.LibavoidRouting.createLayout has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 5, loops 2 (4 pts), ternaries 1 (nesting depth added 6). Most of this is not in the body itself: 1 of the 24 points is its own statement and the rest belongs to 5 function items inside it that branch (runRouting, a function literal at line 322, runRouting::collect, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/LibavoidRouting.js"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bcea7a658af85b0d2a832c79f14fa453c76a55e875706c905d0bc00d2e3e2f4"}},{"ruleId":"D2","level":"warning","message":{"text":"Pages.Graph.createViewState (cognitive 24): Pages.Graph.createViewState has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 9 (11 pts), boolean chains 10, error handling 1 (2 pts), if/else 1 (nesting depth added 3). Of this number, 15 points are the body\u0027s own statements and 9 belong to 3 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Pages.js"},"region":{"startLine":1601}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ba532b71d29b802bf59bc714b86044dbaa41120ffcda303a426edbcdde21d09"}},{"ruleId":"D2","level":"warning","message":{"text":"AnimationExport.AnimationExport.setFlowStartTimes (cognitive 24): AnimationExport.AnimationExport.setFlowStartTimes has cognitive complexity 24 (threshold 15). Drivers by points: if/else 4 (10 pts), ternaries 2 (6 pts), loops 3 (5 pts), boolean chains 3 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/gif/AnimationExport.js"},"region":{"startLine":1428}}}],"partialFingerprints":{"codehealthFindingId/v1":"642e52349e5e83d2de169dfa899c8be92b56f5fca9e610cab60951dd41d80f20"}},{"ruleId":"D2","level":"warning","message":{"text":"Tidy.Tidy.classify (cognitive 24): Tidy.Tidy.classify has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 7, loops 3 (4 pts), ternaries 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/tidy/Tidy.js"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e543ca7576733de532fd8c9b51eb8388fd55539442ddbc37a8460f0e7cadea9"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.showTypingShim (cognitive 24): EditorUi.EditorUi.showTypingShim has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 5, error handling 1 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":5083}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd44c7a3bf6c0dc72562eafabb95b012da89215c540883db86b7ccfb308bad69"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.scopeStyleElements (cognitive 24): Graph.Graph.scopeStyleElements has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 5 (8 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":5915}}}],"partialFingerprints":{"codehealthFindingId/v1":"283728394c3e62e1bc5855fc607667fb81368d7cbd8f7d2167231d51f8c781ae"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.makeSequenceMessages (cognitive 24): Graph.Graph.makeSequenceMessages has cognitive complexity 24 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 2 (6 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":10634}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d1f4f1d24d9f128648dc62a9e89dae641240dfa242769b8d735b4194f37621e"}},{"ruleId":"D2","level":"warning","message":{"text":"mxVertexHandler.mxVertexHandler.getHandleForEvent (cognitive 24): mxVertexHandler.mxVertexHandler.getHandleForEvent has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 6, loops 2 (4 pts), ternaries 4 (nesting depth added 6). Of this number, 19 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. 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/webapp/mxgraph/src/handler/mxVertexHandler.js"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"9325b64a65890d2243bcf2bc7beb8681345f1a011f5e6e03c84d7ed6ec4e4465"}},{"ruleId":"D2","level":"warning","message":{"text":"mxText.mxText.updateSize (cognitive 24): mxText.mxText.updateSize has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (21 pts), boolean chains 3 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/shape/mxText.js"},"region":{"startLine":1189}}}],"partialFingerprints":{"codehealthFindingId/v1":"74ced04738c04c14235b6ec6473282a63ccb121adb8a9342c6ae43fa017c5517"}},{"ruleId":"D2","level":"warning","message":{"text":"mxGraphView.mxGraphView.getRelativePoint (cognitive 24): mxGraphView.mxGraphView.getRelativePoint has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 1 (3 pts), ternaries 1 (3 pts), boolean chains 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxGraphView.js"},"region":{"startLine":4217}}}],"partialFingerprints":{"codehealthFindingId/v1":"e787861d16d4ff7af46c163b693259b9a71bcdea6e46665573da4af75314afe7"}},{"ruleId":"D2","level":"warning","message":{"text":"mxEmoji.mxShapeEmoji.getUnicodeText (cognitive 24): mxEmoji.mxShapeEmoji.getUnicodeText has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (19 pts), loops 1 (3 pts), boolean chains 2 (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/shapes/emoji/mxEmoji.js"},"region":{"startLine":1916}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbf7bf926219bff6c2e97295b2492de43fd336b87d2cba9f7da78b5e58ace7a3"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::handle (cognitive 24): (anonymous)::handle has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 2 (8 pts), boolean chains 3 (nesting depth added 13). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":8592}}}],"partialFingerprints":{"codehealthFindingId/v1":"e10a125ca15d075cab5dcbbef7e412160e76b2d6870e90b9c76a5771fea3ff03"}},{"ruleId":"D2","level":"warning","message":{"text":"toObject (cognitive 24): toObject has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 6, loops 3 (5 pts), ternaries 2 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":22516}}}],"partialFingerprints":{"codehealthFindingId/v1":"28e95a75428b1c81fc76f54e86d702d757ca699ee5e4f816f44690c0c87c0ee6"}},{"ruleId":"D2","level":"warning","message":{"text":"normalizeEdge (cognitive 24): normalizeEdge has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 10, if/else 4 (9 pts), loops 1 (3 pts), ternaries 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Extensions.js"},"region":{"startLine":6971}}}],"partialFingerprints":{"codehealthFindingId/v1":"80bd7d0247d11f986bf1933821259c3e93b6eae189b908caf377c9fbe970c0c7"}},{"ruleId":"D2","level":"warning","message":{"text":"getDropTarget (cognitive 24): getDropTarget has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 7, loops 4 (7 pts), ternaries 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":12003}}}],"partialFingerprints":{"codehealthFindingId/v1":"90fc3da65d8445b4e2d032aae0468be1be7edc868eb5d964b7836e59c842594c"}},{"ruleId":"D2","level":"warning","message":{"text":"initCanvas::validate (cognitive 24): initCanvas::validate has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (18 pts), boolean chains 6 (nesting depth added 11). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":6612}}}],"partialFingerprints":{"codehealthFindingId/v1":"08cb05cd2c61efcd24c0384eea0450569bef0da2aeab18fb96a4f7627905eb76"}},{"ruleId":"D2","level":"warning","message":{"text":"installLineMarkerMenu (cognitive 24): installLineMarkerMenu has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 12, if/else 6 (12 pts) (nesting depth added 6). None of this is in the body itself: all 24 points belong to 2 function literals inside it that branch (lines 7834, 7876). 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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":7826}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ae25cea835bed370d51acdee20fb3fe203e67cf495929b4de239a3cd78818bc"}},{"ruleId":"D2","level":"warning","message":{"text":"fetchAndShowNotification (cognitive 24): fetchAndShowNotification has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 9, if/else 6 (9 pts), error handling 2 (4 pts), loops 1, ternaries 1 (nesting depth added 5). Most of this is not in the body itself: 10 of the 24 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 8175, 8139, 8141, \u2026). 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/webapp/js/diagramly/App.js"},"region":{"startLine":8126}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1c6b3e60857457c5b660d01b4ef92538fe966ffbdbcaa32113fa73c5eaffba2"}},{"ruleId":"D2","level":"warning","message":{"text":"getSizeForString (cognitive 24): getSizeForString has cognitive complexity 24 (threshold 15). Drivers by points: if/else 13, ternaries 9 (10 pts), boolean chains 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxUtils.js"},"region":{"startLine":5135}}}],"partialFingerprints":{"codehealthFindingId/v1":"73834324f24dc83522162adc366aa73c6ff20286a530881edb411d7beb6ce661"}},{"ruleId":"D2","level":"warning","message":{"text":"addLinks (cognitive 24): addLinks has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 4 (10 pts), boolean chains 5, if/else 2 (5 pts), loops 2 (4 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ForceExplorer.js"},"region":{"startLine":3401}}}],"partialFingerprints":{"codehealthFindingId/v1":"b04f212ae31eb45ae1b0a50bf11d9eb029629c0b8e599047f4eebf5f9ac7f359"}},{"ruleId":"D2","level":"warning","message":{"text":"getChangedGraphBounds (cognitive 24): getChangedGraphBounds has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 11, if/else 5 (11 pts), loops 2 (nesting depth added 6). Of this number, 23 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxGraphView.js"},"region":{"startLine":2055}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfd34d6079e16689d8336df457a9a2695dbdf6f49cc1fa11a2a5bf90344831bc"}},{"ruleId":"D2","level":"warning","message":{"text":"paintVertexShape (cognitive 24): paintVertexShape has cognitive complexity 24 (threshold 15). Drivers by points: if/else 14 (16 pts), boolean chains 8 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/shapes/mxBasic.js"},"region":{"startLine":2642}}}],"partialFingerprints":{"codehealthFindingId/v1":"eee88db850f14b8b2d70335bad39fa63f7b6e0511111316c72a628a450e27f16"}},{"ruleId":"D2","level":"warning","message":{"text":"getLayoutScope (cognitive 24): getLayoutScope has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 4 (8 pts), boolean chains 4 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/LayoutPicker.js"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aeff57cc7d78a8de8085e3e2d183ad785de4f8a1a4046e37bab7dc84bc516fc"}},{"ruleId":"D2","level":"warning","message":{"text":"showPreview (cognitive 24): showPreview has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 5 (11 pts), if/else 4 (7 pts), boolean chains 3, loops 1 (3 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/LayoutPicker.js"},"region":{"startLine":2854}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a47cbc48ecde11c4376f533d96d135f44280a1fb66e4f0e1627730107d77b6c"}},{"ruleId":"D2","level":"warning","message":{"text":"updatePreviewStyles (cognitive 24): updatePreviewStyles has cognitive complexity 24 (threshold 15). Drivers by points: loops 3 (8 pts), boolean chains 7, if/else 3 (5 pts), ternaries 4 (nesting depth added 7). Of this number, 21 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. 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/webapp/js/diagramly/LayoutPicker.js"},"region":{"startLine":2920}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b2f3ef6ee6d87b7b3d4af82fc1a88e3e32e7071ce4675f14c68b0af584c6fb4"}},{"ruleId":"D2","level":"warning","message":{"text":"getModelNodeBounds::getOrigin (cognitive 24): getModelNodeBounds::getOrigin has cognitive complexity 24 (threshold 15). Drivers by points: if/else 4 (8 pts), ternaries 3 (7 pts), loops 3 (5 pts), boolean chains 4 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/GraphViewer.js"},"region":{"startLine":3483}}}],"partialFingerprints":{"codehealthFindingId/v1":"e153bf7b99902ebf4c374ffa9c68b234551468f60693510f143cd57bed7ac8c2"}},{"ruleId":"D2","level":"warning","message":{"text":"install.populateFields (cognitive 24): install.populateFields has cognitive complexity 24 (threshold 15). Drivers by points: if/else 14, boolean chains 6, ternaries 2 (4 pts) (nesting depth added 2). Of this number, 14 points are the body\u0027s own statements and 10 belong to 4 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ConfigEditor.js"},"region":{"startLine":1232}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e73add8036ca4b1d9b917ea6ee5faf84e3defff6ae065bc00695e35853df595"}},{"ruleId":"D2","level":"warning","message":{"text":"createSegment (cognitive 24): createSegment has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 6, ternaries 3, loops 2, error handling 1 (nesting depth added 4). Of this number, 16 points are the body\u0027s own statements and 8 belong to 5 function items inside it that branch. 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/webapp/js/diagramly/gif/AnimationExport.js"},"region":{"startLine":1189}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc69c35736bc52badd3e43c27ef65d48f8c84d842518bad3335aa0c932e5caa3"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 24): (anonymous) has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (18 pts), boolean chains 3, error handling 1 (3 pts) (nesting depth added 14). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Init.js"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cb9a8f4b85e8ac92b35fb1ba9b0d895306227f4a5a8e146677ea22dd9b9eae4"}},{"ruleId":"D2","level":"warning","message":{"text":"equals (cognitive 24): equals has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 23, ternaries 1. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/model/mxGeometry.js"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f97e9d83b77ba6103944fa6d563ec9d8416ebdace84c14be7615f944c8bab64"}},{"ruleId":"D2","level":"warning","message":{"text":"renderFrames (cognitive 24): renderFrames has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (14 pts), ternaries 3 (4 pts), error handling 2 (3 pts), boolean chains 2, loops 1 (nesting depth added 6). Most of this is not in the body itself: 10 of the 24 points are its own statements and the rest belongs to 3 function items inside it that branch (a function literal at line 149, (anonymous)::onload, (anonymous)::onerror). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/gif/AnimatedExport.js"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"64596eb8f9f4117bacccb66ea231a439e3d74c4ac65bedac59e2a6365a6918af"}},{"ruleId":"D2","level":"warning","message":{"text":"addItem (cognitive 24): addItem has cognitive complexity 24 (threshold 15). Drivers by points: if/else 14 (21 pts), ternaries 2, boolean chains 1 (nesting depth added 7). Most of this is not in the body itself: 10 of the 24 points are its own statements and the rest belongs to 3 function items inside it that branch (a function literal at line 137, a function literal at line 123, (anonymous)::hideMenu). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxToolbar.js"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b22c6601f6c9f467673be6c7ad4dfd81a1e2197d35ff1d57553ac63b692d244"}},{"ruleId":"D2","level":"warning","message":{"text":"createMp4 (cognitive 24): createMp4 has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 7, ternaries 4, boolean chains 2 (nesting depth added 5). Of this number, 19 points are the body\u0027s own statements and 5 belong to 8 function items inside it that branch. 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/webapp/js/diagramly/gif/Mp4Encoder.js"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce27b211f5d548a78db7e5f5a8232e83ab95056830fbd6be04f7c88f3350167d"}},{"ruleId":"D2","level":"warning","message":{"text":"paintVertexShape (cognitive 24): paintVertexShape has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (20 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/shape/mxImageShape.js"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"228797cd71f661473a49384078675bdecec6f9f4513c655f2458d47f0e725984"}},{"ruleId":"D2","level":"warning","message":{"text":"Dialogs.CropImageDialog::init (cognitive 23): Dialogs.CropImageDialog::init has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (19 pts), boolean chains 2, error handling 1 (2 pts) (nesting depth added 11). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":19176}}}],"partialFingerprints":{"codehealthFindingId/v1":"9081e133c2a9f35e14254bd023597939ef944ddd18c533954a43c777bf8b2bc0"}},{"ruleId":"D2","level":"warning","message":{"text":"DrawioFileSync.DrawioFileSync.addUnconfirmedRemoves (cognitive 23): DrawioFileSync.DrawioFileSync.addUnconfirmedRemoves has cognitive complexity 23 (threshold 15). Drivers by points: if/else 3 (8 pts), loops 4 (8 pts), boolean chains 4, ternaries 1 (3 pts) (nesting depth added 11). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DrawioFileSync.js"},"region":{"startLine":1829}}}],"partialFingerprints":{"codehealthFindingId/v1":"07fd8a016ac746ac4886a3d830df4144fc8ca882b3ea09371e77ae7353467d3c"}},{"ruleId":"D2","level":"warning","message":{"text":"DrawioFileSync.DrawioFileSync.fileChanged (cognitive 23): DrawioFileSync.DrawioFileSync.fileChanged has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (20 pts), boolean chains 2, ternaries 1 (nesting depth added 12). Most of this is not in the body itself: 1 of the 23 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 3488, 3508). 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/webapp/js/diagramly/DrawioFileSync.js"},"region":{"startLine":3486}}}],"partialFingerprints":{"codehealthFindingId/v1":"4df58127b1c7be26fd615254cc95e6a8823971093adb7e9be9b47882c93ecabe"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.exportVisio (cognitive 23): EditorUi.EditorUi.exportVisio has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (18 pts), error handling 1 (4 pts), boolean chains 1 (nesting depth added 12). Most of this is not in the body itself: 3 of the 23 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 14636, 14626, 14628). 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":14610}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d5cc0a0b53fd4feae16d641126574f0c19596e2291cee9e39ed9362af4c70a3"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.getOfflineLanguages (cognitive 23): EditorUi.EditorUi.getOfflineLanguages has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 3 (7 pts), error handling 1, ternaries 1 (nesting depth added 13). Most of this is not in the body itself: 2 of the 23 points are its own statements and the rest belongs to 3 function items inside it that branch (a function literal at line 27181, a function literal at line 27165, done). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":27154}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9cfb140b3eb720e5762176d9113375e17492fd823c9089cc3ef75b3cf00f8d3"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.getCsvStyle (cognitive 23): EditorUi.EditorUi.getCsvStyle has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (19 pts), ternaries 6 (11 pts), boolean chains 10, loops 4 (7 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (EditorUi.EditorUi.getCsvStyle::isSourceValue) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":39307}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3668ef72421029cb55db661ef934d45eeac925e11c2c0fef405de09bff5b08b"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.getJsonForPage (cognitive 23): EditorUi.EditorUi.getJsonForPage has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 5 (10 pts), boolean chains 1 (nesting depth added 10). Of this number, 22 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":42241}}}],"partialFingerprints":{"codehealthFindingId/v1":"f341aea4990735a0a6982375b0b03f6270bf7c714ec8c65701602943cb7dc1f7"}},{"ruleId":"D2","level":"warning","message":{"text":"ElectronApp.App.saveFile (cognitive 23): ElectronApp.App.saveFile has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (22 pts), boolean chains 1 (nesting depth added 13). Most of this is not in the body itself: 5 of the 23 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 2427, 2454, 2440, \u2026). 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/webapp/js/diagramly/ElectronApp.js"},"region":{"startLine":2419}}}],"partialFingerprints":{"codehealthFindingId/v1":"c588584dd08a3fcd8153ab474af618b6102799cf494e0c611966846665392a2e"}},{"ruleId":"D2","level":"warning","message":{"text":"Extensions.getAllTextM (cognitive 23): Extensions.getAllTextM has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13 (23 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Extensions.js"},"region":{"startLine":4685}}}],"partialFingerprints":{"codehealthFindingId/v1":"708a82b6262aeb9e79373e9d8ce21e5089fea2db8fb1721f35b7045aab66b495"}},{"ruleId":"D2","level":"warning","message":{"text":"ForceExplorer.ForceExplorer.keyDown (cognitive 23): ForceExplorer.ForceExplorer.keyDown has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 10, ternaries 1 (2 pts) (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ForceExplorer.js"},"region":{"startLine":1150}}}],"partialFingerprints":{"codehealthFindingId/v1":"f439052059ead9641703c508bb2cb9c3c7b62813e71fae9a5dda838f5b0768f6"}},{"ruleId":"D2","level":"warning","message":{"text":"Minimal.EditorUi.initMinimalTheme (cognitive 23): Minimal.EditorUi.initMinimalTheme has cognitive complexity 23 (threshold 15). Drivers by points: if/else 17 (27 pts), boolean chains 21, ternaries 2 (6 pts), error handling 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (Minimal.EditorUi.initMinimalTheme::toggleShapes) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Minimal.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"3956f520142f748f1dd16339b829769c17ac95f4ee4afc181c016408586f2a59"}},{"ruleId":"D2","level":"warning","message":{"text":"Tidy.Tidy.ops.align (cognitive 23): Tidy.Tidy.ops.align has cognitive complexity 23 (threshold 15). Drivers by points: if/else 4 (13 pts), loops 4 (9 pts), boolean chains 1 (nesting depth added 14). Most of this is not in the body itself: 11 of the 23 points are its own statements and the rest belongs to one function item inside it that branches (flush). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/tidy/Tidy.js"},"region":{"startLine":1914}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c2f98739adf9ad9fe0c51008e1a560df6d7caa20041eb04fde247531ada6d6e"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.focusOpenedWindow (cognitive 23): EditorUi.EditorUi.focusOpenedWindow has cognitive complexity 23 (threshold 15). Drivers by points: if/else 4 (13 pts), loops 2 (5 pts), ternaries 1 (4 pts), boolean chains 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":3878}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f1bd3ccbedbb388dbb90618a72e92c11472e7febb23bfaefdcd9693ffc6d397"}},{"ruleId":"D2","level":"warning","message":{"text":"Format.StyleFormatPanel.init (cognitive 23): Format.StyleFormatPanel.init has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (19 pts), boolean chains 4 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Format.js"},"region":{"startLine":6919}}}],"partialFingerprints":{"codehealthFindingId/v1":"394f4c782ef9dae9e1e335e155f8dc9b87fcad12dbf1526f0ee433b3dfddd7b4"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.mxImageShape.getImageCssVars (cognitive 23): Graph.mxImageShape.getImageCssVars has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (21 pts), boolean chains 2 (nesting depth added 12). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"272162a757c91c182fa48f362840c1fd528ee41d0dd448b36329da6da5ca4bab"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.getScaledCellAt (cognitive 23): Graph.Graph.getScaledCellAt has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 7, loops 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":11859}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6f5bcf882f2bbc735425a4b015e703aaa6d24031a17aee8ec9761f6f70806de"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.unbundleCells (cognitive 23): Graph.Graph.unbundleCells has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 6 (7 pts), boolean chains 5, ternaries 1 (nesting depth added 6). Of this number, 18 points are the body\u0027s own statements and 5 belong to 2 function items inside it that branch. 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":20986}}}],"partialFingerprints":{"codehealthFindingId/v1":"5855afa4a0d3052207f0e1f71e2ffe6a6304a729cbacd2e66580b5e7eb11a563"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.distributeColumns (cognitive 23): Graph.Graph.distributeColumns has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 3 (4 pts), ternaries 1 (3 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":26903}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d04d74a1e11c9e72f5b7a9bd6eabc75b24d0b01cda5891f69f55e937f5b95c7"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.mxCellRenderer.getLabelGap (cognitive 23): Graph.mxCellRenderer.getLabelGap has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (14 pts), ternaries 3 (4 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":28436}}}],"partialFingerprints":{"codehealthFindingId/v1":"a00877b798672ff4d3c1777eec0ca1d70687e47d244b05bb7c35ed10c3f438f9"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.mxStencilRegistry.loadStencilSet (cognitive 23): Graph.mxStencilRegistry.loadStencilSet has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (17 pts), boolean chains 3, error handling 1 (3 pts) (nesting depth added 12). Of this number, 18 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":34238}}}],"partialFingerprints":{"codehealthFindingId/v1":"03798833912b6de02260cb766cb2d87f439bbe19107b3aadce84dd57ed7812dd"}},{"ruleId":"D2","level":"warning","message":{"text":"InlineToolbar.InlineToolbar.showMarkerSubPanel (cognitive 23): InlineToolbar.InlineToolbar.showMarkerSubPanel has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 4, loops 2, ternaries 1 (nesting depth added 7). Of this number, 17 points are the body\u0027s own statements and 6 belong to 3 function literals inside it that branch. 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/webapp/js/grapheditor/InlineToolbar.js"},"region":{"startLine":3432}}}],"partialFingerprints":{"codehealthFindingId/v1":"20ab0d47f6fb45b40b83ae19eb81031a88134156c87af9e495e0dea42e766034"}},{"ruleId":"D2","level":"warning","message":{"text":"libavoid-routing.AvoidRouting.toWorldFrame (cognitive 23): libavoid-routing.AvoidRouting.toWorldFrame has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (10 pts), ternaries 3 (6 pts), loops 4 (5 pts), boolean chains 2 (nesting depth added 8). Of this number, 19 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. 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/webapp/js/libavoid-js/libavoid-routing.js"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"f08a9fb60f6b26c9f9f1b145576066dc5153b293756e7f2881a2435a44e4e367"}},{"ruleId":"D2","level":"warning","message":{"text":"mxParallelEdgeLayout.mxParallelEdgeLayout.layout (cognitive 23): mxParallelEdgeLayout.mxParallelEdgeLayout.layout has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 2 (9 pts), boolean chains 3 (nesting depth added 13). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/layout/mxParallelEdgeLayout.js"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d6179440f5a541a719d651f80af82de4223b053046b77063d4819ae3e60b52e"}},{"ruleId":"D2","level":"warning","message":{"text":"mxXmlCanvas2D.mxXmlCanvas2D.text (cognitive 23): mxXmlCanvas2D.mxXmlCanvas2D.text has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (17 pts), ternaries 2 (5 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxXmlCanvas2D.js"},"region":{"startLine":1129}}}],"partialFingerprints":{"codehealthFindingId/v1":"e68b42b5fa9a613a26ce59ac4133b0b7109cad5bc2748fb075ee8fba5484117a"}},{"ruleId":"D2","level":"warning","message":{"text":"mxArrows.mxShapeArrows2Arrow.getLabelBounds (cognitive 23): mxArrows.mxShapeArrows2Arrow.getLabelBounds has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13 (21 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/shapes/mxArrows.js"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"10cf8ff13ad908f4d7aa333c77843410935bf459343596ad630bbf6cc72bdede"}},{"ruleId":"D2","level":"warning","message":{"text":"mxCiscoSafe.mxShapeCiscoSafeCompositeIcon.paintVertexShape (cognitive 23): mxCiscoSafe.mxShapeCiscoSafeCompositeIcon.paintVertexShape has cognitive complexity 23 (threshold 15). Drivers by points: if/else 14 (17 pts), ternaries 2 (5 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/shapes/mxCiscoSafe.js"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f6e07b3e54df1db9829459f895303295b5d199c7673a985d1d739eb8b697d80"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 23): (anonymous) has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (11 pts), match/switch 2 (5 pts), boolean chains 3, error handling 2, loops 1 (2 pts) (nesting depth added 8). None of this is in the body itself: all 23 points belong to 5 function items inside it that branch (getRowObj, getDoubleVal, a function literal at line 3254, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":3224}}}],"partialFingerprints":{"codehealthFindingId/v1":"e39fac8fec1b2365d3924541331075a0a919cfba9886753d971fc7a94d2bf6a4"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::initMasters (cognitive 23): (anonymous)::initMasters has cognitive complexity 23 (threshold 15). Drivers by points: if/else 4 (13 pts), loops 2 (8 pts), boolean chains 2 (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":4766}}}],"partialFingerprints":{"codehealthFindingId/v1":"61b68521eef3b69e6d2106c9f8e77e6b160bbc915062803ab9e3b62ed886f200"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::getFontColor$com_mxgraph_io_vsdx_theme_QuickStyleVals$java_util_ArrayList (cognitive 23): (anonymous)::getFontColor$com_mxgraph_io_vsdx_theme_QuickStyleVals$java_util_ArrayList has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (16 pts), ternaries 3 (6 pts), match/switch 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":6263}}}],"partialFingerprints":{"codehealthFindingId/v1":"40330fe252d459470dd918bda83bf8624753dd43b1e4ec9910c2cd7954d51d93"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 23): (anonymous) has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 2 (4 pts), boolean chains 3 (nesting depth added 12). None of this is in the body itself: all 23 points belong to 4 function items inside it that branch (getIndexedCell, a function literal at line 6775, a function literal at line 6785, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":6756}}}],"partialFingerprints":{"codehealthFindingId/v1":"433ddefdd0d746acbe4083dcb2fc74e6be39e47a76f21bda24bb2029f0c1ebf2"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 23): (anonymous) has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 8 (nesting depth added 5). None of this is in the body itself: all 23 points belong to 33 function items inside it that branch (calcColor, getColor, getColor$int$com_mxgraph_io_vsdx_mxVsdxTheme, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":7648}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6be863ebe103e0abe203fc0e404c1a745018c5d2e63b15716c040bb6ed2c7f7"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::isDisplacedLabel (cognitive 23): (anonymous)::isDisplacedLabel has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 11 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":13666}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2f90037444cab74abe2182f1c9d88619ea9b41c50edf6a92b0f530bad9470ec"}},{"ruleId":"D2","level":"warning","message":{"text":"AnimationDialog::loadFromContext (cognitive 23): AnimationDialog::loadFromContext has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (15 pts), ternaries 2 (4 pts), boolean chains 2, error handling 1 (2 pts) (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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":14411}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d4be87188defd92d50896557f86fab17aaa8452ea66c2ebcfb7dd0feb4a8893"}},{"ruleId":"D2","level":"warning","message":{"text":"addAllStyles (cognitive 23): addAllStyles has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (12 pts), ternaries 5, boolean chains 3, loops 1 (3 pts) (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Extensions.js"},"region":{"startLine":4760}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc0d3c01bf60a86a59bd5df48ea868fa3f5083378dcce43d5ff87c8e1d9cc12c"}},{"ruleId":"D2","level":"warning","message":{"text":"zoom (cognitive 23): zoom has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (19 pts), boolean chains 3, ternaries 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":8685}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba7e76730ef2f5222e542dccae920fc9d4216e5663ec33203edca9fceff1e4f7"}},{"ruleId":"D2","level":"warning","message":{"text":"getOutlinePerimeterPoint (cognitive 23): getOutlinePerimeterPoint has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (10 pts), ternaries 4 (10 pts), boolean chains 3 (nesting depth added 11). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":4555}}}],"partialFingerprints":{"codehealthFindingId/v1":"41a05d653cb2adb796d49b63b6f052ec135f7887e58289fb2a555e1852e17cd1"}},{"ruleId":"D2","level":"warning","message":{"text":"getWidthHandleFrame (cognitive 23): getWidthHandleFrame has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 6 (12 pts), boolean chains 5, if/else 4 (5 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":7666}}}],"partialFingerprints":{"codehealthFindingId/v1":"9afa14af233bda4372913d5f227c8db44d8cf9e4b4bb1dfec04e47ff6757baa3"}},{"ruleId":"D2","level":"warning","message":{"text":"paintTaperedLine (cognitive 23): paintTaperedLine has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 7 (10 pts), loops 6, if/else 4 (5 pts), boolean chains 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":7717}}}],"partialFingerprints":{"codehealthFindingId/v1":"4711c4b91e28bb852c0f02881445a36ba325a5a4dde2b490232c3ef7dd16f9a6"}},{"ruleId":"D2","level":"warning","message":{"text":"isArrowKeyEvent (cognitive 23): isArrowKeyEvent has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 12, if/else 4 (5 pts), error handling 1 (3 pts), ternaries 1 (3 pts) (nesting depth added 5). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":4410}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aff6e690a564dd82420e4d73c4afb7af9da6782bd7f620f145e7d776e2ac923"}},{"ruleId":"D2","level":"warning","message":{"text":"getCustomColors (cognitive 23): getCustomColors has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 3 (12 pts), if/else 3 (5 pts), boolean chains 4, loops 1 (2 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Format.js"},"region":{"startLine":7708}}}],"partialFingerprints":{"codehealthFindingId/v1":"680fc0c3b28652196b0aaae0995a0b9599ba99349fb4106848b0b90e7126b933"}},{"ruleId":"D2","level":"warning","message":{"text":"updateServiceWorker (cognitive 23): updateServiceWorker has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 4, ternaries 2 (4 pts), error handling 1 (nesting depth added 8). Most of this is not in the body itself: 6 of the 23 points are its own statements and the rest belongs to 4 function items inside it that branch (a function literal at line 644, a function literal at line 636, (anonymous)::(anonymous)::check, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe8da91130081eb8d211f546047b854f478d1ae92c0b305c7b3bf72370447987"}},{"ruleId":"D2","level":"warning","message":{"text":"checkReleaseChannel (cognitive 23): checkReleaseChannel has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 7, ternaries 4 (5 pts), error handling 2 (nesting depth added 3). Most of this is not in the body itself: 9 of the 23 points are its own statements and the rest belongs to one function literal inside it that branches (line 2826). The decisions are inside the literal, 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 literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":2796}}}],"partialFingerprints":{"codehealthFindingId/v1":"b269c6b2edbe4633cae4425cae2e83420cd14c4ed9e32005f2503169a1e4ed2f"}},{"ruleId":"D2","level":"warning","message":{"text":"extractTextWithWhitespace::doExtract (cognitive 23): extractTextWithWhitespace::doExtract has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 7, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxUtils.js"},"region":{"startLine":1405}}}],"partialFingerprints":{"codehealthFindingId/v1":"2201fb07df47eeacc9b4cc7b36297ecd4203f2eb613e2cb8badf24610f550b12"}},{"ruleId":"D2","level":"warning","message":{"text":"initPages (cognitive 23): initPages has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 5, loops 1 (2 pts) (nesting depth added 8). Most of this is not in the body itself: 3 of the 23 points are its own statements and the rest belongs to 12 function items inside it that branch (a function literal at line 1433, sizeDidChange, a function literal at line 1421, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Pages.js"},"region":{"startLine":1397}}}],"partialFingerprints":{"codehealthFindingId/v1":"d304238844af7572b6057dfb7421d0bfc16ec25e1b5bd615c0f00eadf49476e4"}},{"ruleId":"D2","level":"warning","message":{"text":"getCrossReferenceSkip (cognitive 23): getCrossReferenceSkip has cognitive complexity 23 (threshold 15). Drivers by points: if/else 4 (11 pts), boolean chains 7, loops 2 (4 pts), ternaries 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DiffSync.js"},"region":{"startLine":2772}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e36c0250984d0ffe72699412b5efa8020d8b186953d2ef2b3cb15a68e619bd9"}},{"ruleId":"D2","level":"warning","message":{"text":"loadUrl (cognitive 23): loadUrl has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (11 pts), ternaries 3 (9 pts), boolean chains 2, error handling 1 (nesting depth added 11). Most of this is not in the body itself: 9 of the 23 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 3078, 3090). 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/webapp/js/diagramly/ElectronApp.js"},"region":{"startLine":3061}}}],"partialFingerprints":{"codehealthFindingId/v1":"a372561cca6f9f6a6e08cd5d58f6d84c0c8d4eab58cd05dc534924b3105f1193"}},{"ruleId":"D2","level":"warning","message":{"text":"start (cognitive 23): start has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 6, loops 1 (3 pts), ternaries 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/webapp/mxgraph/src/handler/mxEdgeHandler.js"},"region":{"startLine":1008}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d59f5cf20e8feaa7e245ec8535551495c8d323b109e7d3b73f08c7a7536dff0"}},{"ruleId":"D2","level":"warning","message":{"text":"setFocus (cognitive 23): setFocus has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 4 (8 pts), if/else 4 (7 pts), loops 2 (5 pts), boolean chains 3 (nesting depth added 10). Of this number, 20 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. 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/webapp/mxgraph/src/handler/mxConstraintHandler.js"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5e87f122e72c1085db9d4092c0dbccba9e9609078c7630260129e8e5f436497"}},{"ruleId":"D2","level":"warning","message":{"text":"Dialogs.TagsWindow (cognitive 22): Dialogs.TagsWindow has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 1 (3 pts), boolean chains 2 (nesting depth added 12). Most of this is not in the body itself: 2 of the 22 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 14008, 14004). 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":13991}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a9b2b0c6453cd091cf3780e697a342740fabc72147f260d97a56e4b1609afd2"}},{"ruleId":"D2","level":"warning","message":{"text":"Dialogs.FilePropertiesDialog.createDataDialog (cognitive 22): Dialogs.FilePropertiesDialog.createDataDialog has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 3 (5 pts), boolean chains 2, error handling 1 (nesting depth added 10). Most of this is not in the body itself: 4 of the 22 points are its own statements and the rest belongs to one function literal inside it that branches (line 24913). The decisions are inside the literal, 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 literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":24879}}}],"partialFingerprints":{"codehealthFindingId/v1":"19f322b8a9b5939c376dc059f827e798e88980ebe18d1a16dbceccc98a484c9a"}},{"ruleId":"D2","level":"warning","message":{"text":"Editor.Graph.updateTransientTerminalEdges (cognitive 22): Editor.Graph.updateTransientTerminalEdges has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (14 pts), boolean chains 5, loops 2 (3 pts) (nesting depth added 10). Of this number, 21 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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/webapp/js/diagramly/Editor.js"},"region":{"startLine":12757}}}],"partialFingerprints":{"codehealthFindingId/v1":"14cdf965607bd0329a9b7230817c6cd869fb55bf5d82fba6e0d7941e7fb6e7fc"}},{"ruleId":"D2","level":"warning","message":{"text":"Editor.Graph.getCellsForAction (cognitive 22): Editor.Graph.getCellsForAction has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 4 (7 pts), ternaries 2, boolean chains 1 (nesting depth added 9). Of this number, 19 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. 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/webapp/js/diagramly/Editor.js"},"region":{"startLine":13775}}}],"partialFingerprints":{"codehealthFindingId/v1":"140702af6415457958a0118a1efe538cbacfcbc47b2edb8bbde4de26fb70cd20"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.createLink (cognitive 22): EditorUi.EditorUi.createLink has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 11, if/else 9 (10 pts), ternaries 1 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":10579}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf9936d7143fcdb8fd72748d81d726633ef45ffa9193801d80fea308a08f4ae6"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.splitCsvRecords (cognitive 22): EditorUi.EditorUi.splitCsvRecords has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 3, loops 1, ternaries 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":38187}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e56680f67f5063db93e301d98f6448a944e89e5458413e8ed9119a964339094"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.gotoCommentAnchor (cognitive 22): EditorUi.EditorUi.gotoCommentAnchor has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 8). Of this number, 20 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":43557}}}],"partialFingerprints":{"codehealthFindingId/v1":"70c2ce75269c4ae4a9e093546e1a56437c109f368604c4feba087936d5fa4865"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.showRevisionMergeDialog (cognitive 22): EditorUi.EditorUi.showRevisionMergeDialog has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (15 pts), error handling 2 (3 pts), loops 1 (2 pts), boolean chains 1, ternaries 1 (nesting depth added 9). Most of this is not in the body itself: 1 of the 22 points is its own statement and the rest belongs to 4 function literals inside it that branch (lines 43973, 43935, 44000, \u2026). 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":43928}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5273fd1fd0c64c389bd086348834ea92cf7b1e33159d618302b5c25e1f11f4b"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.CommentsWindow::installMentionHandler::updateMenu (cognitive 22): EditorUi.CommentsWindow::installMentionHandler::updateMenu has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 7, loops 2 (3 pts) (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. This shape REPEATS in the file: 3 other methods here (EditorUi.CommentsWindow::renderAnchorRow, EditorUi.CommentsWindow::getCommentEditorValue::walk, EditorUi.CommentsWindow::addComment) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":45050}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e2282c74a17b571a3ad5ab42ae3332495f7c94e529702f75371352fba07a7b3"}},{"ruleId":"D2","level":"warning","message":{"text":"ForceExplorer.ForceExplorer.getLabelSizes (cognitive 22): ForceExplorer.ForceExplorer.getLabelSizes has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 5, ternaries 3 (5 pts), loops 1 (nesting depth added 7). Most of this is not in the body itself: 7 of the 22 points are its own statements and the rest belongs to 2 function items inside it that branch (add, getMarkerSize). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ForceExplorer.js"},"region":{"startLine":2784}}}],"partialFingerprints":{"codehealthFindingId/v1":"bebcc88cf67796ab85f96228cc553763092484467c2f0719b6f57fe0c5690efa"}},{"ruleId":"D2","level":"warning","message":{"text":"ForceExplorer.ForceExplorer.removeNodes (cognitive 22): ForceExplorer.ForceExplorer.removeNodes has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 4, boolean chains 3 (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/webapp/js/diagramly/ForceExplorer.js"},"region":{"startLine":3580}}}],"partialFingerprints":{"codehealthFindingId/v1":"e915de72c4c5842e92e10e343149b36d46c7fa2bb1dd35e1b691a2930883e7dc"}},{"ruleId":"D2","level":"warning","message":{"text":"Omnibox.Omnibox.expandFormatControl (cognitive 22): Omnibox.Omnibox.expandFormatControl has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (17 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 12). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Omnibox.js"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"d66aa7b861383ea19fe2b2c1254d6e063071926bd35696172f9363ccc75f9bc7"}},{"ruleId":"D2","level":"warning","message":{"text":"OneDriveClient.OneDriveClient.writeLargeFile (cognitive 22): OneDriveClient.OneDriveClient.writeLargeFile has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 3, error handling 2 (3 pts) (nesting depth added 8). Most of this is not in the body itself: 3 of the 22 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 1115, 1091, 1145). 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/webapp/js/diagramly/OneDriveClient.js"},"region":{"startLine":1081}}}],"partialFingerprints":{"codehealthFindingId/v1":"94cb6c1bc95c1519de532350a2297b5713158e73dccaefc7c24c8d4249379ead"}},{"ruleId":"D2","level":"warning","message":{"text":"Editor.Dialog (cognitive 22): Editor.Dialog has cognitive complexity 22 (threshold 15). Drivers by points: if/else 15 (19 pts), boolean chains 2, ternaries 1 (nesting depth added 4). Of this number, 19 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Editor.js"},"region":{"startLine":2220}}}],"partialFingerprints":{"codehealthFindingId/v1":"32a861cd62e205b8cdad181379c702a7da088be3e56afd92b896a198c38e1499"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.getTabIndex (cognitive 22): EditorUi.EditorUi.getTabIndex has cognitive complexity 22 (threshold 15). Drivers by points: if/else 4 (13 pts), loops 3 (7 pts), boolean chains 2 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":4068}}}],"partialFingerprints":{"codehealthFindingId/v1":"150e6a7afaaa52c029118300255118e84afb5f60b38af472e13471b34ff3d7c6"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.createCssRuleMatcher (cognitive 22): Graph.Graph.createCssRuleMatcher has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 3, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":6040}}}],"partialFingerprints":{"codehealthFindingId/v1":"4990836fef5d5c99a3b6b6e72de7eac1e94c6ea3ca65003a308b934ff945d7e0"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.createShapeInsideMarkup (cognitive 22): Graph.Graph.createShapeInsideMarkup has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 7 (9 pts), if/else 5 (7 pts), boolean chains 3, loops 3 (nesting depth added 4). Most of this is not in the body itself: 9 of the 22 points are its own statements and the rest belongs to 2 function items inside it that branch (clipPolygon, createPolygon). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":7364}}}],"partialFingerprints":{"codehealthFindingId/v1":"3508ba2037e0f273d917ba7236047a91854b2518ebd32df0aad22c1f0ff9a80e"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.getFollowingEdges (cognitive 22): Graph.Graph.getFollowingEdges has cognitive complexity 22 (threshold 15). Drivers by points: loops 4 (9 pts), if/else 2 (8 pts), boolean chains 3, ternaries 1 (2 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":13498}}}],"partialFingerprints":{"codehealthFindingId/v1":"49bbb52c35a638532682751019815607fa3d1189819b7d4947fe0ef49489e39f"}},{"ruleId":"D2","level":"warning","message":{"text":"Shapes.HandJiggle.lineTo (cognitive 22): Shapes.HandJiggle.lineTo has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 4 (13 pts), if/else 4 (6 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 12). Most of this is not in the body itself: 9 of the 22 points are its own statements and the rest belongs to one function item inside it that branches (sign). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":2560}}}],"partialFingerprints":{"codehealthFindingId/v1":"6201f25baf2e3b6b56b6aeb6e8224c13f986efc5476809def509d96364916835"}},{"ruleId":"D2","level":"warning","message":{"text":"Shapes.mxEdgeStyle.IsometricConnector (cognitive 22): Shapes.mxEdgeStyle.IsometricConnector has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (19 pts), boolean chains 2, ternaries 1 (nesting depth added 8). Of this number, 13 points are the body\u0027s own statements and 9 belong to one function item inside it that branches. 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/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":11036}}}],"partialFingerprints":{"codehealthFindingId/v1":"7de46d3bbd01ef64fe29eef1b68d26decda3f06ad2ac78348246f9041a4053d1"}},{"ruleId":"D2","level":"warning","message":{"text":"mxGraphModel.mxGraphModel.cellAdded (cognitive 22): mxGraphModel.mxGraphModel.cellAdded has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 2 (6 pts), boolean chains 2 (nesting depth added 12). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/model/mxGraphModel.js"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dbfd190a406cccd145b4444ad043ee0bdb3ad3a8d47cef6c7f404c1a06b6faa"}},{"ruleId":"D2","level":"warning","message":{"text":"mxCellRenderer.mxCellRenderer.initControl (cognitive 22): mxCellRenderer.mxCellRenderer.initControl has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 5, ternaries 1 (2 pts) (nesting depth added 8). Of this number, 14 points are the body\u0027s own statements and 8 belong to one function literal inside it that branches. 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/webapp/mxgraph/src/view/mxCellRenderer.js"},"region":{"startLine":955}}}],"partialFingerprints":{"codehealthFindingId/v1":"35df90b00fc7c29d133f8ab7c7fc9daa9b2a810f5c3a1bb206f047a7fc6c8232"}},{"ruleId":"D2","level":"warning","message":{"text":"mxCellRenderer.mxCellRenderer.getControlBounds (cognitive 22): mxCellRenderer.mxCellRenderer.getControlBounds has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (20 pts), ternaries 1 (2 pts) (nesting depth added 14). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxCellRenderer.js"},"region":{"startLine":1600}}}],"partialFingerprints":{"codehealthFindingId/v1":"254a93a1919e46b5f4aa417e5c8a14938060d2d709668cd7d69588d768e0770b"}},{"ruleId":"D2","level":"warning","message":{"text":"mxGraph.mxGraph.getTooltip (cognitive 22): mxGraph.mxGraph.getTooltip has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 7 (nesting depth added 8). Of this number, 17 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. 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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":9822}}}],"partialFingerprints":{"codehealthFindingId/v1":"98970b5561b64f5179090175b7bedb68429c92cdf04430e156a69279e30bc3dc"}},{"ruleId":"D2","level":"warning","message":{"text":"mxGraph.mxGraph.getCellsBeyond (cognitive 22): mxGraph.mxGraph.getCellsBeyond has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (14 pts), boolean chains 5, loops 1 (3 pts) (nesting depth added 11). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":13207}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cb0da6586da3b7eb31dbe26b2a4da88ae1f64a027bac0023a4b847ac6bdf363"}},{"ruleId":"D2","level":"warning","message":{"text":"mxGraph.mxGraph.destroy (cognitive 22): mxGraph.mxGraph.destroy has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (21 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":14661}}}],"partialFingerprints":{"codehealthFindingId/v1":"57502a03341c11e76431895b730b17be04806226a3138c8fa65df69c75347d03"}},{"ruleId":"D2","level":"warning","message":{"text":"trees.Draw.loadPlugin() (cognitive 22): trees.Draw.loadPlugin() has cognitive complexity 22 (threshold 15). Drivers by points: if/else 66 (144 pts), boolean chains 59, loops 6 (16 pts), ternaries 1 (2 pts) (nesting depth added 89). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This shape REPEATS in the file: 3 other methods here (trees.Draw.loadPlugin()::getTreeDirection, trees.Draw.loadPlugin()::addSibling, trees.Draw.loadPlugin()::selectCell) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/plugins/trees/trees.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bf4bb6427b9f2398477bdb33cea1370336802317a3f7843565ea10ab8494ff6"}},{"ruleId":"D2","level":"warning","message":{"text":"mxBase64.decode (cognitive 22): mxBase64.decode has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 4 (5 pts), boolean chains 1, ternaries 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (mxBase64.decode) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/server/java/com/mxgraph/online/mxBase64.java"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"26ad2ba170feeda0804bb7a48e939cecb4fcccd52eaa029482a7b74c61537049"}},{"ruleId":"D2","level":"warning","message":{"text":"mxBase64.decode (cognitive 22): mxBase64.decode has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 4 (5 pts), boolean chains 1, ternaries 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (mxBase64.decode) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/server/java/com/mxgraph/online/mxBase64.java"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"822cc5c3cb0bd7a25067413db7cf6448bb85aba5d1e73ff5b6655fe0816c00b5"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::addDefaultVariants (cognitive 22): (anonymous)::addDefaultVariants has cognitive complexity 22 (threshold 15). Drivers by points: loops 6 (12 pts), boolean chains 6, if/else 2 (4 pts) (nesting depth added 8). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":5648}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a6127f36c758b7b776c19b332ec1adfbc2e047d7c23fe538f285f0726c25bc1"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::decode$char_A (cognitive 22): (anonymous)::decode$char_A has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 4 (5 pts), boolean chains 1, ternaries 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":14981}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6f12e8e63fb1d41b41aebeb38cd55c73670eb44ccf998a6237f71090d27a7d0"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::decode$java_lang_String (cognitive 22): (anonymous)::decode$java_lang_String has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 4 (5 pts), boolean chains 1, ternaries 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":15225}}}],"partialFingerprints":{"codehealthFindingId/v1":"938fca87ab66c87c6e91a6132069368a37ba812dbad26caf0e73756a08ccd690"}},{"ruleId":"D2","level":"warning","message":{"text":"StyleRulesDialog::render (cognitive 22): StyleRulesDialog::render has cognitive complexity 22 (threshold 15). Drivers by points: if/else 4 (8 pts), error handling 2 (6 pts), boolean chains 3, loops 3, ternaries 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":22012}}}],"partialFingerprints":{"codehealthFindingId/v1":"33d88d487a60a40d5ba68f348ca8d234736cf33fa66abab94a70c46d43bc99ec"}},{"ruleId":"D2","level":"warning","message":{"text":"replacePlaceholders (cognitive 22): replacePlaceholders has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (16 pts), ternaries 1 (4 pts), loops 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Extensions.js"},"region":{"startLine":5848}}}],"partialFingerprints":{"codehealthFindingId/v1":"9edaace37986d68fc5d60fba0572653fdb63affd012dd3714ceff00d3b3c05e8"}},{"ruleId":"D2","level":"warning","message":{"text":"contractParent (cognitive 22): contractParent has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (14 pts), boolean chains 5, loops 1 (3 pts) (nesting depth added 11). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":6559}}}],"partialFingerprints":{"codehealthFindingId/v1":"db5f678b846a143a0dac77d8ccd0da1ab0be5bd9cd0c43ba39c0e3feccc14743"}},{"ruleId":"D2","level":"warning","message":{"text":"getCellAt (cognitive 22): getCellAt has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 6, loops 1 (2 pts), ternaries 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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":12204}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f4c11ef66b27cd22db2f33ea0da91a45a6f9d0ede2c44a135bf9f7fdb595ee5"}},{"ruleId":"D2","level":"warning","message":{"text":"getEdges (cognitive 22): getEdges has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 8, ternaries 6 (8 pts), if/else 2 (4 pts), loops 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":12915}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ce59e59a2d32e9c9119fd61c8cae123acfe67c5e6634c26f8663e57ed047354"}},{"ruleId":"D2","level":"warning","message":{"text":"selectCell (cognitive 22): selectCell has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 5, ternaries 3 (5 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":13636}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcbc8cf229f40d83b6657bd6e33b358c0fe361ad29b14661f1e1ce54069577b9"}},{"ruleId":"D2","level":"warning","message":{"text":"OutlinePerimeter (cognitive 22): OutlinePerimeter has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 4 (10 pts), if/else 5 (9 pts), boolean chains 3 (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":4830}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1de6ecf5ea43486d90e4972c7014b5b3a4bc4bcc43a272bdfbbb6a69880eb62"}},{"ruleId":"D2","level":"warning","message":{"text":"pickColor (cognitive 22): pickColor has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (8 pts), ternaries 4 (8 pts), boolean chains 6 (nesting depth added 7). Of this number, 21 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. 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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":10120}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c6903717e879b78bdb6574965e99b5021e11c7feb59f4ae9dd115e6b65a0807"}},{"ruleId":"D2","level":"warning","message":{"text":"extractGraphModelFromEvent (cognitive 22): extractGraphModelFromEvent has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (14 pts), ternaries 2 (5 pts), boolean chains 3 (nesting depth added 11). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":10335}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d2d7f0897d13b207e7bbba6f39c53dd6abe97b981d3e7b5abbc80b7c73ed007"}},{"ruleId":"D2","level":"warning","message":{"text":"addEdgeWaypoints (cognitive 22): addEdgeWaypoints has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (8 pts), boolean chains 7, ternaries 2 (4 pts), loops 3 (nesting depth added 4). Most of this is not in the body itself: 5 of the 22 points are its own statements and the rest belongs to 11 function items inside it that branch (addUpdate::update, a function literal at line 4712, a function literal at line 4632, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Format.js"},"region":{"startLine":4592}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8dc980f864d098ef6238abee0882f5c63a086895003c3228ebd53ed16672adf"}},{"ruleId":"D2","level":"warning","message":{"text":"addSvgVars (cognitive 22): addSvgVars has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 4, ternaries 2 (3 pts), error handling 1 (2 pts), loops 1 (nesting depth added 6). Of this number, 13 points are the body\u0027s own statements and 9 belong to 7 function items inside it that branch. 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/webapp/js/grapheditor/Format.js"},"region":{"startLine":7182}}}],"partialFingerprints":{"codehealthFindingId/v1":"393407556b72c6ab6e97ba44c3c1ea32cb17390ebeadb68987a205cbb6806264"}},{"ruleId":"D2","level":"warning","message":{"text":"rasterizeThumbImage (cognitive 22): rasterizeThumbImage has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 4, ternaries 1 (3 pts) (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":4839}}}],"partialFingerprints":{"codehealthFindingId/v1":"38869e75d2ff8d05b3e754aae809e558ed87ca587635f15c7ec50910dae81da9"}},{"ruleId":"D2","level":"warning","message":{"text":"showSplash (cognitive 22): showSplash has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 6 (11 pts), if/else 6, boolean chains 5 (nesting depth added 5). Of this number, 14 points are the body\u0027s own statements and 8 belong to 4 function literals inside it that branch. 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/webapp/js/diagramly/App.js"},"region":{"startLine":5530}}}],"partialFingerprints":{"codehealthFindingId/v1":"067d4ff244f0dfc54d01e85f73a0745ac249f9a3d257ffe3d2d691325a96f123"}},{"ruleId":"D2","level":"warning","message":{"text":"installFocusTrap (cognitive 22): installFocusTrap has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 9, ternaries 1 (3 pts) (nesting depth added 6). None of this is in the body itself: all 22 points belong to 6 function items inside it that branch (a function literal at line 2732, a function literal at line 2756, isSameTabStop, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Editor.js"},"region":{"startLine":2715}}}],"partialFingerprints":{"codehealthFindingId/v1":"837ded98fa144e8c58f76190b3c93192c428be3d47e332076b80d15a9c068ab6"}},{"ruleId":"D2","level":"warning","message":{"text":"repairXml (cognitive 22): repairXml has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 3 (9 pts), boolean chains 6, if/else 3 (6 pts), loops 1 (nesting depth added 9). Most of this is not in the body itself: 1 of the 22 points is its own statement and the rest belongs to one function literal inside it that branches (line 1027). The decisions are inside the literal, 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 literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxUtils.js"},"region":{"startLine":1016}}}],"partialFingerprints":{"codehealthFindingId/v1":"064c5dabfa0004842ad2776a7ee50ba5b4595e1fa939bedd9690adf621aed1bf"}},{"ruleId":"D2","level":"warning","message":{"text":"transformShape (cognitive 22): transformShape has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (15 pts), ternaries 2 (4 pts), boolean chains 3 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ForceExplorer.js"},"region":{"startLine":4284}}}],"partialFingerprints":{"codehealthFindingId/v1":"82eba82b81f6295e653fbe34d623e92dc0db6c1c56031bc9ef0643f077b3b801"}},{"ruleId":"D2","level":"warning","message":{"text":"validateInvalidCells (cognitive 22): validateInvalidCells has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 5 (6 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxGraphView.js"},"region":{"startLine":1349}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce4d558c1c2697c2d7b6460f2675a7dd9383ed5b17a2da6c376a3dece88b36fb"}},{"ruleId":"D2","level":"warning","message":{"text":"getConstraints (cognitive 22): getConstraints has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 3 (7 pts), boolean chains 6, if/else 2 (4 pts), loops 2 (4 pts), error handling 1 (nesting depth added 8). Of this number, 19 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. 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/webapp/shapes/mxBasic.js"},"region":{"startLine":3379}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a92c4fb034a0374e40b3eeff85fae999dd8ab7ca42c41723be2d0682b1b3a4d"}},{"ruleId":"D2","level":"warning","message":{"text":"keyDown (cognitive 22): keyDown has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 10 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/LightboxModern.js"},"region":{"startLine":3648}}}],"partialFingerprints":{"codehealthFindingId/v1":"13b9f2ab373b8e50d63326b9f865763eea7889da9926fcc977539b8162b078e3"}},{"ruleId":"D2","level":"warning","message":{"text":"getJsonForCell (cognitive 22): getJsonForCell has cognitive complexity 22 (threshold 15). Drivers by points: if/else 15 (17 pts), boolean chains 4, loops 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DiffSync.js"},"region":{"startLine":2451}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4674a88846788f7a1adc4a18e830a697fff06c36ac524046d3c6838b94096a9"}},{"ruleId":"D2","level":"warning","message":{"text":"getResourceKeys (cognitive 22): getResourceKeys has cognitive complexity 22 (threshold 15). Drivers by points: if/else 4 (9 pts), boolean chains 5, loops 2 (4 pts), ternaries 2 (4 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Omnibox.js"},"region":{"startLine":1891}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b76c776cfafc448b935102e0aaf94d0ea1f517cc80922235e61a94e6d325493"}},{"ruleId":"D2","level":"warning","message":{"text":"updateEdgeParent (cognitive 22): updateEdgeParent has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 11, if/else 5 (9 pts), loops 2 (nesting depth added 4). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/model/mxGraphModel.js"},"region":{"startLine":835}}}],"partialFingerprints":{"codehealthFindingId/v1":"dce8ec6f466fd6e5cc8b926cc86bfdb7a9eb5e6be86faa52e0bfbcca228a8a82"}},{"ruleId":"D2","level":"warning","message":{"text":"createLabel (cognitive 22): createLabel has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 6, ternaries 1 (2 pts) (nesting depth added 8). Most of this is not in the body itself: 9 of the 22 points are its own statements and the rest belongs to 5 function items inside it that branch (getState, a function literal at line 666, a function literal at line 675, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxCellRenderer.js"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c29174d181655f034725c76cafc9a52f92dac21060290c98161caa32dcd2547"}},{"ruleId":"D2","level":"warning","message":{"text":"isTextShapeInvalid (cognitive 22): isTextShapeInvalid has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 18, if/else 2, ternaries 1 (2 pts) (nesting depth added 1). Of this number, 16 points are the body\u0027s own statements and 6 belong to one function item inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxCellRenderer.js"},"region":{"startLine":1242}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa981f3ded4552f71463a1c4682d97376065303ff163dd8c8a8d989d14b5bfc7"}},{"ruleId":"D2","level":"warning","message":{"text":"jettyStub (cognitive 22): jettyStub has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (9 pts), ternaries 5 (6 pts), boolean chains 5, loops 1 (2 pts) (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/webapp/js/libavoid-js/libavoid-routing.js"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"c53aea6644ce5711640fec8e5ca31b1507052a8bd5e3aa3d4f44f2fdf3e6126e"}},{"ruleId":"D2","level":"warning","message":{"text":"getFile (cognitive 22): getFile has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 4, ternaries 2 (4 pts), error handling 1 (2 pts) (nesting depth added 7). Of this number, 12 points are the body\u0027s own statements and 10 belong to 2 function literals inside it that branch. 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/webapp/js/diagramly/GitHubClient.js"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dc707ef509110cdc908663575b596a6ef3f92dde1bf89b167ea0880304b5262"}},{"ruleId":"D2","level":"warning","message":{"text":"mxPanningHandler (cognitive 22): mxPanningHandler has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (18 pts), boolean chains 4 (nesting depth added 10). Most of this is not in the body itself: 1 of the 22 points is its own statement and the rest belongs to 3 function literals inside it that branch (lines 59, 42, 90). 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/webapp/mxgraph/src/handler/mxPanningHandler.js"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ed1095e00a5d21105f91d6ff5822cecc925bb5a1d0a352b51942965c259a432"}},{"ruleId":"D2","level":"warning","message":{"text":"App.App.isModeEnabled (cognitive 21): App.App.isModeEnabled has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 14, if/else 7. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":6619}}}],"partialFingerprints":{"codehealthFindingId/v1":"626e48389f03cfbc2224e0a1a96ff9a0c991e19dd1ff9ba56bd94dfb81127586"}},{"ruleId":"D2","level":"warning","message":{"text":"Dialogs.FindWindow::testMeta (cognitive 21): Dialogs.FindWindow::testMeta has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (11 pts), boolean chains 8, loops 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":10001}}}],"partialFingerprints":{"codehealthFindingId/v1":"77c3cc66b744cb1155355688bb9eeee469335dfb0a17c5e9730c20fb77cdda04"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.showHtmlDialog (cognitive 21): EditorUi.EditorUi.showHtmlDialog has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 4, ternaries 3 (nesting depth added 2). Most of this is not in the body itself: 5 of the 21 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 10970, 11031, 11005, \u2026). 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":10835}}}],"partialFingerprints":{"codehealthFindingId/v1":"7730a335fb8936d152627e39df0120d88494c9d8733ebc3ceec5f73a88ea8831"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.showEmbedImageDialog (cognitive 21): EditorUi.EditorUi.showEmbedImageDialog has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 3, ternaries 3 (nesting depth added 4). Most of this is not in the body itself: 7 of the 21 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 12920, 12961). 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":12836}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2d7b43dd809025c4b9a66581b060e561c6f6d32196f75dba7a8870210e2c327"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.applyMermaidElkPostPass (cognitive 21): EditorUi.EditorUi.applyMermaidElkPostPass has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (7 pts), ternaries 5 (6 pts), error handling 3 (5 pts), boolean chains 3 (nesting depth added 5). Of this number, 12 points are the body\u0027s own statements and 9 belong to 2 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":15754}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f1d071c6f4e7c0fce71e25e6fdf19333e7a122e9b8b2e1473433b32ef9d66ad"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.parseMermaidDiagram (cognitive 21): EditorUi.EditorUi.parseMermaidDiagram has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (14 pts), error handling 2 (4 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 6). Most of this is not in the body itself: 4 of the 21 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 15999, 15981). 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":15979}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f59f7f29c8126676f06d5cf7cb36e54282bcb4c2bc1290a25d20de12c1e88c1"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.importLocalFile (cognitive 21): EditorUi.EditorUi.importLocalFile has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (14 pts), ternaries 2 (4 pts), boolean chains 3 (nesting depth added 8). Of this number, 14 points are the body\u0027s own statements and 7 belong to 3 function literals inside it that branch. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":17263}}}],"partialFingerprints":{"codehealthFindingId/v1":"256b16dba06a8964d4d585414923a93fe30da67bd83362305ba21a21cf8c461e"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.isSelfContainedSvg (cognitive 21): EditorUi.EditorUi.isSelfContainedSvg has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 9, if/else 4 (8 pts), loops 3 (4 pts) (nesting depth added 5). Of this number, 15 points are the body\u0027s own statements and 6 belong to 2 function items inside it that branch. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":20669}}}],"partialFingerprints":{"codehealthFindingId/v1":"7178f8fb369be1fca14df9ba3572aa9b2e19c49eeb15817472dd4d3e1d1cb682"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.getDataSourceConnectionCount (cognitive 21): EditorUi.EditorUi.getDataSourceConnectionCount has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 4 (10 pts), boolean chains 5, if/else 1 (3 pts), loops 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":38542}}}],"partialFingerprints":{"codehealthFindingId/v1":"99422f30a39ecae071d508541a26317ebe059619846418e1533194df2d24a909"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.openDatabase (cognitive 21): EditorUi.EditorUi.openDatabase has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 8, error handling 1 (3 pts) (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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":42714}}}],"partialFingerprints":{"codehealthFindingId/v1":"fae8239881524472a72b73ce0593de7fd39283ec3d80b5135b7f0c0e522550c0"}},{"ruleId":"D2","level":"warning","message":{"text":"ForceExplorer.ForceExplorer.focusInDirection (cognitive 21): ForceExplorer.ForceExplorer.focusInDirection has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (10 pts), ternaries 4 (6 pts), boolean chains 4, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ForceExplorer.js"},"region":{"startLine":1350}}}],"partialFingerprints":{"codehealthFindingId/v1":"065ed3209a442dbfb69ddcdcbfff67d5602558fc769ab585e68679a788d6b0a8"}},{"ruleId":"D2","level":"warning","message":{"text":"FusionTheme.EditorUi.installSimpleModern (cognitive 21): FusionTheme.EditorUi.installSimpleModern has cognitive complexity 21 (threshold 15). Drivers by points: loops 6 (9 pts), if/else 3 (6 pts), boolean chains 4, ternaries 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/FusionTheme.js"},"region":{"startLine":1009}}}],"partialFingerprints":{"codehealthFindingId/v1":"77dc5316af3e6dae1482f80d8adeaece9c7ab64966e31d22edd17d1ae3cae9d9"}},{"ruleId":"D2","level":"warning","message":{"text":"Omnibox.Omnibox.addPageEntries (cognitive 21): Omnibox.Omnibox.addPageEntries has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 4 (12 pts), if/else 2 (4 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 11). Most of this is not in the body itself: 4 of the 21 points are its own statements and the rest belongs to one function literal inside it that branches (line 82). The decisions are inside the literal, 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 literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Omnibox.js"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ea442bf9bace6dd6ecadea4f077b3b724f501305adc654e2dac1d50b1b6381a"}},{"ruleId":"D2","level":"warning","message":{"text":"AnimatedExport.AnimatedGifExport.doExport (cognitive 21): AnimatedExport.AnimatedGifExport.doExport has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 8, if/else 4 (7 pts), ternaries 3 (4 pts), error handling 2 (nesting depth added 4). Of this number, 18 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. 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/webapp/js/diagramly/gif/AnimatedExport.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"409112cc0a4dbfd90565935945246cfe943c3fc50bcb6687b78d68f0f958bdfc"}},{"ruleId":"D2","level":"warning","message":{"text":"mxGraphMlCodec.mxGraphMlCodec.parseAttributes (cognitive 21): mxGraphMlCodec.mxGraphMlCodec.parseAttributes has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (19 pts), loops 1 (2 pts) (nesting depth added 13). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/graphml/mxGraphMlCodec.js"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"f63efedacfdb5ab1e2f3a21a3d203780fb46a3972dfcdd7c3542d32cce33df69"}},{"ruleId":"D2","level":"warning","message":{"text":"mxGraphMlCodec.mxGraphMlCodec.addEdgePath (cognitive 21): mxGraphMlCodec.mxGraphMlCodec.addEdgePath has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (16 pts), loops 1 (3 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/graphml/mxGraphMlCodec.js"},"region":{"startLine":2156}}}],"partialFingerprints":{"codehealthFindingId/v1":"734813c52fb933920d879734b4493ab903eeaed1da7f8cd771af689d2fe82d49"}},{"ruleId":"D2","level":"warning","message":{"text":"TidyStyle.Tidy.getThemeColors (cognitive 21): TidyStyle.Tidy.getThemeColors has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 3 (6 pts), boolean chains 3, ternaries 1 (nesting depth added 9). Of this number, 20 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. 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/webapp/js/diagramly/tidy/TidyStyle.js"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"c240a7fda1bace9d4f2873dec5b3c3536e61959118d6e500662d3ea40926c3e6"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.formatDate (cognitive 21): Graph.Graph.formatDate has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 10, boolean chains 6, if/else 4, loops 1. Of this number, 18 points are the body\u0027s own statements and 3 belong to 2 function items inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":16127}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ca5501f0f1df90913c0005cde6238e49da01a3861ec4afa3cf5953fa1895853"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.resolveInheritedLabelStyles (cognitive 21): Graph.Graph.resolveInheritedLabelStyles has cognitive complexity 21 (threshold 15). Drivers by points: if/else 3 (6 pts), ternaries 3 (6 pts), loops 2 (5 pts), boolean chains 4 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":19015}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6badd615d7537f84ec687f28c510f0129f67672159112c237ae7e0557c2b949"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.normalizeModel (cognitive 21): Graph.Graph.normalizeModel has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 4, loops 4 (nesting depth added 4). Most of this is not in the body itself: 5 of the 21 points are its own statements and the rest belongs to 2 function items inside it that branch (growContainers, collectEdges). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":21700}}}],"partialFingerprints":{"codehealthFindingId/v1":"40be5b5e6c239ad77847460b27f2d0a998d2612a11e87a99a9334448d16fc374"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.getPlainTextGroup (cognitive 21): Graph.getPlainTextGroup has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (8 pts), boolean chains 5, loops 2 (4 pts), ternaries 2 (4 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":30129}}}],"partialFingerprints":{"codehealthFindingId/v1":"befc04b85aef049b44bc19ee7b4cd8cf696ad5f65be2f0cb47779f16b7450adc"}},{"ruleId":"D2","level":"warning","message":{"text":"Shapes.mxShapeBasicRect2.moveNWInner (cognitive 21): Shapes.mxShapeBasicRect2.moveNWInner has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 15, if/else 6. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: one other method here (Shapes.mxShapeBasicRect2.lineNWInner) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":7401}}}],"partialFingerprints":{"codehealthFindingId/v1":"daac910f51de4dcf3021ce5f214538f1c2dcee69f51f35422ac3e7e82c7c775e"}},{"ruleId":"D2","level":"warning","message":{"text":"Shapes.mxShapeBasicRect2.lineNWInner (cognitive 21): Shapes.mxShapeBasicRect2.lineNWInner has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 15, if/else 6. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: one other method here (Shapes.mxShapeBasicRect2.moveNWInner) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":7431}}}],"partialFingerprints":{"codehealthFindingId/v1":"df06abc940d475df6fbf5a1872b3f89cbaebf76fb2a8dc3aafb9b5d257a229ab"}},{"ruleId":"D2","level":"warning","message":{"text":"mxCellEditor.mxCellEditor.stopEditing (cognitive 21): mxCellEditor.mxCellEditor.stopEditing has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 4, ternaries 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxCellEditor.js"},"region":{"startLine":1007}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4d5902632a0b121956ca2d47c3e88614df87f7b8d9541106563f542bc5444c0"}},{"ruleId":"D2","level":"warning","message":{"text":"mxGraph.mxGraph.cellsFolded (cognitive 21): mxGraph.mxGraph.cellsFolded has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (16 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":5641}}}],"partialFingerprints":{"codehealthFindingId/v1":"3145f84619b734e1d2baeeee44aea40a3a9106606804c321d335fa3cd072c326"}},{"ruleId":"D2","level":"warning","message":{"text":"mxBasic.mxShapeBasicPolygon.paintVertexShape (cognitive 21): mxBasic.mxShapeBasicPolygon.paintVertexShape has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (10 pts), ternaries 2 (6 pts), boolean chains 2, loops 1 (2 pts), error handling 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/shapes/mxBasic.js"},"region":{"startLine":3322}}}],"partialFingerprints":{"codehealthFindingId/v1":"d11b451869d1df935fca464a442b808cc1ffa1ae7669b4eda6913697d840c825"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::scaleGraph (cognitive 21): (anonymous)::scaleGraph has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (13 pts), loops 2 (8 pts) (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d43f7b499292d50206e72a27d4988404e9522d26a03507b6340e1094d780c69"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 21): (anonymous) has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 9, ternaries 1 (2 pts) (nesting depth added 3). None of this is in the body itself: all 21 points belong to 7 function items inside it that branch (handle, isReflexAngle, EllipticalArcTo, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":8305}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6fffdb82df1daa9e94b0b8a7e05923bccb77440b04f1c20c675a817a1203d16"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::createHybridLabel (cognitive 21): (anonymous)::createHybridLabel has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (11 pts), ternaries 4 (6 pts), boolean chains 3, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":12270}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5fb2e58c941ae5062a3a593aa8b367ed530cfa8b819a38c413a594c3c959a9d"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::getStyleFromEdgeShape (cognitive 21): (anonymous)::getStyleFromEdgeShape has cognitive complexity 21 (threshold 15). Drivers by points: if/else 14 (18 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":14468}}}],"partialFingerprints":{"codehealthFindingId/v1":"62c75c55a65a0e7e87bb2527c055c1ba318082be9494b2255395a29000ae0efe"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::getLblEdgeOffset (cognitive 21): (anonymous)::getLblEdgeOffset has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (11 pts), ternaries 2 (6 pts), boolean chains 4 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":14755}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa84e5d4669f63520fc1f38db32d0b0c0884eae18203139a4f6a562fb3d7e668"}},{"ruleId":"D2","level":"warning","message":{"text":"CustomDialog (cognitive 21): CustomDialog has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 3, loops 1 (2 pts), ternaries 1 (nesting depth added 4). Of this number, 12 points are the body\u0027s own statements and 9 belong to 4 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":21195}}}],"partialFingerprints":{"codehealthFindingId/v1":"52d54e9c24234e16ab3bc68a7ccbf70eaf740bc49cc029d122206698f3f91793"}},{"ruleId":"D2","level":"warning","message":{"text":"expandSvgPatterns::expandElement (cognitive 21): expandSvgPatterns::expandElement has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (9 pts), loops 4 (7 pts), boolean chains 2, ternaries 2, error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":4679}}}],"partialFingerprints":{"codehealthFindingId/v1":"573271d26ddcf52225226f00e477e28dfb88ddc5e132397dca1079b9821b81dc"}},{"ruleId":"D2","level":"warning","message":{"text":"writeGraphModelToPng (cognitive 21): writeGraphModelToPng has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (12 pts), ternaries 3 (6 pts), loops 2, boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":8355}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c6f5999271a8facc23b53016d221dcfaa582ea2b07b6583236ce16861481a2a"}},{"ruleId":"D2","level":"warning","message":{"text":"addSvgShadow (cognitive 21): addSvgShadow has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (15 pts), ternaries 3 (4 pts), boolean chains 2 (nesting depth added 11). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":14367}}}],"partialFingerprints":{"codehealthFindingId/v1":"91d2bb8792009a884dbd88c704f5ec67afbfb96072547d5fc66ea1ac3e12f6fc"}},{"ruleId":"D2","level":"warning","message":{"text":"getShapeBoundingBox (cognitive 21): getShapeBoundingBox has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 3 (10 pts), if/else 4 (9 pts), boolean chains 2 (nesting depth added 12). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":3036}}}],"partialFingerprints":{"codehealthFindingId/v1":"25f498baeba7ac35003d5d9bf01aca74daf949dbe8dcbcb7523d4327bef1fec4"}},{"ruleId":"D2","level":"warning","message":{"text":"paintEdgeShape (cognitive 21): paintEdgeShape has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 6, if/else 4 (6 pts), ternaries 3 (6 pts), loops 3 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":9678}}}],"partialFingerprints":{"codehealthFindingId/v1":"3845b9b0c4614d7e783ce5528a49cfae8a09efadafda96801f9fa27686e0e91f"}},{"ruleId":"D2","level":"warning","message":{"text":"getResourceReverseMap (cognitive 21): getResourceReverseMap has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (12 pts), boolean chains 6, loops 1 (3 pts) (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":2544}}}],"partialFingerprints":{"codehealthFindingId/v1":"bafaf1a39238d165d039290a28993667e8010977ca45cbaf33a42f59a7a7151c"}},{"ruleId":"D2","level":"warning","message":{"text":"isPropagateSelectionCell (cognitive 21): isPropagateSelectionCell has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 12, if/else 4 (7 pts), ternaries 1 (2 pts) (nesting depth added 4). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Editor.js"},"region":{"startLine":5333}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f5d45442dac3dcd781b9585fe56bc751f6952b1f94c6e7c05fba031a87a2509"}},{"ruleId":"D2","level":"warning","message":{"text":"equalPoints (cognitive 21): equalPoints has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 14, if/else 3 (5 pts), loops 1 (2 pts) (nesting depth added 3). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxUtils.js"},"region":{"startLine":2755}}}],"partialFingerprints":{"codehealthFindingId/v1":"e60e3cfca61058d69596bfa7553f883692edd6ef22079834f125f9690ea18329"}},{"ruleId":"D2","level":"warning","message":{"text":"showLineEndMenu::(anonymous)::updatePreview (cognitive 21): showLineEndMenu::(anonymous)::updatePreview has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 2 (5 pts), boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/InlineToolbar.js"},"region":{"startLine":3306}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c1a8109dc5c7d1a70e6b6cfd9ad340720ff7203c96e902565a30ba54769a97d"}},{"ruleId":"D2","level":"warning","message":{"text":"animateFrame (cognitive 21): animateFrame has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (17 pts), ternaries 2 (4 pts) (nesting depth added 8). Of this number, 17 points are the body\u0027s own statements and 4 belong to 3 function items inside it that branch. 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/webapp/js/diagramly/ForceExplorer.js"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1ceb8ac67b65547b05691070ba2ec47b5878a86fa3054dc4b9b4bfd1dc7df1b"}},{"ruleId":"D2","level":"warning","message":{"text":"validateInvalidCell (cognitive 21): validateInvalidCell has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 7, if/else 4 (6 pts), loops 2 (4 pts), ternaries 2 (4 pts) (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/webapp/mxgraph/src/view/mxGraphView.js"},"region":{"startLine":1589}}}],"partialFingerprints":{"codehealthFindingId/v1":"efaa3582e1e2fd8a1e072c9b744e03ced0b18a368be25ec71546fe12f1550753"}},{"ruleId":"D2","level":"warning","message":{"text":"enableLibraryEntry (cognitive 21): enableLibraryEntry has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (8 pts), loops 3 (6 pts), boolean chains 5, ternaries 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/webapp/js/diagramly/sidebar/Sidebar.js"},"region":{"startLine":2099}}}],"partialFingerprints":{"codehealthFindingId/v1":"05a7e1041aa2c77a41d3e97750c33efc2ca154c288e520586bb9b505beb77ca5"}},{"ruleId":"D2","level":"warning","message":{"text":"getFormatControls (cognitive 21): getFormatControls has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (14 pts), boolean chains 6, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Omnibox.js"},"region":{"startLine":1463}}}],"partialFingerprints":{"codehealthFindingId/v1":"99d4296b17f5364dead9c67df62c355e4e5337b1d66de902fff6b50e5862ddd8"}},{"ruleId":"D2","level":"warning","message":{"text":"addGestureListeners (cognitive 21): addGestureListeners has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (14 pts), ternaries 3 (6 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxEvent.js"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"0817f8a745ed3670b386ddf00952238cd65e27cec3052b7337b25d64938636e6"}},{"ruleId":"D2","level":"warning","message":{"text":"removeGestureListeners (cognitive 21): removeGestureListeners has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (14 pts), ternaries 3 (6 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxEvent.js"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fc9f8f109d8ad7857660a1f8369317e508116f523aa1af97f735e11027ab3b7"}},{"ruleId":"D2","level":"warning","message":{"text":"initGraph::mouseMove (cognitive 21): initGraph::mouseMove has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 4 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Embed.js"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"44f801be27330107d4117a43a7821b6257ea4ba7e283469d1454c69daba87991"}},{"ruleId":"D2","level":"warning","message":{"text":"initGraph::mouseMove (cognitive 21): initGraph::mouseMove has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 4 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/embed.dev.js"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8a072cfc601f92a104d0f776cbb7dd38b0e81476bc8b3f31f942b2cd57c7673"}},{"ruleId":"D2","level":"warning","message":{"text":"EllipsePerimeter (cognitive 21): EllipsePerimeter has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 6, ternaries 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/webapp/mxgraph/src/view/mxPerimeter.js"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e8bb6a13911f25811ac0db6ae721065efa0ef4e62b3b68e69cb5f5451376053"}},{"ruleId":"D2","level":"warning","message":{"text":"paintVertexShape (cognitive 21): paintVertexShape has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (17 pts), ternaries 1 (3 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/shape/mxSwimlane.js"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"a44af816a5b22fc427fe64b53b83f4d6165978af8b2f87f7736efc9a06ba837c"}},{"ruleId":"D2","level":"warning","message":{"text":"encode (cognitive 21): encode has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (19 pts), boolean chains 2 (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/io/mxCodec.js"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aae5ceb771d35c2e5862c767590b60841046a912268811a89627ce1fe044c28"}},{"ruleId":"D2","level":"warning","message":{"text":"rank (cognitive 21): rank has cognitive complexity 21 (threshold 15). Drivers by points: loops 6 (7 pts), if/else 3 (5 pts), ternaries 2 (5 pts), boolean chains 4 (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/webapp/js/diagramly/tidy/TidyFeatures.js"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"19922ee27cec874d261b66e7b7f8c1288843ced69f1b90c307ce153861b849ed"}},{"ruleId":"D2","level":"warning","message":{"text":"parse (cognitive 21): parse has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (19 pts), loops 1 (2 pts) (nesting depth added 14). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxResources.js"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"7218e46a62295b9440a9b67c601d1999ea9230f1b040951299203783a4549769"}},{"ruleId":"D2","level":"warning","message":{"text":"ConfigEditor.DrawioConfigEditor.install.populateFields (cognitive 20): ConfigEditor.DrawioConfigEditor.install.populateFields has cognitive complexity 20 (threshold 15). Drivers by points: if/else 14, boolean chains 6. Of this number, 12 points are the body\u0027s own statements and 8 belong to 3 function literals inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ConfigEditor.js"},"region":{"startLine":1232}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4b0bb6041ae5c92bc3735b5fab75e1c7a1837ffcd1d78060f9d2b13411aff57"}},{"ruleId":"D2","level":"warning","message":{"text":"DiffSync.EditorUi.getClaimantOrder::emitRun (cognitive 20): DiffSync.EditorUi.getClaimantOrder::emitRun has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 3 (7 pts), ternaries 1 (3 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DiffSync.js"},"region":{"startLine":887}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d2356b2042e0dcb7daf10caf6a760f232f3245952319b47925f09db0eb9ca2d"}},{"ruleId":"D2","level":"warning","message":{"text":"DrawioFile.DrawioFile.autosave (cognitive 20): DrawioFile.DrawioFile.autosave has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 1, error handling 1, ternaries 1 (nesting depth added 6). Most of this is not in the body itself: 3 of the 20 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 4249, 4275, 4283). 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/webapp/js/diagramly/DrawioFile.js"},"region":{"startLine":4236}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5d4c70ebb52ca6e18447034b29ae09740287f1374178175dd831ef77a539907"}},{"ruleId":"D2","level":"warning","message":{"text":"Editor.Graph.removeTagsForCells (cognitive 20): Editor.Graph.removeTagsForCells has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (13 pts), loops 2 (6 pts), boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":14228}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ebc311e4564b3f1817dac672099d0cdb396636a1ce6622213b5145116a2cfb8"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.replaceSvgImage (cognitive 20): EditorUi.EditorUi.replaceSvgImage has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 2, error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":991}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5f1b95399927df8f94872bbc573dc057680fdefdf212642d0ed4c81cd6f403e"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.getFileData (cognitive 20): EditorUi.EditorUi.getFileData has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 6, ternaries 1 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":3673}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ae9a0eb88995c267b5790f7cbf1d84502bc90e7a915d9cb3e7a0b73b9a43852"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.showLanguageDialog (cognitive 20): EditorUi.EditorUi.showLanguageDialog has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 7, loops 4 (nesting depth added 3). None of this is in the body itself: all 20 points belong to 5 function items inside it that branch (updateLanguageStates, a function literal at line 7424, getSelectedLanguage, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":7352}}}],"partialFingerprints":{"codehealthFindingId/v1":"0111221e4ca59d55d198f667ae80a6bf7b501b3332ce7f4724a7167bb55b9c38"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.sanitizeExportPreset (cognitive 20): EditorUi.EditorUi.sanitizeExportPreset has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (13 pts), boolean chains 4, loops 1 (3 pts) (nesting depth added 10). Of this number, 11 points are the body\u0027s own statements and 9 belong to 3 function items inside it that branch. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":11512}}}],"partialFingerprints":{"codehealthFindingId/v1":"602507c4238ff129d947e4dfe950cc6f845db0aa1d0345324e59d95892327fb2"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.updatePageLink (cognitive 20): EditorUi.EditorUi.updatePageLink has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 1 (3 pts), error handling 1 (2 pts), boolean chains 1 (nesting depth added 11). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":14248}}}],"partialFingerprints":{"codehealthFindingId/v1":"714c8110778914f625149ff68e6c144cdd542b625b98c1e91f3f5903d46648d1"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.loadPlantUml (cognitive 20): EditorUi.EditorUi.loadPlantUml has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 3, loops 1 (3 pts), error handling 1 (nesting depth added 8). Most of this is not in the body itself: 9 of the 20 points are its own statements and the rest belongs to 2 function items inside it that branch (a function literal at line 16252, call). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":16215}}}],"partialFingerprints":{"codehealthFindingId/v1":"e43d26af109a7e0184396715e314fcb231832712c16294326f405f28a190c3f8"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.embedExternalImages (cognitive 20): EditorUi.EditorUi.embedExternalImages has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (9 pts), error handling 3 (5 pts), boolean chains 2, loops 1 (2 pts), ternaries 1 (2 pts) (nesting depth added 6). Of this number, 12 points are the body\u0027s own statements and 8 belong to 2 function literals inside it that branch. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":18491}}}],"partialFingerprints":{"codehealthFindingId/v1":"040cf1deb5a3aa14dd98035b979cc4713e134df6d335c785f1ff3fd694b98e29"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.drainRepairRestores (cognitive 20): EditorUi.drainRepairRestores has cognitive complexity 20 (threshold 15). Drivers by points: if/else 3 (8 pts), loops 3 (6 pts), ternaries 1 (4 pts), boolean chains 2 (nesting depth added 11). Most of this is not in the body itself: 4 of the 20 points are its own statements and the rest belongs to one function item inside it that branches (visit). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":22613}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a58503783b0dd7f9299672c8a71faa8f603783c6877aa9a7ac9a3edbdf8c873"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.destroyWindows (cognitive 20): EditorUi.EditorUi.destroyWindows has cognitive complexity 20 (threshold 15). Drivers by points: if/else 15 (18 pts), boolean chains 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":25545}}}],"partialFingerprints":{"codehealthFindingId/v1":"9258a8966683005e42088129d048a872b55b79711db73b0a6e82b6e18531ad64"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.createLayoutAddSelect (cognitive 20): EditorUi.EditorUi.createLayoutAddSelect has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (13 pts), boolean chains 4, error handling 1 (2 pts), loops 1 (nesting depth added 2). Most of this is not in the body itself: 6 of the 20 points are its own statements and the rest belongs to one function literal inside it that branches (line 34496). The decisions are inside the literal, 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 literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":34428}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bdaa41bc6850ecfe7b103367982945c2765f3591d22a804e18a4c510fe061cf"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.getDataSourceRecords (cognitive 20): EditorUi.EditorUi.getDataSourceRecords has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (10 pts), boolean chains 5, loops 3 (5 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":38253}}}],"partialFingerprints":{"codehealthFindingId/v1":"79cd90b83c4311196d2df6acf2145ad6375454aecfc2c6f76e89cff85eb2e085"}},{"ruleId":"D2","level":"warning","message":{"text":"Extensions.createEdge (cognitive 20): Extensions.createEdge has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 2 (4 pts), ternaries 2 (3 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Extensions.js"},"region":{"startLine":6288}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8fbb747a39b72c24bbaf497d8711f3b8d1011a0800a625f8f2814463840d4ea"}},{"ruleId":"D2","level":"warning","message":{"text":"LayoutPicker.LayoutPanel.isLayoutEdit (cognitive 20): LayoutPicker.LayoutPanel.isLayoutEdit has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 3, loops 1, ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/LayoutPicker.js"},"region":{"startLine":1947}}}],"partialFingerprints":{"codehealthFindingId/v1":"a636d59be41ed47dd5b84f63a9944f5b273b5bbf95409772079ea94b26f7ad9f"}},{"ruleId":"D2","level":"warning","message":{"text":"Pages.Graph.addExtFont (cognitive 20): Pages.Graph.addExtFont has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 1 (3 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Pages.js"},"region":{"startLine":1943}}}],"partialFingerprints":{"codehealthFindingId/v1":"2354ff2def21f6a9755e76d240cedcfbe99110838ae878288212ddabfdb1810d"}},{"ruleId":"D2","level":"warning","message":{"text":"emf-svg.parseEMF (cognitive 20): emf-svg.parseEMF has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 3, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/emf/emf-svg.js"},"region":{"startLine":826}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ae3358ab2c91ca44a7fe5fab790eae7db74bc7792b6e1f41529c09f632360ee"}},{"ruleId":"D2","level":"warning","message":{"text":"TidyWindow.TidyWindow.repaintStyles (cognitive 20): TidyWindow.TidyWindow.repaintStyles has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 5 (6 pts), boolean chains 2, error handling 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/tidy/TidyWindow.js"},"region":{"startLine":1279}}}],"partialFingerprints":{"codehealthFindingId/v1":"f64529a390b550ef7b7fe6b82bb0ce81b2cb2697309a2e93ec61899fd1443044"}},{"ruleId":"D2","level":"warning","message":{"text":"Editor.PageSetupDialog (cognitive 20): Editor.PageSetupDialog has cognitive complexity 20 (threshold 15). Drivers by points: if/else 26 (37 pts), ternaries 9 (16 pts), boolean chains 13, loops 2 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (Editor.PageSetupDialog::applyFn) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Editor.js"},"region":{"startLine":3471}}}],"partialFingerprints":{"codehealthFindingId/v1":"416bb4e069632136a06ec92560ae5bd5dfda13c18255c0b6799427ccb526fd95"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.pasteTextStyles (cognitive 20): Graph.Graph.pasteTextStyles has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (14 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":11664}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c048e4625839f6e6c5c9f58dbbf6a72e508deda41134a53ede5fc99e64201d9"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.updateCellStyles (cognitive 20): Graph.Graph.updateCellStyles has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (14 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":11778}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3838f33f8c2036866ecf8bc30337f31f593c6d05c829692d6f349133b0ec84a"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.openLink (cognitive 20): Graph.Graph.openLink has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (16 pts), boolean chains 3, error handling 1 (nesting depth added 9). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":12522}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6789a53754eae40dd8f5ed0e68472c51dd43a10644abb45951a9a71bb1a2c6c"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.removeInheritedLabelKeys (cognitive 20): Graph.Graph.removeInheritedLabelKeys has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 4, loops 2 (4 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":19221}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1ca5b558d4008cb4a5118633c035cadea0dcfa0c581c8d9cf93af0799ebacff"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.getZoomStep (cognitive 20): Graph.Graph.getZoomStep has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 2 (4 pts), boolean chains 2, ternaries 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":22240}}}],"partialFingerprints":{"codehealthFindingId/v1":"6186e502646bd717cd2c377410359b9119c7f1d1c4f70872f7b99c27892e2a8a"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.getTableLines (cognitive 20): Graph.Graph.getTableLines has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (17 pts), boolean chains 3 (nesting depth added 10). Most of this is not in the body itself: 2 of the 20 points are its own statements and the rest belongs to one function literal inside it that branches (line 25288). The decisions are inside the literal, 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 literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":25281}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bb39bfa064d44954dad06f11259f7c02a2709d8083a5f87bf45c3990c707258"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.LineJumpIndex.get (cognitive 20): Graph.LineJumpIndex.get has cognitive complexity 20 (threshold 15). Drivers by points: if/else 3 (9 pts), loops 3 (7 pts), boolean chains 3, ternaries 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":31412}}}],"partialFingerprints":{"codehealthFindingId/v1":"f38673bd5148fe7d9339a8888916af0b60f053d49945799ff6f99ad67eea494b"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.mxGraphView.invalidateChangedTies (cognitive 20): Graph.mxGraphView.invalidateChangedTies has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 3 (7 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":33884}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f6256fccbc56ebd567e216ed89f517427e2db135008adafd1c7d378651ec22d"}},{"ruleId":"D2","level":"warning","message":{"text":"Sidebar.Sidebar.addEntries (cognitive 20): Sidebar.Sidebar.addEntries has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (10 pts), ternaries 2 (5 pts), boolean chains 4, loops 1 (nesting depth added 8). Most of this is not in the body itself: 1 of the 20 points is its own statement and the rest belongs to 3 function literals inside it that branch (lines 1092, 1109, 1125). 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/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":1088}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ceccf0de00df43b4f6c3d9af59786b00928a4e6320ca6466ad9406e13751f4f"}},{"ruleId":"D2","level":"warning","message":{"text":"mxStackLayout.mxStackLayout.getLayoutCells (cognitive 20): mxStackLayout.mxStackLayout.getLayoutCells has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 5 (16 pts), if/else 2 (3 pts), loops 1 (nesting depth added 12). Most of this is not in the body itself: 4 of the 20 points are its own statements and the rest belongs to one function literal inside it that branches (line 327). The decisions are inside the literal, 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 literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/layout/mxStackLayout.js"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"f16d4545f093bab296dd5c5ce4a31965710fc51ca5931dfd04e209c6e3984ae7"}},{"ruleId":"D2","level":"warning","message":{"text":"mxSvgCanvas2D.mxSvgCanvas2D.updateFill (cognitive 20): mxSvgCanvas2D.mxSvgCanvas2D.updateFill has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 6, ternaries 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxSvgCanvas2D.js"},"region":{"startLine":1309}}}],"partialFingerprints":{"codehealthFindingId/v1":"787690d6234bf479a277c6075b22109e6fac7dc346c38c7d7e866c9a81defb33"}},{"ruleId":"D2","level":"warning","message":{"text":"mxSvgCanvas2D.mxSvgCanvas2D.appendPolygonClip (cognitive 20): mxSvgCanvas2D.mxSvgCanvas2D.appendPolygonClip has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (15 pts), boolean chains 4, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxSvgCanvas2D.js"},"region":{"startLine":3551}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ba96d9879134702734f64253a60f1a320b001475f11a7e10b6496dcaa27993d"}},{"ruleId":"D2","level":"warning","message":{"text":"mxWindow.mxWindow.installMaximizeHandler (cognitive 20): mxWindow.mxWindow.installMaximizeHandler has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (16 pts), boolean chains 4 (nesting depth added 9). None of this is in the body itself: all 20 points belong to one function literal inside it that branches (line 822). The decisions are inside the literal, 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 literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxWindow.js"},"region":{"startLine":802}}}],"partialFingerprints":{"codehealthFindingId/v1":"57a5bcfddcbeb327a37428bc4a709980409230aab45185ff59654acd121bac25"}},{"ruleId":"D2","level":"warning","message":{"text":"mxGraph.mxGraph.getSwimlaneAt (cognitive 20): mxGraph.mxGraph.getSwimlaneAt has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 11). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":12137}}}],"partialFingerprints":{"codehealthFindingId/v1":"a32a7c2c17effd0ed373f00707b2be35b1427ba64ed61e791fb1ead06d094f8f"}},{"ruleId":"D2","level":"warning","message":{"text":"mxGraphView.mxGraphView.getLabelPerimeterSide (cognitive 20): mxGraphView.mxGraphView.getLabelPerimeterSide has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 5 (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/webapp/mxgraph/src/view/mxGraphView.js"},"region":{"startLine":3642}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c2fa9a9b54edf3517738cfbbb389e0e2391962f0411303e6e17c86a3411a868"}},{"ruleId":"D2","level":"warning","message":{"text":"mxCisco19.mxShapeCisco19Rect.paintVertexShape (cognitive 20): mxCisco19.mxShapeCisco19Rect.paintVertexShape has cognitive complexity 20 (threshold 15). Drivers by points: if/else 16 (18 pts), boolean chains 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/shapes/mxCisco19.js"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a81170d29fcf37a574d930bf837cf81ba9125b52cc43d2bc911fcadd09d8a5f"}},{"ruleId":"D2","level":"warning","message":{"text":"mxBase64.decode (cognitive 20): mxBase64.decode has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 4 (5 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/server/java/com/mxgraph/online/mxBase64.java"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3d71f3c2955386b75e0c1bf2e1b30fdc7d2d320a1b6ab210d54be70007226f1"}},{"ruleId":"D2","level":"warning","message":{"text":"mxBase64.decodeFast (cognitive 20): mxBase64.decodeFast has cognitive complexity 20 (threshold 15). Drivers by points: loops 5 (7 pts), ternaries 4 (6 pts), if/else 3 (4 pts), boolean chains 3 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 2 other methods here (mxBase64.decodeFast, mxBase64.decodeFast) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/server/java/com/mxgraph/online/mxBase64.java"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c2fd432bcc9c37a3dfb0369e7470e135139be59051ff6a15409864e214344ca"}},{"ruleId":"D2","level":"warning","message":{"text":"mxBase64.decodeFast (cognitive 20): mxBase64.decodeFast has cognitive complexity 20 (threshold 15). Drivers by points: loops 5 (7 pts), ternaries 4 (6 pts), if/else 3 (4 pts), boolean chains 3 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 2 other methods here (mxBase64.decodeFast, mxBase64.decodeFast) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/server/java/com/mxgraph/online/mxBase64.java"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c578f1669bc746b1cec2709f76d6c8060526d41c0679ed389740ed8e290f510"}},{"ruleId":"D2","level":"warning","message":{"text":"mxBase64.decodeFast (cognitive 20): mxBase64.decodeFast has cognitive complexity 20 (threshold 15). Drivers by points: loops 5 (7 pts), ternaries 4 (6 pts), if/else 3 (4 pts), boolean chains 3 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 2 other methods here (mxBase64.decodeFast, mxBase64.decodeFast) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/server/java/com/mxgraph/online/mxBase64.java"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"39c6472bea236098e22fe3cfb905b6244576cc9c0cd2ae9ad2a0b0ef6f8345ab"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::processEdgeGeo (cognitive 20): (anonymous)::processEdgeGeo has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 5, error handling 2, loops 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":2095}}}],"partialFingerprints":{"codehealthFindingId/v1":"47be509c642e02fe8f3648dd2f9154064710d98c18f01cc084df49c6a7ad8bf8"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::decodeVssx::(anonymous)::_loop_1 (cognitive 20): (anonymous)::decodeVssx::(anonymous)::_loop_1 has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (13 pts), loops 2 (4 pts), boolean chains 3 (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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":2827}}}],"partialFingerprints":{"codehealthFindingId/v1":"95f289bec01335af51181e2e8ceadcc61bd760f298c07af8b08ad6ad25d03987"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::processPage (cognitive 20): (anonymous)::processPage has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (19 pts), loops 1 (nesting depth added 12). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":3094}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac48d029fddb4f383ef377288faa5ad152ef09d220ed4596a155fc68b62b25a9"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::getForm (cognitive 20): (anonymous)::getForm has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 5, ternaries 1 (3 pts), error handling 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":13465}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba76479b38be231da31ebd78ed6d4415bdc16c57c34f5fac38ab43d013907e5c"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::decode$byte_A (cognitive 20): (anonymous)::decode$byte_A has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 4 (5 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":15140}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b26832ebfc901b26be131751445423af8dab293a374058c3d33d6fa416d6ebf"}},{"ruleId":"D2","level":"warning","message":{"text":"FindWindow::isMatch (cognitive 20): FindWindow::isMatch has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 11, ternaries 2 (5 pts), if/else 3 (4 pts) (nesting depth added 4). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":10377}}}],"partialFingerprints":{"codehealthFindingId/v1":"b360d0d16dfb5a7d34547e72d5d810d52022328cd04344152a8f731402693c8d"}},{"ruleId":"D2","level":"warning","message":{"text":"createGroup::updateMinMax (cognitive 20): createGroup::updateMinMax has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 4 (13 pts), if/else 3 (4 pts), loops 1 (3 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Extensions.js"},"region":{"startLine":6550}}}],"partialFingerprints":{"codehealthFindingId/v1":"06b5e8330927ec0f520e387cc00bbbb50a46a7e010ce9d38204cc19434854f93"}},{"ruleId":"D2","level":"warning","message":{"text":"normalizeGroup (cognitive 20): normalizeGroup has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (14 pts), boolean chains 4, loops 1 (2 pts) (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Extensions.js"},"region":{"startLine":7048}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e830ae7c8d5c11efcad8d9f5d7a4b17009487f60468787cab9ef44d27401607"}},{"ruleId":"D2","level":"warning","message":{"text":"createRoughCanvas (cognitive 20): createRoughCanvas has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (7 pts), boolean chains 6, match/switch 2 (4 pts), loops 2, ternaries 1 (nesting depth added 4). None of this is in the body itself: all 20 points belong to 4 function items inside it that branch (draw, fillSketch, _drawToContext, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":2031}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5368acf8f0d5705ca94d6b53a7124ba3639a16e00f67c4c36eb5ddff65f52c5"}},{"ruleId":"D2","level":"warning","message":{"text":"addProperties::createPropertyRow::(anonymous)::setInputVal (cognitive 20): addProperties::createPropertyRow::(anonymous)::setInputVal has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 6 (8 pts), if/else 5 (6 pts), boolean chains 5, error handling 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":9778}}}],"partialFingerprints":{"codehealthFindingId/v1":"09a194be679db3501fd99cbe9a48874e4246684c9cfd2528a1ebe1cee91932cc"}},{"ruleId":"D2","level":"warning","message":{"text":"addTagsForCells (cognitive 20): addTagsForCells has cognitive complexity 20 (threshold 15). Drivers by points: if/else 3 (8 pts), loops 2 (5 pts), ternaries 1 (5 pts), boolean chains 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":14187}}}],"partialFingerprints":{"codehealthFindingId/v1":"36015beabe31d3ba91e2562bc62a6f6a95185e07b5736d6f0fd312d1dd665737"}},{"ruleId":"D2","level":"warning","message":{"text":"updateSelection (cognitive 20): updateSelection has cognitive complexity 20 (threshold 15). Drivers by points: if/else 3 (7 pts), boolean chains 5, ternaries 4 (5 pts), loops 3 (nesting depth added 5). Most of this is not in the body itself: 5 of the 20 points are its own statements and the rest belongs to 3 function items inside it that branch (getResult, a function literal at line 2040, isContained). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":1990}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e44124658f65f77498ddc46f2cab59c0ab40e32a6d49e429c9802e36455df8a"}},{"ruleId":"D2","level":"warning","message":{"text":"cellsMoved (cognitive 20): cellsMoved has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 4, loops 1 (2 pts), ternaries 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":6787}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e8f7473ee7c1b117ce7617ba62ec9ceee4d370bb036ebd0108c9f42988c6a14"}},{"ruleId":"D2","level":"warning","message":{"text":"validateGraph (cognitive 20): validateGraph has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 6, ternaries 3, loops 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":9397}}}],"partialFingerprints":{"codehealthFindingId/v1":"be0c0c448d0ec21d06ee793868aa5146bae9f0c0ef1aae028967e673ae200d30"}},{"ruleId":"D2","level":"warning","message":{"text":"addCollapsedRegionPath (cognitive 20): addCollapsedRegionPath has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 10, if/else 8, ternaries 2. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3621a6297a01d96f60f15f73cc863b0375c8be28b371233da0765c3ee2d3b10"}},{"ruleId":"D2","level":"warning","message":{"text":"createCustomHandles (cognitive 20): createCustomHandles has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 4 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":10844}}}],"partialFingerprints":{"codehealthFindingId/v1":"55b831f289eee1a12f89ab8b5560b5cf13bdea6981a574306f852e23a2749c59"}},{"ruleId":"D2","level":"warning","message":{"text":"getUsedShapeStyles (cognitive 20): getUsedShapeStyles has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (13 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":3286}}}],"partialFingerprints":{"codehealthFindingId/v1":"033bae1859673a09308f7e512c6c66fc33bc2c5536682e24d839b27d18c39f28"}},{"ruleId":"D2","level":"warning","message":{"text":"initClipboard (cognitive 20): initClipboard has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (13 pts), ternaries 2 (4 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 8). None of this is in the body itself: all 20 points belong to 5 function items inside it that branch (copy, cut, paste, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":5505}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea948a863fdac1b1dd0f3a37d1fac4aec6bdacfeead77aa13464e9d8851c1f5b"}},{"ruleId":"D2","level":"warning","message":{"text":"addRecent (cognitive 20): addRecent has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (10 pts), ternaries 2 (5 pts), loops 1 (3 pts), boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":3485}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fbfac9f76a19b6bbf0cc89a1cf710ab1524d62f7e73608fbbb572a78f7a8f5b"}},{"ruleId":"D2","level":"warning","message":{"text":"convertHtmlBlocksToSvg::processChildren (cognitive 20): convertHtmlBlocksToSvg::processChildren has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 5, loops 2 (4 pts), ternaries 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxUtils.js"},"region":{"startLine":6477}}}],"partialFingerprints":{"codehealthFindingId/v1":"749b2b3fc3a804aa3411793c013913db41a6c086bb39485d1f0c94e21f182400"}},{"ruleId":"D2","level":"warning","message":{"text":"updateButtons (cognitive 20): updateButtons has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 12, ternaries 2 (4 pts), if/else 1 (2 pts), loops 2 (nesting depth added 3). Of this number, 19 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/InlineToolbar.js"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bee2d45b9c27fdfc5b80121732e9c7d8755d6a925d2140b3f958201e2309243"}},{"ruleId":"D2","level":"warning","message":{"text":"coversEdge (cognitive 20): coversEdge has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 10, if/else 4 (7 pts), loops 2 (3 pts) (nesting depth added 4). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/InlineToolbar.js"},"region":{"startLine":1345}}}],"partialFingerprints":{"codehealthFindingId/v1":"a139729f4c428d481875ce804b298c26c22a35938e316ea1c59f8ddd3a18261a"}},{"ruleId":"D2","level":"warning","message":{"text":"setPageGroup (cognitive 20): setPageGroup has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 5, ternaries 1 (3 pts), loops 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Pages.js"},"region":{"startLine":2977}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6d69b7bfd925c92595c57fa8273d96995c6fe9d9ce10aa08097c0fb3f887f8d"}},{"ruleId":"D2","level":"warning","message":{"text":"addTbl2Rows (cognitive 20): addTbl2Rows has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 5 (13 pts), if/else 2 (4 pts), boolean chains 2, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/graphml/mxGraphMlCodec.js"},"region":{"startLine":1783}}}],"partialFingerprints":{"codehealthFindingId/v1":"85f80d2ec91865a63857979e742fe9b4a314e9d66445db3192f289c0abee068d"}},{"ruleId":"D2","level":"warning","message":{"text":"addTbl2Cols (cognitive 20): addTbl2Cols has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 5 (13 pts), if/else 2 (4 pts), boolean chains 2, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/graphml/mxGraphMlCodec.js"},"region":{"startLine":1826}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac727fb4493c36a2c6e126304ccb1edeff44bc6757bc7bcd9ff46f24a0600a79"}},{"ruleId":"D2","level":"warning","message":{"text":"loadArgs (cognitive 20): loadArgs has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 3, ternaries 1 (3 pts) (nesting depth added 8). Most of this is not in the body itself: 5 of the 20 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 937, 967). 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/webapp/js/diagramly/ElectronApp.js"},"region":{"startLine":918}}}],"partialFingerprints":{"codehealthFindingId/v1":"32a09900a36b1ff5711efe0a8737892c3551a0210183626b135faba981afa8d7"}},{"ruleId":"D2","level":"warning","message":{"text":"computeRoutes (cognitive 20): computeRoutes has cognitive complexity 20 (threshold 15). Drivers by points: if/else 29 (46 pts), ternaries 14 (31 pts), boolean chains 27, loops 18 (25 pts), error handling 4 (6 pts) (nesting depth added 43). 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/webapp/js/libavoid-js/libavoid-routing.js"},"region":{"startLine":1055}}}],"partialFingerprints":{"codehealthFindingId/v1":"e487bd2cdbc5ecdde0a00b6590934346b67887c08c502d40ffbd52eb5304fea8"}},{"ruleId":"D2","level":"warning","message":{"text":"getCells (cognitive 20): getCells has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (8 pts), loops 3 (7 pts), boolean chains 3, ternaries 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/handler/mxGraphHandler.js"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"181413d525ed08d2374625c8acd9f8206415baf7fdbf1324f9f83390c999b23e"}},{"ruleId":"D2","level":"warning","message":{"text":"paint (cognitive 20): paint has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 9, ternaries 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/shape/mxShape.js"},"region":{"startLine":1094}}}],"partialFingerprints":{"codehealthFindingId/v1":"18e28cf5163e6fe893e5dc1429ac0ad355ce801468bed47d0c32ac167177a88f"}},{"ruleId":"D2","level":"warning","message":{"text":"preview (cognitive 20): preview has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (8 pts), boolean chains 7, ternaries 2 (3 pts), loops 2 (nesting depth added 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/webapp/js/diagramly/tidy/TidyWindow.js"},"region":{"startLine":1058}}}],"partialFingerprints":{"codehealthFindingId/v1":"84918da33c4fd0ff0cc82dcf7cb01b88ed0528c6cb61e113d9bd34124a34eb31"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::connectVertex (cognitive 20): (anonymous)::connectVertex has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 5, loops 1 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/plugins/trees/trees.js"},"region":{"startLine":945}}}],"partialFingerprints":{"codehealthFindingId/v1":"781cf70d7699da9bd7319128ccc50e559256cf2a4abb21ce9ebd773dfb173894"}},{"ruleId":"D2","level":"warning","message":{"text":"getSpacing (cognitive 20): getSpacing has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 4 (8 pts), boolean chains 6, if/else 6 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/shape/mxText.js"},"region":{"startLine":1284}}}],"partialFingerprints":{"codehealthFindingId/v1":"bae874724bbd6d93f0574b5a6182595204fab15ba3bd1a146802bd99b34eb0f9"}},{"ruleId":"D2","level":"warning","message":{"text":"RhombusPerimeter (cognitive 20): RhombusPerimeter has cognitive complexity 20 (threshold 15). Drivers by points: if/else 14 (18 pts), boolean chains 2 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxPerimeter.js"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"9daa7b86a2225fd48f57cc4d9120cfd9426fd20cfd0ff21e523c15c324eb39dd"}},{"ruleId":"D2","level":"warning","message":{"text":"send (cognitive 20): send has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 5 (nesting depth added 8). Of this number, 13 points are the body\u0027s own statements and 7 belong to 2 function literals inside it that branch. 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/webapp/mxgraph/src/util/mxXmlRequest.js"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8941127791a0738da8b6c06ecef3f511a47d747aa125ccd95b74011aa8afeb0"}},{"ruleId":"D2","level":"warning","message":{"text":"check (cognitive 20): check has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 11, if/else 4 (8 pts), ternaries 1 (nesting depth added 4). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxMultiplicity.js"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"37395798f5f3bda8725e448b979cd6a6b0d9cf80424973c6ff5068d37a1a39b8"}},{"ruleId":"D2","level":"warning","message":{"text":"redrawSpringHandle (cognitive 20): redrawSpringHandle has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (9 pts), ternaries 4 (7 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/SpringHandle.js"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"301e3f88aecc29e4cef8e64e1c4ead055a46b4e48146adc31fd20fd623f5e841"}},{"ruleId":"D2","level":"warning","message":{"text":"mxTemporaryCellStates (cognitive 20): mxTemporaryCellStates has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (11 pts), ternaries 2 (4 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 7). Of this number, 10 points are the body\u0027s own statements and 10 belong to 3 function items inside it that branch. 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/webapp/mxgraph/src/view/mxTemporaryCellStates.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"efdd7a9fd8d922b61c195acce88c92de5494a41a57b7330143792e18fa878e81"}},{"ruleId":"D2","level":"warning","message":{"text":"App.App.openGenerateDialog (cognitive 19): App.App.openGenerateDialog has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 4 (8 pts), if/else 5 (6 pts), boolean chains 5 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":5070}}}],"partialFingerprints":{"codehealthFindingId/v1":"779453933544751e821a70edd4f43496376ceea64414c1499d0c590808ba2e21"}},{"ruleId":"D2","level":"warning","message":{"text":"App.App.filterDrafts (cognitive 19): App.App.filterDrafts has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (10 pts), boolean chains 5, error handling 2 (3 pts), loops 1 (nesting depth added 7). Most of this is not in the body itself: 1 of the 19 points is its own statement and the rest belongs to one function literal inside it that branches (line 5210). The decisions are inside the literal, 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 literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":5199}}}],"partialFingerprints":{"codehealthFindingId/v1":"da3a28b98c2dc2689cdf44ec3c00433f79b5be7bd98c6a99a45a2e8fe51ee311"}},{"ruleId":"D2","level":"warning","message":{"text":"ConfigEditor.DrawioConfigEditor.install.importConfig (cognitive 19): ConfigEditor.DrawioConfigEditor.install.importConfig has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 6 (nesting depth added 4). Most of this is not in the body itself: 1 of the 19 points is its own statement and the rest belongs to one function literal inside it that branches (line 1187). The decisions are inside the literal, 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 literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ConfigEditor.js"},"region":{"startLine":1178}}}],"partialFingerprints":{"codehealthFindingId/v1":"de49d770118f05169c1f1224c2a96721428f5c0fda519c3c9404543638238cb0"}},{"ruleId":"D2","level":"warning","message":{"text":"Dialogs.LibraryDialog (cognitive 19): Dialogs.LibraryDialog has cognitive complexity 19 (threshold 15). Drivers by points: if/else 86 (172 pts), boolean chains 42, ternaries 9 (21 pts), loops 8 (15 pts), error handling 2 (3 pts) (nesting depth added 106). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This shape REPEATS in the file: one other method here (Dialogs.LibraryDialog::addButton) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":19852}}}],"partialFingerprints":{"codehealthFindingId/v1":"b88651afad214c502d3d961dd5f376d82cae7e97efa065600803e840b67d3211"}},{"ruleId":"D2","level":"warning","message":{"text":"Dialogs.PolygonTool.mouseUp (cognitive 19): Dialogs.PolygonTool.mouseUp has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 1 (3 pts), boolean chains 1 (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":27817}}}],"partialFingerprints":{"codehealthFindingId/v1":"f06cffa63640564b56bf045bce06ec24c63a3d944f8ae19a1686b71492e3bf1a"}},{"ruleId":"D2","level":"warning","message":{"text":"Editor.Editor.convertLegacyAnimationStep (cognitive 19): Editor.Editor.convertLegacyAnimationStep has cognitive complexity 19 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 2, ternaries 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":15573}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cc0d7fb753ce18cc5c9fd042977f457e3e8b5c4fc960bad915a03603ca0410a"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.showExportDialog::getPresetValues (cognitive 19): EditorUi.EditorUi.showExportDialog::getPresetValues has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (13 pts), boolean chains 6 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: 2 other methods here (EditorUi.EditorUi.showExportDialog, EditorUi.EditorUi.showExportDialog::setPresetValues) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":12537}}}],"partialFingerprints":{"codehealthFindingId/v1":"845f14467f1462e28bc166bfb08d4a9be27a0e8075c9c07cc2bb77a2da015e30"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.updateMermaidAltText (cognitive 19): EditorUi.EditorUi.updateMermaidAltText has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 5 (8 pts), boolean chains 6, if/else 4 (5 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":16665}}}],"partialFingerprints":{"codehealthFindingId/v1":"01b49cca64e83ce854a8923bc2b0a7b1c36d48e261c632200fde039958f4d9f9"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.collectExternalImages (cognitive 19): EditorUi.EditorUi.collectExternalImages has cognitive complexity 19 (threshold 15). Drivers by points: loops 3 (8 pts), ternaries 2 (6 pts), error handling 1 (2 pts), if/else 1 (2 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":18587}}}],"partialFingerprints":{"codehealthFindingId/v1":"202e91811745bdcc4a065097aab58749981f567f50c3b1a7f98ee60cbe79ef2d"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.drainRepairParents (cognitive 19): EditorUi.drainRepairParents has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":22528}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d782c6a9753e6d5178549152f07a0975bd581129a7a3fb6246056ca992748c0"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.restorePersistedEdgeStyle (cognitive 19): EditorUi.EditorUi.restorePersistedEdgeStyle has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 3, loops 1 (2 pts), ternaries 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":27874}}}],"partialFingerprints":{"codehealthFindingId/v1":"478b2bb87b467db827cf00d3ea695c3ae08364467effb5b40932cd77b176b87e"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.sendEmbeddedSvgExport (cognitive 19): EditorUi.EditorUi.sendEmbeddedSvgExport has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (12 pts), ternaries 2 (4 pts), boolean chains 2, error handling 1 (nesting depth added 6). Of this number, 17 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":31516}}}],"partialFingerprints":{"codehealthFindingId/v1":"d997553ac061c1f5dc7d4894701e1775a72ee27685a0a246edece31413d69929"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.getTableText (cognitive 19): EditorUi.EditorUi.getTableText has cognitive complexity 19 (threshold 15). Drivers by points: loops 5 (8 pts), if/else 3 (7 pts), ternaries 1 (3 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":37335}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bae1bac7d41aaf624a67f4c337db18a6f4fb67fa061df789b54e0c5b243f4e5"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.generateDataSourceCells (cognitive 19): EditorUi.EditorUi.generateDataSourceCells has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 4, loops 1, ternaries 1 (nesting depth added 3). Of this number, 15 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":38437}}}],"partialFingerprints":{"codehealthFindingId/v1":"844f63427c47eb5eb9063cae37d9b2d7f5e7423fe627d1a651410837c8b7ec5b"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.parseCsvList (cognitive 19): EditorUi.EditorUi.parseCsvList has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 9, if/else 2 (4 pts), ternaries 2 (4 pts), loops 1 (2 pts) (nesting depth added 5). Of this number, 16 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":39512}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b3e9e51226200a8d628adaaf57a346fbd6d2635c1485b707a315db80401c9f5"}},{"ruleId":"D2","level":"warning","message":{"text":"Extensions.importLucidPage::addLine (cognitive 19): Extensions.importLucidPage::addLine has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 6, if/else 5 (6 pts), loops 2 (5 pts), ternaries 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Extensions.js"},"region":{"startLine":6805}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ae674a9f6bed6ba09375fb3f0f36754e1dc2a837bab8138d7d365bba9ea9e09"}},{"ruleId":"D2","level":"warning","message":{"text":"ForceExplorer.ForceExplorer.getLineGeometry (cognitive 19): ForceExplorer.ForceExplorer.getLineGeometry has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (9 pts), ternaries 3 (7 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ForceExplorer.js"},"region":{"startLine":4570}}}],"partialFingerprints":{"codehealthFindingId/v1":"86889611889228580c8e4ce14c85e32b1b859f9ab3d09b225d2f5eef03627ed4"}},{"ruleId":"D2","level":"warning","message":{"text":"TidyStyle.Tidy.getRole (cognitive 19): TidyStyle.Tidy.getRole has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 8 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/tidy/TidyStyle.js"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ddfb08e8328d2cf1c16d889351f1b31cf8bbfac2fa14142caf405de033fa5ce"}},{"ruleId":"D2","level":"warning","message":{"text":"Dialogs.ColorDialog::inputChanged (cognitive 19): Dialogs.ColorDialog::inputChanged has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 5 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 3 other methods here (Dialogs.ColorDialog, Dialogs.ColorDialog::setDefaultSelected, Dialogs.ColorDialog::addCurrentToRecent) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Dialogs.js"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bed09a8d1a9a7fa684ea9f417ba7b5241f14915af1151d5c4f7a2f0c9e2539f"}},{"ruleId":"D2","level":"warning","message":{"text":"Editor.PrintDialog.create (cognitive 19): Editor.PrintDialog.create has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (13 pts), boolean chains 3, ternaries 2 (3 pts) (nesting depth added 2). Most of this is not in the body itself: 4 of the 19 points are its own statements and the rest belongs to 2 function items inside it that branch (preview, a function literal at line 3123). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Editor.js"},"region":{"startLine":3049}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c53568226d143e8ac709613547f0f5bc9bde5dfb094582c97bec9a3899a32d0"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.initLayoutManager (cognitive 19): Graph.Graph.initLayoutManager has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 19. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":12824}}}],"partialFingerprints":{"codehealthFindingId/v1":"f73483675982969f1266c68db23c782645ed50254414bc34bd81f7b027d3ff03"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.updateEdgeLabelShape (cognitive 19): Graph.Graph.updateEdgeLabelShape has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 3, ternaries 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":17331}}}],"partialFingerprints":{"codehealthFindingId/v1":"92ef5d930626d0a18a30ac1630ae5eaa097021f9c95880a8e197147208a1fa42"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.getDataSources (cognitive 19): Graph.Graph.getDataSources has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 6, if/else 3 (5 pts), ternaries 3 (4 pts), error handling 1 (2 pts), loops 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":18907}}}],"partialFingerprints":{"codehealthFindingId/v1":"327bec2dd39ad8c9d5c2334873ad87e390bffc0bdc98de30cbde1ca849160ab5"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.getTextOutline (cognitive 19): Graph.Graph.getTextOutline has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (27 pts), loops 6 (8 pts), boolean chains 6, ternaries 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (Graph.Graph.getTextOutline::collect) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":23064}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fd7b5be1e5d2b7b5649c140ae428bc2c03a95000cdead6c2941f3b17137d40a"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.getContinuousPathData (cognitive 19): Graph.Graph.getContinuousPathData has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (10 pts), boolean chains 5, loops 2 (4 pts) (nesting depth added 8). Of this number, 18 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":23905}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c7e183f012ca95b53815b8e9c82222732c877ac81401f440f6b40363b15c94d"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.mxImageExport.addLabelGaps (cognitive 19): Graph.mxImageExport.addLabelGaps has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (7 pts), ternaries 3 (5 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 6). Of this number, 11 points are the body\u0027s own statements and 8 belong to one function item inside it that branches. 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":29030}}}],"partialFingerprints":{"codehealthFindingId/v1":"06ef83a57e8a850a605fda92cdaf16ada389cbbf7ac102b8192f02ffd5a3ee76"}},{"ruleId":"D2","level":"warning","message":{"text":"InlineToolbar.InlineToolbar.getEdgeMidpoint (cognitive 19): InlineToolbar.InlineToolbar.getEdgeMidpoint has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 4, ternaries 1 (3 pts), loops 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/webapp/js/grapheditor/InlineToolbar.js"},"region":{"startLine":760}}}],"partialFingerprints":{"codehealthFindingId/v1":"c323593a861b62504dcdbc768b6539e060c052111156edd8d5a3a5826f305e68"}},{"ruleId":"D2","level":"warning","message":{"text":"mxCircleLayout.mxCircleLayout.execute (cognitive 19): mxCircleLayout.mxCircleLayout.execute has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (18 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/layout/mxCircleLayout.js"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"a80199c6beef308745f9005c857724eda7f595011279d4f2a74b05373b82fdf9"}},{"ruleId":"D2","level":"warning","message":{"text":"mxSvgCanvas2D.mxSvgCanvas2D.updateText (cognitive 19): mxSvgCanvas2D.mxSvgCanvas2D.updateText has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (8 pts), ternaries 2 (8 pts), boolean chains 3 (nesting depth added 9). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxSvgCanvas2D.js"},"region":{"startLine":2128}}}],"partialFingerprints":{"codehealthFindingId/v1":"822017c91297c345432d0e4054580998d30519b3e4ed9d2796b8e40260650666"}},{"ruleId":"D2","level":"warning","message":{"text":"mxCellState.mxCellState.updateCachedBounds (cognitive 19): mxCellState.mxCellState.updateCachedBounds has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 3 (7 pts), if/else 5 (6 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxCellState.js"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1e4073ffde82525e2c12005ef1c1086dee97a40a04ee3b336a65079598c3f84"}},{"ruleId":"D2","level":"warning","message":{"text":"LogServlet.doPost (cognitive 19): LogServlet.doPost has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 5 (13 pts), if/else 3 (5 pts), error handling 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/server/java/com/mxgraph/online/LogServlet.java"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd1a47d2285c11e29d0c9a32b26363304852e646143737acb9ffb8023dfb68fc"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::resolveRel (cognitive 19): (anonymous)::resolveRel has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 1 (3 pts), boolean chains 2 (nesting depth added 11). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":5131}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6855097d92fd5281613014bf56c28b3bc5a0f488fcfa339b7ec7e19c5a1235e"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::getConnections (cognitive 19): (anonymous)::getConnections has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 2 (5 pts), boolean chains 4 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":11548}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2a99cb0a38489b91e9820fff918ed2e374b23c7c64d109f21cef4b65bf7f66a"}},{"ruleId":"D2","level":"warning","message":{"text":"CreateDialog::change (cognitive 19): CreateDialog::change has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (14 pts), ternaries 1 (3 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":5362}}}],"partialFingerprints":{"codehealthFindingId/v1":"da5bfdd92b353fbbabd560f8374222565916a950167ab5e965c7ec2b36e46953"}},{"ruleId":"D2","level":"warning","message":{"text":"AnimationDialog::keepExploreLast (cognitive 19): AnimationDialog::keepExploreLast has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 3, loops 2 (3 pts), ternaries 2 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":14808}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac03e357e8e57cb473befea264fca96928b3f75ec1c4e0b91bd0342cc145ee71"}},{"ruleId":"D2","level":"warning","message":{"text":"getPageLinkWarning (cognitive 19): getPageLinkWarning has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 4, ternaries 2 (3 pts), loops 1 (2 pts) (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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":17974}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb0e56763067e903839e71e06a7a6a3492a58f96ac9ce82b1cbf14bbe2875df2"}},{"ruleId":"D2","level":"warning","message":{"text":"PolygonDialog (cognitive 19): PolygonDialog has cognitive complexity 19 (threshold 15). Drivers by points: if/else 98 (158 pts), ternaries 26 (48 pts), boolean chains 42, loops 15 (21 pts), error handling 1 (2 pts) (nesting depth added 89). 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":25702}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b2b7815bc3eec5feff1f8b7f7677e21294bfd3b0d4a70b678ea777fbcc7fe12"}},{"ruleId":"D2","level":"warning","message":{"text":"getEdgeLabelStyle (cognitive 19): getEdgeLabelStyle has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (14 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Extensions.js"},"region":{"startLine":6416}}}],"partialFingerprints":{"codehealthFindingId/v1":"51832882fe79ca1c3558b570f1b4d4cda6aadeb6b690c6c5dde3260d6aa3a72d"}},{"ruleId":"D2","level":"warning","message":{"text":"convertLegacyAnimation (cognitive 19): convertLegacyAnimation has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (11 pts), loops 3 (5 pts), boolean chains 3 (nesting depth added 5). Most of this is not in the body itself: 6 of the 19 points are its own statements and the rest belongs to 3 function items inside it that branch (merge, flush, paramsMatch). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":15653}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f91f759b82d8de00b4da628832f06eaf8299beb681aa29a7814458ac4cbf5bc"}},{"ruleId":"D2","level":"warning","message":{"text":"translateCell (cognitive 19): translateCell has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 4 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":6842}}}],"partialFingerprints":{"codehealthFindingId/v1":"acf2085d878b2368dea2a531d201251f82c2906542fd7bd9c1061430b556e16d"}},{"ruleId":"D2","level":"warning","message":{"text":"editAsNew (cognitive 19): editAsNew has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (7 pts), ternaries 4 (7 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 5). Of this number, 16 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. 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/webapp/js/grapheditor/Editor.js"},"region":{"startLine":1678}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdc67f57f13b58de2f883db866c5c8df54522e31783b3a0337729e3d6cf41a0c"}},{"ruleId":"D2","level":"warning","message":{"text":"getScrollOrigin (cognitive 19): getScrollOrigin has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 7, ternaries 5 (6 pts), if/else 3 (5 pts), loops 1 (nesting depth added 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/webapp/mxgraph/src/util/mxUtils.js"},"region":{"startLine":3731}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4c5206608d9c2e6439b0a7c6250ca8f63eade8a30e659ea24a29cc7d7685a7b"}},{"ruleId":"D2","level":"warning","message":{"text":"color2hex (cognitive 19): color2hex has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (16 pts), boolean chains 1, error handling 1, ternaries 1 (nesting depth added 9). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxUtils.js"},"region":{"startLine":4805}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb1543cf1257bd2e407e24868195c8ea3f4a725cd59c6ea5a9a5ea9372faa490"}},{"ruleId":"D2","level":"warning","message":{"text":"frame (cognitive 19): frame has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 9 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ForceExplorer.js"},"region":{"startLine":3689}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0379262370eef05c30852679e45a3430f0f20148ca840d13a0d7c38eea39cc9"}},{"ruleId":"D2","level":"warning","message":{"text":"getValidationVisibility (cognitive 19): getValidationVisibility has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 5, ternaries 2 (3 pts), loops 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxGraphView.js"},"region":{"startLine":1468}}}],"partialFingerprints":{"codehealthFindingId/v1":"311050b8017818085a0c1eade6185f3b9f122410c8a5c5d2aab67cd85493134f"}},{"ruleId":"D2","level":"warning","message":{"text":"removeDuplicatePoints (cognitive 19): removeDuplicatePoints has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 7, if/else 3 (7 pts), loops 2 (5 pts) (nesting depth added 7). Of this number, 17 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. 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/webapp/mxgraph/src/view/mxGraphView.js"},"region":{"startLine":3276}}}],"partialFingerprints":{"codehealthFindingId/v1":"759c711cc066f2a1342b906ac5b72a98526960779e8e82c2c3d22069e29b4f15"}},{"ruleId":"D2","level":"warning","message":{"text":"getShadowPages (cognitive 19): getShadowPages has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (9 pts), ternaries 1 (4 pts), boolean chains 3, error handling 1 (3 pts) (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DrawioFile.js"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"71badfd30002be36474b353fdeb646050fa9a539f65c2162839e3c801e6338c7"}},{"ruleId":"D2","level":"warning","message":{"text":"install.importConfig (cognitive 19): install.importConfig has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 6 (nesting depth added 4). Most of this is not in the body itself: 1 of the 19 points is its own statement and the rest belongs to 3 function literals inside it that branch (lines 1187, 1210, 1222). 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/webapp/js/diagramly/ConfigEditor.js"},"region":{"startLine":1178}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb845264b9cb8ec785e9df428d8f5935309cffae7001e728233f32d130d65e4c"}},{"ruleId":"D2","level":"warning","message":{"text":"diffAllCellProperties (cognitive 19): diffAllCellProperties has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 7, ternaries 2 (6 pts), if/else 2 (4 pts), loops 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/webapp/js/diagramly/DiffSync.js"},"region":{"startLine":2737}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1baa802bbe6ba92b14812f1beefc69059d416a4da12b292ea9a378c08fdecc6"}},{"ruleId":"D2","level":"warning","message":{"text":"resetLabels (cognitive 19): resetLabels has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 8, if/else 3 (6 pts), loops 2 (3 pts), ternaries 1 (2 pts) (nesting depth added 5). Of this number, 10 points are the body\u0027s own statements and 9 belong to one function item inside it that branches. 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/webapp/js/diagramly/tidy/Tidy.js"},"region":{"startLine":1785}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cfa68c4094e309448b1247daf8f105664b34f93c9afb2a8e687182cd338bd43"}},{"ruleId":"D2","level":"warning","message":{"text":"saveLibrary (cognitive 19): saveLibrary has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (14 pts), ternaries 3, boolean chains 2 (nesting depth added 5). Most of this is not in the body itself: 9 of the 19 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 2496, 2524, 2545, \u2026). 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/webapp/js/diagramly/ElectronApp.js"},"region":{"startLine":2489}}}],"partialFingerprints":{"codehealthFindingId/v1":"6351793f897fbb9634f4efae35b01ac346965d94e03997703abffb4b9ee859ca"}},{"ruleId":"D2","level":"warning","message":{"text":"createItem (cognitive 19): createItem has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (12 pts), ternaries 2 (4 pts), boolean chains 3 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Omnibox.js"},"region":{"startLine":2574}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e0bdb55e6692ddd2c325032b27558ea9a5e05c73fea1070ea9463bd42442b41"}},{"ruleId":"D2","level":"warning","message":{"text":"addTrees::duplicateCells (cognitive 19): addTrees::duplicateCells has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 3 (6 pts), boolean chains 2, ternaries 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Trees.js"},"region":{"startLine":796}}}],"partialFingerprints":{"codehealthFindingId/v1":"e94c45e23ef05f166fa747692893613374c8759ada8ac07deeb02b5d7dfcfc25"}},{"ruleId":"D2","level":"warning","message":{"text":"mxGraphHandler (cognitive 19): mxGraphHandler has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 7 (nesting depth added 4). None of this is in the body itself: all 19 points belong to 5 function literals inside it that branch (lines 60, 103, 31, \u2026). 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/webapp/mxgraph/src/handler/mxGraphHandler.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"722bcd28d41a2cb9aad3db556336fa03f43a8e6def9edd3a76f62458b7347b19"}},{"ruleId":"D2","level":"warning","message":{"text":"launchPicker (cognitive 19): launchPicker has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (11 pts), ternaries 2 (4 pts), boolean chains 3, error handling 1 (nesting depth added 7). Most of this is not in the body itself: 4 of the 19 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 1658, 1704, 1716). 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/webapp/js/diagramly/OneDriveClient.js"},"region":{"startLine":1651}}}],"partialFingerprints":{"codehealthFindingId/v1":"113c6f7e63cabd400d30f01327767b3ea5cd069dd32dd13aac8bf386a8ce3914"}},{"ruleId":"D2","level":"warning","message":{"text":"P2PCollab::joinFile::messageListener (cognitive 19): P2PCollab::joinFile::messageListener has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (8 pts), boolean chains 6, ternaries 1 (3 pts), error handling 1, match/switch 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/P2PCollab.js"},"region":{"startLine":1277}}}],"partialFingerprints":{"codehealthFindingId/v1":"b82454ad6591e8441315dae66e8137a3a6190a0c89b9f0f06a83d39c3859b919"}},{"ruleId":"D2","level":"warning","message":{"text":"getRefIndex (cognitive 19): getRefIndex has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (13 pts), ternaries 2 (6 pts) (nesting depth added 9). Most of this is not in the body itself: 2 of the 19 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 370, 389, 399). 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/webapp/js/diagramly/GitLabClient.js"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"707828bf57396ba72e182c92fb174dcada3f20b98f4f8444576dc8ccaedb2380"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::duplicateCells (cognitive 19): (anonymous)::duplicateCells has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 3 (6 pts), boolean chains 2, ternaries 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/plugins/trees/trees.js"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1cc0cc06eeaf80a730c4c364b1d97c2de585847bb718a4e537e9d83624bed1a"}},{"ruleId":"D2","level":"warning","message":{"text":"initMinimalTheme::init::refreshMenu (cognitive 19): initMinimalTheme::init::refreshMenu has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 7 (11 pts), if/else 4 (5 pts), boolean chains 3 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Minimal.js"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f479b327e456c506c69130bf0c85280e67cb6cb2d0227913ef75d1925a302d2"}},{"ruleId":"D2","level":"warning","message":{"text":"getGroupOrder (cognitive 19): getGroupOrder has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (10 pts), boolean chains 6, loops 1 (2 pts), ternaries 1 (nesting depth added 7). Of this number, 18 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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/webapp/js/diagramly/Omnibox.js"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1c52b9b4a51907fff39720baf4e3674d573456bdadc7f120a418c292e3686cf"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::decompressCellStyle (cognitive 19): (anonymous)::decompressCellStyle has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (10 pts), ternaries 1 (4 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/io/mxModelCodec.js"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b0aa4c3b037d4fa024df98b7788b911d3a102b50fa66a0a65c8ecee811c6c30"}},{"ruleId":"D2","level":"warning","message":{"text":"reset (cognitive 19): reset has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 11, if/else 3 (6 pts), ternaries 1 (2 pts) (nesting depth added 4). Of this number, 14 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/handler/mxTooltipHandler.js"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dd1f5b0da9ed934c13c85c9ed09c25873a623fd3c9fd16af52eb99bd66476e3"}},{"ruleId":"D2","level":"warning","message":{"text":"init (cognitive 19): init has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 5, error handling 1 (2 pts) (nesting depth added 5). Of this number, 14 points are the body\u0027s own statements and 5 belong to 6 function items inside it that branch. 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/webapp/mxgraph/src/util/mxLog.js"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"075b2f2f283dbfae5c9621876e6035cc7f879088d639601110d5c3f2a3c4f622"}},{"ruleId":"D2","level":"warning","message":{"text":"getEdgeId (cognitive 19): getEdgeId has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 1 (4 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 11). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/layout/mxParallelEdgeLayout.js"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"46f6659ef3ccbe35e2f9fd497a03225f25d18112faec5e8552d51a1a0ad09eca"}},{"ruleId":"D2","level":"warning","message":{"text":"drawImageResize.processDrawioFile (cognitive 18): drawImageResize.processDrawioFile has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (7 pts), boolean chains 5, error handling 3 (5 pts), loops 1 (nesting depth added 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":"etc/imageResize/drawImageResize.js"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"400e7b69d1595958b507c06dd534ee9dd692a199fd3b708c3c963611319ffda6"}},{"ruleId":"D2","level":"warning","message":{"text":"App.App.main::configHandler (cognitive 18): App.App.main::configHandler has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (15 pts), error handling 1 (2 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":1732}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d8dc7cfd8957f203665ada9bc36cd5f888be2aab2b5b47ff79844a932f5c8e3"}},{"ruleId":"D2","level":"warning","message":{"text":"Dialogs.BackgroundImageDialog::urlChanged (cognitive 18): Dialogs.BackgroundImageDialog::urlChanged has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (11 pts), ternaries 1 (4 pts), boolean chains 3 (nesting depth added 8). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":998}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bf417305e5236a9da800fb3fe544d3891cf369772e2d834ca1155a11eef011b"}},{"ruleId":"D2","level":"warning","message":{"text":"DrawioClient.DrawioClient.createAuthCallback (cognitive 18): DrawioClient.DrawioClient.createAuthCallback has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (11 pts), error handling 1 (4 pts), boolean chains 3 (nesting depth added 7). None of this is in the body itself: all 18 points belong to 2 function literals inside it that branch (lines 182, 196). 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/webapp/js/diagramly/DrawioClient.js"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"f48e5bc8d8677e34c1382d4dd89db376c157146c56613fce945f5d29d8155f46"}},{"ruleId":"D2","level":"warning","message":{"text":"DrawioFile.DrawioFile.handleFileSuccess (cognitive 18): DrawioFile.DrawioFile.handleFileSuccess has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (16 pts), ternaries 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DrawioFile.js"},"region":{"startLine":3618}}}],"partialFingerprints":{"codehealthFindingId/v1":"04b3dfa9137b795a1fd661d052fee54dd57d9dfc459dbbc57fa7a274babc1561"}},{"ruleId":"D2","level":"warning","message":{"text":"DrawioFileSync.DrawioFileSync.restoresUnconfirmedRemoves (cognitive 18): DrawioFileSync.DrawioFileSync.restoresUnconfirmedRemoves has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 6, if/else 3 (6 pts), loops 3 (4 pts), ternaries 1 (2 pts) (nesting depth added 5). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DrawioFileSync.js"},"region":{"startLine":1879}}}],"partialFingerprints":{"codehealthFindingId/v1":"b990fa42b2a75e7c1e8b146ac57716da459135bcc1b671a5c9421e3d5f58f5c7"}},{"ruleId":"D2","level":"warning","message":{"text":"DriveFile.DriveFile.getComments (cognitive 18): DriveFile.DriveFile.getComments has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (6 pts), ternaries 4 (6 pts), boolean chains 4, loops 2 (nesting depth added 3). None of this is in the body itself: all 18 points belong to 3 function items inside it that branch (driveCommentToDrawio, a function literal at line 977, a function literal at line 969). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DriveFile.js"},"region":{"startLine":938}}}],"partialFingerprints":{"codehealthFindingId/v1":"235013994d38eeb9742b702bf3c5b65e1a75217608324726ecdc7a66bd1edbfc"}},{"ruleId":"D2","level":"warning","message":{"text":"Editor.Graph.updateCustomLinkAction (cognitive 18): Editor.Graph.updateCustomLinkAction has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":13737}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfcef0a43311148420fdd1409aa562d56a87359074f9eda7f86de5b75317b047"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.getSvgSubtree (cognitive 18): EditorUi.EditorUi.getSvgSubtree has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 4 (8 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":1077}}}],"partialFingerprints":{"codehealthFindingId/v1":"df21749731c9a1ea3738ef7461aacc52b8b933055f1e65b2ee30925dd19b012d"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.repairFileData (cognitive 18): EditorUi.EditorUi.repairFileData has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 2 (4 pts), boolean chains 2, ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":2678}}}],"partialFingerprints":{"codehealthFindingId/v1":"60b6f6bf4ff5dab8d4ed8b1f2689da043b6f77ceb59da4aeec53c4668dfdb3fe"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.refreshMermaidImage (cognitive 18): EditorUi.EditorUi.refreshMermaidImage has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (7 pts), ternaries 3 (6 pts), boolean chains 3, error handling 1 (2 pts) (nesting depth added 6). Of this number, 15 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":16813}}}],"partialFingerprints":{"codehealthFindingId/v1":"907eacd04cc4d3b77fec3c23f3fe9d9121515335022d3e51136993cf53aea787"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.repairHasParentCycle::capturePage (cognitive 18): EditorUi.repairHasParentCycle::capturePage has cognitive complexity 18 (threshold 15). Drivers by points: if/else 3 (7 pts), boolean chains 4, loops 2 (4 pts), ternaries 1 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (EditorUi.repairHasParentCycle) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":21834}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc84d7b2a5a23ea71f765255a6c998b36e50af8430a5d9386fd627cbdf61a04a"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.addEmbedButtons (cognitive 18): EditorUi.EditorUi.addEmbedButtons has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (9 pts), ternaries 3 (7 pts), boolean chains 2 (nesting depth added 6). None of this is in the body itself: all 18 points belong to one function literal inside it that branches (line 34191). The decisions are inside the literal, 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 literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":34189}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7b9aa51d10a5e6a2d4f4b90a0a37e6ad3fd064fcd99c9e9ed5b45179c2e7cda"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.getUrl (cognitive 18): EditorUi.EditorUi.getUrl has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 1 (2 pts), ternaries 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":41666}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4f409aa7930a1607fdb366fa36e0cde9801801f20de8e6b47d359c2e9740d67"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.getJsonForExportCell (cognitive 18): EditorUi.EditorUi.getJsonForExportCell has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (15 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":42172}}}],"partialFingerprints":{"codehealthFindingId/v1":"7914c448157d372e1f734d20d21163d2d42bcf589bb2efe9a82774fd86383d37"}},{"ruleId":"D2","level":"warning","message":{"text":"ElkLayout.ElkLayoutBindings.run (cognitive 18): ElkLayout.ElkLayoutBindings.run has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 6 (nesting depth added 3). Of this number, 15 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. 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/webapp/js/diagramly/ElkLayout.js"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"85f1c0a96e86d33cb835cec53890b5a684333216db7208eaaef1b4e698336ff1"}},{"ruleId":"D2","level":"warning","message":{"text":"ForceExplorer.ForceExplorer.moveHighlight (cognitive 18): ForceExplorer.ForceExplorer.moveHighlight has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 5 (7 pts), if/else 3 (6 pts), boolean chains 4, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ForceExplorer.js"},"region":{"startLine":1292}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa717ea40b20731342b888f1b7ea5c3ac2dbb4f812e93163ddd1026078e3a5bb"}},{"ruleId":"D2","level":"warning","message":{"text":"FusionTheme.EditorUi.doSetCurrentTheme (cognitive 18): FusionTheme.EditorUi.doSetCurrentTheme has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 3 (nesting depth added 6). Of this number, 9 points are the body\u0027s own statements and 9 belong to one function literal inside it that branches. 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/webapp/js/diagramly/FusionTheme.js"},"region":{"startLine":753}}}],"partialFingerprints":{"codehealthFindingId/v1":"02941ccb4d8a99a8e81384272ad46fd6579cf54261457099b248cbb46414ec98"}},{"ruleId":"D2","level":"warning","message":{"text":"Pages.ChangePage.execute (cognitive 18): Pages.ChangePage.execute has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 3 (nesting depth added 8). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Pages.js"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9e4cfe3e9a0af909b58294e1556cbd88d71384568589d283e659ff1d8a0c481"}},{"ruleId":"D2","level":"warning","message":{"text":"Pages.EditorUi.prepareOtherPages (cognitive 18): Pages.EditorUi.prepareOtherPages has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 4, error handling 1 (3 pts), loops 2 (nesting depth added 6). Of this number, 13 points are the body\u0027s own statements and 5 belong to one function item inside it that branches. 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/webapp/js/diagramly/Pages.js"},"region":{"startLine":1307}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaca216bfa84035ab9139afe8d241d5684cc2f37dc1e8b028c8be85625b1f267"}},{"ruleId":"D2","level":"warning","message":{"text":"SimpleClassic.EditorUi.createMainMenuForTheme (cognitive 18): SimpleClassic.EditorUi.createMainMenuForTheme has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 3 (9 pts), if/else 5 (8 pts), boolean chains 1 (nesting depth added 9). Of this number, 15 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. 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/webapp/js/diagramly/SimpleClassic.js"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"56978997642493b900599554d52723dcb05cf746ec9e40fde42459dc315deff0"}},{"ruleId":"D2","level":"warning","message":{"text":"GifEncoder.GifEncoder.colorRange (cognitive 18): GifEncoder.GifEncoder.colorRange has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 2, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/gif/GifEncoder.js"},"region":{"startLine":792}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7c8e25f925e134e3698b3cb176ac9f491c8fec319bb29242d5bf34083f2ec21"}},{"ruleId":"D2","level":"warning","message":{"text":"GifEncoder.GifEncoder.lzwEncode (cognitive 18): GifEncoder.GifEncoder.lzwEncode has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 2, boolean chains 1 (nesting depth added 7). Of this number, 17 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. 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/webapp/js/diagramly/gif/GifEncoder.js"},"region":{"startLine":862}}}],"partialFingerprints":{"codehealthFindingId/v1":"23529b0ba7467e39a43a5096d5c492327da429196c8382e62112f1ea94221648"}},{"ruleId":"D2","level":"warning","message":{"text":"TidyWindow.TidyWindow.prefetch (cognitive 18): TidyWindow.TidyWindow.prefetch has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 5, error handling 1, loops 1 (nesting depth added 2). Most of this is not in the body itself: 8 of the 18 points are its own statements and the rest belongs to one function item inside it that branches (next). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/tidy/TidyWindow.js"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"afe6f33e38d318ab1fb7e525fd1e68a32d29a08054b493fdc53dade9cdadb953"}},{"ruleId":"D2","level":"warning","message":{"text":"Editor.Editor.stripImageMetadata (cognitive 18): Editor.Editor.stripImageMetadata has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (6 pts), loops 2 (5 pts), boolean chains 3, error handling 1 (2 pts), ternaries 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Editor.js"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"11cbe2f4abdaff5747baaef1fb49cb342a853a63a7763ff69ca6f92dea10dfc8"}},{"ruleId":"D2","level":"warning","message":{"text":"Editor.installMxWindowEdgeResizeHandles (cognitive 18): Editor.installMxWindowEdgeResizeHandles has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 4 (nesting depth added 2). Most of this is not in the body itself: 1 of the 18 points is its own statement and the rest belongs to 3 function items inside it that branch (addHandle::move, addHandle::down, addHandle::up). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Editor.js"},"region":{"startLine":2600}}}],"partialFingerprints":{"codehealthFindingId/v1":"33ed8c6d61d4e172c9b71550c0fdb9d94e1a29c971c83d3cd375e6d04d43c67d"}},{"ruleId":"D2","level":"warning","message":{"text":"Editor.PageSetupDialog::applyFn (cognitive 18): Editor.PageSetupDialog::applyFn has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 5, ternaries 4 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: one other method here (Editor.PageSetupDialog) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Editor.js"},"region":{"startLine":3959}}}],"partialFingerprints":{"codehealthFindingId/v1":"94563e22e38a9ca8f0370d7c8211ac55c7b71823aa4b44126b39152e4a3888ff"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.getInnerTabStop (cognitive 18): EditorUi.EditorUi.getInnerTabStop has cognitive complexity 18 (threshold 15). Drivers by points: if/else 3 (9 pts), loops 2 (4 pts), boolean chains 3, ternaries 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":4606}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9f8fab69d8223da4c50ba562768ff18f6b4c008192e040b7b7b398fb057f16b"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.executeLayouts (cognitive 18): EditorUi.EditorUi.executeLayouts has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (15 pts), ternaries 1 (2 pts), loops 1 (nesting depth added 8). Most of this is not in the body itself: 5 of the 18 points are its own statements and the rest belongs to 3 function items inside it that branch (next, a function literal at line 10507, a function literal at line 10535). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":10492}}}],"partialFingerprints":{"codehealthFindingId/v1":"3297435679fa2053709a63d19130d58563e8ac8ad759f61dcbf49ad6ddd682e0"}},{"ruleId":"D2","level":"warning","message":{"text":"Format.BaseFormatPanel.addStyleRuleHint (cognitive 18): Format.BaseFormatPanel.addStyleRuleHint has cognitive complexity 18 (threshold 15). Drivers by points: if/else 3 (6 pts), boolean chains 5, loops 2 (4 pts), ternaries 2 (3 pts) (nesting depth added 6). Of this number, 14 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. 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/webapp/js/grapheditor/Format.js"},"region":{"startLine":956}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ab8be9c9b37ea05dc77be2c9b65194e7aa9412ef68e063408b2e023ccd56df9"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.removeLightDarkColors (cognitive 18): Graph.Graph.removeLightDarkColors has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (12 pts), loops 2 (4 pts), error handling 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":3006}}}],"partialFingerprints":{"codehealthFindingId/v1":"26951ede8b9ceda7244402ae8f5ed8ac8f278c71d8e768ed1d27177744032f19"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.getGivenColor (cognitive 18): Graph.Graph.getGivenColor has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 3, error handling 1 (2 pts) (nesting depth added 8). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":3150}}}],"partialFingerprints":{"codehealthFindingId/v1":"4443172fd4c379b190ae6b0dd0b47898b1eac14f43f43407c6cfaf9cdcca22c6"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.updateFileBaseLinks (cognitive 18): Graph.Graph.updateFileBaseLinks has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 3 (9 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":12712}}}],"partialFingerprints":{"codehealthFindingId/v1":"7015c6bab9f24cd53571b14140f422412a45b161ec5b4db2e52b668b12b642a7"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.getStyleRuleBase (cognitive 18): Graph.Graph.getStyleRuleBase has cognitive complexity 18 (threshold 15). Drivers by points: if/else 3 (7 pts), error handling 1 (5 pts), boolean chains 3, loops 1 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":18376}}}],"partialFingerprints":{"codehealthFindingId/v1":"49e58032b10a75496252a42abfddb2e6b6b6a25114e25f7ba5ab5e5a7e6f3170"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.getCollapsedTableRegions (cognitive 18): Graph.Graph.getCollapsedTableRegions has cognitive complexity 18 (threshold 15). Drivers by points: loops 4 (8 pts), if/else 5 (7 pts), boolean chains 3 (nesting depth added 6). Most of this is not in the body itself: 8 of the 18 points are its own statements and the rest belongs to 2 function items inside it that branch (a function literal at line 26157, addRegion). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":26091}}}],"partialFingerprints":{"codehealthFindingId/v1":"20581cd7b83c52aa14716ad1fd4ab70884993ccfdc8bbe9346fc1bb502d0a533"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.setTableRowHeight (cognitive 18): Graph.Graph.setTableRowHeight has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (18 pts) (nesting depth added 11). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":26567}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeffc13081a2afc4994025e387d693b16e7ef67343d0113d9f3fdc34d5042605"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.TableLayout.layoutRow (cognitive 18): Graph.TableLayout.layoutRow has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (16 pts), boolean chains 1, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":27115}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfff67b552d473b2fe1a39ed0b875e22572dc2555cf05869e8f63972716c5d48"}},{"ruleId":"D2","level":"warning","message":{"text":"InlineToolbar.InlineToolbar.addHandleBounds (cognitive 18): InlineToolbar.InlineToolbar.addHandleBounds has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 6, loops 2 (3 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/InlineToolbar.js"},"region":{"startLine":978}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8b72fe65e53754079d220197e2424f3a3c04222539460c14f0b50733bfdd380"}},{"ruleId":"D2","level":"warning","message":{"text":"InlineToolbar.InlineToolbar.showFillMenu (cognitive 18): InlineToolbar.InlineToolbar.showFillMenu has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 8, ternaries 4, if/else 2 (3 pts), loops 3 (nesting depth added 1). Most of this is not in the body itself: 7 of the 18 points are its own statements and the rest belongs to 3 function items inside it that branch (update, a function literal at line 2805, a function literal at line 2779). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/InlineToolbar.js"},"region":{"startLine":2704}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3cbea19c3e6eab24c0cc047a4c43bb6682fe4919650abb7e0f1a49c0a7d83c2"}},{"ruleId":"D2","level":"warning","message":{"text":"Menus.Menus.applyEdgeStyleChange (cognitive 18): Menus.Menus.applyEdgeStyleChange has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 3 (7 pts) (nesting depth added 10). None of this is in the body itself: all 18 points belong to one function literal inside it that branches (line 1150). The decisions are inside the literal, 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 literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Menus.js"},"region":{"startLine":1144}}}],"partialFingerprints":{"codehealthFindingId/v1":"c10824a0027ae4bf49831afacbdea0bc6cd20a67ae9d9e13b8235bb9e724a345"}},{"ruleId":"D2","level":"warning","message":{"text":"Shapes.TaperedArrowShape.paintEdgeShape (cognitive 18): Shapes.TaperedArrowShape.paintEdgeShape has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (7 pts), ternaries 3 (7 pts), loops 2 (4 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":7988}}}],"partialFingerprints":{"codehealthFindingId/v1":"09f8f594a381c5b09d95cfefc57624ed508517d59fbb78318d892f86203a0119"}},{"ruleId":"D2","level":"warning","message":{"text":"Sidebar.Sidebar.isThumbRasterReadable (cognitive 18): Sidebar.Sidebar.isThumbRasterReadable has cognitive complexity 18 (threshold 15). Drivers by points: loops 3 (10 pts), boolean chains 3, if/else 2 (3 pts), error handling 1 (2 pts) (nesting depth added 9). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":4993}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f5bd0c5c1bf90a9f9a75c0821d1555dc9fc6a79dd9a451eae427e1ddeeba446"}},{"ruleId":"D2","level":"warning","message":{"text":"Sidebar.Sidebar.focusItemInDirection (cognitive 18): Sidebar.Sidebar.focusItemInDirection has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (7 pts), ternaries 5 (7 pts), boolean chains 3, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":7883}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbaf0c42a5a911d35ae42b2335189e66c045c38d9830fd4eedcc5bea9f0bae7a"}},{"ruleId":"D2","level":"warning","message":{"text":"Sidebar.Sidebar.destroy (cognitive 18): Sidebar.Sidebar.destroy has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (9 pts), ternaries 4 (8 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":8105}}}],"partialFingerprints":{"codehealthFindingId/v1":"af4d290e7343be4499b4a30b77a0068442153c88fdf2ee23e15c4394fa2a440a"}},{"ruleId":"D2","level":"warning","message":{"text":"mxEdgeSegmentHandler.mxEdgeSegmentHandler.createBends (cognitive 18): mxEdgeSegmentHandler.mxEdgeSegmentHandler.createBends has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (10 pts), ternaries 1 (4 pts), loops 1 (3 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/handler/mxEdgeSegmentHandler.js"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"7480ec1577cd189e21ae49ab7ae0d224e31f3c53c3b87f339ecb32fbcc6d6f7f"}},{"ruleId":"D2","level":"warning","message":{"text":"mxGraphModel.mxGraphModel.getNearestCommonAncestor (cognitive 18): mxGraphModel.mxGraphModel.getNearestCommonAncestor has cognitive complexity 18 (threshold 15). Drivers by points: loops 3 (6 pts), if/else 3 (5 pts), ternaries 2 (4 pts), boolean chains 3 (nesting depth added 7). Of this number, 16 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. 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/webapp/mxgraph/src/model/mxGraphModel.js"},"region":{"startLine":933}}}],"partialFingerprints":{"codehealthFindingId/v1":"2beee0c2faa4efa37da96b3261fbfef3405d47ac8e59ae6e66cc5b870d96a9ef"}},{"ruleId":"D2","level":"warning","message":{"text":"mxGraph.mxGraph.getBoundingBox (cognitive 18): mxGraph.mxGraph.getBoundingBox has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (14 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":4526}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eef6f290492efc940f64ae15da413533a3f40f8f350e79fc525f8ef586d1dcd"}},{"ruleId":"D2","level":"warning","message":{"text":"mxGraphView.mxGraphView.getBounds (cognitive 18): mxGraphView.mxGraphView.getBounds has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (14 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxGraphView.js"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"a899a553914cfd192f8e31da38251796d5edaf1ee30a944707f96b82ec2be67a"}},{"ruleId":"D2","level":"warning","message":{"text":"trello.Draw.loadPlugin() (cognitive 18): trello.Draw.loadPlugin() has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 5, ternaries 3 (nesting depth added 2). Most of this is not in the body itself: 5 of the 18 points are its own statements and the rest belongs to 4 function items inside it that branch (main, main::doCreateFile, waitForTrello, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/plugins/trello.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"56f59bb79a61f1bf1a4b9dacaf00bbdb260c5146bd8efd4fb61bed87ad52f8e2"}},{"ruleId":"D2","level":"warning","message":{"text":"check-translations.main (cognitive 18): check-translations.main has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (15 pts), ternaries 1 (2 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etc/i18n/check-translations.py"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e3de81e508d7ec8236f6fc0e591f3bbe701205dd0e11bb3f1da637f0eeb2b6a"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::addFromCell (cognitive 18): (anonymous)::addFromCell has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 4 (8 pts), boolean chains 6, if/else 4 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":3552}}}],"partialFingerprints":{"codehealthFindingId/v1":"30bc4d054cc8915f191168e3243ef994596fe6ecdb2935416f2d1db0034ab4c1"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::getChildValues (cognitive 18): (anonymous)::getChildValues has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (13 pts), boolean chains 4, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":9584}}}],"partialFingerprints":{"codehealthFindingId/v1":"608a0f2a93b07c6548aa9b21f94410e1c46d3099a3e50b3e1ed0b5657e9ddccc"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::getFillColor (cognitive 18): (anonymous)::getFillColor has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 4, ternaries 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":9850}}}],"partialFingerprints":{"codehealthFindingId/v1":"d91569d79a924e9e6b4c7ec0404f207451a7d0aedee9b9f81ef28ab4f216e2e6"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::decodeFast$char_A (cognitive 18): (anonymous)::decodeFast$char_A has cognitive complexity 18 (threshold 15). Drivers by points: loops 5 (7 pts), if/else 3 (4 pts), ternaries 4, boolean chains 3 (nesting depth added 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":15040}}}],"partialFingerprints":{"codehealthFindingId/v1":"be1a15a6ffcba1b3e3f49af6fa93bf6ca49459476c13ef8ce9a1dde184ffd5ee"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::decodeFast$byte_A (cognitive 18): (anonymous)::decodeFast$byte_A has cognitive complexity 18 (threshold 15). Drivers by points: loops 5 (7 pts), if/else 3 (4 pts), ternaries 4, boolean chains 3 (nesting depth added 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":15177}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1d385372feb1a86c0e1c42886db58833ff6486f07f8f1a15a0c8d803e5f8f1b"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::decodeFast$java_lang_String (cognitive 18): (anonymous)::decodeFast$java_lang_String has cognitive complexity 18 (threshold 15). Drivers by points: loops 5 (7 pts), if/else 3 (4 pts), ternaries 4, boolean chains 3 (nesting depth added 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":15264}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bb4fbb5385ee9fbaf06fbc4457feafad5f8b604410f10d94e0e0b6c546a7739"}},{"ruleId":"D2","level":"warning","message":{"text":"create.layerListField::updateChip (cognitive 18): create.layerListField::updateChip has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (8 pts), ternaries 3 (7 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":7453}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b919a7f3322ea376007350129a3e35129f68715c59c521bf128ef8edf0caa5c"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatWindow::threadHistory (cognitive 18): ChatWindow::threadHistory has cognitive complexity 18 (threshold 15). Drivers by points: loops 2 (6 pts), boolean chains 4, if/else 3 (4 pts), ternaries 1 (4 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":13241}}}],"partialFingerprints":{"codehealthFindingId/v1":"513632e97525489ca5ee98eaa94803ae4cf7c7c048941bce3aae5c77b0cc1ccb"}},{"ruleId":"D2","level":"warning","message":{"text":"insertLabel (cognitive 18): insertLabel has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 5, error handling 1 (2 pts), ternaries 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Extensions.js"},"region":{"startLine":6351}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a0af884137375f860ca9af1055df398d4db343d0b483006e7ca53de8a9ef694"}},{"ruleId":"D2","level":"warning","message":{"text":"paint (cognitive 18): paint has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 7 (nesting depth added 5). Of this number, 13 points are the body\u0027s own statements and 5 belong to 5 function items inside it that branch. 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/webapp/js/diagramly/Editor.js"},"region":{"startLine":2781}}}],"partialFingerprints":{"codehealthFindingId/v1":"57302594ffac88c12c60bfc21e2c5ea85bb893f3140c3dccb12fd254b422b12c"}},{"ruleId":"D2","level":"warning","message":{"text":"cellResized (cognitive 18): cellResized has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 5 (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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":6300}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5c87e7cba421690e1be72971cd10c664c95fc164706e865beeb105a85b68408"}},{"ruleId":"D2","level":"warning","message":{"text":"getLabelMargins (cognitive 18): getLabelMargins has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 7, if/else 3 (6 pts), loops 2 (5 pts) (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/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"7072be46f43b49b3fae0bd11dc0259fa91c5208eee996699e4473da8040c23f6"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi::setDefaultStyle (cognitive 18): EditorUi::setDefaultStyle has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 5, error handling 1, loops 1, ternaries 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"89f50c21b92ec37155833c862c2b524150623a98925426e70910a17fa69c2fb1"}},{"ruleId":"D2","level":"warning","message":{"text":"installTypingShim (cognitive 18): installTypingShim has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 7 (nesting depth added 1). Most of this is not in the body itself: 3 of the 18 points are its own statements and the rest belongs to 12 function literals inside it that branch (lines 4941, 5028, 4903, \u2026). 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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":4871}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec2db9d42cfc14abaef10a7d3c83dea3eeeef6fcacf27283a8d550ab6e6beedd"}},{"ruleId":"D2","level":"warning","message":{"text":"createArrayCellColorOption (cognitive 18): createArrayCellColorOption has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 6 (12 pts), if/else 2 (4 pts), boolean chains 1, loops 1 (nesting depth added 8). Most of this is not in the body itself: 4 of the 18 points are its own statements and the rest belongs to 6 function items inside it that branch ((anonymous)::install::listener, a function literal at line 1819, a function literal at line 1824, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Format.js"},"region":{"startLine":1805}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a635544f1c8ffdcf26f92dd36510757fc0f86dbad1e53a8763b26dad4785d8b"}},{"ruleId":"D2","level":"warning","message":{"text":"addGroupOps (cognitive 18): addGroupOps has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 4, ternaries 1 (3 pts), loops 1 (nesting depth added 5). Of this number, 16 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. 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/webapp/js/grapheditor/Format.js"},"region":{"startLine":2793}}}],"partialFingerprints":{"codehealthFindingId/v1":"13a4698a5906bc0f478b1a66ff8775801a73638b39ea296fea4cdbdd62bf746e"}},{"ruleId":"D2","level":"warning","message":{"text":"updateStyleToLibs (cognitive 18): updateStyleToLibs has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 2 (5 pts), error handling 1 (3 pts), boolean chains 1 (nesting depth added 9). Of this number, 13 points are the body\u0027s own statements and 5 belong to one function item inside it that branches. 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/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":2141}}}],"partialFingerprints":{"codehealthFindingId/v1":"a56146e9636dd0d43c29385df3e66331e8c715dfa4b89bacfd2fc2ad13755b27"}},{"ruleId":"D2","level":"warning","message":{"text":"addPageFormatPanel.update (cognitive 18): addPageFormatPanel.update has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (7 pts), ternaries 5 (7 pts), boolean chains 4 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Editor.js"},"region":{"startLine":4272}}}],"partialFingerprints":{"codehealthFindingId/v1":"e94357a8b825de1e2addbfff38709b09f7082d52d1520bdc81f1168ac952dc5f"}},{"ruleId":"D2","level":"warning","message":{"text":"equalEntries (cognitive 18): equalEntries has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 9, if/else 3 (5 pts), loops 2 (4 pts) (nesting depth added 4). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxUtils.js"},"region":{"startLine":2790}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b822b22792956a85c738e093ff80eb3b365b4c7a79d94d3ff198ce4d123864c"}},{"ruleId":"D2","level":"warning","message":{"text":"getShapeEntries (cognitive 18): getShapeEntries has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 6, if/else 2 (4 pts), loops 2 (4 pts), ternaries 1 (4 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/InlineToolbar.js"},"region":{"startLine":4559}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3413fbc3280ef8846e1ffa9f9565771278e145b5c1ccd02d8e1ebab2d91d5db"}},{"ruleId":"D2","level":"warning","message":{"text":"renderModel (cognitive 18): renderModel has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (10 pts), boolean chains 3, ternaries 1 (3 pts), loops 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ForceExplorer.js"},"region":{"startLine":4346}}}],"partialFingerprints":{"codehealthFindingId/v1":"1967625e0b735c69643e5df66baba83ea45342f859ee5055bacaad3dde656eba"}},{"ruleId":"D2","level":"warning","message":{"text":"getPageGroupRun (cognitive 18): getPageGroupRun has cognitive complexity 18 (threshold 15). Drivers by points: loops 3 (9 pts), if/else 3 (5 pts), boolean chains 4 (nesting depth added 8). Of this number, 16 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Pages.js"},"region":{"startLine":2815}}}],"partialFingerprints":{"codehealthFindingId/v1":"e11e04321487570c130c6a4b16789c67e7b79c3e15000970dd42ddf07065cebe"}},{"ruleId":"D2","level":"warning","message":{"text":"fileChanged (cognitive 18): fileChanged has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 4, ternaries 1 (nesting depth added 4). Of this number, 15 points are the body\u0027s own statements and 3 belong to 3 function literals inside it that branch. 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/webapp/js/diagramly/DrawioFile.js"},"region":{"startLine":4007}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f2b3929cabc7490b1839cb5077fd66f5cf3c70bee5e6a33ea95c1dea67ffce4"}},{"ruleId":"D2","level":"warning","message":{"text":"install (cognitive 18): install has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 6, ternaries 4 (nesting depth added 1). Of this number, 14 points are the body\u0027s own statements and 4 belong to 5 function literals inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ConfigEditor.js"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"0450488f4119e8fd08580343b03df679bcfad5f50877823964c8c97631386cbf"}},{"ruleId":"D2","level":"warning","message":{"text":"createMarker (cognitive 18): createMarker has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 9, if/else 5 (6 pts), ternaries 3 (nesting depth added 1). None of this is in the body itself: all 18 points belong to 2 function items inside it that branch (getCell, isValidState). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/handler/mxEdgeHandler.js"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dcac74e08596ef706f15a997b2ba0d6cebfd525c6486b127b9bfd55e3ab85ef"}},{"ruleId":"D2","level":"warning","message":{"text":"redrawInnerBends (cognitive 18): redrawInnerBends has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (11 pts), ternaries 1 (4 pts), boolean chains 2, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/handler/mxEdgeHandler.js"},"region":{"startLine":2858}}}],"partialFingerprints":{"codehealthFindingId/v1":"af1d59859c8a32fa85d86af0faddf3bddf9f1adcbcd4fb85d558d7ffefb0183e"}},{"ruleId":"D2","level":"warning","message":{"text":"getExportFormats (cognitive 18): getExportFormats has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 10, if/else 4 (5 pts), ternaries 1 (2 pts), loops 1 (nesting depth added 2). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ViewerModern.js"},"region":{"startLine":1429}}}],"partialFingerprints":{"codehealthFindingId/v1":"54af6afb1e539bcd89d4638ef8c15071e90ed2a6bb86e9df744d2b37759142fe"}},{"ruleId":"D2","level":"warning","message":{"text":"render::getGlobalVariable (cognitive 18): render::getGlobalVariable has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 3 (8 pts), boolean chains 5, if/else 4 (5 pts) (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/webapp/js/export.js"},"region":{"startLine":2271}}}],"partialFingerprints":{"codehealthFindingId/v1":"7625f4eb0f692ce16ed97d8d5e4edde843c5e5694a5d41678c428ce420ea241e"}},{"ruleId":"D2","level":"warning","message":{"text":"mouseDown (cognitive 18): mouseDown has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 7 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/handler/mxConnectionHandler.js"},"region":{"startLine":949}}}],"partialFingerprints":{"codehealthFindingId/v1":"170ab7a51b24b4123601a65cfc36ddb7551f3750754729d6a641705dd5d6b71d"}},{"ruleId":"D2","level":"warning","message":{"text":"createSizers (cognitive 18): createSizers has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 8 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/handler/mxVertexHandler.js"},"region":{"startLine":2303}}}],"partialFingerprints":{"codehealthFindingId/v1":"1559a390ea420138d4c1bc8d993cd8428abcc4d10541a2f060c0b9675cd06fe2"}},{"ruleId":"D2","level":"warning","message":{"text":"addTrees::addChild (cognitive 18): addTrees::addChild has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (9 pts), ternaries 4 (8 pts), loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Trees.js"},"region":{"startLine":1369}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fec80933e516c4253d411716025219abda2c06e18d6f4d848f2b3d871eb3150"}},{"ruleId":"D2","level":"warning","message":{"text":"addTrees::styleDroppedConnection (cognitive 18): addTrees::styleDroppedConnection has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 6, loops 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Trees.js"},"region":{"startLine":1715}}}],"partialFingerprints":{"codehealthFindingId/v1":"a88545bb652c6bd539eb44e2488664f022d617d23d5b44b6e4c320cea43cd2ea"}},{"ruleId":"D2","level":"warning","message":{"text":"getLabelBounds (cognitive 18): getLabelBounds has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 3, ternaries 2 (3 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxCellRenderer.js"},"region":{"startLine":1320}}}],"partialFingerprints":{"codehealthFindingId/v1":"88f977b40a803b22031539d7ffc85d2b5a32156116bd87e9b38d9824d737550d"}},{"ruleId":"D2","level":"warning","message":{"text":"configureCanvas (cognitive 18): configureCanvas has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 3, ternaries 1 (2 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/shape/mxShape.js"},"region":{"startLine":1274}}}],"partialFingerprints":{"codehealthFindingId/v1":"221ef612214da4bcfdeb458ac8a7df9b962b48ccb8f734d93d2037b58398007a"}},{"ruleId":"D2","level":"warning","message":{"text":"redrawHtmlShapeWithCss3 (cognitive 18): redrawHtmlShapeWithCss3 has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (9 pts), ternaries 6, boolean chains 3 (nesting depth added 1). Most of this is not in the body itself: 3 of the 18 points are its own statements and the rest belongs to one function literal inside it that branches (line 901). The decisions are inside the literal, 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 literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/shape/mxText.js"},"region":{"startLine":888}}}],"partialFingerprints":{"codehealthFindingId/v1":"52cb4c5a4bb567b8b8921ccb25b37fe2ff3d9e10945119a6dddad0a202bee05f"}},{"ruleId":"D2","level":"warning","message":{"text":"documentKeyDown (cognitive 18): documentKeyDown has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 10, if/else 6 (8 pts) (nesting depth added 2). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxPopupMenu.js"},"region":{"startLine":960}}}],"partialFingerprints":{"codehealthFindingId/v1":"829a0dd44efe7927f0e65d929a3f5fe2fc87b34961f906aae300e1df86d6409b"}},{"ruleId":"D2","level":"warning","message":{"text":"init::click (cognitive 18): init::click has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (16 pts), boolean chains 2 (nesting depth added 9). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/connect/common/js/mxReader.js"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"543fdd8cafdd0c78f0dfd95c486cdc879983c4b561408059d66491a610ada162"}},{"ruleId":"D2","level":"warning","message":{"text":"mxRuler::move (cognitive 18): mxRuler::move has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (9 pts), error handling 2 (5 pts), boolean chains 4 (nesting depth added 6). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/mxRuler.js"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1e163be898aa34f851bfbfecf0683094826273ab8f39bbef3cb746b9da6068c"}},{"ruleId":"D2","level":"warning","message":{"text":"getFormatControl (cognitive 18): getFormatControl has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (8 pts), boolean chains 6, ternaries 2 (3 pts), loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Omnibox.js"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aa501dd6a5eeccc48b513dcde29206dce03975d0db07350fa3ab2e72d50f855"}},{"ruleId":"D2","level":"warning","message":{"text":"writeFile (cognitive 18): writeFile has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (15 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 8). Most of this is not in the body itself: 5 of the 18 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 363, 344, 348). 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/webapp/js/diagramly/TrelloClient.js"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"65612b7c84fb0c51d8a86735df0314a69ac8866a3bf98f5cbcd71f7849f60db4"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 18): (anonymous) has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 8, if/else 6 (8 pts), error handling 1 (2 pts) (nesting depth added 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/webapp/js/diagramly/Init.js"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"687fc32157e15be2639bcd7d723a17acbd57a8703f4e9d1fe21a6cb906988a96"}},{"ruleId":"D2","level":"warning","message":{"text":"listLocalStorageFiles (cognitive 18): listLocalStorageFiles has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 8, if/else 2 (5 pts), ternaries 1 (4 pts), loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/StorageFile.js"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c71c24709f722484b576d2e97d363933305389e5e0f359ac8a07c8fd029a2b2"}},{"ruleId":"D2","level":"warning","message":{"text":"getPersistentToken (cognitive 18): getPersistentToken has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 3, ternaries 1 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DrawioClient.js"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"54dda4f3309b984051ee5d54b42e620a0fb1e710215dd07a3862bb0d5453839c"}},{"ruleId":"D2","level":"warning","message":{"text":"mxReader.DrawioViewer.init (cognitive 17): mxReader.DrawioViewer.init has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 3, loops 1 (3 pts) (nesting depth added 6). Most of this is not in the body itself: 7 of the 17 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 363, 234, 254, \u2026). 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/webapp/connect/common/js/mxReader.js"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"494b65c9404f622f0bd7d1aed6ea7115e0ab66791706d3bca916b34ab12f9566"}},{"ruleId":"D2","level":"warning","message":{"text":"Dialogs.ChatWindow (cognitive 17): Dialogs.ChatWindow has cognitive complexity 17 (threshold 15). Drivers by points: if/else 111 (168 pts), boolean chains 51, ternaries 19 (33 pts), error handling 11 (18 pts), loops 12 (17 pts) (nesting depth added 83). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (Dialogs.ChatWindow::addExchange) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":11644}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6ae98ab700e446b9defe0ce1a393297eaeef903e669fe2b6f8d6f8d06ac5cb6"}},{"ruleId":"D2","level":"warning","message":{"text":"Dialogs.EditShapeDialog::updateShape (cognitive 17): Dialogs.EditShapeDialog::updateShape has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), error handling 1 (3 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":21081}}}],"partialFingerprints":{"codehealthFindingId/v1":"03aae8c8ed74c6c3d6e4c1fe1b98f04cadace013e6e590f83a180d8fc45d9601"}},{"ruleId":"D2","level":"warning","message":{"text":"DrawioFile.DrawioFile.reloadFile (cognitive 17): DrawioFile.DrawioFile.reloadFile has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (15 pts), error handling 1, ternaries 1 (nesting depth added 7). Most of this is not in the body itself: 4 of the 17 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 1105, 1080). 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/webapp/js/diagramly/DrawioFile.js"},"region":{"startLine":1066}}}],"partialFingerprints":{"codehealthFindingId/v1":"0239a1049dacbacfcaa01ac6898c66230df68296677dc02bfe55e8da7dcd746e"}},{"ruleId":"D2","level":"warning","message":{"text":"Editor.Editor.extractGraphModelFromXref (cognitive 17): Editor.Editor.extractGraphModelFromXref has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (15 pts), boolean chains 2 (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":3348}}}],"partialFingerprints":{"codehealthFindingId/v1":"46ce263a9e6ca43f6f2f0a7673594cde1173312bb93eb0ac050e8e0f21b8bef4"}},{"ruleId":"D2","level":"warning","message":{"text":"Editor.Editor.embedExtFonts (cognitive 17): Editor.Editor.embedExtFonts has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 1 (2 pts) (nesting depth added 8). Most of this is not in the body itself: 6 of the 17 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 7312, 7302). 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/webapp/js/diagramly/Editor.js"},"region":{"startLine":7288}}}],"partialFingerprints":{"codehealthFindingId/v1":"5492f9eb8264ff3616b226143e11ac4fa5fe598cdb889f4e99ad790a0a4d853a"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.getHiddenTagsMap (cognitive 17): EditorUi.EditorUi.getHiddenTagsMap has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 3 (8 pts), if/else 3 (5 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":4552}}}],"partialFingerprints":{"codehealthFindingId/v1":"f18518f89a9130e4acdf2457b612f93b631e7c713faebb9e47f60a6b6640e3c6"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.setHashObject (cognitive 17): EditorUi.EditorUi.setHashObject has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 3, error handling 1 (2 pts) (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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":4716}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4a19174a08465415f940cdf9846e5463b7b740c19faebeb81c2a737375fb40d"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.createUrlParameters (cognitive 17): EditorUi.EditorUi.createUrlParameters has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":10528}}}],"partialFingerprints":{"codehealthFindingId/v1":"a90f0ba4fbb690473aead663f063b3428079e04918bc765d0adf1e2f193a2b1e"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.getEmbeddedPng (cognitive 17): EditorUi.EditorUi.getEmbeddedPng has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 3, error handling 2 (nesting depth added 3). Of this number, 11 points are the body\u0027s own statements and 6 belong to 3 function literals inside it that branch. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":13478}}}],"partialFingerprints":{"codehealthFindingId/v1":"a933e655e604ae592b01c88324216946180d788ed4bf69524874f9447c97b2f8"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.loadMermaidFonts (cognitive 17): EditorUi.EditorUi.loadMermaidFonts has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 3, error handling 1 (2 pts), loops 1 (2 pts) (nesting depth added 5). Of this number, 9 points are the body\u0027s own statements and 8 belong to 3 function items inside it that branch. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":16082}}}],"partialFingerprints":{"codehealthFindingId/v1":"30b9fed0d72d71dafcb368873c9e7b01ab8ca3877eecaa3c1bd8aea8b0eec6cf"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.loadExternalImages (cognitive 17): EditorUi.EditorUi.loadExternalImages has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 5, loops 2, error handling 1 (nesting depth added 2). Of this number, 10 points are the body\u0027s own statements and 7 belong to 3 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":19010}}}],"partialFingerprints":{"codehealthFindingId/v1":"726825dd5873bc8fcb39e6f0094984f4ca68d02ed33680a4cbb86f1387f85299"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.loadExternalImage (cognitive 17): EditorUi.EditorUi.loadExternalImage has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 2, loops 1 (2 pts), error handling 1 (nesting depth added 4). None of this is in the body itself: all 17 points belong to 5 function items inside it that branch (a function literal at line 19143, finish, a function literal at line 19117, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":19091}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2f17e1871f845bb39b34f3bbcf7b2c501437f9a689b529a777df6c17468ccfa"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.createDockManager (cognitive 17): EditorUi.EditorUi.createDockManager has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 17. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":25819}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac3de54047a94038eaa4c2c0f7380d951e43c4779088b14695953c6418bae648"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.applyChildLayouts (cognitive 17): EditorUi.EditorUi.applyChildLayouts has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (9 pts), error handling 2 (3 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 5). Most of this is not in the body itself: 2 of the 17 points are its own statements and the rest belongs to 2 function items inside it that branch (needsElk, run). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":32125}}}],"partialFingerprints":{"codehealthFindingId/v1":"955924a0d97cceb95c22da1d471477d1f62f6d3e0d45c01f63cb8f11acfce107"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.installKeyboardShortcut (cognitive 17): EditorUi.EditorUi.installKeyboardShortcut has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 6, ternaries 3 (6 pts), if/else 4 (5 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":32289}}}],"partialFingerprints":{"codehealthFindingId/v1":"da89a0fb93ec72249bf120cc82536a4acf2f9254f75aac5a64c89c6ea139c40e"}},{"ruleId":"D2","level":"warning","message":{"text":"ForceExplorer.ForceExplorer.updateParallelEdges (cognitive 17): ForceExplorer.ForceExplorer.updateParallelEdges has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (8 pts), ternaries 2 (4 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ForceExplorer.js"},"region":{"startLine":4097}}}],"partialFingerprints":{"codehealthFindingId/v1":"594d8c6b39cd4ac12245251dac4347538adf39fa4cb70e9f13d29df82f61cfa3"}},{"ruleId":"D2","level":"warning","message":{"text":"P2PCollab.P2PCollab (cognitive 17): P2PCollab.P2PCollab has cognitive complexity 17 (threshold 15). Drivers by points: if/else 90 (141 pts), boolean chains 63, ternaries 11 (20 pts), loops 5 (14 pts), error handling 5 (6 pts), match/switch 1 (nesting depth added 70). 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/webapp/js/diagramly/P2PCollab.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2e31d4b3cd3e72ae80c3fd9e9cd3998996819434b3853d3b714fa9a9e54b228"}},{"ruleId":"D2","level":"warning","message":{"text":"SpringMove.SpringMove.updateRoutes (cognitive 17): SpringMove.SpringMove.updateRoutes has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (6 pts), ternaries 2 (4 pts), loops 2 (3 pts), boolean chains 2, error handling 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/SpringMove.js"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"d27406ca1e9ce5e2de986d9e29e691912807ac78e3ff80b1f7eac8fa4e957ce3"}},{"ruleId":"D2","level":"warning","message":{"text":"AnimationExport.AnimationExport.renderFrames (cognitive 17): AnimationExport.AnimationExport.renderFrames has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (11 pts), error handling 4 (5 pts), boolean chains 1 (nesting depth added 2). Most of this is not in the body itself: 1 of the 17 points is its own statement and the rest belongs to 4 function literals inside it that branch (lines 1622, 1655, 1596, \u2026). 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/webapp/js/diagramly/gif/AnimationExport.js"},"region":{"startLine":1562}}}],"partialFingerprints":{"codehealthFindingId/v1":"c073f148418f2e6f82b4a9de048f499db2d38d9c3c56e9416c7e3ef6d941ef9c"}},{"ruleId":"D2","level":"warning","message":{"text":"mxGraphMlCodec.mxGraphMlCodec.addRow (cognitive 17): mxGraphMlCodec.mxGraphMlCodec.addRow has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (15 pts), loops 1 (2 pts) (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/webapp/js/diagramly/graphml/mxGraphMlCodec.js"},"region":{"startLine":1868}}}],"partialFingerprints":{"codehealthFindingId/v1":"87c88109e0692334e39680970239aa58acc9d9036d3d551b32d43c9759b2d162"}},{"ruleId":"D2","level":"warning","message":{"text":"Tidy.Tidy.getLayoutSpec (cognitive 17): Tidy.Tidy.getLayoutSpec has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/tidy/Tidy.js"},"region":{"startLine":2336}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b73cf6dc015c779ad9f48e442c29238bcf20458d94169dfc7ef07c47b1fd87e"}},{"ruleId":"D2","level":"warning","message":{"text":"Dialogs.ColorDialog::setDefaultSelected (cognitive 17): Dialogs.ColorDialog::setDefaultSelected has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 3 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 3 other methods here (Dialogs.ColorDialog, Dialogs.ColorDialog::inputChanged, Dialogs.ColorDialog::addCurrentToRecent) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Dialogs.js"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1e32d5b23a1259f2a7cc850ffe9eaa9e120498d2a5c83773385fb562de97caa"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.ChangePageSetup.execute (cognitive 17): EditorUi.ChangePageSetup.execute has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 4 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":8714}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1cc3017679f070c3473be41b9fab1a170c419da9dc9cebda1cf9fc9808a2e77"}},{"ruleId":"D2","level":"warning","message":{"text":"Format.TextFormatPanel.createLabelBackgroundOption (cognitive 17): Format.TextFormatPanel.createLabelBackgroundOption has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 7, ternaries 5 (7 pts), if/else 2, loops 1 (nesting depth added 2). Of this number, 12 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Format.js"},"region":{"startLine":4839}}}],"partialFingerprints":{"codehealthFindingId/v1":"741f201f2d3d66c653a1f2f717f2c49953eebdc0b6b49df5f391470e86141d2f"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.getRemovedNewEdgeStyleKeys (cognitive 17): Graph.Graph.getRemovedNewEdgeStyleKeys has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 1 (3 pts), boolean chains 2, error handling 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":10197}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c0e3eda3eb79a2a7aa3a2045cc6b6c9c092b06dca4e8b2ad1981edf3e7ae4fc"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.getSequenceMessageRow (cognitive 17): Graph.Graph.getSequenceMessageRow has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 6, loops 1 (2 pts) (nesting depth added 4). Most of this is not in the body itself: 4 of the 17 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 10758, 10753). 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":10742}}}],"partialFingerprints":{"codehealthFindingId/v1":"140f21a163f954f42fff233e73b3acbb328a0979e6437f79404cf56d5a8ed67c"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.mergeStyle (cognitive 17): Graph.Graph.mergeStyle has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":11213}}}],"partialFingerprints":{"codehealthFindingId/v1":"20cf6a274750516acdf2957fd88376418104401c639bf61c0b64e79d4e37fb15"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.getPlaceholderCell (cognitive 17): Graph.Graph.getPlaceholderCell has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 2 (3 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":16522}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd76008fc508e5d722501ab0705c26674bad2fca3a4c813525fee8a53f4f2a08"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.bundleEdges (cognitive 17): Graph.Graph.bundleEdges has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (7 pts), loops 3 (6 pts), boolean chains 3, ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":20853}}}],"partialFingerprints":{"codehealthFindingId/v1":"493f0509c7cea9c0875bc56033d3755e483f6f9d0b8d2fcc3f6fc9fd3625b8fe"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.fitWindow (cognitive 17): Graph.Graph.fitWindow has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (15 pts), boolean chains 2 (nesting depth added 9). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":22355}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed7de7c6f9e0196ffd214a710dc2090f3b8102ef90a311e1d92539a1fe14ac59"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.convertTableSides (cognitive 17): Graph.Graph.convertTableSides has cognitive complexity 17 (threshold 15). Drivers by points: loops 4 (9 pts), boolean chains 3, if/else 2 (3 pts), ternaries 1 (2 pts) (nesting depth added 7). Of this number, 15 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":25737}}}],"partialFingerprints":{"codehealthFindingId/v1":"b39728943273664271734c94d7fe336167bcd239f800a3ed8d254efee1b2b538"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.getCollapsedTableBorders::resolve (cognitive 17): Graph.Graph.getCollapsedTableBorders::resolve has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 7, if/else 4 (6 pts), ternaries 2 (3 pts), loops 1 (nesting depth added 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. This shape REPEATS in the file: one other method here (Graph.Graph.getCollapsedTableBorders::process) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":26315}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a235b822b12711706e352cb35b0048017fa32541bbec487c69d15a36afc815a"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.mxCellRenderer.resolveColor (cognitive 17): Graph.mxCellRenderer.resolveColor has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 5 (9 pts), boolean chains 5, if/else 2 (3 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":28198}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e11ea593970dadf6c88bbe4900d62ddc9be9d9ebe79846264909484d53d9a5e"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.mxGraphView.flushCollapsedTableRepaints (cognitive 17): Graph.mxGraphView.flushCollapsedTableRepaints has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 1 (3 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":28295}}}],"partialFingerprints":{"codehealthFindingId/v1":"3513d624881ed90c7f0c6262f1737faeb6fc288c2c01d6ff9f4b172f4bfc13ab"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.mxCellRenderer.getPaintedLabelBox (cognitive 17): Graph.mxCellRenderer.getPaintedLabelBox has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 8, if/else 5 (6 pts), ternaries 3 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":28522}}}],"partialFingerprints":{"codehealthFindingId/v1":"497812e349d12fb3028737fd7c3f3fd1ec64d99fc56c28622ac555173be92f67"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.mxGraphView.updateMultipleTerminalPoint (cognitive 17): Graph.mxGraphView.updateMultipleTerminalPoint has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 4, ternaries 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":30962}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fdf529ee036ee9078e36356cf445e35b7572aa7ab4a3761d38cecb6f7566bdb"}},{"ruleId":"D2","level":"warning","message":{"text":"InlineToolbar.InlineToolbar.createColorSwatch (cognitive 17): InlineToolbar.InlineToolbar.createColorSwatch has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (8 pts), ternaries 5, boolean chains 3, loops 1 (nesting depth added 1). None of this is in the body itself: all 17 points belong to 6 function items inside it that branch (updateSwatch, a function literal at line 2040, a function literal at line 2052, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/InlineToolbar.js"},"region":{"startLine":1967}}}],"partialFingerprints":{"codehealthFindingId/v1":"9444b538a65b36b9da579f7cb817fa671329d91ebd79c06cd6d3a9aedb79bbe7"}},{"ruleId":"D2","level":"warning","message":{"text":"Omnibox.Omnibox.getScore (cognitive 17): Omnibox.Omnibox.getScore has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 4 (6 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Omnibox.js"},"region":{"startLine":2096}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7cf6ce166ff243044d90d4a6f231ec428a8cfc8fc316ad039052fec62e594ba"}},{"ruleId":"D2","level":"warning","message":{"text":"Shapes.mxShapeBasicRect2.paintNW (cognitive 17): Shapes.mxShapeBasicRect2.paintNW has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 12, if/else 4 (5 pts) (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: 3 other methods here (Shapes.mxShapeBasicRect2.paintNE, Shapes.mxShapeBasicRect2.paintSE, Shapes.mxShapeBasicRect2.paintSW) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":6901}}}],"partialFingerprints":{"codehealthFindingId/v1":"9443ace907d534262312c7bcd6808c2776e63386ba3750e9f1976d16d05ae657"}},{"ruleId":"D2","level":"warning","message":{"text":"Shapes.mxShapeBasicRect2.paintNE (cognitive 17): Shapes.mxShapeBasicRect2.paintNE has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 12, if/else 4 (5 pts) (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: 3 other methods here (Shapes.mxShapeBasicRect2.paintNW, Shapes.mxShapeBasicRect2.paintSE, Shapes.mxShapeBasicRect2.paintSW) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":6938}}}],"partialFingerprints":{"codehealthFindingId/v1":"363f5b348bf082746a3346bb6aa36556d3435a3084cbe8030b14c6478621cba3"}},{"ruleId":"D2","level":"warning","message":{"text":"Shapes.mxShapeBasicRect2.paintSE (cognitive 17): Shapes.mxShapeBasicRect2.paintSE has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 12, if/else 4 (5 pts) (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: 3 other methods here (Shapes.mxShapeBasicRect2.paintNW, Shapes.mxShapeBasicRect2.paintNE, Shapes.mxShapeBasicRect2.paintSW) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":6987}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3fa0d28071d1181fce870ef3fdb939f6de1107bed056420678b09296b242d39"}},{"ruleId":"D2","level":"warning","message":{"text":"Shapes.mxShapeBasicRect2.paintSW (cognitive 17): Shapes.mxShapeBasicRect2.paintSW has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 12, if/else 4 (5 pts) (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: 3 other methods here (Shapes.mxShapeBasicRect2.paintNW, Shapes.mxShapeBasicRect2.paintNE, Shapes.mxShapeBasicRect2.paintSE) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":7024}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bee907639235a8b221ec11d2a460350139b2574a7bdf5c0d19557b243e713a1"}},{"ruleId":"D2","level":"warning","message":{"text":"Shapes.mxShapeBasicRect2.paintTopInner (cognitive 17): Shapes.mxShapeBasicRect2.paintTopInner has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 10, if/else 7. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: 2 other methods here (Shapes.mxShapeBasicRect2.paintRightInner, Shapes.mxShapeBasicRect2.paintLeftInner) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":7070}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a23512adb2aff16e695f565492763acb43ce04f81b2b72181967368ebb9219a"}},{"ruleId":"D2","level":"warning","message":{"text":"Shapes.mxShapeBasicRect2.paintRightInner (cognitive 17): Shapes.mxShapeBasicRect2.paintRightInner has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 10, if/else 7. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: 2 other methods here (Shapes.mxShapeBasicRect2.paintTopInner, Shapes.mxShapeBasicRect2.paintLeftInner) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":7124}}}],"partialFingerprints":{"codehealthFindingId/v1":"77f38351e75d175ef2f99c12310f131ddaf2b47613d49452a875b9be33e820ae"}},{"ruleId":"D2","level":"warning","message":{"text":"Shapes.mxShapeBasicRect2.paintLeftInner (cognitive 17): Shapes.mxShapeBasicRect2.paintLeftInner has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 10, if/else 7. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: 2 other methods here (Shapes.mxShapeBasicRect2.paintTopInner, Shapes.mxShapeBasicRect2.paintRightInner) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":7157}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f351d58194318e367e38a5e650aab65abe79083ca92ea45101b8bce803a54e8"}},{"ruleId":"D2","level":"warning","message":{"text":"Shapes.mxShapeBasicRect2.paintBottomInner (cognitive 17): Shapes.mxShapeBasicRect2.paintBottomInner has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 11, if/else 6. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":7211}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b2267e9ac2d42dd64e92596d1613856a4e3809fd4bc71381e07450ff95b62be"}},{"ruleId":"D2","level":"warning","message":{"text":"Shapes.mxShapeBasicRect2.moveNEInner (cognitive 17): Shapes.mxShapeBasicRect2.moveNEInner has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 13, if/else 4. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: one other method here (Shapes.mxShapeBasicRect2.lineNEInner) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":7357}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3d8603c2a6a544069829cef01aeba760f5d83cc82bec3dd00e31b5fb151f2f8"}},{"ruleId":"D2","level":"warning","message":{"text":"Shapes.mxShapeBasicRect2.lineNEInner (cognitive 17): Shapes.mxShapeBasicRect2.lineNEInner has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 13, if/else 4. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: one other method here (Shapes.mxShapeBasicRect2.moveNEInner) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":7379}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d39f04bf2b385a8f0564d62c8e0d66492f20bb3bc3278979c5c69634e45f998"}},{"ruleId":"D2","level":"warning","message":{"text":"Sidebar.Sidebar.getShapeIndex (cognitive 17): Sidebar.Sidebar.getShapeIndex has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 2 (5 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":1568}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab886401a05b420daba944e43e9fafb818a36f02d2bf0b7343edb1b8d8f15c74"}},{"ruleId":"D2","level":"warning","message":{"text":"mxObjectCodec.mxObjectCodec.decode (cognitive 17): mxObjectCodec.mxObjectCodec.decode has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 2, ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/io/mxObjectCodec.js"},"region":{"startLine":931}}}],"partialFingerprints":{"codehealthFindingId/v1":"abe94b505dc569e0fa8fca1ac66b73390f7e59da1ac06c58cd9e6949d0369c3f"}},{"ruleId":"D2","level":"warning","message":{"text":"mxCellState.mxCellState.updateScreenBounds (cognitive 17): mxCellState.mxCellState.updateScreenBounds has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 3 (7 pts), if/else 6, loops 2 (4 pts) (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/webapp/mxgraph/src/view/mxCellState.js"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff020f9143a66b33c48ff3b27e9435ceacd72c364ed547bd78d5354270a447ae"}},{"ruleId":"D2","level":"warning","message":{"text":"mxGraphView.mxGraphView.updateVertexLabelOffset (cognitive 17): mxGraphView.mxGraphView.updateVertexLabelOffset has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (17 pts) (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/webapp/mxgraph/src/view/mxGraphView.js"},"region":{"startLine":2817}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b965a4919b56b948991f7b0c73a23691f00bcd07dd4188ba91691fe2392c0c2"}},{"ruleId":"D2","level":"warning","message":{"text":"Utils.validatedAddress (cognitive 17): Utils.validatedAddress has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 6, ternaries 2 (5 pts), if/else 3 (4 pts), error handling 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/server/java/com/mxgraph/online/Utils.java"},"region":{"startLine":860}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e0444805b54d99e6164395e5429fd05b816763ee1943581f5cbbf27ead4fc74"}},{"ruleId":"D2","level":"warning","message":{"text":"DraftDialog::init (cognitive 17): DraftDialog::init has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 2 (5 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":9725}}}],"partialFingerprints":{"codehealthFindingId/v1":"92b84836b43233b2de3019cf9cbabc50a64afcfd7b5db73606194bc631239d18"}},{"ruleId":"D2","level":"warning","message":{"text":"postProcessCellStyle (cognitive 17): postProcessCellStyle has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 3 (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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":3476}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc8249eb70f5a5ed1515b3fe4c1f3a2fe8c256c3ba2adff840bc2c3fef0f1373"}},{"ruleId":"D2","level":"warning","message":{"text":"getConnectionConstraint (cognitive 17): getConnectionConstraint has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 7 (13 pts), if/else 3 (4 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":7326}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b81ce5cc6c1e97ec5edf85d25454d667051c01ec28858f329359f42c65527f7"}},{"ruleId":"D2","level":"warning","message":{"text":"installScreenReaderSupport (cognitive 17): installScreenReaderSupport has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 6, ternaries 2 (3 pts) (nesting depth added 2). Most of this is not in the body itself: 3 of the 17 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 9444, 9499, 9475, \u2026). 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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":9431}}}],"partialFingerprints":{"codehealthFindingId/v1":"83c1bb3600c06f933164e48e15505324d796cfddeb4a29f908d2fff593f66e13"}},{"ruleId":"D2","level":"warning","message":{"text":"addEdgeGeometry (cognitive 17): addEdgeGeometry has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 5 (nesting depth added 2). None of this is in the body itself: all 17 points belong to 10 function items inside it that branch (a function literal at line 4504, a function literal at line 4547, a function literal at line 4555, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Format.js"},"region":{"startLine":4442}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a2ddde4943e771184453a93b45a6f1d4274b9a229d940494aaa4e7e268a9d9a"}},{"ruleId":"D2","level":"warning","message":{"text":"getPaletteShapes (cognitive 17): getPaletteShapes has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (9 pts), boolean chains 3, ternaries 1 (3 pts), loops 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":1754}}}],"partialFingerprints":{"codehealthFindingId/v1":"d34aa0b709c4ca7fecfce3a3a86b92def40e7c834f05eaa712fce617504b2c41"}},{"ruleId":"D2","level":"warning","message":{"text":"prepareCellsForInsert (cognitive 17): prepareCellsForInsert has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (8 pts), boolean chains 7, loops 1 (2 pts) (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/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":5381}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8eb01c96d3e2888f85a85afdfec458ad4d7875223e87c5a17cbd92747b37ead"}},{"ruleId":"D2","level":"warning","message":{"text":"setMode (cognitive 17): setMode has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (13 pts), error handling 1 (2 pts), ternaries 1 (2 pts) (nesting depth added 6). Of this number, 12 points are the body\u0027s own statements and 5 belong to 2 function literals inside it that branch. 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/webapp/js/diagramly/App.js"},"region":{"startLine":3880}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba304858a7bbc816f701447bbebcf55f072a736903147bf5f9969ab863c03f80"}},{"ruleId":"D2","level":"warning","message":{"text":"getLightDarkColor (cognitive 17): getLightDarkColor has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (8 pts), ternaries 2 (8 pts), boolean chains 1 (nesting depth added 9). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxUtils.js"},"region":{"startLine":2568}}}],"partialFingerprints":{"codehealthFindingId/v1":"a45953ad0ae03ba9dde3d57eb89675542e568a29892a2c524e0337471d4ce490"}},{"ruleId":"D2","level":"warning","message":{"text":"getScaleForPageCount (cognitive 17): getScaleForPageCount has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 2, ternaries 2, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxUtils.js"},"region":{"startLine":5364}}}],"partialFingerprints":{"codehealthFindingId/v1":"4edd6ee99fda8dcf95fb97f377621b0c8ee24e0532b3be3e37de2d00b7379d66"}},{"ruleId":"D2","level":"warning","message":{"text":"routeCells (cognitive 17): routeCells has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (6 pts), ternaries 2 (5 pts), loops 2 (3 pts), boolean chains 2, error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/LibavoidRouting.js"},"region":{"startLine":1903}}}],"partialFingerprints":{"codehealthFindingId/v1":"728d065d1c069566d49eb60f5244a015e4edc67d93d1a100f29e4c248afb190a"}},{"ruleId":"D2","level":"warning","message":{"text":"getVertex (cognitive 17): getVertex has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 4, ternaries 1 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/LibavoidRouting.js"},"region":{"startLine":2440}}}],"partialFingerprints":{"codehealthFindingId/v1":"efe9ae11ce6723e147bede7d24769b37955a07e483bcec422ae0810b7394f6b6"}},{"ruleId":"D2","level":"warning","message":{"text":"checkOwnPage (cognitive 17): checkOwnPage has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (7 pts), boolean chains 5, ternaries 1 (3 pts), error handling 1 (2 pts) (nesting depth added 5). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DrawioFileSync.js"},"region":{"startLine":2727}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca19e1a94d78fcd567759e36da3a06d09b4d02ade23cf0ae5705834f7b594b53"}},{"ruleId":"D2","level":"warning","message":{"text":"handleButtonKeys (cognitive 17): handleButtonKeys has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 3 (9 pts), boolean chains 4, if/else 3 (4 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ForceExplorer.js"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"96e9bc48d85e29ea92d926e060309c396da657066a811f5f7fcdf65159c79206"}},{"ruleId":"D2","level":"warning","message":{"text":"updateLevelDistance (cognitive 17): updateLevelDistance has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (10 pts), boolean chains 4, loops 2, ternaries 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ForceExplorer.js"},"region":{"startLine":2626}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf22280efd6020c69f8ea2de2453ccf12ee203ca5e9a78a644957b20fc5f3ab2"}},{"ruleId":"D2","level":"warning","message":{"text":"updateEdgeState (cognitive 17): updateEdgeState has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 12, if/else 4 (5 pts) (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxGraphView.js"},"region":{"startLine":2767}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c0f2a08fec03eb6eb2caaeb96a214ab4a78dc605b9db8b9afeb7dbcff86203e"}},{"ruleId":"D2","level":"warning","message":{"text":"itemClicked (cognitive 17): itemClicked has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 4, error handling 1 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar.js"},"region":{"startLine":2580}}}],"partialFingerprints":{"codehealthFindingId/v1":"21867b292077f384c7c4005a4df5d5f0ec0c29a4557872005a7c9f403a2fe447"}},{"ruleId":"D2","level":"warning","message":{"text":"focusTabContainerControl (cognitive 17): focusTabContainerControl has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (7 pts), loops 2 (5 pts), boolean chains 3, ternaries 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Pages.js"},"region":{"startLine":3841}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecdc7e547dba527d85275a15cf8a8f9b0a82f1f2535b672208770cac1070a94d"}},{"ruleId":"D2","level":"warning","message":{"text":"refresh (cognitive 17): refresh has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (8 pts), boolean chains 5, loops 2, ternaries 1 (2 pts) (nesting depth added 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/webapp/js/diagramly/LayoutPicker.js"},"region":{"startLine":2470}}}],"partialFingerprints":{"codehealthFindingId/v1":"396abda8fe18ec4d21303138e1538646e618931e3a81f2b30cd40368b724c6b5"}},{"ruleId":"D2","level":"warning","message":{"text":"popoverKeyDown (cognitive 17): popoverKeyDown has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 3 (9 pts), if/else 4 (5 pts), boolean chains 3 (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/webapp/js/diagramly/LightboxModern.js"},"region":{"startLine":2499}}}],"partialFingerprints":{"codehealthFindingId/v1":"509f71b4de41e15043a20af07a2694f266632bc6678c98d1cca1ea51d13a8f25"}},{"ruleId":"D2","level":"warning","message":{"text":"findTextContents (cognitive 17): findTextContents has cognitive complexity 17 (threshold 15). Drivers by points: if/else 2 (6 pts), ternaries 1 (5 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/graphml/mxGraphMlCodec.js"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"228575fac967665188447e1149700b71df00e94cc27910d183b328f88e73cd7c"}},{"ruleId":"D2","level":"warning","message":{"text":"isValidGeometry (cognitive 17): isValidGeometry has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 7, if/else 3 (7 pts), loops 2, ternaries 1 (nesting depth added 4). Most of this is not in the body itself: 1 of the 17 points is its own statement and the rest belongs to 5 function items inside it that branch (fieldsValid, pointsValid, a function literal at line 203, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DiffSync.js"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3a90a1d2fbb9f2f5e3ad25604d702dca7d70a08c7b029177b99ed59549cbf7b"}},{"ruleId":"D2","level":"warning","message":{"text":"resetEdges (cognitive 17): resetEdges has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (7 pts), boolean chains 5, loops 3 (4 pts), ternaries 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/tidy/Tidy.js"},"region":{"startLine":1733}}}],"partialFingerprints":{"codehealthFindingId/v1":"42b7a6c81480cdcacdef18bae06b409bfd5cef1ba91a387bae1f8095eeb119f5"}},{"ruleId":"D2","level":"warning","message":{"text":"configure (cognitive 17): configure has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (12 pts), error handling 1 (3 pts), boolean chains 2 (nesting depth added 9). Most of this is not in the body itself: 8 of the 17 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 326, 338). 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/webapp/js/diagramly/ElectronApp.js"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"39d0466de2d3f1cd19af5b04b6c39a7d4d91eccb5ca5454f57f215fa6785be55"}},{"ruleId":"D2","level":"warning","message":{"text":"watchFile (cognitive 17): watchFile has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (9 pts), error handling 2 (4 pts), boolean chains 3, ternaries 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ElectronApp.js"},"region":{"startLine":1074}}}],"partialFingerprints":{"codehealthFindingId/v1":"819a51a63383268a678e49e803aa0423f738460bfd9540940f4923503131bafb"}},{"ruleId":"D2","level":"warning","message":{"text":"setRoleRules (cognitive 17): setRoleRules has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (7 pts), boolean chains 5, loops 2 (3 pts), error handling 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/tidy/TidyStyle.js"},"region":{"startLine":1939}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa0f32c8116524a6ecf36c46be406cfba4ec0ce927eb631e63074ae802033d92"}},{"ruleId":"D2","level":"warning","message":{"text":"rotateLabelBounds (cognitive 17): rotateLabelBounds has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 7, ternaries 4 (6 pts), if/else 3 (4 pts) (nesting depth added 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/webapp/mxgraph/src/view/mxCellRenderer.js"},"region":{"startLine":1462}}}],"partialFingerprints":{"codehealthFindingId/v1":"85fdcbd2d01015f2e7d366334edca6ffa60cbb69d947d4691ba47255afb0430a"}},{"ruleId":"D2","level":"warning","message":{"text":"selectCellForEvent (cognitive 17): selectCellForEvent has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (7 pts), boolean chains 6, loops 1 (4 pts) (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/webapp/mxgraph/src/handler/mxGraphHandler.js"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc238bd0ea2999f1dd1702512feddf4bdb27f35bbdbaf712f66884b72babf454"}},{"ruleId":"D2","level":"warning","message":{"text":"getFile (cognitive 17): getFile has cognitive complexity 17 (threshold 15). Drivers by points: error handling 2 (5 pts), if/else 4 (5 pts), ternaries 2 (4 pts), boolean chains 3 (nesting depth added 6). Most of this is not in the body itself: 1 of the 17 points is its own statement and the rest belongs to 4 function literals inside it that branch (lines 426, 453, 479, \u2026). 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/webapp/js/diagramly/GitLabClient.js"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b34ee58c2cc4c9d7211abc2dd5651ce77e0622febf064b08795f9d35da38c95"}},{"ruleId":"D2","level":"warning","message":{"text":"mxODPicker::getDrawioFileDoc::onreadystatechange (cognitive 17): mxODPicker::getDrawioFileDoc::onreadystatechange has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (10 pts), error handling 1 (3 pts), ternaries 1 (3 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/onedrive/mxODPicker.js"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"326c916e967dec9f2620ecbd083d04ee2669ef1e6ccd5d18fe4d3c6d5282649d"}},{"ruleId":"D2","level":"warning","message":{"text":"initMinimalTheme::init (cognitive 17): initMinimalTheme::init has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 8, if/else 7 (8 pts), ternaries 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Minimal.js"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"959eddc81ce414acb200a13091511442465c157a6ab95b8ebab51b7b30610a72"}},{"ruleId":"D2","level":"warning","message":{"text":"RectanglePerimeter (cognitive 17): RectanglePerimeter has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 3 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxPerimeter.js"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"56a9bf4132f9927fec2416b6c77cb6def9728bc74673801c30c85c3321ba8a36"}},{"ruleId":"D2","level":"warning","message":{"text":"addItem (cognitive 17): addItem has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (14 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 6). Most of this is not in the body itself: 6 of the 17 points are its own statements and the rest belongs to 2 function items inside it that branch (a function literal at line 645, updateTitle). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Toolbar.js"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"f36093043bbff8e04252206b0791f0954a7e2bf940a641a89fd5d049c9f9b41d"}},{"ruleId":"D2","level":"warning","message":{"text":"writeFile (cognitive 17): writeFile has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 3, error handling 2 (3 pts), ternaries 1 (2 pts) (nesting depth added 5). Most of this is not in the body itself: 4 of the 17 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 446, 417). 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/webapp/js/diagramly/StorageFile.js"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecd1ef3d48bd49dad2deeb97681c2a20d6ef8ec4261e508af628053d8d453d54"}},{"ruleId":"D2","level":"warning","message":{"text":"getLoopDuration (cognitive 17): getLoopDuration has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 5 (11 pts), if/else 2 (3 pts), loops 2, boolean chains 1 (nesting depth added 7). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. 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/webapp/js/diagramly/gif/AnimatedExport.js"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"72b4186b5218cc5c509975d68f6dee69e23cb9b00273f08c4761c6cabf2f5944"}},{"ruleId":"D2","level":"warning","message":{"text":"load (cognitive 17): load has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 9, if/else 4 (5 pts), ternaries 1 (2 pts), loops 1 (nesting depth added 2). Most of this is not in the body itself: 3 of the 17 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 39, 52). 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":"etc/dependencies/dompurify-smoke.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9f3b0bb035c301f374465a4df2816d21d05a1873a358ee99daade967773e7cb"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 17): (anonymous) has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (5 pts), loops 2 (5 pts), ternaries 3 (5 pts), boolean chains 2 (nesting depth added 6). None of this is in the body itself: all 17 points belong to 3 function items inside it that branch (createSvgImageExport::addCellData, createSvgImageExport::drawCellState, createSvgImageExport). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/plugins/svgdata.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc3cabb85245799eb554200cbce604e50c81004db9bc41c4736aca765db4e002"}},{"ruleId":"D2","level":"warning","message":{"text":"bootstrap.mxscript (cognitive 16): bootstrap.mxscript has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 4 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/bootstrap.js"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6c194b6d718ad07f95dd9d39b136c82d5a2834cc5cb5792f1046f0f2d3ee7fd"}},{"ruleId":"D2","level":"warning","message":{"text":"ConfigEditor.DrawioConfigEditor.install.setupFieldHandlers (cognitive 16): ConfigEditor.DrawioConfigEditor.install.setupFieldHandlers has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (13 pts), error handling 1 (2 pts), boolean chains 1 (nesting depth added 4). None of this is in the body itself: all 16 points belong to 3 function literals inside it that branch (lines 539, 532, 565). 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/webapp/js/diagramly/ConfigEditor.js"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ebebbfe48cac84c8721ed720f8f64b8b46fa5daf0003b460e9466e368c37e6f"}},{"ruleId":"D2","level":"warning","message":{"text":"Dialogs.SelectorChips.create.layerListField::updateChip (cognitive 16): Dialogs.SelectorChips.create.layerListField::updateChip has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (8 pts), ternaries 2 (5 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":7453}}}],"partialFingerprints":{"codehealthFindingId/v1":"2277e925e2ae31603cb47586e34ba7b582d55b1d7e75695af8895226d0a2d1ed"}},{"ruleId":"D2","level":"warning","message":{"text":"Dialogs.AnimationDialog::stepLabel (cognitive 16): Dialogs.AnimationDialog::stepLabel has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 4, ternaries 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 2 other methods here (Dialogs.AnimationDialog, Dialogs.AnimationDialog::formatSelectorText) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":14633}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb1e93a55767053deb051d747c96c2d02c1600f607634465d63156784b9613e5"}},{"ruleId":"D2","level":"warning","message":{"text":"DiffSync.EditorUi.adoptTheirPages (cognitive 16): DiffSync.EditorUi.adoptTheirPages has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DiffSync.js"},"region":{"startLine":2920}}}],"partialFingerprints":{"codehealthFindingId/v1":"c629ad0e7cc6c86f6d1823a72bb2d72e40d5e4dbc02c9a5867d47043a0e39ecd"}},{"ruleId":"D2","level":"warning","message":{"text":"DrawioFileSync.DrawioFileSync.compareAppVersions (cognitive 16): DrawioFileSync.DrawioFileSync.compareAppVersions has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 2 (6 pts), if/else 3 (5 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 7). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DrawioFileSync.js"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"6738f8caf521ff1a00f2e9f5fd449fc27231b8c9227db8a6cecd1af7f593beb2"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.logError (cognitive 16): EditorUi.EditorUi.logError has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (5 pts), boolean chains 4, error handling 2 (4 pts), ternaries 1 (3 pts) (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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"01028a8585118309ebc0c666cdc3c2867f1fa7291e95838bf50ec778eea267f7"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.anonymizeXml::anonymizeNode (cognitive 16): EditorUi.EditorUi.anonymizeXml::anonymizeNode has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 2 (5 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":3402}}}],"partialFingerprints":{"codehealthFindingId/v1":"74ce1a6358cd07ddc5049d329ea55022040475789ce5681d9fda1437d8326766"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.resizeImage (cognitive 16): EditorUi.EditorUi.resizeImage has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 2, error handling 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":18231}}}],"partialFingerprints":{"codehealthFindingId/v1":"b144c12e297aa408de6f717c0e7a13d90c2b084176d41cd0db9e1d298257b14c"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.createEmbedSvgData (cognitive 16): EditorUi.EditorUi.createEmbedSvgData has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (8 pts), boolean chains 3, loops 1 (3 pts), ternaries 1 (2 pts) (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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":19352}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ac63b41b7932b45921d95057cfcfd31ba8a85b2b08635ff18e5692f9c3e1889"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.repairCapturePage (cognitive 16): EditorUi.repairCapturePage has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (8 pts), boolean chains 4, loops 2 (4 pts) (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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":21120}}}],"partialFingerprints":{"codehealthFindingId/v1":"19c0baf6da62b6f46400d50710a027b6168aa27c3277c30c6a6899933725113e"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.scopeLayoutsToCells (cognitive 16): EditorUi.EditorUi.scopeLayoutsToCells has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (8 pts), boolean chains 6, loops 2 (nesting depth added 4). Of this number, 9 points are the body\u0027s own statements and 7 belong to 2 function items inside it that branch. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":34369}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ed6f37a5a5cb5ab26d7c82f3c4bf7d6eb8a35905d80a9b5234809c40e210ab4"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.getOutlineTrees (cognitive 16): EditorUi.EditorUi.getOutlineTrees has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 3 (8 pts), if/else 3 (4 pts), boolean chains 3, loops 1 (nesting depth added 6). Most of this is not in the body itself: 7 of the 16 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 35176, 35178, 35192). 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":35158}}}],"partialFingerprints":{"codehealthFindingId/v1":"82ed38f86ac8c4d36fe28736f9c4896fdbdad680a84b7118819c55b34f4a0d98"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.setOutlineSides (cognitive 16): EditorUi.EditorUi.setOutlineSides has cognitive complexity 16 (threshold 15). Drivers by points: loops 8 (13 pts), if/else 1 (3 pts) (nesting depth added 7). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":35806}}}],"partialFingerprints":{"codehealthFindingId/v1":"642d001d38953485c7e702ca38d53608f2140fac3e77da998b5a4fc48b1a69b0"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.matchBoxItems (cognitive 16): EditorUi.EditorUi.matchBoxItems has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 5, loops 4 (5 pts), if/else 2 (4 pts), ternaries 1 (2 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":36715}}}],"partialFingerprints":{"codehealthFindingId/v1":"585e1f77a709d528ee7aa60d248f7b6f1dfb81fa6dfa1aad8e86535dbb396b40"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.doImportCsv::moveToInsertPoint (cognitive 16): EditorUi.EditorUi.doImportCsv::moveToInsertPoint has cognitive complexity 16 (threshold 15). Drivers by points: loops 3 (7 pts), if/else 2 (5 pts), ternaries 1 (3 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 2 other methods here (EditorUi.EditorUi.doImportCsv, EditorUi.EditorUi.doImportCsv::updateListItems) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":41348}}}],"partialFingerprints":{"codehealthFindingId/v1":"238f9239c565b65ea8bb70f882c85779aa89565bed50eae1d62c0da82e724732"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.refreshCommentCache (cognitive 16): EditorUi.EditorUi.refreshCommentCache has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 1 (3 pts), boolean chains 1 (nesting depth added 8). Most of this is not in the body itself: 5 of the 16 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 43393, 43407). 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":43379}}}],"partialFingerprints":{"codehealthFindingId/v1":"e00a2fe5027290be5e7a8c1dc02e0c6f29f757e7470c8a2459728759d94ab6db"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.restoreRevision (cognitive 16): EditorUi.EditorUi.restoreRevision has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (14 pts), ternaries 1 (2 pts) (nesting depth added 7). Most of this is not in the body itself: 4 of the 16 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 43877, 43902). 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":43864}}}],"partialFingerprints":{"codehealthFindingId/v1":"c657ead81a4b429002fe5072bd9510c92bf45b9893d5c6551e8adb1744f2fef3"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.CommentsWindow::getCommentEditorValue::walk (cognitive 16): EditorUi.CommentsWindow::getCommentEditorValue::walk has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 3, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 3 other methods here (EditorUi.CommentsWindow::renderAnchorRow, EditorUi.CommentsWindow::installMentionHandler::updateMenu, EditorUi.CommentsWindow::addComment) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":44913}}}],"partialFingerprints":{"codehealthFindingId/v1":"e31ed42c1f5fd4471518f197a48f8a97e7b3965b56adf88caa4bd1152e0ee6ec"}},{"ruleId":"D2","level":"warning","message":{"text":"Extensions.getFontColor (cognitive 16): Extensions.getFontColor has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (13 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Extensions.js"},"region":{"startLine":5017}}}],"partialFingerprints":{"codehealthFindingId/v1":"6badac818ea47b0405109040b52ce90705e0785c215a71e0139cb158c94d89b3"}},{"ruleId":"D2","level":"warning","message":{"text":"ForceExplorer.ForceExplorer.initEndLabels (cognitive 16): ForceExplorer.ForceExplorer.initEndLabels has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (9 pts), ternaries 2 (6 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ForceExplorer.js"},"region":{"startLine":3476}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b5214af22c83d7d90876e5277b00affaafe15062a50123d2790cdb68972d62a"}},{"ruleId":"D2","level":"warning","message":{"text":"GitHubClient.GitHubClient.createGitHubFile (cognitive 16): GitHubClient.GitHubClient.createGitHubFile has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 1, ternaries 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/GitHubClient.js"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c2b5ea9e00aba4f9a77044fde14ffdbe7e455871040c22c569c6226f246b77c"}},{"ruleId":"D2","level":"warning","message":{"text":"GitLabClient.GitLabClient.getFileContent (cognitive 16): GitLabClient.GitLabClient.getFileContent has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/GitLabClient.js"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"b12e613c7d9e675aca629301a23312cb65613b8ef3fcb0587b716495549cf438"}},{"ruleId":"D2","level":"warning","message":{"text":"GraphViewer.GraphViewer.reserveSize (cognitive 16): GraphViewer.GraphViewer.reserveSize has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 1 (3 pts), boolean chains 1 (nesting depth added 9). Of this number, 13 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. 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/webapp/js/diagramly/GraphViewer.js"},"region":{"startLine":3310}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9adf8a3eb2e512762d59ae2df0e724cb2020f5dc1ecd825037686003bb34136"}},{"ruleId":"D2","level":"warning","message":{"text":"GraphViewer.GraphViewer.blockedAncestorFrames (cognitive 16): GraphViewer.GraphViewer.blockedAncestorFrames has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (8 pts), boolean chains 5, loops 1 (2 pts), error handling 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/GraphViewer.js"},"region":{"startLine":3607}}}],"partialFingerprints":{"codehealthFindingId/v1":"03271629c17d7753230eedd92c6957c9fc27900d8a056e01657e2a88275ca94a"}},{"ruleId":"D2","level":"warning","message":{"text":"LibavoidRouting.LibavoidRouting.installAutoRouting::onMoveResize (cognitive 16): LibavoidRouting.LibavoidRouting.installAutoRouting::onMoveResize has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 2 (3 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/webapp/js/diagramly/LibavoidRouting.js"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ff84e29603db5c01bd9376cb0f42983877061f4ce23733b4c454ea53d665b85"}},{"ruleId":"D2","level":"warning","message":{"text":"Minimal.EditorUi.initMinimalTheme::toggleShapes (cognitive 16): Minimal.EditorUi.initMinimalTheme::toggleShapes has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (13 pts), ternaries 1 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (Minimal.EditorUi.initMinimalTheme) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Minimal.js"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf16b58e72f1d6b9f7e4a1dfa990bdfd922aa991365873f1b60b038ae8bd2292"}},{"ruleId":"D2","level":"warning","message":{"text":"OneDriveClient.OneDriveClient.executeRequest (cognitive 16): OneDriveClient.OneDriveClient.executeRequest has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 5 (nesting depth added 3). Most of this is not in the body itself: 3 of the 16 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 557, 587). 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/webapp/js/diagramly/OneDriveClient.js"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"913eb91e9d72cf33dd90ef1cf025c224a9979d19573f065a1cf0c93afbf16e19"}},{"ruleId":"D2","level":"warning","message":{"text":"OneDriveClient.OneDriveClient.pickFileOD (cognitive 16): OneDriveClient.OneDriveClient.pickFileOD has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 3, ternaries 2 (nesting depth added 4). Most of this is not in the body itself: 4 of the 16 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 1820, 1826, 1849, \u2026). 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/webapp/js/diagramly/OneDriveClient.js"},"region":{"startLine":1813}}}],"partialFingerprints":{"codehealthFindingId/v1":"289c1b4ef4f597b2bbd544f0bcd2e6c5e5622efa44708dd2702165c00f86209b"}},{"ruleId":"D2","level":"warning","message":{"text":"Pages.EditorUi.updatePageRoot (cognitive 16): Pages.EditorUi.updatePageRoot has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Pages.js"},"region":{"startLine":1990}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a77884545a012afe3ad48bb92ffc26e0f9c32d4a48dde6781751ce2b7067ee4"}},{"ruleId":"D2","level":"warning","message":{"text":"Pages.EditorUi.getCollapsedPageGroups (cognitive 16): Pages.EditorUi.getCollapsedPageGroups has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (7 pts), error handling 1 (3 pts), loops 1 (3 pts), boolean chains 2, ternaries 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Pages.js"},"region":{"startLine":2861}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cc11af15aa2932df62ead09c9407decbd6768ee8aab481cc5b0a47ad216e3d9"}},{"ruleId":"D2","level":"warning","message":{"text":"Trees.EditorUi.addTrees::hasConnectedSurvivor (cognitive 16): Trees.EditorUi.addTrees::hasConnectedSurvivor has cognitive complexity 16 (threshold 15). Drivers by points: if/else 2 (8 pts), loops 3 (7 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 3 other methods here (Trees.EditorUi.addTrees, Trees.EditorUi.addTrees::collectTreeRemoval, Trees.EditorUi.addTrees::getTreeDirection) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Trees.js"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"b19264e1e91dd7f54f25b2d3d7d044061d4ded4eccfd9689896e1568d14c5900"}},{"ruleId":"D2","level":"warning","message":{"text":"ViewerModern.ViewerModern.addCustomButton (cognitive 16): ViewerModern.ViewerModern.addCustomButton has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), ternaries 2 (4 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/webapp/js/diagramly/ViewerModern.js"},"region":{"startLine":1316}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb62e8d0774369193a4c9ee04c13ffb327b5bd18c363a201eba01271b104e9bf"}},{"ruleId":"D2","level":"warning","message":{"text":"ViewerModern.ViewerModern.updateSeparators (cognitive 16): ViewerModern.ViewerModern.updateSeparators has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (8 pts), boolean chains 4, loops 3 (4 pts) (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/webapp/js/diagramly/ViewerModern.js"},"region":{"startLine":1696}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ff640421727f68124b3191f68037fd72d86a3d7b2db132154ddd06581e5fe7a"}},{"ruleId":"D2","level":"warning","message":{"text":"ViewerModern.ViewerModern.installListeners (cognitive 16): ViewerModern.ViewerModern.installListeners has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 3, loops 2 (nesting depth added 2). Most of this is not in the body itself: 5 of the 16 points are its own statements and the rest belongs to 6 function items inside it that branch (a function literal at line 1816, a function literal at line 1837, stopKey, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ViewerModern.js"},"region":{"startLine":1801}}}],"partialFingerprints":{"codehealthFindingId/v1":"22aa8ee7c66ed0d05a914443413effc411c98116b2d95313dd7dddb90d974654"}},{"ruleId":"D2","level":"warning","message":{"text":"GifEncoder.GifEncoder.medianCut (cognitive 16): GifEncoder.GifEncoder.medianCut has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 4 (6 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/gif/GifEncoder.js"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e54abb99e77937f7a2f7f454fb537806e8008f1285ec6eaf3cf7e86fe53489d"}},{"ruleId":"D2","level":"warning","message":{"text":"mxGraphMlCodec.mxGraphMlCodec.addColumn (cognitive 16): mxGraphMlCodec.mxGraphMlCodec.addColumn has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (14 pts), loops 1 (2 pts) (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/webapp/js/diagramly/graphml/mxGraphMlCodec.js"},"region":{"startLine":1935}}}],"partialFingerprints":{"codehealthFindingId/v1":"72491b6c75fda33d5cceb4a925deca56a97ee20a11457810104b5d3c43461e97"}},{"ruleId":"D2","level":"warning","message":{"text":"TidyWindow.TidyWindow.run (cognitive 16): TidyWindow.TidyWindow.run has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 4, error handling 1 (nesting depth added 2). Most of this is not in the body itself: 5 of the 16 points are its own statements and the rest belongs to one function literal inside it that branches (line 694). The decisions are inside the literal, 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 literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/tidy/TidyWindow.js"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"29b1e9ced74619881cf0a49a78fb7c089dae761c3b0b80ec8f6a1dd349a2feba"}},{"ruleId":"D2","level":"warning","message":{"text":"Editor.PageSetupDialog.addPageFormatPanel.update (cognitive 16): Editor.PageSetupDialog.addPageFormatPanel.update has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (7 pts), ternaries 3 (5 pts), boolean chains 4 (nesting depth added 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/webapp/js/grapheditor/Editor.js"},"region":{"startLine":4272}}}],"partialFingerprints":{"codehealthFindingId/v1":"559ceece3c48210c68594c4914787d0d7484501c4848b8ef3226e907391a7081"}},{"ruleId":"D2","level":"warning","message":{"text":"EditorUi.EditorUi.save (cognitive 16): EditorUi.EditorUi.save has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (13 pts), error handling 1 (2 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":10422}}}],"partialFingerprints":{"codehealthFindingId/v1":"f323d6593ffa0fd335456d7e3fd79e65a84ce118531e8e683dc814e52b8e81b1"}},{"ruleId":"D2","level":"warning","message":{"text":"Format.BaseFormatPanel.getStyleRuleKeys (cognitive 16): Format.BaseFormatPanel.getStyleRuleKeys has cognitive complexity 16 (threshold 15). Drivers by points: loops 3 (9 pts), if/else 3 (6 pts), boolean chains 1 (nesting depth added 9). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Format.js"},"region":{"startLine":913}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee46b6536bb3b5c43bda8ff84fd0e825d8892d80038dc7be56f3fa07072beb21"}},{"ruleId":"D2","level":"warning","message":{"text":"Format.ArrangePanel.addEdgeGeometryHandler.update (cognitive 16): Format.ArrangePanel.addEdgeGeometryHandler.update has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 1 (3 pts) (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Format.js"},"region":{"startLine":4221}}}],"partialFingerprints":{"codehealthFindingId/v1":"87f59e4bd52379f393f19e7e840a495b74bf0cdd8d0f7bea36d989ce011a2762"}},{"ruleId":"D2","level":"warning","message":{"text":"Format.DiagramStylePanel.addView (cognitive 16): Format.DiagramStylePanel.addView has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 8). Of this number, 13 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. 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/webapp/js/grapheditor/Format.js"},"region":{"startLine":8989}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b36d376c8dc6a64a9a10b8f6cc16c168045eadb5c532c3ecafb5affdc6cfd26"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.DOMPurify.addHook(\u0022afterSanitizeAttributes\u0022) (cognitive 16): Graph.DOMPurify.addHook(\u0022afterSanitizeAttributes\u0022) has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (8 pts), boolean chains 6, loops 1 (2 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":5106}}}],"partialFingerprints":{"codehealthFindingId/v1":"982b1efb188cdcb129a516b32d11c730d292cb41b355ecfb32417a1696f53f40"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.getCssVariables (cognitive 16): Graph.Graph.getCssVariables has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (9 pts), ternaries 1 (3 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":5349}}}],"partialFingerprints":{"codehealthFindingId/v1":"97dfd20871c3deabf01a191c18da1ae50371fed4766e658c8433d217e1354f75"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.setSvgDataUriCssVars (cognitive 16): Graph.Graph.setSvgDataUriCssVars has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (10 pts), boolean chains 4, error handling 1 (2 pts) (nesting depth added 7). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":5391}}}],"partialFingerprints":{"codehealthFindingId/v1":"daa30711a40481ac5ff117753bf0868f560cdc7d95daa9025a5c8501c219d957"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.applyNewEdgeStyle (cognitive 16): Graph.Graph.applyNewEdgeStyle has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (6 pts), ternaries 1 (4 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":10061}}}],"partialFingerprints":{"codehealthFindingId/v1":"90115a3629164a73effa368756ed77b28a1e5e93b8a27b941663838b5a1a5ca3"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.keepLoopOutsideShape (cognitive 16): Graph.Graph.keepLoopOutsideShape has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 1, loops 1, ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":11108}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7a92cba2ac27c9d3e48a4ddbc2fdd9578cf8967168bd964aaf628383dbeeb75"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.getLockedGroupAncestor (cognitive 16): Graph.Graph.getLockedGroupAncestor has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (6 pts), boolean chains 4, ternaries 3 (4 pts), loops 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":16881}}}],"partialFingerprints":{"codehealthFindingId/v1":"073ce3cf3582a244168f244485dedb7febd8a29ad0939e081166f2470ce77f6f"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.selectTableRange (cognitive 16): Graph.Graph.selectTableRange has cognitive complexity 16 (threshold 15). Drivers by points: loops 2 (7 pts), if/else 3 (6 pts), boolean chains 3 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":17083}}}],"partialFingerprints":{"codehealthFindingId/v1":"59fbbec43bc38bf0bd8fcd4759fe830e84304e8432fb7cffdae1717bb7c6f2b2"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.getDataStyleValue (cognitive 16): Graph.Graph.getDataStyleValue has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 6, ternaries 1 (nesting depth added 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":18021}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1f3351604c125547bb8218d62549f56d1dcc304326c9bb97d32f7420334d361"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.isSafeCssColor (cognitive 16): Graph.Graph.isSafeCssColor has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 5, loops 1 (2 pts) (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":19520}}}],"partialFingerprints":{"codehealthFindingId/v1":"d41ccb560b6547c2b667dccb9c259727b34ac80959b93604e60036d25c2def99"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.convertValueToTooltip (cognitive 16): Graph.Graph.convertValueToTooltip has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 3 (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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":22434}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5a29df1aff679048533b0d8eb4294e6eb39ce05c301170f4a136278709418bc"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.getCellTypeName (cognitive 16): Graph.Graph.getCellTypeName has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9, boolean chains 6, ternaries 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":22755}}}],"partialFingerprints":{"codehealthFindingId/v1":"f123757e9adee938fd11d8c8b91ac8502800a24b05daa20cd3f5132822c608f8"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.Graph.getTextOutline::collect (cognitive 16): Graph.Graph.getTextOutline::collect has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (13 pts), boolean chains 2, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (Graph.Graph.getTextOutline) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":23075}}}],"partialFingerprints":{"codehealthFindingId/v1":"247568b82f5990f21493b0c48c9ea8fbfbb617a30c7d6c334d436c25a465bb30"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.mxGraphView.validateCellState (cognitive 16): Graph.mxGraphView.validateCellState has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (6 pts), ternaries 3 (6 pts), boolean chains 4 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":30676}}}],"partialFingerprints":{"codehealthFindingId/v1":"875966b06c6e4efbc8f4ac5b57cbd01426db59ad8451d41c9b90224d2e4d40ea"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.mxEdgeStyle.ElbowConnector (cognitive 16): Graph.mxEdgeStyle.ElbowConnector has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 6, ternaries 1 (nesting depth added 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":32873}}}],"partialFingerprints":{"codehealthFindingId/v1":"8de84cae62c8bee804f567619ba191def12007c3592691b5cccc421cf4eecb5d"}},{"ruleId":"D2","level":"warning","message":{"text":"Graph.mxGraphView.updateTiedPoints (cognitive 16): Graph.mxGraphView.updateTiedPoints has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), ternaries 2 (5 pts), boolean chains 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":33364}}}],"partialFingerprints":{"codehealthFindingId/v1":"090075ba67eb541b22d2a0fdcba89d9c1c2bd69083aeb4d02cc21be124d4b71c"}},{"ruleId":"D2","level":"warning","message":{"text":"Omnibox.Omnibox.getFormatRowLabel (cognitive 16): Omnibox.Omnibox.getFormatRowLabel has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (10 pts), boolean chains 4, loops 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Omnibox.js"},"region":{"startLine":1620}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0ce06b97510a1a5e74a2a9c40009db22c8d1587570c74cc9082bd93c2591c3d"}},{"ruleId":"D2","level":"warning","message":{"text":"Shapes.mxPerimeter.TrapezoidPerimeter (cognitive 16): Shapes.mxPerimeter.TrapezoidPerimeter has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 6 (10 pts), if/else 6 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (Shapes.mxPerimeter.StepPerimeter) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":4643}}}],"partialFingerprints":{"codehealthFindingId/v1":"0de808110eae3bb86d527abc970bc35ece5b645d2611e6aaf9b920cf83f7d569"}},{"ruleId":"D2","level":"warning","message":{"text":"Shapes.mxPerimeter.StepPerimeter (cognitive 16): Shapes.mxPerimeter.StepPerimeter has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 6 (10 pts), if/else 6 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (Shapes.mxPerimeter.TrapezoidPerimeter) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":4699}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4d73c5e43aebcdc80336b68456f67517d6b9d9329ad80f0b2e7f1f5f2787f1d"}},{"ruleId":"D2","level":"warning","message":{"text":"Shapes.mxShapeBasicRect2.paintSWInner (cognitive 16): Shapes.mxShapeBasicRect2.paintSWInner has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 10, if/else 6. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":7240}}}],"partialFingerprints":{"codehealthFindingId/v1":"348247886f2ee966dd709d1fbd8d38eb17701068a9323ff8901890086eebb638"}},{"ruleId":"D2","level":"warning","message":{"text":"Shapes.mxShapeBasicRect2.moveSWInner (cognitive 16): Shapes.mxShapeBasicRect2.moveSWInner has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 12, if/else 4. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: 3 other methods here (Shapes.mxShapeBasicRect2.lineSWInner, Shapes.mxShapeBasicRect2.moveSEInner, Shapes.mxShapeBasicRect2.lineSEInner) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":7269}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdd53f16e0763db158207915eaed27763721588f75ff82340d3963c6ccb8ae63"}},{"ruleId":"D2","level":"warning","message":{"text":"Shapes.mxShapeBasicRect2.lineSWInner (cognitive 16): Shapes.mxShapeBasicRect2.lineSWInner has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 12, if/else 4. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: 3 other methods here (Shapes.mxShapeBasicRect2.moveSWInner, Shapes.mxShapeBasicRect2.moveSEInner, Shapes.mxShapeBasicRect2.lineSEInner) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":7291}}}],"partialFingerprints":{"codehealthFindingId/v1":"46a85ab6ddc708da09c7b328d8e9b0150df8c8642eb1a9a8944a2a20303d6f43"}},{"ruleId":"D2","level":"warning","message":{"text":"Shapes.mxShapeBasicRect2.moveSEInner (cognitive 16): Shapes.mxShapeBasicRect2.moveSEInner has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 12, if/else 4. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: 3 other methods here (Shapes.mxShapeBasicRect2.moveSWInner, Shapes.mxShapeBasicRect2.lineSWInner, Shapes.mxShapeBasicRect2.lineSEInner) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":7313}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ff644f2ef8d1e92fb337c57a1fd592657cf1affb24a84d200e37cf041bebeef"}},{"ruleId":"D2","level":"warning","message":{"text":"Shapes.mxShapeBasicRect2.lineSEInner (cognitive 16): Shapes.mxShapeBasicRect2.lineSEInner has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 12, if/else 4. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: 3 other methods here (Shapes.mxShapeBasicRect2.moveSWInner, Shapes.mxShapeBasicRect2.lineSWInner, Shapes.mxShapeBasicRect2.moveSEInner) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":7335}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dd1e585f9fc190ecd8380117e159b0de0eab3e90cdf2fbfffa90d0c2630b90f"}},{"ruleId":"D2","level":"warning","message":{"text":"libavoid-routing.AvoidRouting.cappedJetty (cognitive 16): libavoid-routing.AvoidRouting.cappedJetty has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 5 (11 pts), if/else 3 (4 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/libavoid-js/libavoid-routing.js"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"67cf6dc2c3ede0fdd9d16912ae167c3e5cdcedf09b554f5555ff04b2dee0c91c"}},{"ruleId":"D2","level":"warning","message":{"text":"mxConnectionHandler.mxConnectionHandler.createTargetVertex (cognitive 16): mxConnectionHandler.mxConnectionHandler.createTargetVertex has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (14 pts), boolean chains 1, loops 1 (nesting depth added 9). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/handler/mxConnectionHandler.js"},"region":{"startLine":2142}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8cc3d53feb9c664b5dbb7f7c286a09ffe97e17cc4a2856313d5918c39d28a51"}},{"ruleId":"D2","level":"warning","message":{"text":"mxVertexHandler.mxVertexHandler.resizeCell (cognitive 16): mxVertexHandler.mxVertexHandler.resizeCell has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/handler/mxVertexHandler.js"},"region":{"startLine":1566}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef7a3aabb17889fbb9c623b0265ec43c31afe389ef4b0b74ef418ccab593e069"}},{"ruleId":"D2","level":"warning","message":{"text":"mxDragSource.mxDragSource.mouseMove (cognitive 16): mxDragSource.mxDragSource.mouseMove has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 3 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxDragSource.js"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"27d3e3c81aa511070d0fdea2197aacb0d35089eedfb0cdbd86733d2613588b7f"}},{"ruleId":"D2","level":"warning","message":{"text":"mxSvgCanvas2D.mxSvgCanvas2D.convertHtml (cognitive 16): mxSvgCanvas2D.mxSvgCanvas2D.convertHtml has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 2, loops 1 (2 pts) (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/webapp/mxgraph/src/util/mxSvgCanvas2D.js"},"region":{"startLine":2000}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ee326b331e30c2d0c666ba7ccf193d6d9baca9288b9c7c06c974829684b76af"}},{"ruleId":"D2","level":"warning","message":{"text":"mxGraphView.mxGraphView.validateBackgroundPage (cognitive 16): mxGraphView.mxGraphView.validateBackgroundPage has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 2 (nesting depth added 7). Of this number, 8 points are the body\u0027s own statements and 8 belong to one function literal inside it that branches. 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/webapp/mxgraph/src/view/mxGraphView.js"},"region":{"startLine":2199}}}],"partialFingerprints":{"codehealthFindingId/v1":"25008f458118b5f5b82761b527a47f10068711c87777190c7fd25b7f25a7f228"}},{"ruleId":"D2","level":"warning","message":{"text":"mxGraphView.mxGraphView.updateFloatingTerminalPoints (cognitive 16): mxGraphView.mxGraphView.updateFloatingTerminalPoints has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (7 pts), ternaries 2 (6 pts), boolean chains 3 (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/webapp/mxgraph/src/view/mxGraphView.js"},"region":{"startLine":3230}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef40bc38f7dd5e07f9830f0f6b3c80b7f273880e04268b7aa049b20c48095f87"}},{"ruleId":"D2","level":"warning","message":{"text":"mxGraphView.mxGraphView.updateEdgeLabelOffset (cognitive 16): mxGraphView.mxGraphView.updateEdgeLabelOffset has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (14 pts), boolean chains 2 (nesting depth added 8). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxGraphView.js"},"region":{"startLine":4327}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b1b69e2c7414341488fd49f59cec2cae8153de882cebb15a4be63deb6a6e8eb"}},{"ruleId":"D2","level":"warning","message":{"text":"mxOutline.mxOutline.addGestureListeners (cognitive 16): mxOutline.mxOutline.addGestureListeners has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 2 (nesting depth added 5). None of this is in the body itself: all 16 points belong to 3 function literals inside it that branch (lines 241, 284, 305). 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/webapp/mxgraph/src/view/mxOutline.js"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9f1104e2a5505d9abf441649b4e81226a04d80466fd735ad0fd75e49601623a"}},{"ruleId":"D2","level":"warning","message":{"text":"mxSwimlaneManager.mxSwimlaneManager.resizeSwimlane (cognitive 16): mxSwimlaneManager.mxSwimlaneManager.resizeSwimlane has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (11 pts), boolean chains 3, loops 1, ternaries 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxSwimlaneManager.js"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"4459f98357f9c37e20dfcd73b098107b5fa70c97b3d5765b60e49831da658305"}},{"ruleId":"D2","level":"warning","message":{"text":"nextcloud.Draw.loadPlugin() (cognitive 16): nextcloud.Draw.loadPlugin() has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 10, if/else 3 (5 pts), error handling 1 (nesting depth added 2). Of this number, 10 points are the body\u0027s own statements and 6 belong to 21 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/plugins/nextcloud.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"54e1a4a75fd3938d69854e487d2350db1c9f351fc2fed6fc6fdc3e98456d8832"}},{"ruleId":"D2","level":"warning","message":{"text":"mxBootstrap.mxShapeBootstrapLeftButtonStriped.paintVertexShape (cognitive 16): mxBootstrap.mxShapeBootstrapLeftButtonStriped.paintVertexShape has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/shapes/mxBootstrap.js"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f4fc5ef3991675a477e8f9813215e9082c6aeb6af3591e100d08d852e0750bb"}},{"ruleId":"D2","level":"warning","message":{"text":"mxBootstrap.mxShapeBootstrapRating.paintVertexShape (cognitive 16): mxBootstrap.mxShapeBootstrapRating.paintVertexShape has cognitive complexity 16 (threshold 15). Drivers by points: loops 4 (8 pts), boolean chains 4, if/else 4 (nesting depth added 4). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/shapes/mxBootstrap.js"},"region":{"startLine":1015}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f3fa78b8c27b2b3655dcadba5d413019623682ab9f994b7a5cc2d456d9f7f71"}},{"ruleId":"D2","level":"warning","message":{"text":"mxElectrical.mxShapeElectricalMux.paintVertexShape (cognitive 16): mxElectrical.mxShapeElectricalMux.paintVertexShape has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (9 pts), loops 3 (5 pts), match/switch 2 (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/shapes/mxElectrical.js"},"region":{"startLine":1567}}}],"partialFingerprints":{"codehealthFindingId/v1":"28fa4969f22015a7097719900fda6490583833a0aeaa4d2f670e48096ee6191c"}},{"ruleId":"D2","level":"warning","message":{"text":"mxSysML.mxShapeSysMLItemFlow.paintVertexShape (cognitive 16): mxSysML.mxShapeSysMLItemFlow.paintVertexShape has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12 (16 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/shapes/mxSysML.js"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"65565a4ae86624a69629b369bc100ea4fc354802f768b82283b595278bcb5417"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::addVertex (cognitive 16): (anonymous)::addVertex has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 6 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":1317}}}],"partialFingerprints":{"codehealthFindingId/v1":"464f1e6c8ec7a5b33b4ce269a39f93dbee6c95d88cfbd2f648d4c092db95842a"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::handle (cognitive 16): (anonymous)::handle has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (11 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":8789}}}],"partialFingerprints":{"codehealthFindingId/v1":"85c74d83a9589ef84333da60df6c0a8af4bd4a0fdc33dd96baa84221de6be615"}},{"ruleId":"D2","level":"warning","message":{"text":"finish (cognitive 16): finish has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), ternaries 2 (4 pts), boolean chains 2, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":27942}}}],"partialFingerprints":{"codehealthFindingId/v1":"279fa1abac767434ba6e0ff0fbedc91d3d7eea9480c337dca13bf436a4c2256b"}},{"ruleId":"D2","level":"warning","message":{"text":"splitEdge (cognitive 16): splitEdge has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 6, if/else 3 (6 pts), ternaries 2 (4 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":5441}}}],"partialFingerprints":{"codehealthFindingId/v1":"96a4ca4a33a8f3205cf810eb6f936616e88b4618f523fa5df88d86ea0da4673e"}},{"ruleId":"D2","level":"warning","message":{"text":"getDirectionMap (cognitive 16): getDirectionMap has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 6 (9 pts), if/else 3 (4 pts), boolean chains 3 (nesting depth added 4). Of this number, 11 points are the body\u0027s own statements and 5 belong to one function item inside it that branches. 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/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":1091}}}],"partialFingerprints":{"codehealthFindingId/v1":"0efc603668ea9050245c942a521f46f398fe8d4bb814393063a14c050065a0a1"}},{"ruleId":"D2","level":"warning","message":{"text":"addEdgeGeometryHandler::update (cognitive 16): addEdgeGeometryHandler::update has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 1 (3 pts) (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Format.js"},"region":{"startLine":4221}}}],"partialFingerprints":{"codehealthFindingId/v1":"07b0fac97dd1a152b048fcf8bf60a52a6057103bde59620b899b5c182cb815e0"}},{"ruleId":"D2","level":"warning","message":{"text":"reportDriveUse (cognitive 16): reportDriveUse has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 9, if/else 3 (6 pts), ternaries 1 (nesting depth added 3). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":3088}}}],"partialFingerprints":{"codehealthFindingId/v1":"23f439e342355bf8710e414a52bfeda209e99d05af0c61807f4c77d5f01185fe"}},{"ruleId":"D2","level":"warning","message":{"text":"init::(anonymous)::keydownHandler (cognitive 16): init::(anonymous)::keydownHandler has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (8 pts), boolean chains 6, ternaries 1 (2 pts) (nesting depth added 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/webapp/js/diagramly/Menus.js"},"region":{"startLine":5214}}}],"partialFingerprints":{"codehealthFindingId/v1":"dde0bc1eb9e2a9a950934b0695873b016a1451816c982a5f27a2d8dc6782524b"}},{"ruleId":"D2","level":"warning","message":{"text":"parseCssFontFamily (cognitive 16): parseCssFontFamily has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (10 pts), boolean chains 4, loops 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxUtils.js"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"29a5f4d83339acfa0028ce4178f79841421f6a71b5f543c93037beaddd30f468"}},{"ruleId":"D2","level":"warning","message":{"text":"arcToCurves (cognitive 16): arcToCurves has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 4, ternaries 3, loops 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxUtils.js"},"region":{"startLine":2955}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f2f19ec905a88acca74034dc6c2402a39438830de9b3d777efc153dfa4b839f"}},{"ruleId":"D2","level":"warning","message":{"text":"getOffset (cognitive 16): getOffset has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 1 (3 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxUtils.js"},"region":{"startLine":3653}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a8a9de7a26c5616e238c323ee7591b75ea8291d001e0ab1fc53b1acf306d054"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkupDialog::applyFormat (cognitive 16): MarkupDialog::applyFormat has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (7 pts), loops 3 (6 pts), boolean chains 2, ternaries 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Dialogs.js"},"region":{"startLine":2656}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8d187af91ffaf3010d3990cb70ebdeb19743703b0eef5bc339ebfb6c20754d5"}},{"ruleId":"D2","level":"warning","message":{"text":"getCellBounds (cognitive 16): getCellBounds has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (5 pts), ternaries 3 (5 pts), boolean chains 4, loops 1 (2 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/InlineToolbar.js"},"region":{"startLine":1081}}}],"partialFingerprints":{"codehealthFindingId/v1":"6100b472b9eacdfc7a347c21b53e5d7dbbaf9a47d35b78080a3bf5f1fa88947d"}},{"ruleId":"D2","level":"warning","message":{"text":"showFillMenu::update (cognitive 16): showFillMenu::update has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 10, ternaries 6. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/InlineToolbar.js"},"region":{"startLine":2829}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d33e645ac3a78636a17c153802ce98821a5831adaaab9566d81b6ec29841c92"}},{"ruleId":"D2","level":"warning","message":{"text":"init (cognitive 16): init has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 10, boolean chains 3, if/else 3. Most of this is not in the body itself: 6 of the 16 points are its own statements and the rest belongs to 6 function items inside it that branch (getPoint, replacePlaceholders, applyDataStyles, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ForceExplorer.js"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"c620299ca236a03e79e9529fdadf89906056fc3a0b59545980958a198ed86db0"}},{"ruleId":"D2","level":"warning","message":{"text":"updateLinkOpacity (cognitive 16): updateLinkOpacity has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (8 pts), boolean chains 4, ternaries 1 (3 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ForceExplorer.js"},"region":{"startLine":4233}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab2cf3376f10bab8d950cd123f1af7bc81b5e5e12f4ca95a9e4ef578545db286"}},{"ruleId":"D2","level":"warning","message":{"text":"getState (cognitive 16): getState has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 4 (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/webapp/mxgraph/src/view/mxGraphView.js"},"region":{"startLine":4389}}}],"partialFingerprints":{"codehealthFindingId/v1":"83d026bbc972ee9c2111f393643af2b8a7c198929ca644315264fe133aa48029"}},{"ruleId":"D2","level":"warning","message":{"text":"mxSvgCanvas2D (cognitive 16): mxSvgCanvas2D has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 1 (2 pts), boolean chains 1, ternaries 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxSvgCanvas2D.js"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"231aba3af632b4d44cc3eaa736f012276d5a82937916f2d0027ef6ddf5f87e0a"}},{"ruleId":"D2","level":"warning","message":{"text":"pageSelected (cognitive 16): pageSelected has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 3 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Pages.js"},"region":{"startLine":1095}}}],"partialFingerprints":{"codehealthFindingId/v1":"00c6d9a03d63c52d8cb59ac8ebcba5143ae5f03f7d21015dc61d89af8df9f422"}},{"ruleId":"D2","level":"warning","message":{"text":"install.setupFieldHandlers (cognitive 16): install.setupFieldHandlers has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (13 pts), error handling 1 (2 pts), boolean chains 1 (nesting depth added 4). None of this is in the body itself: all 16 points belong to 3 function literals inside it that branch (lines 539, 532, 565). 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/webapp/js/diagramly/ConfigEditor.js"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c0cc2feaf5303ee5d5bcfe005d5a6cce2a40170ba31d2dac71769607dfbd82d"}},{"ruleId":"D2","level":"warning","message":{"text":"applyHiddenTags (cognitive 16): applyHiddenTags has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 2 (6 pts), error handling 2 (4 pts), boolean chains 3, if/else 2 (3 pts) (nesting depth added 7). Of this number, 9 points are the body\u0027s own statements and 7 belong to one function item inside it that branches. 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/webapp/js/diagramly/LightboxModern.js"},"region":{"startLine":1323}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fc66cd277373612672865b187b014a6c0c96500f8774f7311628b5eb7055f1c"}},{"ruleId":"D2","level":"warning","message":{"text":"getChanges (cognitive 16): getChanges has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), ternaries 1 (3 pts), boolean chains 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/tidy/Tidy.js"},"region":{"startLine":2713}}}],"partialFingerprints":{"codehealthFindingId/v1":"22034ffec558a0d7724fbfa495ec1c6bf7978e27fe7c0e989c55815200d3b5dc"}},{"ruleId":"D2","level":"warning","message":{"text":"installDiagramLanguage (cognitive 16): installDiagramLanguage has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), ternaries 2 (4 pts), boolean chains 2, loops 1 (nesting depth added 5). Of this number, 11 points are the body\u0027s own statements and 5 belong to 2 function items inside it that branch. 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/webapp/js/diagramly/ViewerModern.js"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"972e6538580f51e683c88dafca3baf5a8661e95d3b2f953615d8acaa31f13be3"}},{"ruleId":"D2","level":"warning","message":{"text":"endSegment (cognitive 16): endSegment has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 6 (11 pts), if/else 2 (3 pts), boolean chains 1, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/libavoid-js/libavoid-routing.js"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"675fa431f5778c49e49e9edf93e7fd143888768bff4eed668f8009fe4108adf7"}},{"ruleId":"D2","level":"warning","message":{"text":"resetLivePreview (cognitive 16): resetLivePreview has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 3 (nesting depth added 7). Most of this is not in the body itself: 1 of the 16 points is its own statement and the rest belongs to one function literal inside it that branches (line 1781). The decisions are inside the literal, 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 literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/handler/mxGraphHandler.js"},"region":{"startLine":1777}}}],"partialFingerprints":{"codehealthFindingId/v1":"55f144defab7842b08c0e7c6733e4f484c5ac885a825134d2c35a82b8106444c"}},{"ruleId":"D2","level":"warning","message":{"text":"ElbowConnector (cognitive 16): ElbowConnector has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 6, ternaries 1 (nesting depth added 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/webapp/mxgraph/src/view/mxEdgeStyle.js"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ac7cb28c8fb80ab21e1a99ebada2c67b667ca9426770f0fd584c09f02fba525"}},{"ruleId":"D2","level":"warning","message":{"text":"positionBoxes::visitorEdgeFunc::walk (cognitive 16): positionBoxes::visitorEdgeFunc::walk has cognitive complexity 16 (threshold 15). Drivers by points: loops 4 (7 pts), if/else 3 (6 pts), boolean chains 3 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/orgchart/mxOrgChartLayout.js"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b21ce43d8c0f4b4aa7d6ac7757b0c3dba271e97c0a3cef1ec4f4c74689e0589"}},{"ruleId":"D2","level":"warning","message":{"text":"getBatches (cognitive 16): getBatches has cognitive complexity 16 (threshold 15). Drivers by points: if/else 2 (7 pts), loops 3 (5 pts), boolean chains 4 (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/webapp/js/diagramly/gif/AnimationExport.js"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"77d02f3fe0641fb9ffc2cb2e3d2a604092c1fc07b1392dfb11b686a9416b695c"}},{"ruleId":"D2","level":"warning","message":{"text":"insertFile (cognitive 16): insertFile has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), ternaries 2 (4 pts), error handling 1 (3 pts) (nesting depth added 7). Most of this is not in the body itself: 1 of the 16 points is its own statement and the rest belongs to 4 function literals inside it that branch (lines 588, 612, 573, \u2026). 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/webapp/js/diagramly/GitLabClient.js"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bad597206327c797ab13a83a4bed700619367ee4311d819a6aae6994b17829e"}},{"ruleId":"D2","level":"warning","message":{"text":"frame (cognitive 16): frame has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 4, ternaries 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/SpringMove.js"},"region":{"startLine":920}}}],"partialFingerprints":{"codehealthFindingId/v1":"cef22313a8d660674f71283d725a35b1de719e3a0785f066b9c13657be729e8d"}},{"ruleId":"D2","level":"warning","message":{"text":"mxText (cognitive 16): mxText has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 11, boolean chains 5. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/shape/mxText.js"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"add8a72c3dff27a63f10078b061f499128fef752dad782c72f09880c2ec3213f"}},{"ruleId":"D2","level":"warning","message":{"text":"paint (cognitive 16): paint has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (6 pts), boolean chains 5, ternaries 3 (5 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/shape/mxText.js"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ad5ca41f51efb2f73fd41326d9e166612a15a573a0a3a8649b570324a0cf640"}},{"ruleId":"D2","level":"warning","message":{"text":"getConstraints (cognitive 16): getConstraints has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (9 pts), loops 1 (3 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/shapes/mxAtlassian2.js"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"335af84803c86ff70709f939d3743ec62d8b27a42bc1e12bfd102efe3d7bc274"}},{"ruleId":"D2","level":"warning","message":{"text":"redrawDistanceGuides (cognitive 16): redrawDistanceGuides has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 6 (10 pts), if/else 3 (4 pts), loops 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxGuide.js"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef13d582cb985e6b278482fffd41fe5f48ffc87f425da7aaa883ce98e46e64c5"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::cloneUserObject (cognitive 16): (anonymous)::cloneUserObject has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (6 pts), ternaries 2 (5 pts), loops 3 (4 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/io/mxCellCodec.js"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"798cce795c00a01d57facdf68b5105d218bda3685ec55151af7e34e7f6b34635"}},{"ruleId":"D2","level":"warning","message":{"text":"setPersistentToken (cognitive 16): setPersistentToken has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), ternaries 1 (3 pts), error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DrawioClient.js"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"199d5895a1f95cbdd5fed47dfcd7b9155e08748668250fbfdd4ba5f7bcb6a520"}},{"ruleId":"D2","level":"warning","message":{"text":"fadeOut (cognitive 16): fadeOut has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 6 (nesting depth added 4). Of this number, 9 points are the body\u0027s own statements and 7 belong to one function item inside it that branches. 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/webapp/mxgraph/src/util/mxEffects.js"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5ed93f2da043d0f7f0068c677312ac9c3322dd7eca7cc780c39289f4a7ffee3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: grapheditor/Graph.js: FileTooLong \u2014 23592 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 23092 over it, 47.18\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"420f3db88675e1b33c0d10e5c5c51be605110d30e210a9b044056dbf14d63b43"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: diagramly/EditorUi.js: FileTooLong \u2014 20743 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 20243 over it, 41.49\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8d4ac159ce836800feed035e804d85856c01ba38939f5ccb42d71df064d6327"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: diagramly/Dialogs.js: FileTooLong \u2014 15211 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 14711 over it, 30.42\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2abe6fc7e15dde90352426cc1a6bd727225d3a71fcd2394c81f92d6a3dc7c5b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: diagramly/Extensions.js: FileTooLong \u2014 9757 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 1500 significant lines; this is 8257 over it, 6.50\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Extensions.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9f3b62630001cb1ed7d2e5c70f4295890b743ab0c977d164b735f55b9bee31f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: vsdx/importer.js: FileTooLong \u2014 9750 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 1500 significant lines; this is 8250 over it, 6.50\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"958371bd41425a3ad32f46e6baeaaba1040cbac049c99c7677cc57c5770163e8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: diagramly/Editor.js: FileTooLong \u2014 7444 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 1500 significant lines; this is 5944 over it, 4.96\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"95416d09523b5233ff66de3f652807f114bf6b2c07687f701802942aa11583ee"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: shapes/mxAWS3D.js: FileTooLong \u2014 6705 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 6205 over it, 13.41\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/shapes/mxAWS3D.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebc29b9103b1ec8860c84fe32a47f3419dc8161468eb3d8d42f36c7d8bdc9888"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: grapheditor/Shapes.js: FileTooLong \u2014 6432 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 1500 significant lines; this is 4932 over it, 4.29\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"348a593c678f67ad33ac63bba11f562d8dd134ef077ac247d05320d41ee617b2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: grapheditor/EditorUi.js: FileTooLong \u2014 5409 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 1500 significant lines; this is 3909 over it, 3.61\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cee7efba53c3ee33aefebf97bf49f07f4b772cd69e1498cad546a4548f408cf4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: grapheditor/Format.js: FileTooLong \u2014 5355 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 1500 significant lines; this is 3855 over it, 3.57\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Format.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"62b30a8a289c0410d8af6aa51c7db06efaf1172c57a6f355ac70bd031ec50779"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: export.render: FunctionTooLong \u2014 render runs 1014 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 914 over it, 10.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/webapp/js/export.js"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cb4a8669a74ed3ccfaa85217e0c420dcd623b42ccf498854e6b434ccbddab44"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: diagramly/App.js: FileTooLong \u2014 4433 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 1500 significant lines; this is 2933 over it, 2.96\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b20dbbe993eaa16406d8bd1889c7f27c77a6998276da284d7e31ba64df93522c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: view/mxGraph.js: FileTooLong \u2014 4179 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 1500 significant lines; this is 2679 over it, 2.79\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fa7294dcda6867c46eac07060569c7b728302ac36879c471968c4dc63ef3296"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: grapheditor/Sidebar.js: FileTooLong \u2014 3937 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 1500 significant lines; this is 2437 over it, 2.62\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"414cec1c906891d315e254be0f0acec77546cfb6c543da80e4cc8367b8fad615"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: diagramly/Menus.js: FileTooLong \u2014 3867 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 1500 significant lines; this is 2367 over it, 2.58\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Menus.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d67fa305e88d410af40947aeac5916cb9c5b74de28b485072830ecc292b62cec"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sidebar/Sidebar-Bootstrap.js: FileTooLong \u2014 3815 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 1500 significant lines; this is 2315 over it, 2.54\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"422c8bf3acc6c258d9a1a99b5d593cb7b2601fdb3b0d6488b430fe8cdd294b5c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: P2PCollab.P2PCollab: FunctionTooLong \u2014 P2PCollab runs 705 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 605 over it, 7.05\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/webapp/js/diagramly/P2PCollab.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5e2662f13645b5273c56f8cdc76a6568042d88203dbf33f9e6c7a7bed12d88f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: trees.Draw.loadPlugin(): FunctionTooLong \u2014 Draw.loadPlugin() runs 686 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 586 over it, 6.86\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/webapp/plugins/trees/trees.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"251abc7bce95f5a9974e21ca8657f8b8658503eca3d204040bfb4199867a8eb4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: mxODPicker.mxODPicker: FunctionTooLong \u2014 mxODPicker runs 677 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 577 over it, 6.77\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/webapp/js/onedrive/mxODPicker.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e67dcd0b88d7c2f1fc55192337afb3121076e2f8eb2ac197bd69526bacd02c4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: grapheditor/Dialogs.js: FileTooLong \u2014 3347 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 2847 over it, 6.69\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Dialogs.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b6a3d0ca50857fd1fed150a3da1e7b4fc5e73ca947c3f29d3b78da7b83c52d9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: shapes/mxElectrical.js: FileTooLong \u2014 3343 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 2843 over it, 6.69\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/shapes/mxElectrical.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fed19bd6121d89f3b544c188a7840911a557f1f1e21eea6a429fc151ff0d771"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: grapheditor/InlineToolbar.js: FileTooLong \u2014 2667 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 1500 significant lines; this is 1167 over it, 1.78\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/InlineToolbar.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b4e16ed3e310d4ca2c8e21d7a886a765d4b7ee64e33671b8590cc850f503339"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: grapheditor/Editor.js: FileTooLong \u2014 2567 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 2067 over it, 5.13\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Editor.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e99f5d952f857c594d8c515fb81eaf7335e2def06360c10eaea68256695fad69"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: shapes/mxArchiMate3.js: FileTooLong \u2014 2514 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 2014 over it, 5.03\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/shapes/mxArchiMate3.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2249b69730c08d23d8ae56963d393f55663641b95720f05467ab149e3dfbc71c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: diagramly/ForceExplorer.js: FileTooLong \u2014 2438 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 1500 significant lines; this is 938 over it, 1.63\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ForceExplorer.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"323ab7efda16414e3ea7fe0ef083dacd74ce92c03c130021ce305a1cd125b2f6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: util/mxUtils.js: FileTooLong \u2014 2429 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units), about 100% of them inside a single declaration: mxUtils (5-6919). The bar is 1500 significant lines; this is 929 over it, 1.62\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxUtils.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e19235db6ed79a7840924fd656779897167513b63ae2824dde7659e96c069f89"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sidebar/Sidebar-Sysml.js: FileTooLong \u2014 2331 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 1500 significant lines; this is 831 over it, 1.55\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cda5e15da3cd6d968e67fff21e41f8feb13433d527bcf05b31041996c502f223"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sidebar/Sidebar-AWS4.js: FileTooLong \u2014 2320 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 1500 significant lines; this is 820 over it, 1.55\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-AWS4.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f60fccb32019b10b878f1070d37c15fc83409cab699c3291eb109833b7f6d5f6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: diagramly/LightboxModern.js: FileTooLong \u2014 2133 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 1500 significant lines; this is 633 over it, 1.42\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/LightboxModern.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e846d6042fb84ff856dd92efd93852b0228a185b6905e3034a90c21d06884ec"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: shapes/mxBasic.js: FileTooLong \u2014 2069 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 1569 over it, 4.14\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/shapes/mxBasic.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"88ff82af058d70979be63ba354054ffb04849552216653dcda693864b2e18ad3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: diagramly/Pages.js: FileTooLong \u2014 2028 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 1528 over it, 4.06\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Pages.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"91b11bf76fead54c9df51e889765dfc4ba2472c17c41514ff30b82861748513c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: graphml/mxGraphMlCodec.js: FileTooLong \u2014 2005 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 1500 significant lines; this is 505 over it, 1.34\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/graphml/mxGraphMlCodec.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6734b9136384e6af7951919aff8e7290d08f4d5734bd6caac337485068f7e36b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sidebar/Sidebar-Gmdl.js: FileTooLong \u2014 1973 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 1500 significant lines; this is 473 over it, 1.32\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dc50b4845a053d6fbf7d547658f4423d9dfa320f5c0c08ac679875061c0ac1b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: util/mxSvgCanvas2D.js: FileTooLong \u2014 1922 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 1500 significant lines; this is 422 over it, 1.28\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxSvgCanvas2D.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1472740a66a5857667efbd17650c701064b78b635da1dbeed327f24514192b5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: diagramly/GraphViewer.js: FileTooLong \u2014 1898 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 1500 significant lines; this is 398 over it, 1.27\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/GraphViewer.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"be45d2ea109c93b08c85883a2449c8a5c2aaeaba4afb311258c9871b7d428fa6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: diagramly/DrawioFileSync.js: FileTooLong \u2014 1835 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 1500 significant lines; this is 335 over it, 1.22\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DrawioFileSync.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"74b74b7a48a7ac46a71aab33b6626491dfab3c01cc9445c38e7641a12a948cbe"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: diagramly/ConfigEditor.js: FileTooLong \u2014 1832 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 1500 significant lines; this is 332 over it, 1.22\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ConfigEditor.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d71b453fb60e8531bd980df17d819e3021da12a59998f3d3b3cbad8cc73f436a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: diagramly/LayoutPicker.js: FileTooLong \u2014 1815 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 1500 significant lines; this is 315 over it, 1.21\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/LayoutPicker.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"63592f799a8027588933c7f172e72376af415bbe3ef82de2a5bbf1a44c37eb6d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sidebar/Sidebar-Azure2.js: FileTooLong \u2014 1787 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 1500 significant lines; this is 287 over it, 1.19\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Azure2.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"501464f3ff77c5d5748f8b99a9fd36171be288f7a21c791f1356bfe72cf2670b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sidebar/Sidebar-GCP2.js: FileTooLong \u2014 1766 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 1500 significant lines; this is 266 over it, 1.18\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-GCP2.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdf9fa01172c7b6c9b6d8749c82869539169788986a3012e8aebe6f77587d586"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: shapes/mxArrows.js: FileTooLong \u2014 1766 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 1266 over it, 3.53\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/shapes/mxArrows.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"707eab3f908128b2546e3e801759549e10969faab46a86df1d8a6863a7297eee"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: diagramly/DrawioFile.js: FileTooLong \u2014 1757 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 1500 significant lines; this is 257 over it, 1.17\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DrawioFile.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b56f6ae67b0ecea95b1635a6ddfc793de7624fcd205bda547a6daf4abc0c65fa"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: view/mxGraphView.js: FileTooLong \u2014 1740 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 1500 significant lines; this is 240 over it, 1.16\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxGraphView.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8938d01a497b3df981c7177b96f7d449dbb76f76e1466f1e253c9eed735e21be"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: emf/emf-svg.js: FileTooLong \u2014 1738 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 1238 over it, 3.48\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/emf/emf-svg.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"233d473390b8c59e28a67e66685fc34b3c303197f03ae6139cf0d7e8b063f5a7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: diagramly/LibavoidRouting.js: FileTooLong \u2014 1735 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 1500 significant lines; this is 235 over it, 1.16\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/LibavoidRouting.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0136692af4544c401cd325c3c087d135a8628e9b3d9aea53163b63f6fdc83120"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MiroImporter.MiroImporter: FunctionTooLong \u2014 MiroImporter runs 347 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 247 over it, 3.47\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/webapp/js/diagramly/miro/MiroImporter.js"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"a93ac63064d75de87accef3e126903d199fd685758e11ff813b8455e62adbd8e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: shapes/mxSysML.js: FileTooLong \u2014 1702 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 1202 over it, 3.40\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/shapes/mxSysML.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"89abe7257fdbf9fd8ca16c971094051f4eb01ab94e6e6978c4a5c7126abefa77"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: bpmn/mxBpmnShape2.js: FileTooLong \u2014 1664 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 1164 over it, 3.33\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/shapes/bpmn/mxBpmnShape2.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1502623bacd5dbfd965096da1304a8ef6dc611a661f8de8de51710ae2224701"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: shapes/mxInfographic.js: FileTooLong \u2014 1640 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 1140 over it, 3.28\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/shapes/mxInfographic.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c0c8afbaabc6caf8031359dfe205dcd42e3b4c32fd7c55ffa4815d55a1584f4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Embed.initGraph: FunctionTooLong \u2014 initGraph runs 322 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 222 over it, 3.22\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/webapp/js/diagramly/Embed.js"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"36a8d98aabb29b003f7e9a21ca4fd73b2cd3417e46ec9d0726d5a15eaa2039ee"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: mxRuler.mxRuler: FunctionTooLong \u2014 mxRuler runs 304 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 204 over it, 3.04\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/webapp/js/diagramly/mxRuler.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"79445963999811dfdc5b03d31cf8a8289098e17a97eaef3e1910053fa756da59"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tidy/Tidy.js: FileTooLong \u2014 1462 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 962 over it, 2.92\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/tidy/Tidy.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fffd6e70a7775b3f64d66fe5a1628b60f1280e49fdca99b1da579a303e7ae5ff"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: diagramly/ElectronApp.js: FileTooLong \u2014 1447 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 947 over it, 2.89\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ElectronApp.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa84da5c953395d4c89395780a697d3fdb009f45dc42aa5d32086e141e14771a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: mxFreehand.mxFreehand: FunctionTooLong \u2014 mxFreehand runs 284 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 184 over it, 2.84\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/webapp/js/diagramly/mxFreehand.js"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"12cd22689fc59df8c580779610ce32d9ffe441adc5f636b0c68130fa7ed6cea3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: diagramly/DriveClient.js: FileTooLong \u2014 1382 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 882 over it, 2.76\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DriveClient.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d9fad1661e2423537b1a786468a52e4630917a42c2c48fa2ee20fdf07615ba1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sidebar/Sidebar-Infographic.js: FileTooLong \u2014 1353 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 853 over it, 2.71\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"70857491fd430e7599207c2ec8173e44a768180117764c297b3c7156d0212529"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sidebar/Sidebar.js: FileTooLong \u2014 1317 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 817 over it, 2.63\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2e2186b55eeb3806a3d6f7918e692fff28cf03151fb4e60ba3c328cdb932704"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: shapes/mxLeanMap.js: FileTooLong \u2014 1306 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 806 over it, 2.61\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/shapes/mxLeanMap.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8f2eac098ef945b3cd93a5835b86a3204ee55044af09e7a26761a347a949579"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: random.Draw.loadPlugin(): FunctionTooLong \u2014 Draw.loadPlugin() runs 260 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 160 over it, 2.60\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/webapp/plugins/random.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a99c5e52a06e9aebe40ceb468e8fc134645b2b48ecdf2b7f69267cce35e9e44"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: grapheditor/Actions.js: FileTooLong \u2014 1278 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 778 over it, 2.56\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Actions.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b5cf36a7af674b9b679573ab92218161f77488fe9bd6d880d466af7b04a1f40"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sidebar/Sidebar-Office.js: FileTooLong \u2014 1256 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 756 over it, 2.51\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Office.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"93fb0a5a7c3901409164c5320f8c0ea55189d7461a046311bfc504f729ed7ea2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: diagramly/DiffSync.js: FileTooLong \u2014 1251 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 751 over it, 2.50\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DiffSync.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c1457a388b6780c83097b0b1dededb119f170f5afa4f68e605f0d239b08b605"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: handler/mxEdgeHandler.js: FileTooLong \u2014 1201 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 701 over it, 2.40\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/handler/mxEdgeHandler.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"abb00b9f579ff05bc55328f83e06b8bae5cc8c5563f866e5b4c121c994c7be72"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sidebar/Sidebar-MSCAE.js: FileTooLong \u2014 1193 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 693 over it, 2.39\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-MSCAE.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b1c886cd21c4695e7eecbbd0bb804f2a92f281d737979ac65906e7e8d286d8f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: js/export.js: FileTooLong \u2014 1120 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units), about 91% of them inside a single declaration: render (234-2521). The bar is 500 significant lines; this is 620 over it, 2.24\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/export.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cfab859e75baa47f4227924fb863072dee7a018a0acaaa95ff7c369032b2740"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sidebar/Sidebar-CiscoSafe.js: FileTooLong \u2014 1114 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 614 over it, 2.23\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-CiscoSafe.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"187c038a2f90e53f39271222f2cd0c6034a5751392ca4e239608b77b260b553a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sidebar/Sidebar-UML25.js: FileTooLong \u2014 1089 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 589 over it, 2.18\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-UML25.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fb1306ca3459703491ed67af1e627bc4ac2f26488ea61c9685cf67bb268009f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sidebar/Sidebar-BPMN.js: FileTooLong \u2014 1037 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 537 over it, 2.07\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-BPMN.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"16abe8ef1b9c760f430fb7855d515a58f5f581ec0564a4ac31822be3e1563f33"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: nextcloud.Draw.loadPlugin(): FunctionTooLong \u2014 Draw.loadPlugin() runs 206 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 106 over it, 2.06\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/webapp/plugins/nextcloud.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fc881c904dbfa35be00465240b9a9e77b9cb341a09bf07a6a42bc0393c9b643"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: diagramly/Trees.js: FileTooLong \u2014 1023 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 523 over it, 2.05\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Trees.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a21f0800efc27eaf55572e775233da96f39337a76c3b1bb172646396778c48ad"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: grapheditor/Menus.js: FileTooLong \u2014 992 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 492 over it, 1.98\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Menus.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5635815c3d8c3929b58293fd47c90adece681901ba5833c50d45de5f4d4aeed7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: handler/mxVertexHandler.js: FileTooLong \u2014 981 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 481 over it, 1.96\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/handler/mxVertexHandler.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e819b5d58ac3cc6dad78fc29e65d7fed371b99c5f38f4e165eb2dbfc53c73e2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: diagramly/ViewerModern.js: FileTooLong \u2014 966 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 466 over it, 1.93\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ViewerModern.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"47baea5bb43e9873a6d8da2dd71b71d54b95f58458e1ce65bcd5c541e4375518"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: er/mxER.js: FileTooLong \u2014 965 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 465 over it, 1.93\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/shapes/er/mxER.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9767208443a8ba9228426c40acccb86d7e7803588e8528f2f10f36001e9bb4ea"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sidebar/Sidebar-Electrical.js: FileTooLong \u2014 955 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 455 over it, 1.91\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Electrical.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"31d87e81fd7eab435ed65b5ac088890103bfba10ef72ba3f656ff5bf2411d0b6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ios7/mxIOS7Ui.js: FileTooLong \u2014 912 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 412 over it, 1.82\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/shapes/ios7/mxIOS7Ui.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b77b09bdf1fa1e27821d308e70523e8e0048b85ad7c81b15f8249a05b30550e4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sidebar/Sidebar-AWS3.js: FileTooLong \u2014 905 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 405 over it, 1.81\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-AWS3.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"417375217fa62a785a9bd0d138b4abbb478d8acd161b468a0cfde488806f91e0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: diagramly/OneDriveClient.js: FileTooLong \u2014 896 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 396 over it, 1.79\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/OneDriveClient.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"03a402ec36ac468ed8aa1e9f8f42a7da8c0f37f858434e6b8d4db1e583a08ec9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: rack/mxRack.js: FileTooLong \u2014 887 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 387 over it, 1.77\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/shapes/rack/mxRack.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f74714c5efbd44a62e10c21de7e28948f026f6f086c29c425aaf59ac2a2a7a1b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: P2PCollab: ClassTooLong \u2014 705 significant lines (blank, comment-only and punctuation-only lines excluded), 2 methods. The bar is 400 significant lines; this is 305 over it, 1.76\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/webapp/js/diagramly/P2PCollab.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dbf9036abb6871066102eb59f924aae01ad81b91dbd914f946c5c9c8da70525"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sidebar/Sidebar-AWS4b.js: FileTooLong \u2014 880 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 380 over it, 1.76\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-AWS4b.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"95de6e142e7fc4466160b3e713bfa197dd56c525d3e9394baa04fdea2e40731a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: gif/AnimationExport.js: FileTooLong \u2014 860 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 360 over it, 1.72\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/gif/AnimationExport.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef8aa216c4f4992f44be4306a65c423694353ebf0666c1ce4026ebd7182cc754"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tidy/TidyStyle.js: FileTooLong \u2014 855 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 355 over it, 1.71\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/tidy/TidyStyle.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae2365fecc3387595a262c42cacf3e3d4ed57240086b5a687c0a7057d7adf860"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: mxODPicker: ClassTooLong \u2014 677 significant lines (blank, comment-only and punctuation-only lines excluded), 1 methods. The bar is 400 significant lines; this is 277 over it, 1.69\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/webapp/js/onedrive/mxODPicker.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5841ad5ab5ecaba7912d661d6272071002fccfa5a878ad64cd5b77f8b7bd10ed"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: shapes/mxAndroid.js: FileTooLong \u2014 812 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 312 over it, 1.62\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/shapes/mxAndroid.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"88dc48c91d2b5b810c9e19c0f78bbd0416f2200f3337c46af1f8cb1051a65d6a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sidebar/Sidebar-Veeam2.js: FileTooLong \u2014 809 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 309 over it, 1.62\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Veeam2.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a587b1d17eb0ac21bdb3821e75ade78548360a033439467959e34c5b5a6ea14"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: handler/mxGraphHandler.js: FileTooLong \u2014 793 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 293 over it, 1.59\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/handler/mxGraphHandler.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dae149e5af48a43b83782f931a0f8f708df7e6934fa1926ad69bb0798bfe107f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: shapes/mxFloorplan.js: FileTooLong \u2014 792 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 292 over it, 1.58\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/shapes/mxFloorplan.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"88f7329139ac8f9b4360eb0ffe8c01ae79152d06672bac6cb3fb3358183b7fce"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tidy/TidyWindow.js: FileTooLong \u2014 788 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 288 over it, 1.58\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/tidy/TidyWindow.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"48f729124c7e4e777292ab3b3a23591996e4fd38f28c599a352dc675e08231f5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: shapes/mxArchiMate.js: FileTooLong \u2014 787 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 287 over it, 1.57\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/shapes/mxArchiMate.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a854bfcbb5ecf5e16406403884c3e17e2c5008aa6b63bc5cca9a4b618563fc6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sidebar/Sidebar-Mockup.js: FileTooLong \u2014 785 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 285 over it, 1.57\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Mockup.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f18a608d0d518c4953fc8969d0d69d5f96c295d87cc4910cd1e0e5116bff1b4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: view/mxCellRenderer.js: FileTooLong \u2014 783 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 283 over it, 1.57\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxCellRenderer.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4fb8858293b7fa92018b178eec7a4870ef674af45509fbf6a14a8b41918a036"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: shapes/mxBootstrap.js: FileTooLong \u2014 772 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 272 over it, 1.54\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/shapes/mxBootstrap.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"93089b713a0be5255cb46cc9dc51ba4a1e78665929035272e46355e976367db8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: shape/mxShape.js: FileTooLong \u2014 761 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 261 over it, 1.52\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/shape/mxShape.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"80cf7e68e615be8a9352fd7fa690ed29d3bc5e241cee7af4c5d7c7377eca3e56"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: handler/mxConnectionHandler.js: FileTooLong \u2014 758 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 258 over it, 1.52\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/handler/mxConnectionHandler.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"279ff521a2b6a2e358afd53650559e97fbf95afc48125305077161c39d85e2c3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sidebar/Sidebar-Veeam.js: FileTooLong \u2014 756 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 256 over it, 1.51\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Veeam.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c622f829542f000e49b67e1123b54c90c78044073c8a9468fb06bc83122e583b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sidebar/Sidebar-WebIcons.js: FileTooLong \u2014 753 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 253 over it, 1.51\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-WebIcons.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61feb2e5cfdc62d88b8c8c6f830d2eb5384f8ed206d7b60962421ae43e7a3889"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: replay.Draw.loadPlugin(): FunctionTooLong \u2014 Draw.loadPlugin() runs 150 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 50 over it, 1.50\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/webapp/plugins/replay.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fa9c272ef698fd36ebb9c5db2cc88fa125443a08f4fe08c0fdc57acb2efa1f3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: diagramly/GitLabClient.js: FileTooLong \u2014 723 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 223 over it, 1.45\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/GitLabClient.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"16696945a6e63df16325247dd002a9a49aaaf2f6e72684cd701d6eeecd012ac3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pid2/mxPidValves.js: FileTooLong \u2014 723 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 223 over it, 1.45\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/shapes/pid2/mxPidValves.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"31d4f41de1c991941ba79da12534e0fbfff6c5fa8c0b221569b4852840edd42e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: diagramly/GitHubClient.js: FileTooLong \u2014 710 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 210 over it, 1.42\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/GitHubClient.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"93f62d14cd26d3d1dd0886627c3be55ffdc2bf37dbb70845d34f47c9fd588d43"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: diagramly/P2PCollab.js: FileTooLong \u2014 707 significant lines (blank, comment-only and punctuation-only lines excluded), about 100% of them inside a single declaration: P2PCollab (11-1509). The bar is 500 significant lines; this is 207 over it, 1.41\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/P2PCollab.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc5945b3ee903a91536b3dda24598a1bcec60bee4ec3c1906b5683f3e3299f5c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: diagramly/SpringMove.js: FileTooLong \u2014 696 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 196 over it, 1.39\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/SpringMove.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce3c9adc64191fa7ec8ecd7c9d0d5a07336517f57ce80dd37f1579596815fa63"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: mxPanningManager.mxPanningManager: FunctionTooLong \u2014 mxPanningManager runs 139 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 39 over it, 1.39\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/webapp/mxgraph/src/util/mxPanningManager.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7389701e907e1603e6843b4f31eaeaa21156cab82de933305eacd567785c343"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: trees/trees.js: FileTooLong \u2014 686 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 186 over it, 1.37\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/plugins/trees/trees.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccc34f47b44cb0fb1d23ba203b2d393f69fe6f6438d3d0a8ab25c4a60798ad15"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: onedrive/mxODPicker.js: FileTooLong \u2014 677 significant lines (blank, comment-only and punctuation-only lines excluded), about 100% of them inside a single declaration: mxODPicker (11-1087). The bar is 500 significant lines; this is 177 over it, 1.35\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/onedrive/mxODPicker.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"03ae43fb377e73b47070f3858bc5d166f3b761827c71a20f577090fd5ebfe274"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: model/mxGraphModel.js: FileTooLong \u2014 662 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 162 over it, 1.32\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/model/mxGraphModel.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d6d7ad4c989f101db6e1edab1741e0fd41d0aa42306320d6a582cfa1094af08"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sidebar/Sidebar-AWS.js: FileTooLong \u2014 649 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 149 over it, 1.30\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-AWS.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ffbfb74e5de8c35bfce5f9dfd3e4d8b4dcd830e845978c16f2aabd16e31a660"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sidebar/Sidebar-AlibabaCloud.js: FileTooLong \u2014 635 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 135 over it, 1.27\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-AlibabaCloud.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"599f58f6a22d1f585e0383980bc52c674549c2030704d71063f0c2e1d3c5a26a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sidebar/Sidebar-Salesforce.js: FileTooLong \u2014 619 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 119 over it, 1.24\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Salesforce.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef411802ac1e67b8d87223b5c37c2ae284e64e38ca7da9736682d5a1109b2ec9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: libavoid-js/libavoid-routing.js: FileTooLong \u2014 608 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 108 over it, 1.22\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/libavoid-js/libavoid-routing.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5ac061475af4560b4cecf96a2f50549cc5ce452efaff39dfbc0bc6570252e9d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: orgchart/mxOrgChartLayout.js: FileTooLong \u2014 578 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 78 over it, 1.16\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/orgchart/mxOrgChartLayout.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aab6da03cd0d691005fcffd0d838acd8fcd7f3929205682fc0f0c78da8f96f1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: InlineToolbar.InlineToolbar.createPopover.position: FunctionTooLong \u2014 InlineToolbar.createPopover.position runs 114 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 14 over it, 1.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/webapp/js/grapheditor/InlineToolbar.js"},"region":{"startLine":1602}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5ed81ee91efd2a567b28aff83ae83ea75a6b3114383da2f8728a602f3387663"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sidebar/Sidebar-PID.js: FileTooLong \u2014 568 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 68 over it, 1.14\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-PID.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f11321d497180e02d4aea77fe36402cacbf83a605eb30473b097f17432b4373"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Utils.checkStreamContent: MethodTooLong \u2014 checkStreamContent runs 112 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 12 over it, 1.12\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/server/java/com/mxgraph/online/Utils.java"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ee686fa35f24e6ee8858584ae7a3e82ff1ea0da25cdcd9f9b8e29dae30a5b41"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: update.Draw.loadPlugin(): FunctionTooLong \u2014 Draw.loadPlugin() runs 112 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 12 over it, 1.12\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/webapp/plugins/update.js"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"66949db977ee1b433a751abcedcd4e093a9116f56d0982af82598aee3292828b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: open.main: FunctionTooLong \u2014 main runs 109 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\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/webapp/js/open.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"59edfa70cc41e2118bed5aaa0a1410421bdd50f4f37d45dde4896bc3bc29bc1a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: shape/mxText.js: FileTooLong \u2014 529 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 29 over it, 1.06\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/shape/mxText.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5c6f00880ac99d77662c68ec65960e09929671e25b3d7aafb208be69491638c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AbsAuth.contactOAuthServer: MethodTooLong \u2014 contactOAuthServer runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\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/server/java/com/mxgraph/online/AbsAuth.java"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e1ae79f74c2a708b346cdf531bc6dfe898305c1601327715e67872c35291cbd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sidebar/Sidebar-IBM.js: FileTooLong \u2014 520 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 20 over it, 1.04\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-IBM.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a4f5d9e5b40b8e6f015392fc33d7cab2b829e5855f842fca31cf45291a764b3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: EmbedServlet2.createEmbedJavaScript: MethodTooLong \u2014 createEmbedJavaScript runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\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/server/java/com/mxgraph/online/EmbedServlet2.java"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0f2e54042da9bff54ba4f0df9e3f5b0377d2d01fed7ac8460265dfdcd495d94"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ConfigEditor.DrawioConfigEditor.install.renderSchemeEditor: FunctionTooLong \u2014 DrawioConfigEditor.install.renderSchemeEditor runs 101 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\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/webapp/js/diagramly/ConfigEditor.js"},"region":{"startLine":842}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbffe23101aa3c1337295bd763e14fa9ef0fbf20ec82161539ab2d30a0a0c79e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: shapes/mxGmdl.js: FileTooLong \u2014 503 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 3 over it, 1.01\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/shapes/mxGmdl.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e803d9058e7e76e05685676f2ff624b0d98da4aac45223f321e9f6178a26cee5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sidebar/Sidebar-Atlassian.js: FileTooLong \u2014 502 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 2 over it, 1.00\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Atlassian.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f0866f72caf9bf21c0ad67c16351e97d97b690395f467a3b06c3cdcf319b545"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/main/server/java/com/mxgraph/online/DropboxAuth.java:39-64 | src/main/server/java/com/mxgraph/online/GitHubAuth.java:50-75 | src/main/server/java/com/mxgraph/online/GitlabAuth.java:48-73 | src/main/server/java/com/mxgraph/online/MSGraphAuth.java:48-83 \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/server/java/com/mxgraph/online/DropboxAuth.java"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"36a8848e6507fd2339c3a2b897fc7e5aeb900197f841bcdd5f2def6e851fb92c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (49 corresponding lines): src/main/server/java/com/mxgraph/online/mxBase64.java:103-151 | src/main/server/java/com/mxgraph/online/mxBase64.java:292-340 \u2014 These two members are one piece of code written twice and then edited apart: 49 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/server/java/com/mxgraph/online/mxBase64.java"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"b92ee6232f0df618ce2c567da304c4bd1042956b5e85e536110e3d52c2a7fb9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 58\u002B corresponding lines): src/main/server/java/com/mxgraph/online/mxBase64.java:221-278 | src/main/server/java/com/mxgraph/online/mxBase64.java:410-467 | src/main/server/java/com/mxgraph/online/mxBase64.java:557-615 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 58 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/server/java/com/mxgraph/online/mxBase64.java"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"6059e75822ababa6938c8f055a2dcd7553d80ade35842bc956b7d3fc604c919d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 50\u002B corresponding lines): src/main/server/java/com/mxgraph/online/mxBase64.java:160-209 | src/main/server/java/com/mxgraph/online/mxBase64.java:349-398 | src/main/server/java/com/mxgraph/online/mxBase64.java:495-545 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 50 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: 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. 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. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/server/java/com/mxgraph/online/mxBase64.java"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"3305491ac98c2faafe97e65743ae260fb4b12b9edde8f7d8230ae22b8e497a28"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src/main/server/java/com/mxgraph/online/DropboxAuth.java:17-29 | src/main/server/java/com/mxgraph/online/GoogleAuth.java:25-37 \u2014 These two members are one piece of code written twice and then edited apart: 13 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/server/java/com/mxgraph/online/DropboxAuth.java"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"3649e3d413290e1dd45e880637163ee5743ab78a8f087901e0fd3a2eb2aed8e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): src/main/server/java/com/mxgraph/online/GitHubAuth.java:19-39 | src/main/server/java/com/mxgraph/online/GitlabAuth.java:19-39 \u2014 before extracting anything, compare \u0060src/main/server/java/com/mxgraph/online/GitHubAuth.java\u0060 and \u0060src/main/server/java/com/mxgraph/online/GitlabAuth.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 54 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/server/java/com/mxgraph/online/GitHubAuth.java"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b439a70c890f49e5e77e438a0f1583c740b22241b5691c396b3aa891e2c1314"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 4): src/main/server/java/com/mxgraph/online/DropboxAuth.java:40-58 | src/main/server/java/com/mxgraph/online/GitHubAuth.java:51-69 | src/main/server/java/com/mxgraph/online/GitlabAuth.java:49-67 | src/main/server/java/com/mxgraph/online/MSGraphAuth.java:49-68 \u2014 before extracting anything, compare \u0060src/main/server/java/com/mxgraph/online/GitHubAuth.java\u0060 and \u0060src/main/server/java/com/mxgraph/online/GitlabAuth.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 54 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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/server/java/com/mxgraph/online/DropboxAuth.java:40\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/server/java/com/mxgraph/online/DropboxAuth.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"91796a14857544772148afd2d06e446922a4eda48199442891797587d2472afe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201318 lines \u00D7 3): src/main/server/java/com/mxgraph/online/mxBase64.java:194-209 | src/main/server/java/com/mxgraph/online/mxBase64.java:381-398 | src/main/server/java/com/mxgraph/online/mxBase64.java:530-545 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/server/java/com/mxgraph/online/mxBase64.java:194\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. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/server/java/com/mxgraph/online/mxBase64.java"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"d248752f492b52a4a954e438a7b1143443040ff8b8b71b6f141dbcafaf886ac1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (44 lines \u00D7 2): src/main/server/java/com/mxgraph/online/mxBase64.java:235-278 | src/main/server/java/com/mxgraph/online/mxBase64.java:424-467 \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/server/java/com/mxgraph/online/mxBase64.java:235\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. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060sArr\u0060 to \u0060char[]\u0060 in one and \u0060byte[]\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/server/java/com/mxgraph/online/mxBase64.java"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"20d66fafed9352b151c9fc4d363505c3350df4c7c09adea6a0b42969f29bd435"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): src/main/server/java/com/mxgraph/online/mxBase64.java:254-270 | src/main/server/java/com/mxgraph/online/mxBase64.java:443-459 | src/main/server/java/com/mxgraph/online/mxBase64.java:591-607 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/server/java/com/mxgraph/online/mxBase64.java:254\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/server/java/com/mxgraph/online/mxBase64.java"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebd324d366261bfaac9de6b153eba71e82d832350de74f5fa8e782d79be640b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201317 lines \u00D7 2): src/main/server/java/com/mxgraph/online/Utils.java:484-497 | src/main/server/java/com/mxgraph/online/Utils.java:607-623 \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/server/java/com/mxgraph/online/Utils.java:484\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/server/java/com/mxgraph/online/Utils.java"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d8d7d280d43511a9650284e320c373e1f55126e0f0291c0f1fd212cb8ab185a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201315 lines \u00D7 2): src/main/server/java/com/mxgraph/online/Utils.java:556-565 | src/main/server/java/com/mxgraph/online/Utils.java:615-629 \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/server/java/com/mxgraph/online/Utils.java:615\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/server/java/com/mxgraph/online/Utils.java"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"df9abd2c4fa66b7aaf7ee68043080c71c8efcdd43050b29703b0e6cf858477eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/main/server/java/com/mxgraph/online/mxBase64.java:128-142 | src/main/server/java/com/mxgraph/online/mxBase64.java:317-331 \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/server/java/com/mxgraph/online/mxBase64.java:128\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/server/java/com/mxgraph/online/mxBase64.java"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d324c34cf3cbee294de4328efefb54c4e0275c5b65f17d2d7820b92b9280cba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 4): src/main/server/java/com/mxgraph/online/DropboxAuth.java:53-64 | src/main/server/java/com/mxgraph/online/GitHubAuth.java:64-75 | src/main/server/java/com/mxgraph/online/GitlabAuth.java:62-73 | src/main/server/java/com/mxgraph/online/MSGraphAuth.java:71-83 \u2014 before extracting anything, compare \u0060src/main/server/java/com/mxgraph/online/GitHubAuth.java\u0060 and \u0060src/main/server/java/com/mxgraph/online/GitlabAuth.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 54 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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/server/java/com/mxgraph/online/DropboxAuth.java:53\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. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/server/java/com/mxgraph/online/DropboxAuth.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae54cc1a35a8d8a10caf05ec73e249fe1768ebf96631b6e484fa892a60240934"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/main/server/java/com/mxgraph/online/mxBase64.java:180-192 | src/main/server/java/com/mxgraph/online/mxBase64.java:367-379 \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/server/java/com/mxgraph/online/mxBase64.java:180\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060sArr\u0060 to \u0060char[]\u0060 in one and \u0060byte[]\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/server/java/com/mxgraph/online/mxBase64.java"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"d55c984e29fa722043a1a3138a9d8d7c118cd0a4d3018a1c4e37dd148eb58734"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): src/main/server/java/com/mxgraph/online/mxBase64.java:181-192 | src/main/server/java/com/mxgraph/online/mxBase64.java:368-379 | src/main/server/java/com/mxgraph/online/mxBase64.java:517-528 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/server/java/com/mxgraph/online/mxBase64.java:181\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/server/java/com/mxgraph/online/mxBase64.java"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"04d2065e8bfe128e8609ba63c254fb6f01af1ccb8c95603c725bb98987399c54"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): src/main/server/java/com/mxgraph/online/Utils.java:526-535 | src/main/server/java/com/mxgraph/online/Utils.java:538-546 | src/main/server/java/com/mxgraph/online/Utils.java:549-557 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/server/java/com/mxgraph/online/Utils.java:526\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/server/java/com/mxgraph/online/Utils.java"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c83eeec05dc8ed156519631531330bd2d7190b45bdc0dc88982589993a7acea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): src/main/server/java/com/mxgraph/online/Utils.java:489-498 | src/main/server/java/com/mxgraph/online/Utils.java:558-565 | src/main/server/java/com/mxgraph/online/Utils.java:615-624 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/server/java/com/mxgraph/online/Utils.java:489\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/server/java/com/mxgraph/online/Utils.java"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc5bdfb5b2d7071c59a6848b94c15861ba7392e8ec53fda65918d077e4b36a3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): src/main/server/java/com/mxgraph/online/Utils.java:571-579 | src/main/server/java/com/mxgraph/online/Utils.java:639-647 | src/main/server/java/com/mxgraph/online/Utils.java:652-659 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/server/java/com/mxgraph/online/Utils.java:571\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/server/java/com/mxgraph/online/Utils.java"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"011f0e744ec1efcbec36e1aec43d39000e45efc415bbb296a5ba29b2ba78a04f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): src/main/server/java/com/mxgraph/online/mxBase64.java:242-248 | src/main/server/java/com/mxgraph/online/mxBase64.java:431-437 | src/main/server/java/com/mxgraph/online/mxBase64.java:577-585 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/server/java/com/mxgraph/online/mxBase64.java:242\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/server/java/com/mxgraph/online/mxBase64.java"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"c94f7248e26a024f8285a99ac08305bc3702ab1c40b71ebc9a4b8db5614904a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): src/main/server/java/com/mxgraph/online/Utils.java:569-575 | src/main/server/java/com/mxgraph/online/Utils.java:608-614 | src/main/server/java/com/mxgraph/online/Utils.java:656-661 | src/main/server/java/com/mxgraph/online/Utils.java:671-677 \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/server/java/com/mxgraph/online/Utils.java:569\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/server/java/com/mxgraph/online/Utils.java"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"409a1e43fa69f5b853cb12146ba7fabb0c2065b9fb5587bd74e2163a56b25db7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5\u20136 lines \u00D7 2): src/main/server/java/com/mxgraph/online/Utils.java:664-669 | src/main/server/java/com/mxgraph/online/Utils.java:673-677 \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/server/java/com/mxgraph/online/Utils.java:664\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/server/java/com/mxgraph/online/Utils.java"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9e91f48ab0e16b923841eb9a10edaa25ceb0ca64af9b8365052bd07b7db44c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): src/main/server/java/com/mxgraph/online/Utils.java:564-568 | src/main/server/java/com/mxgraph/online/Utils.java:639-643 | src/main/server/java/com/mxgraph/online/Utils.java:656-661 | src/main/server/java/com/mxgraph/online/Utils.java:671-677 \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/server/java/com/mxgraph/online/Utils.java:564\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/server/java/com/mxgraph/online/Utils.java"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ea6fc9cd5efc4eb87c5155654e9682283159c7009f063f1652996187260c257"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): src/main/server/java/com/mxgraph/online/Utils.java:537-542 | src/main/server/java/com/mxgraph/online/Utils.java:548-553 | src/main/server/java/com/mxgraph/online/Utils.java:678-682 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/server/java/com/mxgraph/online/Utils.java:537\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/server/java/com/mxgraph/online/Utils.java"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"33d89e461f0be98eb393cc49bfcfccfb8b16788cfc72b9c4e08fa68b188736a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): src/main/server/java/com/mxgraph/online/Utils.java:537-541 | src/main/server/java/com/mxgraph/online/Utils.java:548-552 | src/main/server/java/com/mxgraph/online/Utils.java:670-674 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/server/java/com/mxgraph/online/Utils.java:537\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/server/java/com/mxgraph/online/Utils.java"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7c21e3595dc00eaed832d59dde1ff2f54b706898c6694ccb36903939c414705"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/main/server/java/com/mxgraph/online/mxBase64.java:115-119 | src/main/server/java/com/mxgraph/online/mxBase64.java:304-308 \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/server/java/com/mxgraph/online/mxBase64.java:115\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/server/java/com/mxgraph/online/mxBase64.java"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fc96e77262b462b0bb15a05d9ea10c1afa486d6fb92d4348454aafe4766a7df"}},{"ruleId":"D8","level":"error","message":{"text":"No automated tests: No automated tests \u2014 no test code was found in this repository. Untested code is the largest single risk to changing it safely. Start with the code you change most often: add a suite in a framework a runner can collect (JUnit (with Kotest or MockK on Kotlin)), and run it in CI so the gap cannot reopen."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3132564c6310e5d01a231f252a02d5d2f5a542c0a8fa29a14c89693f1e3df871"}},{"ruleId":"D12","level":"warning","message":{"text":"Deprecated: crypto-js: crypto-js 4.2.0, declared in etc/dependencies/package.json, is marked deprecated by its publisher: \u0022Active development of CryptoJS has been discontinued. This library is no longer maintained.\u0022. Replace it with the package or version that message names, or record why this one must stay."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etc/dependencies/package.json"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"55b65596e35a83e0f87555bf2b98d9350f9f4c84c372bee623fe5916e47917ba"}},{"ruleId":"D13","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":"929007c7e880a2afb96867a3011d49e22ea5f509126397a65451d49458aa894d"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","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":"255f553a1d4259417cfdeb003c8698140045d1b4cd2f53e7a2809f1f83746665"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","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":"f531ac2f7e092ef6ab46bbae92cdb67daf17b0e31c155cfca4346458b8a692da"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","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":"346a54131dce3c3acb7c5ad460bb859caa79548dd0a809c6c32c78ce1f5fd69b"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","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":"25e6e3a7a792f6aef21bf8d8c32f42275e05cd139f7728fe443cd70c32b221d0"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","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":"31655d5e00eafb64d9b859644e81088b0c51c9d15a1c83b2cf1807f538d58bb1"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","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":"6da26634d9775d72815f051864f94f7826a0c9ac09c53f6a7b9983479edac67a"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","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":"2f37e1b1e6aa2f210ec1e27b803bff4890d14b398ba25f8df232992ef65e91ab"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","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":"349dd2e8de0b4f25c0a98bdf87cea081e5688517816ec2501609b2fa885caf23"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","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":"9470cea61c664f53c4b1ca9e3b23a61cdab84fed8712b114f32d2968a0c1ad5f"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","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":"ce300647de39c8f470036a71b0acacd0cae34fd7e6990067a87836e86b20804d"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","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":"d7e582dfdddc3d4a258f4709bbcc1df973cc92289ae0d734265ca19b1d1a9b40"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D14","level":"error","message":{"text":"Banned license: @img/sharp-libvips-darwin-arm64: \u0060@img/sharp-libvips-darwin-arm64\u0060 1.3.4 is published on registry.npmjs.org under \u0060LGPL-3.0-or-later\u0060, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves \u2014 a transitive dependency ships its licence just the same \u2014 so it is installed by everything that depends on this repository, not just by its build toolchain. A package offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package (or the dependency that pulls it in), or record an accepted exception. \u2605 The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do \u2014 that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository\u0027s licence policy rather than replacing it: add \u0060LGPL-3.0-only\u0060 / \u0060LGPL-3.0-or-later\u0060 to the allow-list of the licence check your CI runs (\u0060license-checker --onlyAllow\u0060, the \u0060allow-licenses\u0060 input of GitHub\u0027s dependency-review-action, \u0060[licenses] allow\u0060 in cargo-deny\u0027s deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan\u0027s banned set is not read from that file, so the row stays until it is hidden."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etc/imageResize/package-lock.json"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cb9cac83efbb8fb5b1b1714cd7ce06ef46586b0cb953bfde13d5cef10838aa9"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: @img/sharp-libvips-darwin-x64: \u0060@img/sharp-libvips-darwin-x64\u0060 1.3.4 is published on registry.npmjs.org under \u0060LGPL-3.0-or-later\u0060, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves \u2014 a transitive dependency ships its licence just the same \u2014 so it is installed by everything that depends on this repository, not just by its build toolchain. A package offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package (or the dependency that pulls it in), or record an accepted exception. \u2605 The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do \u2014 that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository\u0027s licence policy rather than replacing it: add \u0060LGPL-3.0-only\u0060 / \u0060LGPL-3.0-or-later\u0060 to the allow-list of the licence check your CI runs (\u0060license-checker --onlyAllow\u0060, the \u0060allow-licenses\u0060 input of GitHub\u0027s dependency-review-action, \u0060[licenses] allow\u0060 in cargo-deny\u0027s deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan\u0027s banned set is not read from that file, so the row stays until it is hidden."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etc/imageResize/package-lock.json"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"81de28cedeef63f197969d04616e27ba4aeb27e4375cfebf400bfd8540537a9c"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: @img/sharp-libvips-linux-arm: \u0060@img/sharp-libvips-linux-arm\u0060 1.3.4 is published on registry.npmjs.org under \u0060LGPL-3.0-or-later\u0060, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves \u2014 a transitive dependency ships its licence just the same \u2014 so it is installed by everything that depends on this repository, not just by its build toolchain. A package offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package (or the dependency that pulls it in), or record an accepted exception. \u2605 The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do \u2014 that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository\u0027s licence policy rather than replacing it: add \u0060LGPL-3.0-only\u0060 / \u0060LGPL-3.0-or-later\u0060 to the allow-list of the licence check your CI runs (\u0060license-checker --onlyAllow\u0060, the \u0060allow-licenses\u0060 input of GitHub\u0027s dependency-review-action, \u0060[licenses] allow\u0060 in cargo-deny\u0027s deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan\u0027s banned set is not read from that file, so the row stays until it is hidden."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etc/imageResize/package-lock.json"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed930a6d1b3ac4b890509506dec0a58727b515b0b43327cc1a4b4298e79514d8"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: @img/sharp-libvips-linux-arm64: \u0060@img/sharp-libvips-linux-arm64\u0060 1.3.4 is published on registry.npmjs.org under \u0060LGPL-3.0-or-later\u0060, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves \u2014 a transitive dependency ships its licence just the same \u2014 so it is installed by everything that depends on this repository, not just by its build toolchain. A package offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package (or the dependency that pulls it in), or record an accepted exception. \u2605 The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do \u2014 that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository\u0027s licence policy rather than replacing it: add \u0060LGPL-3.0-only\u0060 / \u0060LGPL-3.0-or-later\u0060 to the allow-list of the licence check your CI runs (\u0060license-checker --onlyAllow\u0060, the \u0060allow-licenses\u0060 input of GitHub\u0027s dependency-review-action, \u0060[licenses] allow\u0060 in cargo-deny\u0027s deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan\u0027s banned set is not read from that file, so the row stays until it is hidden."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etc/imageResize/package-lock.json"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf1b9a31ae3b29118432d1284fc0c855fbfbf2bc26303258aa349bed6999fa27"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: @img/sharp-libvips-linux-ppc64: \u0060@img/sharp-libvips-linux-ppc64\u0060 1.3.4 is published on registry.npmjs.org under \u0060LGPL-3.0-or-later\u0060, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves \u2014 a transitive dependency ships its licence just the same \u2014 so it is installed by everything that depends on this repository, not just by its build toolchain. A package offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package (or the dependency that pulls it in), or record an accepted exception. \u2605 The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do \u2014 that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository\u0027s licence policy rather than replacing it: add \u0060LGPL-3.0-only\u0060 / \u0060LGPL-3.0-or-later\u0060 to the allow-list of the licence check your CI runs (\u0060license-checker --onlyAllow\u0060, the \u0060allow-licenses\u0060 input of GitHub\u0027s dependency-review-action, \u0060[licenses] allow\u0060 in cargo-deny\u0027s deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan\u0027s banned set is not read from that file, so the row stays until it is hidden."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etc/imageResize/package-lock.json"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b20c11a65955bafb54a0fe488a53c597a9857c6aea42950b92968a57c6553f1"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: @img/sharp-libvips-linux-riscv64: \u0060@img/sharp-libvips-linux-riscv64\u0060 1.3.4 is published on registry.npmjs.org under \u0060LGPL-3.0-or-later\u0060, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves \u2014 a transitive dependency ships its licence just the same \u2014 so it is installed by everything that depends on this repository, not just by its build toolchain. A package offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package (or the dependency that pulls it in), or record an accepted exception. \u2605 The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do \u2014 that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository\u0027s licence policy rather than replacing it: add \u0060LGPL-3.0-only\u0060 / \u0060LGPL-3.0-or-later\u0060 to the allow-list of the licence check your CI runs (\u0060license-checker --onlyAllow\u0060, the \u0060allow-licenses\u0060 input of GitHub\u0027s dependency-review-action, \u0060[licenses] allow\u0060 in cargo-deny\u0027s deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan\u0027s banned set is not read from that file, so the row stays until it is hidden."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etc/imageResize/package-lock.json"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"51fa7dd2c5433945143e886736f323d34568a1815de5755ea55f247d83db2255"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: @img/sharp-libvips-linux-s390x: \u0060@img/sharp-libvips-linux-s390x\u0060 1.3.4 is published on registry.npmjs.org under \u0060LGPL-3.0-or-later\u0060, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves \u2014 a transitive dependency ships its licence just the same \u2014 so it is installed by everything that depends on this repository, not just by its build toolchain. A package offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package (or the dependency that pulls it in), or record an accepted exception. \u2605 The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do \u2014 that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository\u0027s licence policy rather than replacing it: add \u0060LGPL-3.0-only\u0060 / \u0060LGPL-3.0-or-later\u0060 to the allow-list of the licence check your CI runs (\u0060license-checker --onlyAllow\u0060, the \u0060allow-licenses\u0060 input of GitHub\u0027s dependency-review-action, \u0060[licenses] allow\u0060 in cargo-deny\u0027s deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan\u0027s banned set is not read from that file, so the row stays until it is hidden."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etc/imageResize/package-lock.json"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e3d0fc4342775e0cda07639d86e20b7ecd506920fa0b1a66c6f1ebfb1f8c2ab"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: @img/sharp-libvips-linux-x64: \u0060@img/sharp-libvips-linux-x64\u0060 1.3.4 is published on registry.npmjs.org under \u0060LGPL-3.0-or-later\u0060, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves \u2014 a transitive dependency ships its licence just the same \u2014 so it is installed by everything that depends on this repository, not just by its build toolchain. A package offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package (or the dependency that pulls it in), or record an accepted exception. \u2605 The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do \u2014 that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository\u0027s licence policy rather than replacing it: add \u0060LGPL-3.0-only\u0060 / \u0060LGPL-3.0-or-later\u0060 to the allow-list of the licence check your CI runs (\u0060license-checker --onlyAllow\u0060, the \u0060allow-licenses\u0060 input of GitHub\u0027s dependency-review-action, \u0060[licenses] allow\u0060 in cargo-deny\u0027s deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan\u0027s banned set is not read from that file, so the row stays until it is hidden."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etc/imageResize/package-lock.json"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"e740d28a1384feb307d2f24d03cf2e2e13a5d6eda920a4040480f40df2e9d50b"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: @img/sharp-libvips-linuxmusl-arm64: \u0060@img/sharp-libvips-linuxmusl-arm64\u0060 1.3.4 is published on registry.npmjs.org under \u0060LGPL-3.0-or-later\u0060, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves \u2014 a transitive dependency ships its licence just the same \u2014 so it is installed by everything that depends on this repository, not just by its build toolchain. A package offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package (or the dependency that pulls it in), or record an accepted exception. \u2605 The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do \u2014 that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository\u0027s licence policy rather than replacing it: add \u0060LGPL-3.0-only\u0060 / \u0060LGPL-3.0-or-later\u0060 to the allow-list of the licence check your CI runs (\u0060license-checker --onlyAllow\u0060, the \u0060allow-licenses\u0060 input of GitHub\u0027s dependency-review-action, \u0060[licenses] allow\u0060 in cargo-deny\u0027s deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan\u0027s banned set is not read from that file, so the row stays until it is hidden."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etc/imageResize/package-lock.json"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6ce0111811bc0c564efe3bc5758a9fe2ff77adefe8940d96c0e94f001dc6bb6"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: @img/sharp-libvips-linuxmusl-x64: \u0060@img/sharp-libvips-linuxmusl-x64\u0060 1.3.4 is published on registry.npmjs.org under \u0060LGPL-3.0-or-later\u0060, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves \u2014 a transitive dependency ships its licence just the same \u2014 so it is installed by everything that depends on this repository, not just by its build toolchain. A package offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package (or the dependency that pulls it in), or record an accepted exception. \u2605 The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do \u2014 that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository\u0027s licence policy rather than replacing it: add \u0060LGPL-3.0-only\u0060 / \u0060LGPL-3.0-or-later\u0060 to the allow-list of the licence check your CI runs (\u0060license-checker --onlyAllow\u0060, the \u0060allow-licenses\u0060 input of GitHub\u0027s dependency-review-action, \u0060[licenses] allow\u0060 in cargo-deny\u0027s deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan\u0027s banned set is not read from that file, so the row stays until it is hidden."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etc/imageResize/package-lock.json"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"e91fe0a042e1c39cd9d87efaed4be891aa907345e587e25c7d6b01efdaaffd89"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: @img/sharp-wasm32: \u0060@img/sharp-wasm32\u0060 0.35.5 is published on registry.npmjs.org under \u0060Apache-2.0 AND LGPL-3.0-or-later AND MIT\u0060, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves \u2014 a transitive dependency ships its licence just the same \u2014 so it is installed by everything that depends on this repository, not just by its build toolchain. A package offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package (or the dependency that pulls it in), or record an accepted exception. \u2605 The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do \u2014 that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository\u0027s licence policy rather than replacing it: add \u0060LGPL-3.0-only\u0060 / \u0060LGPL-3.0-or-later\u0060 to the allow-list of the licence check your CI runs (\u0060license-checker --onlyAllow\u0060, the \u0060allow-licenses\u0060 input of GitHub\u0027s dependency-review-action, \u0060[licenses] allow\u0060 in cargo-deny\u0027s deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan\u0027s banned set is not read from that file, so the row stays until it is hidden."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etc/imageResize/package-lock.json"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"1135ffbb448d71e8cb7f5d4d9fb10acf52d978f9eb537a0cd1f2166ada470428"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: @img/sharp-win32-arm64: \u0060@img/sharp-win32-arm64\u0060 0.35.5 is published on registry.npmjs.org under \u0060Apache-2.0 AND LGPL-3.0-or-later\u0060, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves \u2014 a transitive dependency ships its licence just the same \u2014 so it is installed by everything that depends on this repository, not just by its build toolchain. A package offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package (or the dependency that pulls it in), or record an accepted exception. \u2605 The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do \u2014 that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository\u0027s licence policy rather than replacing it: add \u0060LGPL-3.0-only\u0060 / \u0060LGPL-3.0-or-later\u0060 to the allow-list of the licence check your CI runs (\u0060license-checker --onlyAllow\u0060, the \u0060allow-licenses\u0060 input of GitHub\u0027s dependency-review-action, \u0060[licenses] allow\u0060 in cargo-deny\u0027s deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan\u0027s banned set is not read from that file, so the row stays until it is hidden."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etc/imageResize/package-lock.json"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"7501b1efe547a916924b31662388631addbf15548a0d166cc082f57b0eb7a93d"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: @img/sharp-win32-ia32: \u0060@img/sharp-win32-ia32\u0060 0.35.5 is published on registry.npmjs.org under \u0060Apache-2.0 AND LGPL-3.0-or-later\u0060, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves \u2014 a transitive dependency ships its licence just the same \u2014 so it is installed by everything that depends on this repository, not just by its build toolchain. A package offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package (or the dependency that pulls it in), or record an accepted exception. \u2605 The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do \u2014 that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository\u0027s licence policy rather than replacing it: add \u0060LGPL-3.0-only\u0060 / \u0060LGPL-3.0-or-later\u0060 to the allow-list of the licence check your CI runs (\u0060license-checker --onlyAllow\u0060, the \u0060allow-licenses\u0060 input of GitHub\u0027s dependency-review-action, \u0060[licenses] allow\u0060 in cargo-deny\u0027s deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan\u0027s banned set is not read from that file, so the row stays until it is hidden."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etc/imageResize/package-lock.json"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee7e073ff938556e3b1cdba3c54fe725620ac7ffe9e735802eeadb3dcc853d57"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: @img/sharp-win32-x64: \u0060@img/sharp-win32-x64\u0060 0.35.5 is published on registry.npmjs.org under \u0060Apache-2.0 AND LGPL-3.0-or-later\u0060, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves \u2014 a transitive dependency ships its licence just the same \u2014 so it is installed by everything that depends on this repository, not just by its build toolchain. A package offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package (or the dependency that pulls it in), or record an accepted exception. \u2605 The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do \u2014 that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository\u0027s licence policy rather than replacing it: add \u0060LGPL-3.0-only\u0060 / \u0060LGPL-3.0-or-later\u0060 to the allow-list of the licence check your CI runs (\u0060license-checker --onlyAllow\u0060, the \u0060allow-licenses\u0060 input of GitHub\u0027s dependency-review-action, \u0060[licenses] allow\u0060 in cargo-deny\u0027s deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan\u0027s banned set is not read from that file, so the row stays until it is hidden."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etc/imageResize/package-lock.json"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"376605ff2c96456f54476e6225693261afc28ecb15a09757b469cf8cfd84bf3d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/main/webapp/js/diagramly/Menus.js: src/main/webapp/js/diagramly/Menus.js changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 1146 in Menus.Menus.init at line 313. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 15:42:43 \u002B00:00\u0027 --until=\u00272026-11-17 15:42:43 \u002B00:00\u0027 --full-history --no-merges -- src/main/webapp/js/diagramly/Menus.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Menus.js"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"049834a0c3db105fef10178679a3bceced21504483cc90fdcb8c385091ef215a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/main/webapp/js/diagramly/EditorUi.js: src/main/webapp/js/diagramly/EditorUi.js changed 20 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 473 in EditorUi.EditorUi.doImportCsv at line 39560. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 15:42:43 \u002B00:00\u0027 --until=\u00272026-11-17 15:42:43 \u002B00:00\u0027 --full-history --no-merges -- src/main/webapp/js/diagramly/EditorUi.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":39560}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ef1c488131f7f9d12f8d5c73ef386100eb6540de278bb6da5465114154c99c1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/main/webapp/js/diagramly/Dialogs.js: src/main/webapp/js/diagramly/Dialogs.js changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 552 in Dialogs.AnimationDialog at line 14088. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 15:42:43 \u002B00:00\u0027 --until=\u00272026-11-17 15:42:43 \u002B00:00\u0027 --full-history --no-merges -- src/main/webapp/js/diagramly/Dialogs.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":14088}}}],"partialFingerprints":{"codehealthFindingId/v1":"13161920c9a5f70b2890e24641a6eaba67dd1ed25fdba5f4187866b365d82541"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/main/webapp/js/grapheditor/EditorUi.js: src/main/webapp/js/grapheditor/EditorUi.js changed 17 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 327 in EditorUi.EditorUi.initCanvas at line 5648. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 15:42:43 \u002B00:00\u0027 --until=\u00272026-11-17 15:42:43 \u002B00:00\u0027 --full-history --no-merges -- src/main/webapp/js/grapheditor/EditorUi.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":5648}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcb96b70a9b3ffe8d007057eec90765f455cded9853bb66d25318a25df4116d9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/main/webapp/js/export.js: src/main/webapp/js/export.js changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 408 in export.render at line 234. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 15:42:43 \u002B00:00\u0027 --until=\u00272026-11-17 15:42:43 \u002B00:00\u0027 --full-history --no-merges -- src/main/webapp/js/export.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/export.js"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"c38c8a7d571dc8fe8d760ee51bac80cca83d369b90d370da6019e5b95a551ab6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/main/webapp/js/diagramly/Editor.js: src/main/webapp/js/diagramly/Editor.js changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 202 in Editor.Editor.configure at line 3441. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 15:42:43 \u002B00:00\u0027 --until=\u00272026-11-17 15:42:43 \u002B00:00\u0027 --full-history --no-merges -- src/main/webapp/js/diagramly/Editor.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":3441}}}],"partialFingerprints":{"codehealthFindingId/v1":"d170e6cac2c15940317aee4cb9e5b365ec3b65ed6b9d0df40538cab81ec4f059"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/main/webapp/js/grapheditor/Actions.js: src/main/webapp/js/grapheditor/Actions.js changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 359 in Actions.Actions.init at line 17. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 15:42:43 \u002B00:00\u0027 --until=\u00272026-11-17 15:42:43 \u002B00:00\u0027 --full-history --no-merges -- src/main/webapp/js/grapheditor/Actions.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Actions.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"12ed226e7637c362885de8d8338f4a527fdd9dbc47dd25081ebcc7b7939986c2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/main/webapp/js/grapheditor/Format.js: src/main/webapp/js/grapheditor/Format.js changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 286 in Format.TextFormatPanel.addFont at line 5025. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 15:42:43 \u002B00:00\u0027 --until=\u00272026-11-17 15:42:43 \u002B00:00\u0027 --full-history --no-merges -- src/main/webapp/js/grapheditor/Format.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Format.js"},"region":{"startLine":5025}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7dc5a73220ec8e288f4c686aadf3e8c8579f790988d41df238779bc63c429c4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/main/webapp/js/diagramly/App.js: src/main/webapp/js/diagramly/App.js changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 209 in App.App.main at line 1006. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 15:42:43 \u002B00:00\u0027 --until=\u00272026-11-17 15:42:43 \u002B00:00\u0027 --full-history --no-merges -- src/main/webapp/js/diagramly/App.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":1006}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c16c8f517ce4a098492f34f6d8bcf8941f91bc52f1880476e5c11e3943fd641"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/main/webapp/js/grapheditor/Dialogs.js: src/main/webapp/js/grapheditor/Dialogs.js changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 236 in Dialogs.ColorDialog at line 348. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 15:42:43 \u002B00:00\u0027 --until=\u00272026-11-17 15:42:43 \u002B00:00\u0027 --full-history --no-merges -- src/main/webapp/js/grapheditor/Dialogs.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Dialogs.js"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cdba0f2c3a955fd8fb6c7dc52769ae0dd99ea6290bb89fd7b98ae03d3c4cbf7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/main/webapp/js/diagramly/Extensions.js: src/main/webapp/js/diagramly/Extensions.js changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 845 in Extensions.addCompositeShape at line 7711. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 15:42:43 \u002B00:00\u0027 --until=\u00272026-11-17 15:42:43 \u002B00:00\u0027 --full-history --no-merges -- src/main/webapp/js/diagramly/Extensions.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Extensions.js"},"region":{"startLine":7711}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9a19c71599777d62f939f4862a76d4a98564558ec126688e1dab8dea1225491"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/main/webapp/js/grapheditor/Sidebar.js: src/main/webapp/js/grapheditor/Sidebar.js changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 206 in Sidebar.Sidebar.createDragSource at line 6440. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 15:42:43 \u002B00:00\u0027 --until=\u00272026-11-17 15:42:43 \u002B00:00\u0027 --full-history --no-merges -- src/main/webapp/js/grapheditor/Sidebar.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":6440}}}],"partialFingerprints":{"codehealthFindingId/v1":"599448069af5d741a40d60e9b7f7403bae7ab5ca61feab236ded1140801b73fe"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/main/webapp/js/diagramly/Trees.js: src/main/webapp/js/diagramly/Trees.js changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 356 in Trees.EditorUi.addTrees at line 221. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 15:42:43 \u002B00:00\u0027 --until=\u00272026-11-17 15:42:43 \u002B00:00\u0027 --full-history --no-merges -- src/main/webapp/js/diagramly/Trees.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Trees.js"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"09d00c50937980a62c932d2a33a5e7a912b2d698aec762178f1ef9a1a5f9bc96"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/main/webapp/js/grapheditor/Graph.js: src/main/webapp/js/grapheditor/Graph.js changed 20 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 95 in Graph.Graph.connectVertex at line 17522. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 15:42:43 \u002B00:00\u0027 --until=\u00272026-11-17 15:42:43 \u002B00:00\u0027 --full-history --no-merges -- src/main/webapp/js/grapheditor/Graph.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":17522}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8f0ce980cc999df634ec06bbcde27eca45908f234356aa8354b5b4f1cabccdd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/main/webapp/js/diagramly/GraphViewer.js: src/main/webapp/js/diagramly/GraphViewer.js changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 154 in GraphViewer.GraphViewer.init at line 163. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 15:42:43 \u002B00:00\u0027 --until=\u00272026-11-17 15:42:43 \u002B00:00\u0027 --full-history --no-merges -- src/main/webapp/js/diagramly/GraphViewer.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/GraphViewer.js"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"d37ab0384ae971578a4f5ca204b5ec7fd74b7c90b295ccf68df02a62fd60b68e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/main/webapp/js/diagramly/P2PCollab.js: src/main/webapp/js/diagramly/P2PCollab.js changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 262 in P2PCollab.P2PCollab at line 11. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 15:42:43 \u002B00:00\u0027 --until=\u00272026-11-17 15:42:43 \u002B00:00\u0027 --full-history --no-merges -- src/main/webapp/js/diagramly/P2PCollab.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/P2PCollab.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"54b481888539dd2ae25cc39b89899e0ac1d6db3d84b1bf6112ecd9234dcdc3c3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/main/webapp/js/diagramly/DriveClient.js: src/main/webapp/js/diagramly/DriveClient.js changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 109 in DriveClient.DriveClient.saveFile at line 2183. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 15:42:43 \u002B00:00\u0027 --until=\u00272026-11-17 15:42:43 \u002B00:00\u0027 --full-history --no-merges -- src/main/webapp/js/diagramly/DriveClient.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DriveClient.js"},"region":{"startLine":2183}}}],"partialFingerprints":{"codehealthFindingId/v1":"d88d10608c9afe2784d618cfdcdf17f0e0dc8c4c535ebb672202ee8b0630a8b1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/main/webapp/js/onedrive/mxODPicker.js: src/main/webapp/js/onedrive/mxODPicker.js changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 186 in mxODPicker.mxODPicker at line 11. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 15:42:43 \u002B00:00\u0027 --until=\u00272026-11-17 15:42:43 \u002B00:00\u0027 --full-history --no-merges -- src/main/webapp/js/onedrive/mxODPicker.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/onedrive/mxODPicker.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"f41596685ba0510cf352b34e912b463870f2e058907807b65011ca52ba78eeb9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/main/webapp/js/grapheditor/Editor.js: src/main/webapp/js/grapheditor/Editor.js changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 65 in Editor.PageSetupDialog at line 3471. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 15:42:43 \u002B00:00\u0027 --until=\u00272026-11-17 15:42:43 \u002B00:00\u0027 --full-history --no-merges -- src/main/webapp/js/grapheditor/Editor.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Editor.js"},"region":{"startLine":3471}}}],"partialFingerprints":{"codehealthFindingId/v1":"780e6909bb7c7cecee645520e0e45b3726587989ed834cb9b3e7378c439ebf1d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/main/webapp/mxgraph/src/view/mxGraph.js: src/main/webapp/mxgraph/src/view/mxGraph.js changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 70 in mxGraph.mxGraph.fireMouseEvent at line 14371. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 15:42:43 \u002B00:00\u0027 --until=\u00272026-11-17 15:42:43 \u002B00:00\u0027 --full-history --no-merges -- src/main/webapp/mxgraph/src/view/mxGraph.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":14371}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc5f29d6f6973b6f7838a1c5aed9ed8a5eb0d287aea5b5d22633954f91335f22"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/main/webapp/js/diagramly/Pages.js: src/main/webapp/js/diagramly/Pages.js changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 52 in Pages.EditorUi.addTabDragListeners at line 3484. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 15:42:43 \u002B00:00\u0027 --until=\u00272026-11-17 15:42:43 \u002B00:00\u0027 --full-history --no-merges -- src/main/webapp/js/diagramly/Pages.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Pages.js"},"region":{"startLine":3484}}}],"partialFingerprints":{"codehealthFindingId/v1":"670db48c6212d2805af2ef9817a7359fb9eba4cd599295832cb98811f02ab159"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/main/webapp/js/diagramly/DrawioFile.js: src/main/webapp/js/diagramly/DrawioFile.js changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 61 in DrawioFile.DrawioFile.patch at line 1374. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 15:42:43 \u002B00:00\u0027 --until=\u00272026-11-17 15:42:43 \u002B00:00\u0027 --full-history --no-merges -- src/main/webapp/js/diagramly/DrawioFile.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DrawioFile.js"},"region":{"startLine":1374}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dfee4e2eab9fd0cb57a5d1b14510be4678d2d3c28a058d919c217ac050ec12d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/main/webapp/js/diagramly/DrawioFileSync.js: src/main/webapp/js/diagramly/DrawioFileSync.js changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 55 in DrawioFileSync.DrawioFileSync.catchup at line 3614. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 15:42:43 \u002B00:00\u0027 --until=\u00272026-11-17 15:42:43 \u002B00:00\u0027 --full-history --no-merges -- src/main/webapp/js/diagramly/DrawioFileSync.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DrawioFileSync.js"},"region":{"startLine":3614}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd4ee22e025e21cb7e41f58fec6791efd27d393581ecf0963527679b9ce3e365"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/main/webapp/js/diagramly/LibavoidRouting.js: src/main/webapp/js/diagramly/LibavoidRouting.js changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 65 in LibavoidRouting.LibavoidRouting.installAutoRouting at line 360. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 15:42:43 \u002B00:00\u0027 --until=\u00272026-11-17 15:42:43 \u002B00:00\u0027 --full-history --no-merges -- src/main/webapp/js/diagramly/LibavoidRouting.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/LibavoidRouting.js"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8111c5a99e54769c0ce502d9fb53e2c67c741f85e37e758c49b3f280db07b3a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/main/webapp/js/libavoid-js/libavoid-routing.js: src/main/webapp/js/libavoid-js/libavoid-routing.js changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 95 in libavoid-routing.AvoidRouting.computeRoutes at line 1055. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 15:42:43 \u002B00:00\u0027 --until=\u00272026-11-17 15:42:43 \u002B00:00\u0027 --full-history --no-merges -- src/main/webapp/js/libavoid-js/libavoid-routing.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/libavoid-js/libavoid-routing.js"},"region":{"startLine":1055}}}],"partialFingerprints":{"codehealthFindingId/v1":"38e1fb166972ad9656b0ecbfdae9f74b933f05b09bd956c5e6b18b02635cba15"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/main/webapp/js/diagramly/DiffSync.js: src/main/webapp/js/diagramly/DiffSync.js changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 75 in DiffSync.EditorUi.patchPages at line 454. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 15:42:43 \u002B00:00\u0027 --until=\u00272026-11-17 15:42:43 \u002B00:00\u0027 --full-history --no-merges -- src/main/webapp/js/diagramly/DiffSync.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DiffSync.js"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dee471ba3a3445a324a414455888268d449774b0623fd22d335897abbb831aa"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/main/webapp/js/grapheditor/Menus.js: src/main/webapp/js/grapheditor/Menus.js changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in Menus.Menus.addPopupMenuCellItems at line 1781. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 15:42:43 \u002B00:00\u0027 --until=\u00272026-11-17 15:42:43 \u002B00:00\u0027 --full-history --no-merges -- src/main/webapp/js/grapheditor/Menus.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Menus.js"},"region":{"startLine":1781}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca858cf11952035b2dbd80c5174cb686f0741f393ad8869ef7b26420af6f3d63"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/main/webapp/js/diagramly/ElkLayout.js: src/main/webapp/js/diagramly/ElkLayout.js changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 82 in ElkLayout.ElkLayoutBindings.runWithDialog at line 291. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 15:42:43 \u002B00:00\u0027 --until=\u00272026-11-17 15:42:43 \u002B00:00\u0027 --full-history --no-merges -- src/main/webapp/js/diagramly/ElkLayout.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ElkLayout.js"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cc0adae36407bfcad5d78dd3c233b3fb826750a16ca46dec9d3dfd2c61402b2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/main/webapp/js/grapheditor/InlineToolbar.js: src/main/webapp/js/grapheditor/InlineToolbar.js changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in InlineToolbar.InlineToolbar.createPopover.position at line 1602. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 15:42:43 \u002B00:00\u0027 --until=\u00272026-11-17 15:42:43 \u002B00:00\u0027 --full-history --no-merges -- src/main/webapp/js/grapheditor/InlineToolbar.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/InlineToolbar.js"},"region":{"startLine":1602}}}],"partialFingerprints":{"codehealthFindingId/v1":"28aa087d104828a587dda536bb1d1a4bf06e123ec78c2396fe614087fa92fed0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/main/webapp/js/grapheditor/Shapes.js: src/main/webapp/js/grapheditor/Shapes.js changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in Shapes.TableShape.paintCollapsedTable at line 595. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 15:42:43 \u002B00:00\u0027 --until=\u00272026-11-17 15:42:43 \u002B00:00\u0027 --full-history --no-merges -- src/main/webapp/js/grapheditor/Shapes.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"521d02f7e44d49f9b168257ecf021c2fef95467e7f8c2de06d0e47cd4e8199eb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/main/webapp/mxgraph/src/view/mxGraphView.js: src/main/webapp/mxgraph/src/view/mxGraphView.js changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in mxGraphView.mxGraphView.installListeners at line 4691. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 15:42:43 \u002B00:00\u0027 --until=\u00272026-11-17 15:42:43 \u002B00:00\u0027 --full-history --no-merges -- src/main/webapp/mxgraph/src/view/mxGraphView.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxGraphView.js"},"region":{"startLine":4691}}}],"partialFingerprints":{"codehealthFindingId/v1":"30d265fd9b8361d738760e011e77aa1230be6e29029025d3941f971775c48c65"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/main/webapp/js/diagramly/Minimal.js: src/main/webapp/js/diagramly/Minimal.js changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 108 in Minimal.EditorUi.initMinimalTheme at line 18. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 15:42:43 \u002B00:00\u0027 --until=\u00272026-11-17 15:42:43 \u002B00:00\u0027 --full-history --no-merges -- src/main/webapp/js/diagramly/Minimal.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Minimal.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0df6a54d6a99706dfd47b90513b771264daa16ec1842f6aca7f64f4a605f8a1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/main/webapp/mxgraph/src/view/mxPrintPreview.js: src/main/webapp/mxgraph/src/view/mxPrintPreview.js changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in mxPrintPreview.mxPrintPreview.open at line 531. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 15:42:43 \u002B00:00\u0027 --until=\u00272026-11-17 15:42:43 \u002B00:00\u0027 --full-history --no-merges -- src/main/webapp/mxgraph/src/view/mxPrintPreview.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxPrintPreview.js"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"909d1fe36104c6702e1e0ca6547c055be0fdfb06b7511666f3b7c0c65928d5c8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/main/webapp/mxgraph/src/view/mxEdgeStyle.js: src/main/webapp/mxgraph/src/view/mxEdgeStyle.js changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 105 in SegmentConnector at line 600. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 15:42:43 \u002B00:00\u0027 --until=\u00272026-11-17 15:42:43 \u002B00:00\u0027 --full-history --no-merges -- src/main/webapp/mxgraph/src/view/mxEdgeStyle.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxEdgeStyle.js"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4457bdc6d9c2222f508df1474b5c44a580327165b0b962b7d0cecb2f40a5258"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/main/webapp/mxgraph/src/util/mxSvgCanvas2D.js: src/main/webapp/mxgraph/src/util/mxSvgCanvas2D.js changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in mxSvgCanvas2D.mxSvgCanvas2D.updateTextNodes at line 2204. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 15:42:43 \u002B00:00\u0027 --until=\u00272026-11-17 15:42:43 \u002B00:00\u0027 --full-history --no-merges -- src/main/webapp/mxgraph/src/util/mxSvgCanvas2D.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxSvgCanvas2D.js"},"region":{"startLine":2204}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cb91fb7da67faada7f790f13b2d6a027b877bef22f0ec6f69fc9fe819a19c11"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/main/webapp/mxgraph/src/handler/mxEdgeHandler.js: src/main/webapp/mxgraph/src/handler/mxEdgeHandler.js changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 45 in mxEdgeHandler.mxEdgeHandler.mouseMove at line 1865. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 15:42:43 \u002B00:00\u0027 --until=\u00272026-11-17 15:42:43 \u002B00:00\u0027 --full-history --no-merges -- src/main/webapp/mxgraph/src/handler/mxEdgeHandler.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/handler/mxEdgeHandler.js"},"region":{"startLine":1865}}}],"partialFingerprints":{"codehealthFindingId/v1":"37d3dbb4f3ed83e88c14edbad42626702d1dc747f6c075a8317a1afbb22e5cd9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/main/webapp/js/diagramly/sidebar/Sidebar.js: src/main/webapp/js/diagramly/sidebar/Sidebar.js changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in Sidebar.Sidebar.addCustomEntries at line 1680. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 15:42:43 \u002B00:00\u0027 --until=\u00272026-11-17 15:42:43 \u002B00:00\u0027 --full-history --no-merges -- src/main/webapp/js/diagramly/sidebar/Sidebar.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar.js"},"region":{"startLine":1680}}}],"partialFingerprints":{"codehealthFindingId/v1":"72d6e71901f2172b96cbab3f2ed30d25567ac56d9721c0a4458668312a7c3c2b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/main/webapp/js/diagramly/ConfigEditor.js: src/main/webapp/js/diagramly/ConfigEditor.js changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in ConfigEditor.DrawioConfigEditor.install.populateFields at line 1232. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 15:42:43 \u002B00:00\u0027 --until=\u00272026-11-17 15:42:43 \u002B00:00\u0027 --full-history --no-merges -- src/main/webapp/js/diagramly/ConfigEditor.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ConfigEditor.js"},"region":{"startLine":1232}}}],"partialFingerprints":{"codehealthFindingId/v1":"241299f9a7a1483007673aa99e7e3d450d5ef89591d4f22e125f274febb327cf"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/main/webapp/js/diagramly/mxFreehand.js: src/main/webapp/js/diagramly/mxFreehand.js changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 75 in mxFreehand.mxFreehand at line 5. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 15:42:43 \u002B00:00\u0027 --until=\u00272026-11-17 15:42:43 \u002B00:00\u0027 --full-history --no-merges -- src/main/webapp/js/diagramly/mxFreehand.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/mxFreehand.js"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"f45f2015d8b56288cf179bb004e9ad4274293447bbc0cedfc6f9e795ac597978"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/main/webapp/js/diagramly/mxRuler.js: src/main/webapp/js/diagramly/mxRuler.js changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 71 in mxRuler.mxRuler at line 20. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 15:42:43 \u002B00:00\u0027 --until=\u00272026-11-17 15:42:43 \u002B00:00\u0027 --full-history --no-merges -- src/main/webapp/js/diagramly/mxRuler.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/mxRuler.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c47a10918aa4e1b697263c33568f93e246aff43dca1f5ef7a105cc27bb44060"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/main/webapp/js/diagramly/DriveFile.js: src/main/webapp/js/diagramly/DriveFile.js changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in DriveFile.DriveFile.saveFile at line 165. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 15:42:43 \u002B00:00\u0027 --until=\u00272026-11-17 15:42:43 \u002B00:00\u0027 --full-history --no-merges -- src/main/webapp/js/diagramly/DriveFile.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DriveFile.js"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d94e1badb9174a0f0d52831c7a319eec00a46bab15941b0bc9c351f0fbe2dc0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/main/webapp/js/diagramly/OneDriveClient.js: src/main/webapp/js/diagramly/OneDriveClient.js changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in OneDriveClient.OneDriveClient.authenticateStep2 at line 339. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 15:42:43 \u002B00:00\u0027 --until=\u00272026-11-17 15:42:43 \u002B00:00\u0027 --full-history --no-merges -- src/main/webapp/js/diagramly/OneDriveClient.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/OneDriveClient.js"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"d70b3d0f4e718086504d25358ded7d699d006f8ddd13d57397c0efe78d2841f2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/main/webapp/mxgraph/src/handler/mxVertexHandler.js: src/main/webapp/mxgraph/src/handler/mxVertexHandler.js changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in mxVertexHandler.mxVertexHandler.updateParentHighlight at line 2206. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 15:42:43 \u002B00:00\u0027 --until=\u00272026-11-17 15:42:43 \u002B00:00\u0027 --full-history --no-merges -- src/main/webapp/mxgraph/src/handler/mxVertexHandler.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/handler/mxVertexHandler.js"},"region":{"startLine":2206}}}],"partialFingerprints":{"codehealthFindingId/v1":"4784be86c41e7e00f2059979b8db16b383b6671f1211bf9b377302392d1f0865"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/main/webapp/plugins/nextcloud.js: src/main/webapp/plugins/nextcloud.js changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 52 in nextcloud.Draw.loadPlugin() at line 8. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 15:42:43 \u002B00:00\u0027 --until=\u00272026-11-17 15:42:43 \u002B00:00\u0027 --full-history --no-merges -- src/main/webapp/plugins/nextcloud.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/plugins/nextcloud.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"35ef1fbb69bba25dc06e3ab821c88191acd6f7d4bd313ede8368b01e69ea8f0b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/main/webapp/mxgraph/src/shape/mxText.js: src/main/webapp/mxgraph/src/shape/mxText.js changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in mxText.mxText.updateBoundingBox at line 554. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 15:42:43 \u002B00:00\u0027 --until=\u00272026-11-17 15:42:43 \u002B00:00\u0027 --full-history --no-merges -- src/main/webapp/mxgraph/src/shape/mxText.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/shape/mxText.js"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cd18dcca6b1fb8735935c014ba3b502fdb53a362fbfa7bbce9a7790408a7ba9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/main/webapp/mxgraph/src/shape/mxShape.js: src/main/webapp/mxgraph/src/shape/mxShape.js changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in mxShape.mxShape.paint at line 1094. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 15:42:43 \u002B00:00\u0027 --until=\u00272026-11-17 15:42:43 \u002B00:00\u0027 --full-history --no-merges -- src/main/webapp/mxgraph/src/shape/mxShape.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/shape/mxShape.js"},"region":{"startLine":1094}}}],"partialFingerprints":{"codehealthFindingId/v1":"170c4689a6964aa78e96b5c05e5be0a4b9dae533f309d9de60e8c45201722231"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/main/webapp/mxgraph/src/layout/mxStackLayout.js: src/main/webapp/mxgraph/src/layout/mxStackLayout.js changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 47 in mxStackLayout.mxStackLayout.execute at line 370. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 15:42:43 \u002B00:00\u0027 --until=\u00272026-11-17 15:42:43 \u002B00:00\u0027 --full-history --no-merges -- src/main/webapp/mxgraph/src/layout/mxStackLayout.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/layout/mxStackLayout.js"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"0043864642286f49e238c8f53c46b01e6c3d146d24134c9ba46b25f3b4bef70e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/main/server/java/com/mxgraph/online/AbsAuth.java: src/main/server/java/com/mxgraph/online/AbsAuth.java changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in AbsAuth.doGetAbst at line 259. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 15:42:43 \u002B00:00\u0027 --until=\u00272026-11-17 15:42:43 \u002B00:00\u0027 --full-history --no-merges -- src/main/server/java/com/mxgraph/online/AbsAuth.java\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/server/java/com/mxgraph/online/AbsAuth.java"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce1b1bf99426db93b0a08a03148a0c219e3e49c8a1df3215804cffc924b998b1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/main/webapp/mxgraph/src/util/mxPopupMenu.js: src/main/webapp/mxgraph/src/util/mxPopupMenu.js changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 45 in mxPopupMenu.mxPopupMenu.addItem at line 217. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 15:42:43 \u002B00:00\u0027 --until=\u00272026-11-17 15:42:43 \u002B00:00\u0027 --full-history --no-merges -- src/main/webapp/mxgraph/src/util/mxPopupMenu.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxPopupMenu.js"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc7d1bdb0854e24aa0adebdad230934bf9d9fe199e11f9c8a31300e46f80e2ee"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/main/webapp/js/grapheditor/Toolbar.js: src/main/webapp/js/grapheditor/Toolbar.js changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in Toolbar.Toolbar.createTextToolbar at line 165. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 15:42:43 \u002B00:00\u0027 --until=\u00272026-11-17 15:42:43 \u002B00:00\u0027 --full-history --no-merges -- src/main/webapp/js/grapheditor/Toolbar.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Toolbar.js"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6bb5cf45ca3317e025de5593a1f7ba60a08fd00dafacbd1baf5f9188129f187"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/main/webapp/mxgraph/src/util/mxPanningManager.js: src/main/webapp/mxgraph/src/util/mxPanningManager.js changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 38 in mxPanningManager.mxPanningManager at line 10. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 15:42:43 \u002B00:00\u0027 --until=\u00272026-11-17 15:42:43 \u002B00:00\u0027 --full-history --no-merges -- src/main/webapp/mxgraph/src/util/mxPanningManager.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxPanningManager.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"10efa7a3e8c3c21e6eb4211df03834d5956c0d7aca699db7cc3410ab7ed4a084"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/main/webapp/js/diagramly/Settings.js: src/main/webapp/js/diagramly/Settings.js changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in parse at line 416. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 15:42:43 \u002B00:00\u0027 --until=\u00272026-11-17 15:42:43 \u002B00:00\u0027 --full-history --no-merges -- src/main/webapp/js/diagramly/Settings.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Settings.js"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"30a3507124c6ebaddf9f0b2cf67d603d8045225b9451f3af4f80d0ecd57ae5d8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/main/webapp/js/diagramly/LocalFile.js: src/main/webapp/js/diagramly/LocalFile.js changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in LocalFile.LocalFile.saveFile at line 157. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 15:42:43 \u002B00:00\u0027 --until=\u00272026-11-17 15:42:43 \u002B00:00\u0027 --full-history --no-merges -- src/main/webapp/js/diagramly/LocalFile.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/LocalFile.js"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"de405705d267f67eeb601e547182fc2777061fc893dd7bef3bde0b65a80d7c9a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/main/webapp/js/diagramly/StorageFile.js: src/main/webapp/js/diagramly/StorageFile.js changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in StorageFile.StorageFile.saveFile at line 298. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 15:42:43 \u002B00:00\u0027 --until=\u00272026-11-17 15:42:43 \u002B00:00\u0027 --full-history --no-merges -- src/main/webapp/js/diagramly/StorageFile.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/StorageFile.js"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"4592e2590734d4adc7a2b62f886e943a213e1f037e21a9ce3581dcc35d1cab92"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/main/webapp/mxgraph/src/view/mxCellEditor.js: src/main/webapp/mxgraph/src/view/mxCellEditor.js changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in mxCellEditor.mxCellEditor.startEditing at line 840. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 15:42:43 \u002B00:00\u0027 --until=\u00272026-11-17 15:42:43 \u002B00:00\u0027 --full-history --no-merges -- src/main/webapp/mxgraph/src/view/mxCellEditor.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxCellEditor.js"},"region":{"startLine":840}}}],"partialFingerprints":{"codehealthFindingId/v1":"d103b3d3d45f05da370b16e575fbdcff96ad0f98350ffb11f3a314caf322c6bc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/main/webapp/js/diagramly/OneDriveFile.js: src/main/webapp/js/diagramly/OneDriveFile.js changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in OneDriveFile.OneDriveFile.saveFile at line 609. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 15:42:43 \u002B00:00\u0027 --until=\u00272026-11-17 15:42:43 \u002B00:00\u0027 --full-history --no-merges -- src/main/webapp/js/diagramly/OneDriveFile.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/OneDriveFile.js"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cd48d319eb44e09f14e474831b48efd25c9e7e3af5d3e9f3b3b53275037fedb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //Chrome blocks this cookie when draw.io is running in an iframe. The cookie is added to parent frame. TODO FIXME \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/server/java/com/mxgraph/online/AbsAuth.java"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"b78c5a55caf57f579660525ac602c24e090e0e6aba0b15fce2fc2981e2661990"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO This code should be removed when new code is propagated \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/server/java/com/mxgraph/online/AbsAuth.java"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cd87b3f9421e17496f015b6d8e1d47a74f88e67ebf66840808ea573ec1af9d3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO implement this for memcached \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/server/java/com/mxgraph/online/CacheFacade.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb89debc0e33916f111d066f6591f6c7a85957b53f653205bb5a01dc24e156fd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add JS to Javascript code inline. This had to be done to quickly \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/server/java/com/mxgraph/online/EmbedServlet2.java"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb025f4df00e87540af0b557324b0f12fd19f59e5ae0b91631d8d2805fbd59c4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add check for .eot fonts \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/server/java/com/mxgraph/online/Utils.java"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"eecfed2a9ac72d93b3a0069b9b2137aacb2f4d0effa2fa48e8371ce277b62016"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: the repository holds project manifests and neither \u0060README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c33a5992d4bd6ac1ea4b853ae69753fcd7e0410099c58731c86be53325ba8c96"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: \u0060dependencies\u0060 is a published package (\u0060package.json\u0060 without \u0060\u0022private\u0022: true\u0060) and neither \u0060etc/dependencies/README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etc/dependencies/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ad17172e3e03fdadb127588b722afc2e386f5dcd077c2f01a4920c45b41b43d"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060mxGraphMlCodec\u0060 spells \u0060Ml\u0060 where 43 names in the project spell it \u0060ML\u0060: 43 of 44 names in project repository spell the token \u0060ML\u0060 (43 of 44; unit: names in project repository containing \u0060ML\u0060). Peers: mxSysML.mxShapeSysMLComposite (src/main/webapp/shapes/mxSysML.js:8); mxSysML.mxShapeSysMLPackage (src/main/webapp/shapes/mxSysML.js:118); mxSysML.mxShapeSysMLPackage2 (src/main/webapp/shapes/mxSysML.js:226); mxSysML.mxShapeSysMLNone (src/main/webapp/shapes/mxSysML.js:312); mxSysML.mxShapeSysMLRect (src/main/webapp/shapes/mxSysML.js:347). Rename to \u0060mxGraphMLCodec\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/graphml/mxGraphMlCodec.js"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"d045de9d7a0674b37558be6ad579168106437ae824f01b4d472fe03ea7d99b03"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060mxShapeDFDDataStoreID\u0060 spells \u0060ID\u0060 where 16 names in the project spell it \u0060Id\u0060: 16 of 17 names in project repository spell the token \u0060Id\u0060 (16 of 17; unit: names in project repository containing \u0060Id\u0060). Peers: mxReader.DrawioViewer(attachmentId) (src/main/webapp/connect/common/js/mxReader.js:28); mxReader.DrawioViewer(ceoId) (src/main/webapp/connect/common/js/mxReader.js:28); Dialogs.AspectDialog(pageId) (src/main/webapp/js/diagramly/Dialogs.js:24251); EditorUi.repairFindById (src/main/webapp/js/diagramly/EditorUi.js:21088); Extensions.getLucidId (src/main/webapp/js/diagramly/Extensions.js:6954). Rename to \u0060mxShapeDFDDataStoreId\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/shapes/mxDFD.js"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"b43e3c75e1df6b9f847f7d5360da97246abb457cedd563179038c4dbb049c91d"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Extends EditorUi\u0022 repeats the code it sits on: 3 of its 3 words (extends, editor, ui) are already in \u0060mxUtils.extend(App, EditorUi);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":1876}}}],"partialFingerprints":{"codehealthFindingId/v1":"cba183666f466803874a25e6a66f2da30a4908b64e755e5113eb31da9f7b8e1f"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Uses client-side canvas export\u0022 repeats the code it sits on: 4 of its 5 words (uses, client, canvas, export) are already in \u0060if (mxClient.IS_CHROMEAPP || Editor.useCanvasForExport)\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":3713}}}],"partialFingerprints":{"codehealthFindingId/v1":"a340d000341f4380401f79be443dc3c64274f6715dc4dad40c98a3be32de1a78"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Extends LocalLibrary\u0022 repeats the code it sits on: 3 of its 3 words (extends, local, library) are already in \u0060mxUtils.extend(DesktopLibrary, LocalLibrary);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DesktopLibrary.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"b308677b1824d6beef0f814c843d603da36f92bb8b2c3dd7fce092cc1ad22a96"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Extends mxEventSource\u0022 repeats the code it sits on: 4 of its 4 words (extends, mx, event, source) are already in \u0060mxUtils.extend(DrawioClient, mxEventSource);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DrawioClient.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b739aeb87b32bb43647807fc0c54228770f5a2137b70e6242a552c1355fdd92"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Extends mxEventSource\u0022 repeats the code it sits on: 4 of its 4 words (extends, mx, event, source) are already in \u0060mxUtils.extend(DrawioFile, mxEventSource);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DrawioFile.js"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a9d89bc0df0b44d3a7bddfafa9214d5ddfa981a2a60f3e5759ea782dd34ce35"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Extends mxEventSource\u0022 repeats the code it sits on: 4 of its 4 words (extends, mx, event, source) are already in \u0060mxUtils.extend(DrawioFileSync, mxEventSource);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DrawioFileSync.js"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c4ea1f88a6d256499cae5b5cb16c796076d06900738dc0d5767a3c59fa3aa1d"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Extends mxEventSource\u0022 repeats the code it sits on: 4 of its 4 words (extends, mx, event, source) are already in \u0060mxUtils.extend(DriveClient, mxEventSource);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DriveClient.js"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc8716db3780ade95859726b76c714abce97c83a9a1ed5caffe1e8df77ec867a"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Extends DrawioClient\u0022 repeats the code it sits on: 3 of its 3 words (extends, drawio, client) are already in \u0060mxUtils.extend(DriveClient, DrawioClient);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DriveClient.js"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"f48dfd5e168a112eaf3bff7804d2e858bba2758a7cc83bfcd49c8b0aea5c1aa1"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Extends DrawioComment\u0022 repeats the code it sits on: 3 of its 3 words (extends, drawio, comment) are already in \u0060mxUtils.extend(DriveComment, DrawioComment);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DriveComment.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"004c4c714d3cbe8ae6af33ea47517886c6d32dbdd503b06bda01908cb1ccda0c"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Execute fit page on page setup changes\u0022 repeats the code it sits on: 4 of its 5 words (execute, page, setup, changes) are already in \u0060var changePageSetupExecute = ChangePageSetup.prototype.execute;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":15319}}}],"partialFingerprints":{"codehealthFindingId/v1":"34f1508fd884602f092f5537f80ca7badd9fa816635aaba8544c35a732224f36"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 5 comments in this file only repeat the code they sit on (lines 5147, 8358, 22909, 28018, 42510), for example \u0022end of while\u0022. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":5147}}}],"partialFingerprints":{"codehealthFindingId/v1":"112516bf0dd21407d0df7dcf08e16f38d09904b38eb51b5514389ff29dda9599"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Disables preview option in embed dialog\u0022 repeats the code it sits on: 4 of its 5 words (preview, option, embed, dialog) are already in \u0060EmbedDialog.showPreviewOption = false;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ElectronApp.js"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"b71292d1f7c631c266b0acb207d91cdf5f274fc5f6205d29735367878cb6d064"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Disables new window option in edit diagram dialog\u0022 repeats the code it sits on: 6 of its 7 words (new, window, option, edit, diagram, dialog) are already in \u0060EditDiagramDialog.showNewWindowOption = false;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ElectronApp.js"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"475eee3374da5aceff8ce185fa8241a6ce77d283d223e2004fc3d750bdefa94e"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Extends mxXmlRequest\u0022 repeats the code it sits on: 4 of its 4 words (extends, mx, xml, request) are already in \u0060mxUtils.extend(mxElectronRequest, mxXmlRequest);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ElectronApp.js"},"region":{"startLine":2740}}}],"partialFingerprints":{"codehealthFindingId/v1":"a354171a54fa32644db5ee72c0d864cada1ff1589f7d4700b7f1e3e60b7d7ad2"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Extends DrawioFile\u0022 repeats the code it sits on: 3 of its 3 words (extends, drawio, file) are already in \u0060mxUtils.extend(EmbedFile, DrawioFile);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EmbedFile.js"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9c313baff5708a1a83e2b4ab5ad4cf06d861abf69cefb4e85492fb368fc1494"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Extends DrawioClient\u0022 repeats the code it sits on: 3 of its 3 words (extends, drawio, client) are already in \u0060mxUtils.extend(GitHubClient, DrawioClient);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/GitHubClient.js"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"1beede920299a87a9357f0f64cbb18a8e4df997528a7e6deba613d6520935f29"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Edit cell menu\u0022 repeats the code it sits on: 3 of its 3 words (edit, cell, menu) are already in \u0060this.put(\u0027editCell\u0027, new Menu(mxUtils.bind(this, function(menu, parent)\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Menus.js"},"region":{"startLine":6409}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ed098ac40e7df9ef17329cd242ff8fac9a4c659d2ddc7fdb2fe5c7e72bdca6c"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Current page menu\u0022 repeats the code it sits on: 3 of its 3 words (current, page, menu) are already in \u0060this.put(\u0027currentPage\u0027, new Menu(mxUtils.bind(this, function(menu, parent)\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Menus.js"},"region":{"startLine":6422}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2c7882edb9ebea5a579e13ffc65b8e39bbd009b1373850a5b48185b357b4ba9"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Installs the format toolbar\u0022 repeats the code it sits on: 3 of its 3 words (installs, format, toolbar) are already in \u0060EditorUi.prototype.installFormatToolbar = function(container)\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Minimal.js"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"176d1c275133ed3e2a585b380591cd3afc2e234d2b3c85f64eff4daa71e1baed"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Extends DrawioClient\u0022 repeats the code it sits on: 3 of its 3 words (extends, drawio, client) are already in \u0060mxUtils.extend(OneDriveClient, DrawioClient);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/OneDriveClient.js"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cd1d104af6cab9ae83bde65f5fef9659b481a584661d3f9b00737551e023f25"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Replaces ObjectHandle is Invalid error message\u0022 repeats the code it sits on: 5 of its 6 words (object, handle, invalid, error, message) are already in \u0060if (err != null \u0026\u0026 err.error != null \u0026\u0026\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/OneDriveClient.js"},"region":{"startLine":841}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9c45cd4a4ab2d2c3dcac641566a364b4a5553478b8dc36df898f80a088ec3d4"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Updates custom links\u0022 repeats the code it sits on: 3 of its 3 words (updates, custom, links) are already in \u0060graph.updateCustomLinks(graph.createCellMapping(\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Pages.js"},"region":{"startLine":2506}}}],"partialFingerprints":{"codehealthFindingId/v1":"db2bdbcd34d7669373bc7021bb619560db166b4bc1474e484783ac632fe89eea"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022The tab of a group is dragged with the tabs of its pages\u0022 repeats the code it sits on: 4 of its 5 words (tab, group, tabs, pages) are already in \u0060while (tab.classList.contains(\u0027gePageGroupTab\u0027) \u0026\u0026\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Pages.js"},"region":{"startLine":3501}}}],"partialFingerprints":{"codehealthFindingId/v1":"38dd889fc82db3f0c97c65c6d6709e09495593e00b62f4e79d8a22c93188217b"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Extends DrawioClient\u0022 repeats the code it sits on: 3 of its 3 words (extends, drawio, client) are already in \u0060mxUtils.extend(TrelloClient, DrawioClient);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/TrelloClient.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b71b622f10da062f684269ee0d18e5f897bd40fcc410202e501e0c9a9285ced"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Set up the DC with the number of handles from the header\u0022 repeats the code it sits on: 4 of its 5 words (set, dc, handles, header) are already in \u0060this._dc = new DeviceContext(header.nHandles || 128);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/emf/emf-svg.js"},"region":{"startLine":1605}}}],"partialFingerprints":{"codehealthFindingId/v1":"6588cc0686aeb069283222130fdaef804a4e221218a31be9dfc6761dde8f94ea"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Close clip groups down to saved depth\u0022 repeats the code it sits on: 4 of its 5 words (clip, groups, saved, depth) are already in \u0060while (this._clipGroupDepth \u003E savedDepth)\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/emf/emf-svg.js"},"region":{"startLine":1810}}}],"partialFingerprints":{"codehealthFindingId/v1":"1699a2fa0a267ba48a43b656fc19578ef3f1ffc536844bca4c164b5e6335c180"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022find template bindings\u0022 repeats the code it sits on: 3 of its 3 words (find, template, bindings) are already in \u0060var bindings = this.findBindings(template, \u0027TemplateBinding\u0027);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/graphml/mxGraphMlCodec.js"},"region":{"startLine":1180}}}],"partialFingerprints":{"codehealthFindingId/v1":"59f5aa286001023c0251553f4b93278c4a84b35b3dd4177846af085e7b49d794"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Click stops drawing\u0022 repeats the code it sits on: 3 of its 3 words (click, stops, drawing) are already in \u0060var doStop = stopClickEnabled \u0026\u0026 drawPoints.length \u003E 0 \u0026\u0026\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/mxFreehand.js"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"94bfb21d523d5175697bb2534dcf75644c170593ac6f992f293eefd9159c511c"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Rewrite page links\u0022 repeats the code it sits on: 3 of its 3 words (rewrite, page, links) are already in \u0060Graph.rewritePageLinks(document);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/export.js"},"region":{"startLine":1193}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfe44e142f534e3ec79209bcc0fa29bdaf3b9bee3d45d4cd704d690f17ce5aac"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Sets grid size\u0022 repeats the code it sits on: 3 of its 3 words (sets, grid, size) are already in \u0060var gs = xmlDoc.documentElement.getAttribute(\u0027gridSize\u0027);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/export.js"},"region":{"startLine":1663}}}],"partialFingerprints":{"codehealthFindingId/v1":"81ed092365a6e415d57ff6650249170217ae796f235cd74d8082ddc961de0f55"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Sets background image\u0022 repeats the code it sits on: 3 of its 3 words (sets, background, image) are already in \u0060var bgImg = xmlDoc.documentElement.getAttribute(\u0027backgroundImage\u0027);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/export.js"},"region":{"startLine":1679}}}],"partialFingerprints":{"codehealthFindingId/v1":"07e55acdd114f25b6ea7a9fd4ae168ed19386965d270281604737505f6088dae"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Action inherits from mxEventSource\u0022 repeats the code it sits on: 4 of its 5 words (action, mx, event, source) are already in \u0060mxUtils.extend(Action, mxEventSource);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Actions.js"},"region":{"startLine":2456}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bf60a003992138ebae9ba88882ac0ac246a8e272e2edc0ddd0430e47eeefaf9"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Extends mxEventSource\u0022 repeats the code it sits on: 4 of its 4 words (extends, mx, event, source) are already in \u0060mxUtils.extend(ColorPicker, mxEventSource);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Dialogs.js"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ea9d077b3eafabc07ceb7620751e174ffdd04eb980aa1aa875ef7dddb0ad8ee"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Creates background page shape\u0022 repeats the code it sits on: 4 of its 4 words (creates, background, page, shape) are already in \u0060mxGraphView.prototype.createBackgroundPageShape = function(bounds)\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Editor.js"},"region":{"startLine":5273}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dcc5167eb4ca75206bbc003bfadb4a5e74bdb2c868e2624ce21e8b09f7c38ed"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Creates hover icons\u0022 repeats the code it sits on: 3 of its 3 words (creates, hover, icons) are already in \u0060this.hoverIcons = this.createHoverIcons();\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c0e44061492ddff7baa218109afb2af608ce87e9d67087132215b607eef0bb6"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Creates inline toolbar\u0022 repeats the code it sits on: 3 of its 3 words (creates, inline, toolbar) are already in \u0060this.inlineToolbar = (Editor.enableInlineToolbar) ?\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d4a1a62040511228b4887e7ec2e3765e5a7d1b7e1ce6c3816880aae03e4e184"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Zoom Preview Complete\u0022 repeats the code it sits on: 3 of its 3 words (zoom, preview, complete) are already in \u0060this.editor.graph.addListener(\u0027zoomPreviewComplete\u0027, mxUtils.bind(this, function(sender, evt)\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"a82a58d7b82cb10914daefe39d409da7237e108fc74fe5d565c8ebbf981fa2da"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Extends mxEventSource\u0022 repeats the code it sits on: 4 of its 4 words (extends, mx, event, source) are already in \u0060mxUtils.extend(EditorUi, mxEventSource);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":1296}}}],"partialFingerprints":{"codehealthFindingId/v1":"3888a28dd9277213b1c8508e06aebe79ab9cf610efcc452f99ebf716769854aa"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Values from data sources are text in HTML labels\u0022 repeats the code it sits on: 5 of its 6 words (values, data, sources, html, labels) are already in \u0060if (result != null \u0026\u0026 this.isDataSourceValue(current, name) \u0026\u0026\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":17869}}}],"partialFingerprints":{"codehealthFindingId/v1":"2df6ddaf59d428829ba4846f52fc3f559e5760bf40e5596bf042c5668ee64868"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Extends mxEventSource\u0022 repeats the code it sits on: 4 of its 4 words (extends, mx, event, source) are already in \u0060mxUtils.extend(HoverIcons, mxEventSource);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":24104}}}],"partialFingerprints":{"codehealthFindingId/v1":"53a9a4c10d892d9afb55dcc946c7db873400b99f5c2e06a82839a1c53e11aa76"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Sets colorScheme for current adaptiveColors\u0022 repeats the code it sits on: 5 of its 6 words (sets, color, scheme, adaptive, colors) are already in \u0060this.textarea.style.colorScheme =\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":46603}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab7db5564fc3377b6f7dc315858a2f18d7c6d249a44ee28f222acc450fc270e2"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Menu inherits from mxEventSource\u0022 repeats the code it sits on: 4 of its 5 words (menu, mx, event, source) are already in \u0060mxUtils.extend(Menu, mxEventSource);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Menus.js"},"region":{"startLine":2154}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a797161e43dd042cbc7eb4100f59048acaf422519c549c3dd88142c54fcab2c"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022An action is enabled if one of its items is\u0022 repeats the code it sits on: 3 of its 3 words (action, enabled, items) are already in \u0060actionEnabled[item.action] = actionEnabled[item.action] === true || item.enabled;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Omnibox.js"},"region":{"startLine":1164}}}],"partialFingerprints":{"codehealthFindingId/v1":"03e1c78a2410dbbda696ed95ad7f83bc7df17b58fb937225512445ade9322216"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 17 comments in this file only repeat the code they sit on (lines 922, 2440, 2463, 3465, 3504, 3541, 3562, 3585, 5194, 5228, 5646, 5772, 5880, 7537, 8075, 8133, 8895), for example \u0022Table Row Shape\u0022. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":922}}}],"partialFingerprints":{"codehealthFindingId/v1":"027052c3111b800fbaa2fa865fcff08482766e45207a04792502769b9eb9f39d"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Creates the edge preview\u0022 repeats the code it sits on: 3 of its 3 words (creates, edge, preview) are already in \u0060var shape = (this.livePreview \u0026\u0026 this.edgeState != null) ?\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/handler/mxConnectionHandler.js"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"00024ccb41977179ccf3f859dac9d5c85f0b1cd0d1f02cf831221613aedcf18f"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Extends mxEventSource\u0022 repeats the code it sits on: 4 of its 4 words (extends, mx, event, source) are already in \u0060mxUtils.extend(mxRubberband, mxEventSource);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/handler/mxRubberband.js"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"08386e5f29ff1ed8c9bb75a08374f3de38968f87435ca851222ef69422ee588c"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Checks if the value is a default value and the name is correct\u0022 repeats the code it sits on: 4 of its 5 words (checks, value, default, name) are already in \u0060if (name == null || enc.encodeDefaults || defaultValue != value)\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/io/mxObjectCodec.js"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"84652e5ef9c3551734d5742de45f54bb9befa15eaac15675de1c5e237b4d799a"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Translate the control points\u0022 repeats the code it sits on: 3 of its 3 words (translate, control, points) are already in \u0060if (this.TRANSLATE_CONTROL_POINTS \u0026\u0026 this.points != null)\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/model/mxGeometry.js"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f0423acbe6a96e820516219536f06fb1256bfe54d483fd981429adccbe54f05"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Disables the context menu on the outer div\u0022 repeats the code it sits on: 4 of its 5 words (disables, context, menu, div) are already in \u0060mxEvent.disableContextMenu(this.div);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxPopupMenu.js"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"31e2d6e342443667e2f3cbace5b8929f1e6b8ec11059b777dfa1d5e36e6cf288"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Creates the temporary cell states in the view\u0022 repeats the code it sits on: 5 of its 5 words (creates, temporary, cell, states, view) are already in \u0060var temp = new mxTemporaryCellStates(graph.getView(), scale, cells);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxUtils.js"},"region":{"startLine":5326}}}],"partialFingerprints":{"codehealthFindingId/v1":"034e20d9c0051b2ec5a0c134ee29157fa9918a5d4da0c4f5684d9d6a63b952f3"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022The ratio of the width/height for each printer page\u0022 repeats the code it sits on: 4 of its 5 words (ratio, width, height, page) are already in \u0060var pageFormatAspectRatio = availablePageWidth / availablePageHeight;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxUtils.js"},"region":{"startLine":5389}}}],"partialFingerprints":{"codehealthFindingId/v1":"30486ac6e054e75860fef6155fd65863565c0336da022f1edf5ae0af917c05b0"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022The ratio of the width/height for the graph to be printer\u0022 repeats the code it sits on: 4 of its 5 words (ratio, width, height, graph) are already in \u0060var graphAspectRatio = graphWidth / graphHeight;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxUtils.js"},"region":{"startLine":5391}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d0c32bb3bcc524976d5c7f25d8b3898033e0decb37f435f49283a1361606888"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Sets the initial editing value\u0022 repeats the code it sits on: 4 of its 4 words (sets, initial, editing, value) are already in \u0060this.setEditingValue(state, this.getInitialValue(state, trigger) || \u0027\u0027);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxCellEditor.js"},"region":{"startLine":862}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb0ef22112f56bb0ebe7bc0dd136da91e4780d1ca4dbf3203914b1fc31d6273a"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Checks if default parent is in model\u0022 repeats the code it sits on: 4 of its 4 words (checks, default, parent, model) are already in \u0060if (this.getDefaultParent() != null \u0026\u0026\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":2165}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b1631fdc6cd77613a36824fb1adc1f5cc94c3bbbde69af04e40d6c97910f952"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022The sides of open-ended shapes are one outline\u0022 repeats the code it sits on: 4 of its 5 words (open, ended, shapes, outline) are already in \u0060outline.band = typeof shape.isOpenEnded === \u0027function\u0027 \u0026\u0026 shape.isOpenEnded();\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":12630}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc0bdc663fa332050727ac7c8aa84f9f6170486b880e9052df50dd2474cc2eef"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Stops editing for all events other than from cellEditor\u0022 repeats the code it sits on: 4 of its 5 words (editing, events, cell, editor) are already in \u0060if (evtName == mxEvent.MOUSE_DOWN \u0026\u0026 this.isEditing() \u0026\u0026 !this.cellEditor.isEventSource(me.getEvent()))\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":14588}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dc378e58efe4aec2600201dd6e4378121c006d7caa6f75c28ceabadc5896810"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Waits for Trello client to load\u0022 repeats the code it sits on: 4 of its 4 words (waits, trello, client, load) are already in \u0060editorUi.addListener(\u0027clientLoaded\u0027, waitForTrello);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/plugins/trello.js"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4b1410acfd1ac6dbb88c3b31dc77ebb5d06df72e807cfdc4b4ed01de6eff0c2"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022BPMN event shape\u0022 repeats the code it sits on: 3 of its 3 words (bpmn, event, shape) are already in \u0060function mxShapeBpmnEvent(bounds, fill, stroke, strokewidth)\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/shapes/bpmn/mxBpmnShape2.js"},"region":{"startLine":819}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ef5066ac68e71081d35287a4e3c14cc14939459238be63b42caf4a9f8dd2627"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022BPMN gateway shape\u0022 repeats the code it sits on: 3 of its 3 words (bpmn, gateway, shape) are already in \u0060function mxShapeBpmnGateway(bounds, fill, stroke, strokewidth)\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/shapes/bpmn/mxBpmnShape2.js"},"region":{"startLine":1361}}}],"partialFingerprints":{"codehealthFindingId/v1":"3db3dfcaf6636e6ce7f4f10a8b1331d84a2f3f57d5e73e9769b77a9da79751b1"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022set fill color to fill color\u0022 repeats the code it sits on: 3 of its 3 words (set, fill, color) are already in \u0060c.setFillColor(fillColor);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/shapes/mxC4.js"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"fada395cab9c7cb29f92b631450c94f60353800f752ff49c4b7c6865149f8f13"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Registers the electronic info shape\u0022 repeats the code it sits on: 4 of its 4 words (registers, electronic, info, shape) are already in \u0060mxCellRenderer.registerShape(\u0027mxgraph.lean_mapping.electronic_info_flow_edge\u0027, mxLeanElectronicInfoShape);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/shapes/mxLeanMap.js"},"region":{"startLine":1921}}}],"partialFingerprints":{"codehealthFindingId/v1":"645492f8b2c3c67545dc086e183d21dbe8ee8a1bb1d949da4035203951b5c839"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Registers the comm link edge\u0022 repeats the code it sits on: 4 of its 4 words (registers, comm, link, edge) are already in \u0060mxCellRenderer.registerShape(\u0027mxgraph.networks.comm_link_edge\u0027, mxShapeNetworksCommLinkEdge);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/shapes/mxNetworks.js"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"de5b3a3c863878e3cc426298f6a972b6236e4dbcd68b08919138302f2c91c6b6"}},{"ruleId":"D28","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":"edbb12309e4a9d374a4a04b9934ac7e3c001ca26cd0900d6c34726a7a0484a03"}},{"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":"ab8d83539c5ebe567cb6deae98d392d6617f9ea4001a34a9a21fb3f393c0be8f"},"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":"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":"db7b02021ab23bae231f2b1de52e14351a360736b3ff45eb745d07fabf53730c"},"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":"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":"778500189e80d39898c510e0d886a3c879d1f50572155be2b4569a27d6717c50"},"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":"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":"9b325e5f508d80897b008746ddac1d7db71c593463d9ebedc4933368422eabf6"},"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":"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":"2be05f6f48af74d4d34f7184f134b892134aca93846f2ddc9ca414fa6a63a507"},"taxa":[{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09: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":"691eabec041813884011124cffba28a3a93fd1e51ba474cbabf1c69b1fe3e80a"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"3efbf37d777872bb2b00a98ad1b002bcd74dc911fdfa7b28e66915e409104cae"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"a215e3a91fae13343efbaad7303250cc555be03de52ec8c66ba78a654a06b04b"},"taxa":[{"id":"CWE-79","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":"432022c0d6af750091956a19049e82a1610ddf8ead296ab67358ea5fe16996d0"},"taxa":[{"id":"CWE-79","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":"148b9c69fe385f68282115a99d20443b90879e2ac5f10bcfe0a7829eb963c27f"},"taxa":[{"id":"CWE-93","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":"2ba491dd6c55672668a09d967df77c7812842e3ade71a0b06a6e398e1a4728ed"},"taxa":[{"id":"CWE-93","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":"f21d6afc5858394fa84ed01e23acb420b5408227a303a0546aaacf6ad1ecc640"},"taxa":[{"id":"CWE-345","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08: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":"2364223a352ed4ea2ec596061ca157f6b63c0904629249cd59a0c9b65c930201"},"taxa":[{"id":"CWE-345","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08: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":"0c7f569904b8586df876211c3d2271cc27b5efb27c821ec7e7e426ce18f7c133"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"8c55c132c02fdb2c5055070f8b2e2192e8cc0b7773493b23dedb3e5d83d1c279"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"974cd6a44a9af9c87d0947a6136ee833bc436fa2f7e186292f9c144adb8a0a52"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"a315b71543bbf4071cd211c4744deeaa93ca028a85c7f66452ef975837fe00d1"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"e124e018343301ddfa47a527e223fdda13bdf7d4dcba6bf9e6d51f8a99892382"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"b439bd204683326188c5eb13c33ff1200339cb8505ba78ea61580c98d41b9428"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02: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":"98185dbfc07b0fec35ad7880eb11ff9c5650400eda8383d1b56a8b6d3dcf8da5"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06: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":"e20c01e7e85353c16c8f86dd43a7d940d6c75c35c74b07af27ed1c32af485ecf"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"21dbe97ed8755c06c47c5b12d2a5ac7809e4934e7e03c4c66f068aab86d98381"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"430d28627e0a234d45e39b46cf1d67267c40ae2442014790e31fe262f169e1e0"},"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":"de92b72edd96414a83ff621e1845dbcba976781867142b6323aac4eddd3e4eb7"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"8ad8caa0b020789e0f0add030ce906e1296d8fb2e07fa52e675c656abe39d67d"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"631a052378d82b1ff4d99771983467c81ee182d75621707a1b9c1f2e2536bef4"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"fdb54f062b6a5fcbb8812eae639ec898b1eb3fbfff7caa9262ba6638a553c83f"},"taxa":[{"id":"CWE-345","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"759dca709f1a032fb6f624ce672e6afb5558fce53ecf01fb73618c4d33923164"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","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":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","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":"89908704e81d316009911ca2be8acfb34442ee89fe08d0089b8b22a606c4d6dd"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etc/dependencies/dompurify-smoke.js"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"55f001556e9fd20d36acce7cb46c75e2690b5f745c8549a4cb71811cf95ed1af"}},{"ruleId":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etc/dependencies/dompurify-smoke.js"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa441004c53e2ab61090f7953532b90106f1e562571498b26ef2686bd4730449"}},{"ruleId":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etc/dependencies/dompurify-smoke.js"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"8155ffd937ea2afeba5d92ff954bddfd6739c41684d78a56d80cbf5d1fd4ebc9"}},{"ruleId":"AC1","level":"warning","message":{"text":"\u003Cobject\u003E without a text alternative: A \u003Cobject\u003E with no aria-label/title and no inner fallback content can\u0027t be described by assistive tech. Add a name or fallback content."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etc/dependencies/dompurify-smoke.js"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9a66bf11882760a9c79bee45ae072d07b2f5966dc76302fb7ccaf1b518f065e"}},{"ruleId":"AC1","level":"warning","message":{"text":"\u003Cembed\u003E without a text alternative: An \u003Cembed\u003E has no fallback-content mechanism, so it needs an aria-label/aria-labelledby/title to be described."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etc/dependencies/dompurify-smoke.js"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"456073608bd04af5b791384ad8cd549cd12628630a38e03c3093bb9c0cbe309f"}},{"ruleId":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/clear.html"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fc7cbb9cf67e5189f97aea80ecfa60fd47ea8fdd8c8dc6f5e48a34a0b5e0cf3"}},{"ruleId":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/connect/common/js/mxReader.js"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bddd9077230ed53f8d1a3bcbceb35b701f68921e74d66a1a717207c95ae90ed"}},{"ruleId":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":1022}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b7c5ba267fa49b18b3e4e15f9d2169fb7edc8698dcd117c04f846dec2864f2c"}},{"ruleId":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":2417}}}],"partialFingerprints":{"codehealthFindingId/v1":"833ee5bd99ac16b911f61329828d7743fa78a15041f9e5866789f4bd043870df"}},{"ruleId":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":9458}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ffe636462f06fec18b21867669d08af5d9d6c58f6ba411cd2b28a7c28ac4b7f"}},{"ruleId":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":9641}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d9cd3540dfbeeb1ee4a32eb69e8a319dc7b8b5d33dee94a60a839a79193b714"}},{"ruleId":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"a59efef92aec97beec69617fa335fd6f3d94fe5d7352a76032b64f936a96caf0"}},{"ruleId":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":5109}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ab738475f22632c1cdb1119151f714d790bb0993d316f279bd494665f7de2de"}},{"ruleId":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":831}}}],"partialFingerprints":{"codehealthFindingId/v1":"abf115174b38ad5216e13b381f473be99feba11e1dda6b6681a78cfcfce73b7c"}},{"ruleId":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":10574}}}],"partialFingerprints":{"codehealthFindingId/v1":"13bf881bf5fa4676e23fd2717a87f430ccb2443ab9b57add8dcb8c40353375c9"}},{"ruleId":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":12672}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5864333afb17e5ca4606d3b888f2c97c6c469b36a5b168d7b31600c235294eb"}},{"ruleId":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":12983}}}],"partialFingerprints":{"codehealthFindingId/v1":"e438cc3c608cd042310ae105c1a06987237b068202e6c26c5fc336c23258e0dc"}},{"ruleId":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":13359}}}],"partialFingerprints":{"codehealthFindingId/v1":"8123215d700247525b4984d9616f2d4b9f374044e0eccc51fb12c36353740d37"}},{"ruleId":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":13518}}}],"partialFingerprints":{"codehealthFindingId/v1":"7427763b552b2ffc6d1ea4f590c0ef0f390bf7f8d42ca9718fff743370b307ba"}},{"ruleId":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/GitHubClient.js"},"region":{"startLine":1146}}}],"partialFingerprints":{"codehealthFindingId/v1":"e110c3cfa74b67f1e273296c99baad03da5b39991c62965ddd51c96c729a2a98"}},{"ruleId":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/GitLabClient.js"},"region":{"startLine":1039}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f141bc6b5fa017b7197571a4d9e7f2aa90cecd4384c1474cae580647e5bbea9"}},{"ruleId":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Menus.js"},"region":{"startLine":4758}}}],"partialFingerprints":{"codehealthFindingId/v1":"28696f0d259143bd58da4ef3199ec5f80cd98c67522517fe0974b74204c84b99"}},{"ruleId":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Menus.js"},"region":{"startLine":7394}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2dea508501b328856d53b8ba056eaaeda32f1139c052d7224d3f5379b86535f"}},{"ruleId":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/P2PCollab.js"},"region":{"startLine":809}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e4c6421801cf6fb9341c427ea3752f0aafa685280512245ecd50935a5f4e93a"}},{"ruleId":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Pages.js"},"region":{"startLine":3435}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cfb3b749b1017abaccd62d9e5a6b5e79d4603ed0d5863a60c97026857f4361d"}},{"ruleId":"AC1","level":"warning","message":{"text":"\u003Ccanvas\u003E without a text alternative: A \u003Ccanvas\u003E with no aria-label/title and no inner fallback content can\u0027t be described by assistive tech. Add a name or fallback content."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/mxRuler.js"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"756ffffa718eb710eb248d06a01a2f7ecf0c32df74fbee7cdf71669d9137dd68"}},{"ruleId":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar.js"},"region":{"startLine":1710}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0c3d90e9f8ef986aad69e3e47da7c9f50cadb4ea794d52a488d011e2b0a97ba"}},{"ruleId":"AC1","level":"warning","message":{"text":"\u003Ccanvas\u003E without a text alternative: A \u003Ccanvas\u003E with no aria-label/title and no inner fallback content can\u0027t be described by assistive tech. Add a name or fallback content."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":827}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c40aea4d6d9b2d11af512ff8d6d8cd7c947c36b22ba9d5383e51319f1c10933"}},{"ruleId":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Dialogs.js"},"region":{"startLine":5044}}}],"partialFingerprints":{"codehealthFindingId/v1":"19e205a9c6741e23a182ad1be797385678389a7d114261716cc565610cbd4aaa"}},{"ruleId":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":5242}}}],"partialFingerprints":{"codehealthFindingId/v1":"882e81a1571824f6f218c7bef2500bf4dba49aac383b17f42f45d02ce0569f7b"}},{"ruleId":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":12024}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfa675c5a2d614b018ded6e4be085c1c4ddc16ca3bc5917d11fb8d0725f016fe"}},{"ruleId":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/InlineToolbar.js"},"region":{"startLine":2596}}}],"partialFingerprints":{"codehealthFindingId/v1":"60077374ed25488d7f1ba90ec0686a9941621527e9af8c0355d11ce47168bdb0"}},{"ruleId":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/InlineToolbar.js"},"region":{"startLine":3341}}}],"partialFingerprints":{"codehealthFindingId/v1":"b038a298b65aab2cfde789224665fd855c89feeed07ac1eba1c41ce0c0b86f8e"}},{"ruleId":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":2871}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f44cfe1b41d192815e5efc0a3e81afdda6e761d1468d6dd5836a3596bae9259"}},{"ruleId":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/onedrive/mxODPicker.js"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"12c4dda4e3b5f96a74b61436f47935921f544682fb5b9d2497e41aafe0acbbe9"}},{"ruleId":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/open.js"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"1137d65a75c3af89c6d510b72ea300eb501810c5c6b12016211579b2166cf6d4"}},{"ruleId":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/shape/mxImageShape.js"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9a26c12ff14c9aaf82a3c92844085ffd7c4708aa500f768661fd9e2056cfa0c"}},{"ruleId":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/shape/mxLabel.js"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"016c04c90b6e0477f501a74b0e8df470f07726e44a6d39067d1422bae254ec1b"}},{"ruleId":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxPopupMenu.js"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"4376e5f2c35f410193f7dccae01c4a43c3b7a6f8bec381004ccf7401b81e4c03"}},{"ruleId":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxToolbar.js"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"54fd0d43b9f8ea712da66f5d4ba11d2fe75b57d94b12aea38f9e4580e9c680aa"}},{"ruleId":"AC1","level":"warning","message":{"text":"\u003Ccanvas\u003E without a text alternative: A \u003Ccanvas\u003E with no aria-label/title and no inner fallback content can\u0027t be described by assistive tech. Add a name or fallback content."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxUtils.js"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a9c64c8ee30a00bd7e5e0e100fd2bd3ed278718fbdaa26a67ec7c46259ef21c"}},{"ruleId":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxUtils.js"},"region":{"startLine":4311}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e708b9ba3cb657d35f3d542b1cb99344d3603a00419548447c8317277a1c4cb"}},{"ruleId":"AC2","level":"error","message":{"text":"Link with no accessible name: A link with no text, aria-label or labelled child (e.g. an icon-only link) has no accessible name, so assistive tech can\u0027t say where it goes. Add visible text or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":3313}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f123299af3676e2ee6be501b107c53d260ea235f64aed44b10d8522c7901aca"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":5880}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bb6a0ea2119166a328abe343e42ae66d6e920407560e7899a71f93cd3d4bc7d"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":6061}}}],"partialFingerprints":{"codehealthFindingId/v1":"66a5fdddaf0dd7466214cd767cc60e66bb537f24136e840008853410a998b265"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ConfigEditor.js"},"region":{"startLine":1905}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f8348e8e309644b0132e0bb9bee2aa3ab874bc5f3efb8134fe25e31bcb10f4a"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ConfigEditor.js"},"region":{"startLine":1935}}}],"partialFingerprints":{"codehealthFindingId/v1":"14e621215ab9a709361e2f3dcd7c96bd44a605435f2899e00b7533d78746b003"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ConfigEditor.js"},"region":{"startLine":1938}}}],"partialFingerprints":{"codehealthFindingId/v1":"667f63196775a3fb82559facda3d68b22e6ccbbfd03e969898355233f566531c"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ConfigEditor.js"},"region":{"startLine":1939}}}],"partialFingerprints":{"codehealthFindingId/v1":"cda675d8f87fc7ce369da9241ea1a85b996600bf8e4f0bc7b7406376acf646fd"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ConfigEditor.js"},"region":{"startLine":1965}}}],"partialFingerprints":{"codehealthFindingId/v1":"3075d85efe0e3f5dc5b57b64e24219ee92f9063f55cbfb4584a18d54e2c86fad"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ConfigEditor.js"},"region":{"startLine":1972}}}],"partialFingerprints":{"codehealthFindingId/v1":"5880e77f469f6fc7a31cdb4cd8b493071f7a0b6f567114864739800184285b87"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ConfigEditor.js"},"region":{"startLine":2022}}}],"partialFingerprints":{"codehealthFindingId/v1":"0181984578e36e05c47fb8b0e2dbb401025a73fa687754fdee9910bdb800e557"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ConfigEditor.js"},"region":{"startLine":2029}}}],"partialFingerprints":{"codehealthFindingId/v1":"2842e4a7405cc808eafaf561ec5fb5421d94535a23acb0b727e5899fa7dff998"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ConfigEditor.js"},"region":{"startLine":2046}}}],"partialFingerprints":{"codehealthFindingId/v1":"a75f6635e968301113cf74c922eae93431ba6c2da9246db807428f932e7990cf"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ConfigEditor.js"},"region":{"startLine":2068}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dad2344ea1beb824a89ad0ed7fcc319acce31ec5b64858e6fb8680218c98b24"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ConfigEditor.js"},"region":{"startLine":2081}}}],"partialFingerprints":{"codehealthFindingId/v1":"28bc75214d893501b81b3ccd350edbb00e5e944aefb26207655ef029e496cff0"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ConfigEditor.js"},"region":{"startLine":2151}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b54fc0ce08a3a873866acb5abf7092f4276c6026a226f2714190ef882263058"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ConfigEditor.js"},"region":{"startLine":2154}}}],"partialFingerprints":{"codehealthFindingId/v1":"3de6037cb7344b2fe8f239a130ccf99fbbcdc8f491019d24c16550a26f58f679"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ConfigEditor.js"},"region":{"startLine":2160}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2cfdcd483e7fa9e1c4f48e2379d55222ab47440a4cbce8012e5c8d33efcf3c1"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ConfigEditor.js"},"region":{"startLine":2163}}}],"partialFingerprints":{"codehealthFindingId/v1":"defe36eb6913b07e7676722e7f34a29b6584b4b5d30a45c3b1acdf88eadf7090"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ConfigEditor.js"},"region":{"startLine":2173}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dff51fb8a6928d1f509d687f06dd23d0e1202ee5841bd5ab183eb479fe2968e"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ConfigEditor.js"},"region":{"startLine":2176}}}],"partialFingerprints":{"codehealthFindingId/v1":"65cabe1353c8b5378530728dd1b8b27de461f0533e91e151299f5e70fade14f4"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ConfigEditor.js"},"region":{"startLine":2200}}}],"partialFingerprints":{"codehealthFindingId/v1":"a44d3ae65a05de48473d16293f9816db26387ea0f3cd558537c13fdb2e3f0385"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ConfigEditor.js"},"region":{"startLine":2203}}}],"partialFingerprints":{"codehealthFindingId/v1":"94157c08e4558bf76b902ee4247fd23f6138b70aa81febfd9439edb0f3a14be7"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ConfigEditor.js"},"region":{"startLine":2204}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fa75d49e042edf57146c4414303f4af410254e6f0b91e2fa86183b03414da3c"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ConfigEditor.js"},"region":{"startLine":2210}}}],"partialFingerprints":{"codehealthFindingId/v1":"143e567eb8d3dc60f2f115cf01f10c420906b6cc894fbf87b493c3b79c49e9cc"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ConfigEditor.js"},"region":{"startLine":2213}}}],"partialFingerprints":{"codehealthFindingId/v1":"932c6a12b90d1c809310992924919602ac4e712dd9b2a7e89bc7280a25c4629a"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ConfigEditor.js"},"region":{"startLine":2214}}}],"partialFingerprints":{"codehealthFindingId/v1":"c85fdec128810f525288e68e64ab6c318c3adf411d9de8b5d8a09446555fb144"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ConfigEditor.js"},"region":{"startLine":2232}}}],"partialFingerprints":{"codehealthFindingId/v1":"8822ef92117ed8207fec476dc1b01a442fde874716a98b87d24bd2ecac9abe64"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ConfigEditor.js"},"region":{"startLine":2235}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9b7a6d8346d405abc48a4d50900aa2bca0e3ee9fd05b76b4f1a8236260f6c30"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ConfigEditor.js"},"region":{"startLine":2236}}}],"partialFingerprints":{"codehealthFindingId/v1":"82b48c9f0891fd9200f42aa15e96aceb5e7dbbfa43b69ff352f9602d2d160d94"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ConfigEditor.js"},"region":{"startLine":2241}}}],"partialFingerprints":{"codehealthFindingId/v1":"25742b353e194b0611e8eef7cc5581dcf85f7afd9f686ef85563a5ec0ddf1b63"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ConfigEditor.js"},"region":{"startLine":2244}}}],"partialFingerprints":{"codehealthFindingId/v1":"4271d7a24ef7b06070718fbe1e0ef69f252eca862f5aa5b354ee1987515b89eb"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ConfigEditor.js"},"region":{"startLine":2245}}}],"partialFingerprints":{"codehealthFindingId/v1":"5991078ca93e7a5c7e75664a93bab853aaac435fa46ee9208cc94cb8293d41b5"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ConfigEditor.js"},"region":{"startLine":2251}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b26bbd54eeaecd1d7ce82e4bffab99f0d7703713c5e9042e22335fca68503b2"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ConfigEditor.js"},"region":{"startLine":2254}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc29bf4de388cd192b5a4b22b0d4002caf6147121da9bf80cc51c7bd8e7c95b1"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ConfigEditor.js"},"region":{"startLine":2255}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f92244d82122e8c69a41dbb3a32507e53920b1931379a078626d0845479b6f2"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ConfigEditor.js"},"region":{"startLine":2272}}}],"partialFingerprints":{"codehealthFindingId/v1":"99c3527e4da80b1f255b811647241b1e65b9b8a7af2d3cd52a4d202927e77b44"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ConfigEditor.js"},"region":{"startLine":2280}}}],"partialFingerprints":{"codehealthFindingId/v1":"790e6f147c57df8015885382fb817f675339ebe1973e45959b71f028d7d68a7c"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ConfigEditor.js"},"region":{"startLine":2360}}}],"partialFingerprints":{"codehealthFindingId/v1":"cff651718fbacd16867f352a6892a18fc3f457e8ef163c85f7af2f3c8b09a0d5"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ConfigEditor.js"},"region":{"startLine":2363}}}],"partialFingerprints":{"codehealthFindingId/v1":"16bc32695225fe346a8b5d9451c8c8aa15b7521d317f64d4cf518d95ad34d0b6"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ConfigEditor.js"},"region":{"startLine":2369}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1125b27cf12cdf313f0e33b420c20224278e2c453c39467285505d069139551"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ConfigEditor.js"},"region":{"startLine":2372}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd2dcf9c866d124c2e8561e61825755694a1e974d9f7921539ba062b39dc27a9"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ConfigEditor.js"},"region":{"startLine":2503}}}],"partialFingerprints":{"codehealthFindingId/v1":"37b11c6c2d8f9dfeefe491cc6013ebc70bacddb70163299d3e4e9d216ef9239b"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ConfigEditor.js"},"region":{"startLine":2550}}}],"partialFingerprints":{"codehealthFindingId/v1":"32186d7a10a370f1940b49cff292a31af9930d8226a34395c409cb06df005ebe"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ConfigEditor.js"},"region":{"startLine":766}}}],"partialFingerprints":{"codehealthFindingId/v1":"4122fa6f8e4095cf3f81bc95aa948524d0a88bb907fba2f8a8c86cf5251b177f"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ConfigEditor.js"},"region":{"startLine":887}}}],"partialFingerprints":{"codehealthFindingId/v1":"a00fa2a4edef8df91a8bb9a34c21137a455724290d62222686552f0a3700738c"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":4361}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e1040ca1dcc4c0e40146a36fdc9e9dc418530261e7d45a27f293ad3d2b61d0a"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":5861}}}],"partialFingerprints":{"codehealthFindingId/v1":"082a36bd323654a18ec88dfa8c6f721378e0963330ed51e5bc8d79307d3925ae"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":15290}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1dbf0d3a832d964f70e65d2a63932abbb0003438e58490b45f60da5631aa887"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":19631}}}],"partialFingerprints":{"codehealthFindingId/v1":"d10894c5d3f04c9471ca0d81e1cd376b9a1cc95716518bcc08014d002e4eaf8c"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":19635}}}],"partialFingerprints":{"codehealthFindingId/v1":"183ec8b8b092f7460adfaf9105065511abbf6a10a30d95fcbffbc5ad32d82a68"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":20820}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b07d65a27bd8586fb0b1b3e67c98b7a0a1977f0b45f784899e09b5b450a893d"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":21593}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e69ba8d96eca0e7b961d7b4b6fb1a202b918fc1da8409d52c16271815a9c68c"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":21860}}}],"partialFingerprints":{"codehealthFindingId/v1":"daf0b3047c5a2061a188aabecaf780e09fc3516b008893408a18ef585d21aa22"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":23096}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0b688f2f884ee57ce09ee8cb523864dd122b4f0fc9a167f774de5c0015ffb74"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":23134}}}],"partialFingerprints":{"codehealthFindingId/v1":"1714b1342e92e3039d0c97f93224fdb2c3d06b4f19f86a493003e2c94ee9e049"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":23142}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea8af21993990dd131fcc7135f5a93f41f59cd76f30199b4e0f65e409c878493"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":23159}}}],"partialFingerprints":{"codehealthFindingId/v1":"423ce81e61ed61a3625d0021201dee1e584910b6baedf674f201ed3f89396ebf"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":23190}}}],"partialFingerprints":{"codehealthFindingId/v1":"780a71013f966386817bc6219ab7cd9c2bab71c420ce4c8989a0eba744d65772"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":9523}}}],"partialFingerprints":{"codehealthFindingId/v1":"504c26f89913793069a7a98860eb21480074903c44d1a56b221163c98a4df312"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":9624}}}],"partialFingerprints":{"codehealthFindingId/v1":"c09d9e7fe5118c17eb3ece704ad8d90f5a459b1bf65b3b0e04dec09e2b92f839"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":9755}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8991f121742b9061f361d233954cc3b3524a54e99b467ebc3866e3bb2fc1516"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":9970}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dc78370ca9fc107dcbc386b80165bb26e6b1b13d0e40da56c23bf86dad09f89"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":14876}}}],"partialFingerprints":{"codehealthFindingId/v1":"770185c92c67f560e2dd5d4a4386b455389fd248ce50c8bfa28abb33f6cd3205"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":14910}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a1025988878bacd54081126defde528a958811fe89f263412eb03c35a556f65"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ElectronApp.js"},"region":{"startLine":848}}}],"partialFingerprints":{"codehealthFindingId/v1":"6836679465e899b4517fbd1705016838a772a4ae5601820d4ba706dd955ef6b3"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ElkLayout.js"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2ed6f8fc7add77929e6e41f06ed9da47823c1a378ffdb2c29722f439e15f29f"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/tidy/TidyWindow.js"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"f79bf1333fa383e9c208546421a6f33ed6d85e8a9f118ec50d93be9412135832"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Editor.js"},"region":{"startLine":3632}}}],"partialFingerprints":{"codehealthFindingId/v1":"12da0eb6f86f6b385b4a63d36bf8b5951121141da730eaf6a3a406c8547bf865"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Format.js"},"region":{"startLine":2808}}}],"partialFingerprints":{"codehealthFindingId/v1":"feccb3e889285415d42bb967a9fa4d8271c4c19f13d7b441f2cef0547506f81b"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/InlineToolbar.js"},"region":{"startLine":2326}}}],"partialFingerprints":{"codehealthFindingId/v1":"8042cb2a78000fae20303ff9654b57d86a85e790535668b270fc764a8406f378"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxForm.js"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"721f979b976b9ab16f668d1762055574be43be83868196cca9318076f1e27810"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxLog.js"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"594ca184c2419fdf1be95d6a06198b5c1d99d9490cc49a90c197e8b85e838c84"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxToolbar.js"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb7ce1350bfe58f44da7d383227cedf2d645e6676d2be00ba34ab0ed1583b9f7"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxToolbar.js"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bcb48088667716c89e605e5db19e5aa64e6fd2d7320e96aeb68054006fcd8ce"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cbutton\u003E with no accessible text: A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxUtils.js"},"region":{"startLine":1682}}}],"partialFingerprints":{"codehealthFindingId/v1":"eea4baa466a58b3b4c4afcd23d5a2bd919bfc446483df25d6f5f346adc2577f4"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/open.html"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb860ef86094f306f8a06c2459a2c2efef2989bce30703ac6460e25b9a6db48f"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/vsdxImporter.html"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"8941f3542e3e54e693c0cc8e9957c2f0f4cd4618f3fc482f237989f95491d067"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etc/dependencies/dompurify-smoke.js"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"b018487a4b969f0436cf93b9d150ae3567a9d702116c12cdbdf87dc6d3f35778"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Ciframe\u003E without a title: An iframe with no title (or an empty one) is announced only as \u0022frame\u0022. Add a non-empty title describing its content, or an aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etc/dependencies/dompurify-smoke.js"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"d05d44253d5a91424cb92985dd32ca6c63fd8649887e6d51791e59312350fd04"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/clear.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"994ef69156db7e951f3c2ebe0f061594b85dce6c6fedd4cd166008cfc850134a"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/index.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fa9d53dee5bb744d245c914de5f12c9fa6d9c49d51ac73f123c18e0a2a38405"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/index.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"92d854db0f5e59cb21ae7133252a019ba1598af566e04a415072f4df07a46776"}},{"ruleId":"AC3","level":"error","message":{"text":"Viewport restricts zoom: user-scalable=no/0 or a maximum-scale below 2 stops low-vision users zooming to 200%. Remove the zoom restriction from the viewport meta."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/index.html"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9022ee27c78012c7fa3de84263b521d4f87006510c8a3736ee2cf7b9c332d9a"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":9627}}}],"partialFingerprints":{"codehealthFindingId/v1":"9837b5b0f652cfa00b0c89589483e975d04ba59851bfecf182d079426c8a09a9"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":781}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0922b2474f716d5464cfaaa522135cf2bfa275ea0613c69804aa6d60053f715"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":781}}}],"partialFingerprints":{"codehealthFindingId/v1":"efa68028857b2fbfb1b1f4ac0bf8e5e7b7a64401945ebcaba381f26c0e486aff"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":14882}}}],"partialFingerprints":{"codehealthFindingId/v1":"34bfc52bffe84f17f9884885b6b2857b767e3f2717159278caac44852b5be186"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Embed.js"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"560f917a62841cd859c114ccb46e0cb27156f3f13627367843a6701e78a44748"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Menus.js"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"52166cc3808884ae5bc996a193465541ea6f942857afa263b3f06df670cf5cd5"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Menus.js"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"a28c2e0f1fdb97500b002e49351c64bfc8522deb94aa7146625fdc347f845eef"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/embed.dev.js"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"579038fc4deb57d76747823b5cce6dfa74e8e98c2c54d702dcd9764d933263ce"}},{"ruleId":"AC3","level":"warning","message":{"text":"Empty \u003Ch1\u003E heading: An empty heading appears in the document outline announced with no text. Give the heading text, or remove it if it\u0027s decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Dialogs.js"},"region":{"startLine":2900}}}],"partialFingerprints":{"codehealthFindingId/v1":"c339f60b9aeb399e20a3b8a5865a765338799920d2ed96b40c0edfb50ee54e18"}},{"ruleId":"AC3","level":"warning","message":{"text":"Empty \u003Ch1\u003E heading: An empty heading appears in the document outline announced with no text. Give the heading text, or remove it if it\u0027s decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Dialogs.js"},"region":{"startLine":2915}}}],"partialFingerprints":{"codehealthFindingId/v1":"8377958dc4547b8e43c66a898ae494abacf2402f41022e15baa0c486ddcfd1a3"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Format.js"},"region":{"startLine":8619}}}],"partialFingerprints":{"codehealthFindingId/v1":"92272a5759f58c2ac542d6c09596ef6ab6025c0d2f35e18a5998def7bdedccd4"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":4317}}}],"partialFingerprints":{"codehealthFindingId/v1":"18a1533996de8248187e77039a777455f1f0469559583963256ad6788796ab63"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/onedrive/mxODPicker.js"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"e31ebce00df967b94d5c7dfd0aa20b31abc43c4f72d5f226a67701a9212a07c8"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/open.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"782381b291435da281235c79b18dce31fb4986d47872cf26e9de86e5b0f857d3"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/open.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"239dce01e759054b7ac8b9449ec863af701380d3519121c924655e0838dd163c"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/open.html"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"700280af9621812c7b21e3a8db4615974ed7d1ba39431279e37efe0c2f7f9aac"}},{"ruleId":"AC3","level":"warning","message":{"text":"Empty \u003Ch2\u003E heading: An empty heading appears in the document outline announced with no text. Give the heading text, or remove it if it\u0027s decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/plugins/props.js"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"92fd1728b2b16278dfde872d3f3a4f27f9297c6ae75ac2b95e4889a628c0d86d"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/teams.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bf8e01d1bd6753bcefa1d0cf6587d524f77f547a80aeed0e7901dea29290745"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/teams.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"7134827344ad5fbb7779bac33670369d65353377b6b556fa97a6d27b7f2f5de4"}},{"ruleId":"AC3","level":"error","message":{"text":"Viewport restricts zoom: user-scalable=no/0 or a maximum-scale below 2 stops low-vision users zooming to 200%. Remove the zoom restriction from the viewport meta."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/teams.html"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c3c83da3188beb772d37e613c1e9741c3969176f519aecd5f271c69982ad836"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/vsdxImporter.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"26f81010affad748bb7cc528e621761dc795045b1e9e20f046e3a21c66184415"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/vsdxImporter.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"97baed8fb0d55dd6e34b81faf9b1e0b64ec89957d4205c2972ff279033ee7a64"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":1630}}}],"partialFingerprints":{"codehealthFindingId/v1":"c35f6fc6563478ae94b9222aad9944772f9d20091fe1e3620cc9a91cd51de5a6"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":7955}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c43648c37b101a00dd2d2c1073cf8e2b6bbb786f2a5d266d68f74edaa701f37"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":8013}}}],"partialFingerprints":{"codehealthFindingId/v1":"67601db492bfc739e7fe3d5c449e7d10e710ea988e42329081d98320c6f0334d"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .closeBtn with \u0060cursor: pointer\u0060, so this \u003Cspan\u003E is a control \u2014 but it has no role, no tabindex=\u00220\u0022 and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":8309}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7b9576ded145dacdc1fafa491522e04146a134b539dd63b126da2cdf226516b"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .notification with \u0060cursor: pointer\u0060, so this \u003Cdiv\u003E is a control \u2014 but it has no role, no tabindex=\u00220\u0022 and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":8367}}}],"partialFingerprints":{"codehealthFindingId/v1":"04534ad9dd7ccd6b1b326385e3931ee4705ded3c069acbd6085a82ad0210f7fd"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":9093}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad6ea2d2e4361c85836fee4255a85d1f62cb4daa1a3d277e911d492744b3cdf5"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":9170}}}],"partialFingerprints":{"codehealthFindingId/v1":"8674aa2460b6c6299d8eca2d12ef893c267f2878aa54d4798ec697685654487c"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":9207}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bb5b7bf657d8478ebba3e3d167c509f875df8265927ea276e13f1911deb7bb9"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .geLibraryButton with \u0060cursor: pointer\u0060, so this \u003Cimg\u003E is a control \u2014 but it has no role, no tabindex=\u00220\u0022 and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":12672}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7ba590b135edae013430cb36c689be39d232a2a7d4678a4c1b0ae4b4831cc6c"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":12950}}}],"partialFingerprints":{"codehealthFindingId/v1":"119de44702b95d5eac515ae7d9c20d8611dfaeae839770980469e6214b4e345f"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .geLibraryButton with \u0060cursor: pointer\u0060, so this \u003Cimg\u003E is a control \u2014 but it has no role, no tabindex=\u00220\u0022 and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":12983}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e18c6ba770448cfe3ccfb55d0f029994aff022aca5c5a9514925a412cfbe687"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .geSwitcherDot with \u0060cursor: pointer\u0060, so this \u003Cdiv\u003E is a control \u2014 but it has no role, no tabindex=\u00220\u0022 and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":10159}}}],"partialFingerprints":{"codehealthFindingId/v1":"521c91d0505561ab218000d3885f14ce09097900660ac08061c2a371c4c12e04"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/GitHubClient.js"},"region":{"startLine":960}}}],"partialFingerprints":{"codehealthFindingId/v1":"16b61c22830f378f3a5db6ba13e7a0c066062ab22fd1eef35b580fa4c2659c12"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/GitLabClient.js"},"region":{"startLine":855}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ad54c9b709e6e8022097ecb189948e8c5639db6adcc58d1b7403e4770256348"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Minimal.js"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a00efc5a9e6d1ddafb8812c01be5289d4440e3e0992c193281fb35426e5e5af"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/SimpleClassic.js"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7516b121a1c9cc293c8f26f1c3dacb840479ae16ae755608233d065cc757418"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/TrelloClient.js"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"794a2109881fe74eced0e84de87de7d85a5b0eabd310898ec70e32c008ca2dd8"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/TrelloClient.js"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b7c7305f67ebe1f8405f5540e504192a5d63997613fec8c9cc133942889d82a"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but focus is moved into it, but nothing keeps it there: Tab walks out to the page behind, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/tidy/TidyWindow.js"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"f584abebabc4e7af8ea684854b17f7a16f3534228ca947ef87a0972f628c4897"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Dialogs.js"},"region":{"startLine":3961}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2e280209b905a7a76d2ea2cb804e1d1cf730313ea8fd5fc9ab738c7a488e7e4"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":2742}}}],"partialFingerprints":{"codehealthFindingId/v1":"3da882d57c3cb720f56281e9e84bdeb5d558d384dfa5e371809511fb3f93c9d9"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .geFormatTitle with \u0060cursor: pointer\u0060, so this \u003Cdiv\u003E is a control \u2014 but it has no role, no tabindex=\u00220\u0022 and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Format.js"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1a05112cfa9955d058666eda858e1bbb76f580c22074010c527f2ac06a03a2c"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .geColorDropper with \u0060cursor: pointer\u0060, so this \u003Cimg\u003E is a control \u2014 but it has no role, no tabindex=\u00220\u0022 and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Format.js"},"region":{"startLine":1527}}}],"partialFingerprints":{"codehealthFindingId/v1":"09936f1dd07dfe287378a85cb2f9aaba585ff1d07a07a3316011c41363a4f00d"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .geSwitcherDot with \u0060cursor: pointer\u0060, so this \u003Cdiv\u003E is a control \u2014 but it has no role, no tabindex=\u00220\u0022 and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Format.js"},"region":{"startLine":9641}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bced6794412e4acaa66d0ef049b47dc0858dec80cb2804a2369fc99ed44bb43"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":4680}}}],"partialFingerprints":{"codehealthFindingId/v1":"21af8995d46eca05cd1f1d27f0e6c115bf325c31073bd50de1d9d4aecc4f8091"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":5256}}}],"partialFingerprints":{"codehealthFindingId/v1":"1611d652145afdbff250f25dcc335b6c5f52e956fdbdbccf8ec78184cfe26143"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cspan\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/onedrive/mxODPicker.js"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"91ed9a75e72203fab3eb7d1f5c1ba0656334a2713c0a95673856b8052fceb7b6"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Ctr\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/onedrive/mxODPicker.js"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"79cf9af544849bcaadbccc60274afeea9e5806d2ecf95b8b9529c4acd9486a9c"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/open.js"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"077a42fe44304b5672170037874cfb611a7c2ffa7a675b5405e4452c9d23d746"}},{"ruleId":"AC5","level":"error","message":{"text":"role=\u0022radio\u0022 missing required aria-checked: The radio role requires aria-checked to convey its state. Add it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/LightboxModern.js"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb99cd47752b94e6292d556349ed9b2434afac1e0b263e6b340d28586f57f976"}},{"ruleId":"AC5","level":"error","message":{"text":"role=\u0022radio\u0022 missing required aria-checked: The radio role requires aria-checked to convey its state. Add it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/LightboxModern.js"},"region":{"startLine":2987}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9bf28b9eb59432ae26c7d06b9ca49b33c3c8f2a13c6d120e8de774320549e47"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (4.4:1): \u0060span.geCommentsBadge\u0060 sets color: #ffffff on background-color: #d74134 \u2014 4.4:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/styles/grapheditor.css"},"region":{"startLine":4697}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb2c7dcd35a470f036022fe5d1091ad8a224ce72550c621bdeb5e1bea0bf92ad"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.geDarkMode .mxPopupMenuItem\u003Ediv:not(:has(img))\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/styles/grapheditor.css"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5b66ef0cba51a5e266df560fa9a924011efbb55550169efec7361908ab595a8"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.geGenerateDiagramDescription\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/styles/grapheditor.css"},"region":{"startLine":887}}}],"partialFingerprints":{"codehealthFindingId/v1":"c349e7d8223acb6c35c1dd70d044fd0054a5d3dc89266f54a51db2a8cfb353b2"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.geDiagramContainer\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/styles/grapheditor.css"},"region":{"startLine":1194}}}],"partialFingerprints":{"codehealthFindingId/v1":"27fe0f488c2bf514a6aad3856de399fb3d47ab22ecdb132fcded1edc73f91787"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.geFocusLabel:focus-visible\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/styles/grapheditor.css"},"region":{"startLine":1454}}}],"partialFingerprints":{"codehealthFindingId/v1":"55ee525abcbce73ed8bcd3d7a3be9e420fbda2a6ac9757d95ed30c8be02b5e3e"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.geTidyPanel:focus\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/styles/grapheditor.css"},"region":{"startLine":3644}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dd16afbb727b83b2b62234d28f0f1b767403da4cf5b686d46c9b53c71e9ee79"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.geOmnibox .geOmniboxBar input:not(.geButton)\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/styles/grapheditor.css"},"region":{"startLine":5347}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0996c2c4eaeb0cf29675ee3a50dabcd93acb0fe3adf33d86e24ffa6a51b0e96"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.mxCellEditor\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/css/common.css"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"012abcde8c76c0d99caede8df5514444159afaa4c90f3bbdf3d503af45b1c7e3"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.geToolbarContainer.geVerticalToolbar\u0060 moves (\u0060transition: transform 0.1s ease-out\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/styles/grapheditor.css"},"region":{"startLine":1776}}}],"partialFingerprints":{"codehealthFindingId/v1":"0415b5649e9d9164134d178a112644fa01632fa3700b5dc430f365668228139c"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.geCollapsibleTitle::before\u0060 moves (\u0060transition: transform 0.15s ease\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/styles/grapheditor.css"},"region":{"startLine":2076}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2cdd29b3184f2652f3ebdc733ffe3f8099b3d6a66ca4e2cfdfea4250bb2bbbc"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.geSidebar .geItem\u0060 moves (\u0060transition: transform 100ms ease-out\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/styles/grapheditor.css"},"region":{"startLine":2357}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ffa51ba29c3fb89123b09db25a5a2de7f636ff8dfaf1d79381e8c9101f37973"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.geTidyPanel .geTidyToggle input[type=\u0022checkbox\u0022]::after\u0060 moves (\u0060transition: left 0.15s\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/styles/grapheditor.css"},"region":{"startLine":3871}}}],"partialFingerprints":{"codehealthFindingId/v1":"37f8cf8ec7023a4d5dbc4229c801318bad96b8a35aa87a9244dd030d14087c72"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.geTextOutlineToggle img\u0060 moves (\u0060transition: transform 0.15s ease\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/styles/grapheditor.css"},"region":{"startLine":4006}}}],"partialFingerprints":{"codehealthFindingId/v1":"39f1934b28d794b47e6dcb4543e408bdb218369757c2670bad03a8d68f64533d"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.geNotification-bell\u0060 moves (\u0060animation: geBellAnim 1s 1s both\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/styles/grapheditor.css"},"region":{"startLine":4798}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8f7d8b6ca424c3aaddcb6a1faa3753dad976d1a20c1ec3ca4f7ecf244406fac"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.geBell-rad\u0060 moves (\u0060animation: geRadAnim 1s 2s both\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/styles/grapheditor.css"},"region":{"startLine":4853}}}],"partialFingerprints":{"codehealthFindingId/v1":"84798a031f581a5f9c36514964763824b7dbcaab8483bc3c99a404ee344eda38"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.geNotification-count\u0060 moves (\u0060animation: geZoomAnim 1s 1s both\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/styles/grapheditor.css"},"region":{"startLine":4868}}}],"partialFingerprints":{"codehealthFindingId/v1":"053cb8cddab7e2e6683afdceefc7c0376448177525638e51e5badbcb774bdb1c"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.geNotifPanel .notifications .notification:nth-child(n\u002B1)\u0060 moves (\u0060animation: geHere-am-i 0.5s ease-out 0.4s\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/styles/grapheditor.css"},"region":{"startLine":4998}}}],"partialFingerprints":{"codehealthFindingId/v1":"2101a2ba6af7bcc3b695ecd2eccbd2d796490e1a7e3fed8a35d778f22d9f5511"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022\u003Cfont style=\u0022font-size: 14px\u0022\u003ELorem ipsu\u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee46fc85298217ebe9a8507f495f500c1a90100a1d5f5673fa64df2172182b76"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022\u003Cspan style=\u0022font-family: \u0026quot;open san\u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"400ba2457d79321bd2fe3021d127fab5c32df2bfaa6423d0250056332fffb61c"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022Lorem ipsum dolor sit amet, consectetur \u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9675362ccf14dfb436f95a65f6b20023748d1dc696f5b85b6d1bff35cb4f98c"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022\u003Cfont style=\u0022font-size: 18px\u0022\u003ELorem ipsu\u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":1190}}}],"partialFingerprints":{"codehealthFindingId/v1":"80ad2535f85b64a42cc873d5f2d2bd158b455d790afa84aa811d60b71c761b02"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022\u003Cfont style=\u0022font-size: 18px\u0022\u003ELorem ipsu\u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":1204}}}],"partialFingerprints":{"codehealthFindingId/v1":"107b60831939ff20a3aa4696d60af79a98f2e7bfd9c42109ef29cef9133b10f1"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022\u003Cfont style=\u0022font-size: 18px\u0022\u003ELorem ipsu\u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":1219}}}],"partialFingerprints":{"codehealthFindingId/v1":"f481f1211ddb21c2fe5ccd659fc76ae1906614974f1b69207d0219072735803e"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022\u0026nbsp;- Lorem ipsum dolor sit amet\u003Cbr\u003E\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"455b1f987bd13a8f6c5240b6a5803dfbfa8ce6ad0395a9eed6418ad11507e3b0"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022Lorem ipsum dolor sit amet, consectetur \u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa5ab0460d7b8a38470227fc1806441b148e7678d1253ddc55e3063097810672"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022\u0026nbsp;- Lorem ipsum dolor sit amet\u003Cbr\u003E\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"b859c606c801529eadfe225cc439f56cc1146f03e7c05d6ec24ce9e0d204e770"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022Lorem ipsum dolor sit amet, consectetur \u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce7138008db5406d402572d2e3be1556afbd14925fce05ee2e9354b757f343d6"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022Lorem ipsum dolor sit amet, consectetur \u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"510368d246cdc9e3f378262605872c1fe19db345778c3ca4a46ec53b2861f356"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022Lorem ipsum dolor sit amet, consectetur \u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4b815ba6f34625ff303281592337586a4d13f135c4293e0c7425a25b83b636b"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022Lorem ipsum dolor sit amet, consectetur \u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"b78123ef8015d24301d6b4b89b9880f35db2e9a2cb453415ec245b30a8e67921"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022Lorem ipsum dolor sit amet, consectetur \u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"27253567fc777cbd83f978314fdb2927a7d91f172b14402e6092077bba657373"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022Lorem ipsum dolor sit amet, consectetur \u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"067d91de236e4ed6a15e74717b06effc6c35fd4cc0e607bdd0c9fb10efa21d3a"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022Lorem ipsum dolor sit amet, consectetur \u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b3e03243fdc68602f696d677b7b3f604317f76161c8b9be4a8ac390b09c1fe6"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022Lorem ipsum dolor sit amet, consectetur \u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c9a82688384a8dd95d6cea18b189fc8efc56bd82dbb5dde9d87988f18a8a5c3"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022Lorem ipsum dolor sit amet, consectetur \u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac44f3e67ec68b0f751131255ced56f236a5f48375afd262651e1a47949bc66e"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022Lorem ipsum dolor sit amet, consectetur \u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"82b0514e83dc40178332174ffa8c26210c770dcef6f392c4beffb9fc9c735173"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022Lorem ipsum dolor sit amet, consectetur \u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f631cc6a29314e8579e281d4c08c2844c2badb386708dea9509eac8205707ec"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022Lorem ipsum dolor sit amet, consectetur \u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"24e05f8ec60487321c03f846ad8fdfbdae78dd1531d3106c371548693f156a2c"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022Lorem ipsum dolor sit amet, consectetur \u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"71c0bfb52eb8268c40bd88a8362f8d7504e846667c373067a223988609a98ac5"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022Lorem ipsum dolor sit amet, consectetur \u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a61a541b31360ab889363798afb852963fe5ebdbd45b67290d5ea51227b1e70"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022Lorem ipsum dolor sit amet, consectetur \u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cb6775a8c0ca99f25f296d83aae328d9df01884bd5ac718e2405f1a063b6dbf"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022Lorem ipsum dolor sit amet, consectetur \u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2f84c149c3a73d87ede31867a584a66a986540797a5c8cac99a8c6e27b9af73"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022Lorem ipsum dolor sit amet, consectetur \u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"199ceca37af5a57e7100739560775d129ff0f177b5ffa2294c5a960c75178060"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022Lorem ipsum dolor sit amet, consectetur \u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cf75899284b12ece23826866e5b002b0cc26287650b65d977f71a216ca8085c"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022Lorem ipsum dolor sit amet, consectetur \u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1ea427f7b647e8b3a9d71e7f4bcaa1855d7690cdebc5d523cb401c0ca19a7b4"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022Lorem ipsum dolor sit amet, consectetur \u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f116c1e5d6936f477e3382bbc4af1062a47e33c5a7b3593adf9a1ee16efcb20"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022Lorem ipsum dolor sit amet, consectetur \u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"11fa54db2af99b3605d4a62436fa1f6711b5f488d291a247f290f93936c38f1b"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022Lorem ipsum dolor sit amet, consectetur \u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"a885dd999cfe9960b9839b43aefd5a3f74f5912784fb7142ad5d7139e504db7e"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022Lorem ipsum dolor sit amet, consectetur \u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"753d6c223852751abe23dcb13bb8fba69188ed9db660075714be674457730b2e"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022Lorem ipsum dolor sit amet, consectetur \u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"1861503fb1b3b8fda317ef47d4dbd6222e7806c1986033f2e052410d221def68"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022Lorem ipsum dolor sit amet, consectetur \u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"7734ec4ac7f9d461f76d99113cfb258491de36038ebebcfaf96175460e4b3837"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022Lorem ipsum dolor sit amet, consectetur \u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"0edfd0f9ed86d70ae3a9661471101c1cae83c9b4431914a6bd3e977667d3a125"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022Lorem ipsum dolor sit amet, consectetur \u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdcc3b531c59d05d792ed3e88a6aa212428e98e1ad1be0b442c4e206482cbb96"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022Lorem ipsum dolor sit amet, consectetur \u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f33c4a18c3697492603559ddd7fc59c8c3836749f21cdfa7c48f1a456d175c8"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022Lorem ipsum dolor sit amet, consectetur \u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"82bd943edcf654b17bf8fe63b419ab334c967f93f63df3af8928d69433e02612"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022Lorem ipsum dolor sit amet, consectetur \u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"b77319b905942da3dabd5bf53ea3ad2b12edc072d75062079ebc9c9b7065f521"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022Lorem ipsum dolor sit amet, consectetur \u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d13eb3c8aefe0535d9200df61a4c9ab0fe33239cc5b8c9d3f44a1bb2f3d3931"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022Lorem ipsum dolor sit amet, consectetur \u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1e39cd21db5a86864efb0f0a44bef302b2a9ca276b8d271cd6f7d764ed59461"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022Lorem ipsum\u003Cbr\u003E dolor sit amet, consecte\u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"80959fff83355485d31c7a0a04ed9f56730e506eee936e83b9c877ffe77adc20"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022Lorem ipsum\u003Cbr\u003E dolor sit amet, consecte\u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"dedc6b22014a78c96e4abfe49de5f5f71c4e093824f015151bf0ce8d5544c15d"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022Lorem ipsum\u003Cbr\u003E dolor sit amet, consecte\u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"79c61d328b88f7df66198e37ad637f11a1a9b4ee985d0e93dd4d765668d5035e"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022Lorem ipsum\u003Cbr\u003E dolor sit amet, consecte\u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"815dd955b623992f6d5e17d852f808b32ee5667f56567e9c9c5a6377b1c0b681"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022Lorem ipsum\u003Cbr\u003E dolor sit amet, consecte\u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e5bf2f3e2463dc63dd2e97c9001bef2cd3f5385349817e2388b95b0e10ae519"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022Lorem ipsum\u003Cbr\u003E dolor sit amet, consecte\u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"aca5c2608629938661d2cfeb5749dd92144b634de8c7d1538e15ec69603ad511"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022Lorem ipsum\u003Cbr\u003E dolor sit amet, consecte\u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"8850fd7fc8fd9af66ec1a08a1cc3cbeaf87bff21171e3ae5f295f05f3c0e9dc3"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022Lorem ipsum dolor sit amet, consectetur \u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":973}}}],"partialFingerprints":{"codehealthFindingId/v1":"abc65a972064d834329809bdfef603c477f135954956a132cd90f5503d8b9f0d"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022Lorem ipsum dolor sit amet, consectetur \u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":983}}}],"partialFingerprints":{"codehealthFindingId/v1":"a18c63fdf2f685c540f56c8f8588268b3f0b0d21cb6c712f3d54c335396fc026"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022Lorem ipsum dolor sit amet, consectetur \u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":993}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb401b4c1eda8fce2893da2d6afec98fae7856a39028542f801d842b50da79fa"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022Lorem ipsum dolor sit amet, consectetur \u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":1003}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c2604d3e716f9ed855d73b5e4c861c1abc8489bdbcf8e3bc48501330186c8cc"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022Lorem ipsum dolor sit amet, consectetur \u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":1013}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0f867bcf3fb2720934c8e101154b24451a59aed92c003d06a765c8fb9545669"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022Lorem ipsum dolor sit amet, consectetur \u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":1026}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff2cff0bf092ff7f2e6a6adecb7d62921f17ca8724402117b6071a51442f545f"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022Lorem ipsum dolor sit amet, consectetur \u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":1033}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b638f61da2f1d081fb6787f551696b7dba1610171a740e2cff78c66ac794042"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022Lorem ipsum dolor sit amet, consectetur \u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":1040}}}],"partialFingerprints":{"codehealthFindingId/v1":"12bf95be11124130f0a43d725e2dfde80dfb49f353ff6bcf5fb9698b73353738"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022Lorem ipsum dolor sit amet, consectetur \u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":1047}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb12fc6d49fb398dcce134422c99a4e2a7a06f947ac808986063ccdb54c63d0c"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022Lorem ipsum dolor sit amet, consectetur \u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":1054}}}],"partialFingerprints":{"codehealthFindingId/v1":"5231add22c220262ea2d20633d8f5e78ddac0e7e397fef29d8e3a18e68e611fa"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022\u003Cb\u003EHeading\u003C/b\u003E\u003Cbr\u003E\u003Cfont style=\u0022font-size\u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":1239}}}],"partialFingerprints":{"codehealthFindingId/v1":"8804e2d02f93d8b25750d4cb6277addc3f5d0af3e8ea8c5f95f8b43bd30c8b94"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022\u003Cb\u003EHeading\u003C/b\u003E\u003Cbr\u003E\u003Cfont style=\u0022font-size\u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":1258}}}],"partialFingerprints":{"codehealthFindingId/v1":"cea7e05a899ca31d5658d9795665219e7f99c7a4a2243ca79e0038472f911e72"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022\u003Cb\u003EHeading\u003C/b\u003E\u003Cbr\u003E\u003Cfont style=\u0022font-size\u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":1277}}}],"partialFingerprints":{"codehealthFindingId/v1":"299e5eef4367280d090cffe9c841ea81918447a8c39dd75563fddc546a8980ed"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022\u003Cb\u003EHeading\u003C/b\u003E\u003Cbr\u003E\u003Cfont style=\u0022font-size\u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":1296}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a6ac73ebb190952f1b1e2d88b1035cf9cc2254d38277913b3837876ae0e3fb9"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022\u003Cb\u003EHeading\u003C/b\u003E\u003Cbr\u003E\u003Cfont style=\u0022font-size\u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":1315}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b67f19516843911a00fdcdb60551777aaaa1b742565b4c7ab4bd6e2b538f3f2"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022Lorem ipsum dolor sit amet, consectetur \u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":1451}}}],"partialFingerprints":{"codehealthFindingId/v1":"c67b6886e7866a18d9e98d869dd22d152e1c1791a60de6f0ea9d35413eebadf9"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022Lorem ipsum dolor sit amet, consectetur \u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":1455}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebed9dcdeaf533841e9c5c8af6883df5216ebe7f263c7dd9791ecc70392e845e"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022Lorem ipsum dolor sit amet, consectetur \u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":1459}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b7b144cc23328898538b94ddae25f058b5e6c7a1a0d821840d3dfa6ce1abe03"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022Lorem ipsum dolor sit amet, consectetur \u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":1463}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d9aa4aedd8beec04a4c99d0d0cdc811e2cb917d14d6b1babff9f1760993c497"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022Lorem ipsum dolor sit amet, consectetur \u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":1467}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f0bbe4c9175b149bfc5f9d2a4b6fc5927858691677daa409ebac93359d2861b"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022\u003Cb style=\u0022font-size: 7px\u0022\u003ELABEL\u003C/b\u003E\u003Cbr s\u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":1488}}}],"partialFingerprints":{"codehealthFindingId/v1":"745302c96e8d0ed32c25bcac3e0a6281fb1adccd5b0f699266c8961a85dd31c0"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022\u003Cb style=\u0022font-size: 7px\u0022\u003ELABEL\u003C/b\u003E\u003Cbr s\u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":1492}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0fd84725d97a7e28e03d3fe2c192470f059dfc019824cd4e89ebba07a405bf7"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022\u003Cb style=\u0022font-size: 7px\u0022\u003ELABEL\u003C/b\u003E\u003Cbr s\u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":1496}}}],"partialFingerprints":{"codehealthFindingId/v1":"d673778f63bcdbf2be8781f4c680d7f97c071549f929759325fb62a30e96a1d6"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022\u003Cb style=\u0022font-size: 7px\u0022\u003ELABEL\u003C/b\u003E\u003Cbr s\u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":1500}}}],"partialFingerprints":{"codehealthFindingId/v1":"41fac63624010c5d6e67310df0a5740ccd922af82d25f2e5800d9735ff007a28"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022\u003Cb style=\u0022font-size: 7px\u0022\u003ELABEL\u003C/b\u003E\u003Cbr s\u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":1504}}}],"partialFingerprints":{"codehealthFindingId/v1":"8de3442a81f74d5b9f435960d4fd76d30c4d932e87ba26370a821dbbe7de5080"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022Lorem ipsum dolor sit amet, consectetur \u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":1603}}}],"partialFingerprints":{"codehealthFindingId/v1":"5913b555714d3bb54d0fcbedb96764c4bca03d1c04885a3c38d0bf96a2147ac3"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022Lorem ipsum dolor sit amet, consectetur \u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":1607}}}],"partialFingerprints":{"codehealthFindingId/v1":"bca1688bfe659f7f92c4810a82052a653616e4ee3bbfea9b3bccfefc1036cea1"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022Lorem ipsum dolor sit amet, consectetur \u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":1611}}}],"partialFingerprints":{"codehealthFindingId/v1":"629d7f9d2dd174bb025af4db0e91ff18aad1073edb3284bfe880b5939ea710b0"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022Lorem ipsum dolor sit amet, consectetur \u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":1615}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a34c657b92d74de4e9fafe9c8cc34f10ec4874fd51edfcfa1d0a120fdae7ed7"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022Lorem ipsum dolor sit amet, consectetur \u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":1619}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fe08c02affc74791f573ef2763d219b770278b58acaf76071119ac07f9a8388"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022Lorem ipsum dolor sit amet, consectetur \u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":1623}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a352ffefd871d2350d1dfc4fbacb41dbaca5db94b72d9574cb94f5a2c510e2e"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022Lorem ipsum dolor sit amet, consectetur \u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":1647}}}],"partialFingerprints":{"codehealthFindingId/v1":"226b0d0debad1f954422dbdfeb9882a1c36de81e87298568100d85f4a7cf49cd"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022Lorem ipsum dolor sit amet, consectetur \u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":1652}}}],"partialFingerprints":{"codehealthFindingId/v1":"39ffa0a9cdeefe69b29ba81d8f0659d941cc73c3792af35f2df099a2b8641dfa"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022Lorem ipsum dolor sit amet, consectetur \u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":1657}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cac1dc1b237da5b449205c7f2a3443c4dfab60bb6cccf103081163f0b55c76c"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022Lorem ipsum dolor sit amet, consectetur \u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":1662}}}],"partialFingerprints":{"codehealthFindingId/v1":"75a9e704f657b1eb6d57d4200c4a908c89a98604cee5aa79ff2bde3b7f93092c"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022Lorem ipsum dolor sit amet, consectetur \u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":1667}}}],"partialFingerprints":{"codehealthFindingId/v1":"a86228e1247f3f2e7fb234ac06965961bd7fc3c0423b5e923ddeacc1ae6f7016"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022Lorem ipsum dolor sit amet, consectetur \u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":1676}}}],"partialFingerprints":{"codehealthFindingId/v1":"83d2a9818bf2d993f65dc63737869edd543d9f725b57a00f680cf142092b8382"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022Lorem ipsum dolor sit amet, consectetur \u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":1678}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3e996be60770ecf9ab67c22b8c44280c8baff9909b1b83748f4d613a22d5369"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022Lorem ipsum dolor sit amet, consectetur \u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":1680}}}],"partialFingerprints":{"codehealthFindingId/v1":"01a4f69c3e6a81c703304e5512a82d30d01e7b981a394aa5e9a9455b10c6ebfe"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022Lorem ipsum dolor sit amet, consectetur \u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":1682}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a06ad4dc4197e05682f97b6faacc0a9fe92428db79f495ba1234b2f3d59d19f"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022Lorem ipsum dolor sit amet, consectetur \u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Mockup.js"},"region":{"startLine":917}}}],"partialFingerprints":{"codehealthFindingId/v1":"719f86e8cbc2344891b4e343c511cac5628eb19bcee899e0df28bb66f9163445"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022\u003Ch3\u003E\u003Cfont style=\u0022font-weight: normal; fo\u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Salesforce.js"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c673254c941f45e8791e63abc595daa81f45a19461485e02407a13018225a20"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022\u003Ch3\u003E\u003Cfont style=\u0022font-weight: normal; fo\u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Salesforce.js"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"589753fed7e6aa06f9b8fc58a115dd0d9e1d56ef31f9f82abf9f73b286c5c87c"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022\u003Ch1 style=\u0022margin-top: 0px;\u0022\u003EHeading\u003C/h1\u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":3824}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d0a3ba2fd7d61e4f8bc23e4b064cd1d692df5d23b33e5397df5858dff42dff0"}},{"ruleId":"IC1","level":"warning","message":{"text":"Both branches are identical \u2014 the condition decides nothing: Both arms of this conditional expression are the same, so no input can make the condition matter. Implement the distinction that was intended, or drop the condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/TrelloClient.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"84e9909dd43729acce35bc04af731ea1de88ee1280df4e099b3806c926d03ae6"}},{"ruleId":"IC1","level":"warning","message":{"text":"Guard cannot change the result \u2014 returns what the code already falls through to: The guard above \u0060return style;\u0060 also returns \u0060style\u0060, so no input can make it matter. Implement the distinction that was intended, or delete the guard."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/miro/MiroImporter.js"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"65d7d514e97d10440fb0bc2ed031105c2b7ee7262d2dd164bf4af630c4358a18"}},{"ruleId":"IC1","level":"warning","message":{"text":"Both branches are identical \u2014 the condition decides nothing: Both arms of this conditional expression are the same, so no input can make the condition matter. Implement the distinction that was intended, or drop the condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":10014}}}],"partialFingerprints":{"codehealthFindingId/v1":"49e326d96dbde9779396a0f597c3eba03c7f84906cc335e0e6614cdef60f8ca5"}},{"ruleId":"IC1","level":"warning","message":{"text":"Both branches are identical \u2014 the condition decides nothing: Both arms of this conditional expression are the same, so no input can make the condition matter. Implement the distinction that was intended, or drop the condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":10015}}}],"partialFingerprints":{"codehealthFindingId/v1":"baf289ce6a67df4efa4c16d038896a573dcd73fe24581a7eecb708f0325cd944"}},{"ruleId":"IC1","level":"warning","message":{"text":"Both branches are identical \u2014 the condition decides nothing: Both arms of this conditional expression are the same, so no input can make the condition matter. Implement the distinction that was intended, or drop the condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":10037}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5983b621558c2df35a3469527339ff6ca8338564beee2e4bb3830b59f461a56"}},{"ruleId":"IC1","level":"warning","message":{"text":"Both branches are identical \u2014 the condition decides nothing: Both arms of this conditional expression are the same, so no input can make the condition matter. Implement the distinction that was intended, or drop the condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":10038}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6eaf14e10611f14ca7556fc9d3db2d6b0015a2ce8ff4b42ae030b0ea9eab639"}},{"ruleId":"IC1","level":"warning","message":{"text":"Both branches are identical \u2014 the condition decides nothing: Both arms of this conditional expression are the same, so no input can make the condition matter. Implement the distinction that was intended, or drop the condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxCellRenderer.js"},"region":{"startLine":1646}}}],"partialFingerprints":{"codehealthFindingId/v1":"4880f7b5bd0447231a782b4dd384ff950bb6b7aae882b30b563377a2750534a5"}},{"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":"P2","level":"note","message":{"text":"Logging is not universal: Only 1/2 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060.\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 spotbugs with find-sec-bugs (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 3 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: \u0060etc/dependencies/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":"etc/dependencies/package.json"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"eda4dd72fb26f15bce2e57acedcf0de8034e1bccdd2cc43fb64abb55ec3c667f"}},{"ruleId":"P4","level":"note","message":{"text":"No release approval gate: The release is automated and no gate that pauses it for a human is DECLARED IN THIS REPOSITORY\u0027S PIPELINE FILES. What was read: every file under \u0060.github/workflows/\u0060, \u0060.forgejo/workflows/\u0060, \u0060.gitea/workflows/\u0060, \u0060.azuredevops/\u0060 and \u0060.azure-pipelines/\u0060, plus \u0060.gitlab-ci*\u0060 and \u0060azure-pipelines*\u0060 \u2014 with comment text stripped, so documenting a gate is not declaring one. What would have counted: GitLab\u0027s \u0060when: manual\u0060, CircleCI\u0027s \u0060type: approval\u0060, an Azure \u0060ManualValidation@\u0060 task or an \u0060approvals:\u0060 block, a Jenkins \u0060input\u0060 step, a \u0060uses:\u0060 step naming an approval action, an \u0060environment:\u0060 paired with \u0060reviewers\u0060 / \u0060required_reviewers\u0060 / \u0060protection\u0060 / \u0060wait-timer\u0060 / \u0060deployment_branch_policy\u0060, a draft-release step, a \u0060workflow_dispatch\u0060 promotion, or a release-event gate. \u2605 What this cannot see, because none of it is a file: a GitHub environment whose required reviewers are configured in repo SETTINGS, a branch protection rule, or an organisation deployment policy \u2014 all of them real, enforced gates that live outside the repository. If yours is one of those, this row is wrong and nothing in the tree could have told us. Otherwise: whatever the release trigger points at is published to users unreviewed, so a mistagged or unverified commit ships and the only remedy is a follow-up release."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/war.yml"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c11e2dbd483b4b423b95ac61bfcc7af1d55351b28a20d2b1105b31cfe38cc60"}},{"ruleId":"R1","level":"warning","message":{"text":"Type Safety: 0 typed \u00B7 352 plain JS \u2014 the untyped files are etc/dependencies/dompurify-smoke.js, etc/imageResize/drawImageResize.js, etc/integrate/Integrate.js, src/main/webapp/connect/common/js/mxReader.js, src/main/webapp/js/PostConfig.js, src/main/webapp/js/PreConfig.js (\u002B346 more)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d00ee7953f55325a823d27e5db9657c80ca9b9861c0c0abf8fe487cd3fa586d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 2 sibling directories (16 clone groups): 16 duplicated blocks under src/main/webapp/js/ have copies in at least two of the sibling directories diagramly, grapheditor \u2014 4 of them are reported below, and 12 are counted here but not reported individually: those copies match on shape but no longer clear R10\u0027s bar for an individually reported row \u2014 either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 16 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 16 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module \u2014 a common library every sibling imports \u2014 rather than 16 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ForceExplorer.js"},"region":{"startLine":1089}}}],"partialFingerprints":{"codehealthFindingId/v1":"4acf858223b276a665bc91651806adcd5a6543bafc73d08da7dd669643509f8a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (379 matched lines \u00D7 2 locations): src/main/webapp/js/diagramly/GitHubClient.js:135 \u00B7 src/main/webapp/js/diagramly/GitLabClient.js:94 \u2014 the two spans are one implementation copied and then locally edited \u2014 2048 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/GitHubClient.js"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"71596c5a5b930afa251eb630b0bc71ccc4ca08af53ccb0046d0a2310e7eb03e7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (378 matched lines \u00D7 2 locations): src/main/webapp/js/diagramly/GitHubClient.js:950 \u00B7 src/main/webapp/js/diagramly/GitLabClient.js:845 \u2014 the two spans are one implementation copied and then locally edited \u2014 2460 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/GitHubClient.js"},"region":{"startLine":950}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae2ffd8268907873f5dc8b09a226f6166436def0ed1c7212eb81772f05318d0c"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (375 identical lines \u00D7 2 files): src/main/webapp/js/diagramly/Embed.js:5 \u00B7 src/main/webapp/js/embed.dev.js:5 \u2014 these 2 files are line-for-line copies of one another \u2014 375 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Embed.js"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dedc4dfa4803848077d701ed30ac6f73dfa4fec18d2f3a43fb36217b9659b81"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (121 matched lines \u00D7 2 locations): src/main/webapp/js/diagramly/Editor.js:13312 \u00B7 src/main/webapp/js/diagramly/gif/AnimationExport.js:894 \u2014 the two spans are one implementation copied and then locally edited \u2014 733 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":13312}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e67e3fd942288baf61aae0231713f9295e91dda071708cf94f171a29365bc32"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (111 matched lines \u00D7 2 locations): src/main/webapp/js/diagramly/GitHubClient.js:776 \u00B7 src/main/webapp/js/diagramly/GitLabClient.js:647 \u2014 the two spans are one implementation copied and then locally edited \u2014 708 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/GitHubClient.js"},"region":{"startLine":776}}}],"partialFingerprints":{"codehealthFindingId/v1":"934e3a08c320edc0eb3c299a5f691b68a54a6cf6809a5f5e05527bb510f18060"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (110 matched lines \u00D7 2 locations): src/main/webapp/js/diagramly/GitHubFile.js:151 \u00B7 src/main/webapp/js/diagramly/OneDriveFile.js:470 \u2014 the two spans are one implementation copied and then locally edited \u2014 558 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/GitHubFile.js"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e83989de3a48b008f731f2524c36ff150895312b4fd3469b5d9f5da7e599875"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (89 matched lines \u00D7 2 locations): src/main/webapp/js/diagramly/DriveFile.js:275 \u00B7 src/main/webapp/js/diagramly/OneDriveFile.js:667 \u2014 the two spans are one implementation copied and then locally edited \u2014 352 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DriveFile.js"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"66b52c690a26820c702e27cacd8fa52e813bc671dec46bfe91657e13f43e6c76"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (51 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Dialogs.js:7650 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:7803 \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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":7650}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6ab21ab0a5ff4d8802363f629b8a41cddb0d884401b300022f4e1f0d972e94b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (46 matched lines \u00D7 2 locations): src/main/webapp/js/diagramly/Pages.js:742 \u00B7 src/main/webapp/js/diagramly/Pages.js:843 \u2014 the two spans are one implementation copied and then locally edited \u2014 204 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Pages.js"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2e150abaccbdde61572b3e967c9e3e2690f390357896087509062f514e520b1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (44 matched lines \u00D7 2 locations): src/main/webapp/js/diagramly/LightboxModern.js:2709 \u00B7 src/main/webapp/js/diagramly/ViewerModern.js:2264 \u2014 the two spans are one implementation copied and then locally edited \u2014 348 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/LightboxModern.js"},"region":{"startLine":2709}}}],"partialFingerprints":{"codehealthFindingId/v1":"1244ca54a44ba8a0fa7143f630d4dc4d1813bcd732810026e19381de58bcf243"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (40 matched lines \u00D7 2 locations): src/main/webapp/js/diagramly/Minimal.js:60 \u00B7 src/main/webapp/js/diagramly/Minimal.js:129 \u2014 the two spans are one implementation copied and then locally edited \u2014 239 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Minimal.js"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0aad86a54be78832caca97a9d34ea196b06ed3ab89d4483c639e0860a8b71f7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2 locations): src/main/webapp/js/diagramly/App.js:6241 \u00B7 src/main/webapp/js/diagramly/ElectronApp.js:2518 \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/webapp/js/diagramly/App.js"},"region":{"startLine":6241}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0d6f11ee6135013e0ec088425abd295ab24f09cf25d2968fc7f61913a552b4f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (37 matched lines \u00D7 2 locations): etc/integrate/Integrate.js:35 \u00B7 src/main/webapp/js/diagramly/Editor.js:6227 \u2014 the two spans are one implementation copied and then locally edited \u2014 164 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etc/integrate/Integrate.js"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"06c6ae0bcf7277ac4cf7f9158772ce029105fdd471bd7b15b7d4da552f2a3db7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2 locations): src/main/webapp/js/diagramly/DriveClient.js:2058 \u00B7 src/main/webapp/js/diagramly/OneDriveClient.js:746 \u2014 the 2 copies are spread across 2 files, 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/webapp/js/diagramly/DriveClient.js"},"region":{"startLine":2058}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dfbf09daa891b99965a611a9110a6194a365ce102b130b99484beddf7b30558"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Dialogs.js:27360 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:28323 \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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":27360}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8613f47ee0090030386c5b08f7d379444b9a06e14022af8c7116edd7ef21c53"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Extensions.js:8537 \u00B7 src/main/webapp/js/diagramly/Extensions.js:8752 \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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":8537}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aadf688d50224c673016758317d5bee0041d9c278d72cbd78268766832f598a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Dialogs.js:157 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:5184 \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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"d23be8040113c5a217b5c6d872234be1fffd3c8abc0235b0facffb33bc60b264"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2 locations): src/main/webapp/js/diagramly/DiffSync.js:647 \u00B7 src/main/webapp/js/diagramly/DiffSync.js:784 \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/webapp/js/diagramly/DiffSync.js"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"28f915a6c754d25c2942374316770dd14064007b73ea99a6f72e2af7c6085f75"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (33 matched lines \u00D7 2 locations): src/main/webapp/js/diagramly/Editor.js:2563 \u00B7 src/main/webapp/js/diagramly/util/mxJsCanvas.js:463 \u2014 the two spans are one implementation copied and then locally edited \u2014 326 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":2563}}}],"partialFingerprints":{"codehealthFindingId/v1":"83cef7dfe11e12fd96d924d2e20fa827a4dad00ec38505e2dc019f186cfcac8f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2 locations): src/main/webapp/js/diagramly/LightboxModern.js:2465 \u00B7 src/main/webapp/js/diagramly/ViewerModern.js:2099 \u2014 the 2 copies are spread across 2 files, 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/webapp/js/diagramly/LightboxModern.js"},"region":{"startLine":2465}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9fd5580f80f9394760a1c3e33615d40f95f1290cc63abd7471d8e04a9ed9b01"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:617 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:655 \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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbc1a27edf6ee9debd9b2030c6264daf591798046ebd5c63c1686e501cab0383"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (31 matched lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-UML25.js:85 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-UML25.js:257 \u2014 the two spans are one implementation copied and then locally edited \u2014 300 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-UML25.js"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd9111f7484babbd8e20c75c2bea9c979afa477bffef692c4463b4db79cf5db5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2 locations): src/main/webapp/js/diagramly/util/mxAsyncCanvas.js:90 \u00B7 src/main/webapp/js/diagramly/util/mxJsCanvas.js:320 \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/webapp/js/diagramly/util/mxAsyncCanvas.js"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e990df53cbde2896083ea4dd90f7c4d9c7ed4b2b9e7cb93e9ee48fd065847c9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Extensions.js:7534 \u00B7 src/main/webapp/js/diagramly/Extensions.js:11810 \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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":7534}}}],"partialFingerprints":{"codehealthFindingId/v1":"b79a489f51ce0b6c59ddca41e2b93bd77b65f4149683c6544533d9de18267e7c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2 locations): src/main/webapp/js/diagramly/graphml/mxGraphMlCodec.js:886 \u00B7 src/main/webapp/js/diagramly/graphml/mxGraphMlCodec.js:2314 \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/webapp/js/diagramly/graphml/mxGraphMlCodec.js"},"region":{"startLine":886}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2bd60e270593bbc0b043b083dd8eea641616b15a0618f747f9a4891bbf2228a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (29 matched lines \u00D7 2 locations): src/main/webapp/js/export.js:292 \u00B7 src/main/webapp/js/export.js:364 \u2014 the two spans are one implementation copied and then locally edited \u2014 157 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/export.js"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fb2730749b878a289618530cc939fbe31d276d027da27076c639fda22736cb3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2 locations): src/main/webapp/js/diagramly/EditorUi.js:10992 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:11283 \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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":10992}}}],"partialFingerprints":{"codehealthFindingId/v1":"279cf74a3441cc14db09d32653b839e06afde93a613e63d249f6a95483f10771"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2 locations): src/main/webapp/js/diagramly/ElectronApp.js:2148 \u00B7 src/main/webapp/js/diagramly/ElectronApp.js:2254 \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/webapp/js/diagramly/ElectronApp.js"},"region":{"startLine":2148}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf4173d01de87770cbc42f7f4b5bb9efd0f278d353769664eaad2648928e0a32"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Extensions.js:8031 \u00B7 src/main/webapp/js/diagramly/Extensions.js:8069 \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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":8031}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e6010026dbccd61eb2a76d1164213a7f6963fdfa46391a7531997a30fcf2770"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Extensions.js:13086 \u00B7 src/main/webapp/js/diagramly/Extensions.js:13169 \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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":13086}}}],"partialFingerprints":{"codehealthFindingId/v1":"42cc7e0258bb4bce246c1f03f2e596d6c34b0d7a2c9daef6ba91869bc558200c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (28 matched lines \u00D7 2 locations): src/main/webapp/js/diagramly/LibavoidRouting.js:2007 \u00B7 src/main/webapp/js/diagramly/LibavoidRouting.js:3732 \u2014 the two spans are one implementation copied and then locally edited \u2014 354 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/LibavoidRouting.js"},"region":{"startLine":2007}}}],"partialFingerprints":{"codehealthFindingId/v1":"21304af20ae7376a3c3f12eaf904565e692dbba87fdb39e919ac4f046f8e710e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2 locations): src/main/webapp/js/diagramly/graphml/mxGraphMlCodec.js:1868 \u00B7 src/main/webapp/js/diagramly/graphml/mxGraphMlCodec.js:1935 \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/webapp/js/diagramly/graphml/mxGraphMlCodec.js"},"region":{"startLine":1868}}}],"partialFingerprints":{"codehealthFindingId/v1":"0139dfb416fa9f63e1af53a8039f5811f4b04cb792d2c4671c6f78330b7f4d47"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js:898 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js:933 \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/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":898}}}],"partialFingerprints":{"codehealthFindingId/v1":"196c73770514146f31feb2dc2d78486ac548562e95345f6f48253b6a981d245a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2 locations): src/main/webapp/js/diagramly/util/mxAsyncCanvas.js:51 \u00B7 src/main/webapp/js/diagramly/util/mxJsCanvas.js:97 \u2014 the 2 copies are spread across 2 files, 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/webapp/js/diagramly/util/mxAsyncCanvas.js"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"10900db6e502e0e45ddf2e0c29ef73a6be163307e1457fc7166e3d3f7c92ede3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Dialogs.js:27286 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:28226 \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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":27286}}}],"partialFingerprints":{"codehealthFindingId/v1":"100d70160010f1f69a089838e5a72acedc73fe0fb37b8bcb0fc119c886c6099e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2 locations): src/main/webapp/js/diagramly/EditorUi.js:9681 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:13847 \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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":9681}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d59ce1fc94daff7fcdb0b51d12fc7d8567151a4621d2dae3afe67f8a598da29"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js:572 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js:606 \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/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d6dbc9a9eb957fcc23a914164a3f7861b8ce7b1b095aad7ae9fdedb2d9a03dc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2 locations): src/main/webapp/js/diagramly/vsdx/importer.js:2405 \u00B7 src/main/webapp/js/diagramly/vsdx/importer.js:2525 \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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":2405}}}],"partialFingerprints":{"codehealthFindingId/v1":"0315338aac83da0bcf1940aaac210c2e52e4d67728cb58f5180f87403b2e5265"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2 locations): src/main/webapp/js/diagramly/EditorUi.js:21424 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:21641 \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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":21424}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a5821066c14a31ca2f447cac460c2100385fb053eb46a76ee9d799a532298ee"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (26 matched lines \u00D7 2 locations): src/main/webapp/js/diagramly/EditorUi.js:26759 \u00B7 src/main/webapp/js/diagramly/Minimal.js:382 \u2014 the two spans are one implementation copied and then locally edited \u2014 221 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":26759}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e367abbe175062244c40dbf0cf1d5f900037ff91ebd49b1b43fdfc8901646c8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): src/main/webapp/js/diagramly/EditorUi.js:30129 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:30171 \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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":30129}}}],"partialFingerprints":{"codehealthFindingId/v1":"22c4c8c8b871d6c760ebadb9f72f7cce0d6008d48d66fb8b7a6c3cbd3e3ba60b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 5 locations): src/main/webapp/js/diagramly/App.js:9710 \u00B7 src/main/webapp/js/diagramly/App.js:9741 \u00B7 src/main/webapp/js/diagramly/App.js:9772 \u00B7 src/main/webapp/js/diagramly/App.js:9803 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 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/webapp/js/diagramly/App.js"},"region":{"startLine":9710}}}],"partialFingerprints":{"codehealthFindingId/v1":"68f2cf81388212c720a9cb70a2635649c2798e99a4907787f04516c7292a32da"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 3 locations): src/main/webapp/js/diagramly/App.js:9756 \u00B7 src/main/webapp/js/diagramly/App.js:9787 \u00B7 src/main/webapp/js/diagramly/App.js:9818 \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/webapp/js/diagramly/App.js"},"region":{"startLine":9756}}}],"partialFingerprints":{"codehealthFindingId/v1":"82b9fedd462bd27be0a75d9b35b20a86bd2a66dc047d28faaed97c79233acbb6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): src/main/webapp/js/diagramly/EditorUi.js:14480 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:14678 \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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":14480}}}],"partialFingerprints":{"codehealthFindingId/v1":"b048eb8c29e6796b71db3f18972c51ed65b4e6065d9b144cf4dc0fa250172ed1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (24 matched lines \u00D7 2 locations): src/main/webapp/js/diagramly/EditorUi.js:8994 \u00B7 src/main/webapp/js/diagramly/LightboxModern.js:1325 \u2014 the two spans are one implementation copied and then locally edited \u2014 120 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":8994}}}],"partialFingerprints":{"codehealthFindingId/v1":"732a0340096abdc2578a19fd648068b5fcfa665361e91d721af45cd823a76bae"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (24 matched lines \u00D7 2 locations): src/main/webapp/js/diagramly/TrelloClient.js:211 \u00B7 src/main/webapp/js/diagramly/TrelloClient.js:363 \u2014 the two spans are one implementation copied and then locally edited \u2014 93 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/TrelloClient.js"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"211466a58bd959f640230f313d5a2226170225b97c9040fddecc82aa368013cb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): src/main/webapp/js/diagramly/vsdx/importer.js:2264 \u00B7 src/main/webapp/js/diagramly/vsdx/importer.js:2295 \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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":2264}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0479fd902fd09a29e07f075266fabc1fb26d9da2ca9496003be4cfd47e32c0f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Dialogs.js:8713 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:9623 \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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":8713}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4411a51b3baa9390628f7f3c225d7106f60ff3d6cf65d459e2d6da504159a7b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Extensions.js:9579 \u00B7 src/main/webapp/js/diagramly/Extensions.js:9612 \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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":9579}}}],"partialFingerprints":{"codehealthFindingId/v1":"402db1ba89787dc2fa4634b1aaa5a7ed59eafb4da492570da38c36454e16fe79"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): src/main/webapp/js/diagramly/LibavoidRouting.js:3068 \u00B7 src/main/webapp/js/diagramly/LibavoidRouting.js:3389 \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/webapp/js/diagramly/LibavoidRouting.js"},"region":{"startLine":3068}}}],"partialFingerprints":{"codehealthFindingId/v1":"01f64541a07846e56a00f1955512b784a5e2b7f7f4a2847d6f56cf8d36f2b082"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Menus.js:5883 \u00B7 src/main/webapp/js/diagramly/Menus.js:6088 \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/webapp/js/diagramly/Menus.js"},"region":{"startLine":5883}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2d8260775a331379d0c126ece059ba010ea8b116608e689d5037bd7383f0e84"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js:414 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js:439 \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/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"97fb8117bf045325a4d1dfc23721b40b7df998ea52b82e961dde49249d868061"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): src/main/webapp/js/diagramly/App.js:2443 \u00B7 src/main/webapp/js/diagramly/GraphViewer.js:3602 \u2014 the 2 copies are spread across 2 files, 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/webapp/js/diagramly/App.js"},"region":{"startLine":2443}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5ec7397d11e6bd33a6198a1ee863158ab82c595cef784cbc860fed8e69b61f6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): src/main/webapp/js/diagramly/EditorUi.js:4180 \u00B7 src/main/webapp/js/diagramly/ElectronApp.js:1342 \u2014 the 2 copies are spread across 2 files, 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":4180}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae68cc60a7a0cc5257cb643ccbb0f238de72fbd19076265eaa8a2b1f4dea3745"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): src/main/webapp/js/diagramly/App.js:8677 \u00B7 src/main/webapp/js/diagramly/App.js:8723 \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/webapp/js/diagramly/App.js"},"region":{"startLine":8677}}}],"partialFingerprints":{"codehealthFindingId/v1":"d743d45cb20fa4cf05141472388cd16a87efd2af989678176a893246f4bc8ed6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): src/main/webapp/js/diagramly/EditorUi.js:43073 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:43113 \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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":43073}}}],"partialFingerprints":{"codehealthFindingId/v1":"05a8fad1585eb05b9694fa936b1c46dcd39a785b8f57b69c61a4f2060c59c412"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Extensions.js:7620 \u00B7 src/main/webapp/js/diagramly/Extensions.js:7646 \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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":7620}}}],"partialFingerprints":{"codehealthFindingId/v1":"c85f1d02f4c14be6a1e696d3f654bc1370c40000539304234f96bd273fab7a0b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): src/main/webapp/js/diagramly/OneDriveClient.js:1138 \u00B7 src/main/webapp/js/diagramly/OneDriveClient.js:1259 \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/webapp/js/diagramly/OneDriveClient.js"},"region":{"startLine":1138}}}],"partialFingerprints":{"codehealthFindingId/v1":"784f7169e80f1eace63fa99418ae27024d72e19adc108db58e739d8de1448eb3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 8 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Veeam.js:115 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Veeam.js:200 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Veeam.js:289 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Veeam.js:370 \u00B7 \u002B4 more site(s) not listed \u2014 all 8 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/webapp/js/diagramly/sidebar/Sidebar-Veeam.js"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0ea15dd53b53af43978440f3b90e7d26403540439c93209b9388bd71d4b6e76"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): src/main/webapp/js/diagramly/App.js:2075 \u00B7 src/main/webapp/js/diagramly/App.js:2100 \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/webapp/js/diagramly/App.js"},"region":{"startLine":2075}}}],"partialFingerprints":{"codehealthFindingId/v1":"07c6a5299b471fbbec7bc11d204b98a0a1b985b021f23bb6ac07ad8ea7881a09"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): src/main/webapp/js/diagramly/App.js:5312 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:5308 \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/webapp/js/diagramly/App.js"},"region":{"startLine":5312}}}],"partialFingerprints":{"codehealthFindingId/v1":"446bad0aebfc4d3595adc809ef3547ea1ff2b0773da410d560c091afa93759a4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): src/main/webapp/js/diagramly/LightboxModern.js:2513 \u00B7 src/main/webapp/js/diagramly/ViewerModern.js:2148 \u2014 the 2 copies are spread across 2 files, 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/webapp/js/diagramly/LightboxModern.js"},"region":{"startLine":2513}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdc54bd44df3715a8667626b1b9f9ff78a72df0c5f78d0f53ba0ce9f5870bdf9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): src/main/webapp/js/diagramly/graphml/mxGraphMlCodec.js:1780 \u00B7 src/main/webapp/js/diagramly/graphml/mxGraphMlCodec.js:1823 \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/webapp/js/diagramly/graphml/mxGraphMlCodec.js"},"region":{"startLine":1780}}}],"partialFingerprints":{"codehealthFindingId/v1":"f84c27aa262e593df1ab623bd0eb4f02bc2a91f59b375778a82d604f3d78b85b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 18 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-BPMN.js:220 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-BPMN.js:248 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-BPMN.js:276 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-BPMN.js:304 \u00B7 \u002B14 more site(s) not listed \u2014 all 18 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/webapp/js/diagramly/sidebar/Sidebar-BPMN.js"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0e9cbdd5249c53d3ed60caa4533c91c84843b2973f77821e37325abf98b9eeb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 16 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-BPMN.js:706 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-BPMN.js:734 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-BPMN.js:762 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-BPMN.js:790 \u00B7 \u002B12 more site(s) not listed \u2014 all 16 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/webapp/js/diagramly/sidebar/Sidebar-BPMN.js"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"d72fc651187c89c009c5a562e1003cd11c17a79f748799d448d9182462b770a3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-IBMCloud.js:391 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-IBMCloud.js:416 \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/webapp/js/diagramly/sidebar/Sidebar-IBMCloud.js"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"e09ce2d31b4609243b4491758657a6f66d6001b40aa7a06c730ae2bfbc969e98"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:1361 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:1386 \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/webapp/js/diagramly/sidebar/Sidebar-Sysml.js"},"region":{"startLine":1361}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ec7597d7dc7e8112eb172bfec192af92535f4a6127a54056e8acb025e5781f1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): src/main/webapp/js/diagramly/App.js:5878 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:17267 \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/webapp/js/diagramly/App.js"},"region":{"startLine":5878}}}],"partialFingerprints":{"codehealthFindingId/v1":"53f54758b38761dbc23e5a56a6ba66ce9060a05eee90f70cab6a1f4a31ef578d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): src/main/webapp/js/diagramly/App.js:6086 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:17281 \u2014 the 2 copies are spread across 2 files, 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/webapp/js/diagramly/App.js"},"region":{"startLine":6086}}}],"partialFingerprints":{"codehealthFindingId/v1":"503ccb831ddc3571d16e4610b0c3960c5633114a27686243f4b448e3c811b27b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): src/main/webapp/js/diagramly/ConfigEditor.js:687 \u00B7 src/main/webapp/js/diagramly/ConfigEditor.js:1011 \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/webapp/js/diagramly/ConfigEditor.js"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"30f5a8d50a0b4587bc630408cae81f0dff02e4d663f111a61bfd8fa52bed8b96"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): src/main/webapp/js/diagramly/EditorUi.js:23104 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:23285 \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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":23104}}}],"partialFingerprints":{"codehealthFindingId/v1":"d902e986befd8ec5132b9ca8152a5149083ad0e138b0cf5f993add616f2652a1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): src/main/webapp/js/diagramly/EditorUi.js:29363 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:29463 \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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":29363}}}],"partialFingerprints":{"codehealthFindingId/v1":"100a53041c1c989571dad4e96d77571212b355c73a5827cea9975fc98fafd216"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): src/main/webapp/js/diagramly/EditorUi.js:43008 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:43044 \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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":43008}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f3287123c227128d59306e1f84c9c075bfde9eac4d60c6792611bfa80ffaa12"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3 locations): src/main/webapp/js/diagramly/Extensions.js:5225 \u00B7 src/main/webapp/js/diagramly/Extensions.js:5256 \u00B7 src/main/webapp/js/diagramly/Extensions.js:5286 \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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":5225}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c516bedbaef1771bba035ae8594c6f47be224cbdf3f70a63bf64c4d739ff934"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 4 locations): src/main/webapp/js/diagramly/Extensions.js:12221 \u00B7 src/main/webapp/js/diagramly/Extensions.js:12261 \u00B7 src/main/webapp/js/diagramly/Extensions.js:12301 \u00B7 src/main/webapp/js/diagramly/Extensions.js:12340 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Extensions.js"},"region":{"startLine":12221}}}],"partialFingerprints":{"codehealthFindingId/v1":"a20209e12969cd1345dad311321db4f0bdf3ed2cf6eac2c6ff021b80506cce2f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (19 matched lines \u00D7 2 locations): src/main/webapp/js/diagramly/TrelloFile.js:112 \u00B7 src/main/webapp/js/diagramly/TrelloFile.js:143 \u2014 the two spans are one implementation copied and then locally edited \u2014 86 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/TrelloFile.js"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2ef93e84ef8257f4b1aea894128e85acd7fd212664cbb77ea0f957a38b266a9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (19 matched lines \u00D7 2 locations): src/main/webapp/js/diagramly/gif/AnimatedExport.js:181 \u00B7 src/main/webapp/js/diagramly/gif/AnimationExport.js:1512 \u2014 the two spans are one implementation copied and then locally edited \u2014 81 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/gif/AnimatedExport.js"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"00bbfafb22bde2fe4b3e7bb1603a9d63023d59c07c55ea910680f63d0746d399"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): src/main/webapp/js/diagramly/gif/AnimationExport.js:846 \u00B7 src/main/webapp/js/diagramly/gif/AnimationExport.js:867 \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/webapp/js/diagramly/gif/AnimationExport.js"},"region":{"startLine":846}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ca1924010d3ca8f2dcf3abef37c0f96ca71d94225420bd1fb347dc0e239adc4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (19 matched lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:3689 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:3733 \u2014 the two spans are one implementation copied and then locally edited \u2014 177 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":3689}}}],"partialFingerprints":{"codehealthFindingId/v1":"67dccbddc751368866bc8ba8d281f609feb1cc3b4bfb7a422ce072167377c7d7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (19 matched lines \u00D7 2 locations): src/main/webapp/js/grapheditor/Dialogs.js:798 \u00B7 src/main/webapp/js/grapheditor/Dialogs.js:862 \u2014 the two spans are one implementation copied and then locally edited \u2014 133 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Dialogs.js"},"region":{"startLine":798}}}],"partialFingerprints":{"codehealthFindingId/v1":"15a0b8ba87ec33ed3a528cd4062af199045afd4cd8577edd761ca71328e81343"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Dialogs.js:26433 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:26454 \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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":26433}}}],"partialFingerprints":{"codehealthFindingId/v1":"bba51a629e557dfe9d5fc412990864b9712de8ea6aa00068e09f4a7d10094ce3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): src/main/webapp/js/diagramly/DrawioFileSync.js:3679 \u00B7 src/main/webapp/js/diagramly/DrawioFileSync.js:3715 \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/webapp/js/diagramly/DrawioFileSync.js"},"region":{"startLine":3679}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a529d54bea90f319cb536c01469b2c9dd419483b4b4c6a6fa591b8718731a6d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (18 matched lines \u00D7 2 locations): src/main/webapp/js/diagramly/Editor.js:6259 \u00B7 src/main/webapp/js/diagramly/gif/AnimatedExport.js:181 \u2014 the two spans are one implementation copied and then locally edited \u2014 72 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":6259}}}],"partialFingerprints":{"codehealthFindingId/v1":"81734a486e31b472f4a8123bce51242afee45ae34cecbd3920ae88a54ceae345"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): src/main/webapp/js/diagramly/LightboxModern.js:1159 \u00B7 src/main/webapp/js/diagramly/ViewerModern.js:196 \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/webapp/js/diagramly/LightboxModern.js"},"region":{"startLine":1159}}}],"partialFingerprints":{"codehealthFindingId/v1":"21c823e9de19e108c2404bb1af7213e4633b83c0f5936898b9adc25d1b6e0928"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): src/main/webapp/js/diagramly/LightboxModern.js:2243 \u00B7 src/main/webapp/js/diagramly/ViewerModern.js:436 \u2014 the 2 copies are spread across 2 files, 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/webapp/js/diagramly/LightboxModern.js"},"region":{"startLine":2243}}}],"partialFingerprints":{"codehealthFindingId/v1":"69d392bce7a21171435195ef6e354a820bffc0bc1fce8162461e3ba919939686"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): src/main/webapp/js/diagramly/LightboxModern.js:2651 \u00B7 src/main/webapp/js/diagramly/ViewerModern.js:2335 \u2014 the 2 copies are spread across 2 files, 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/webapp/js/diagramly/LightboxModern.js"},"region":{"startLine":2651}}}],"partialFingerprints":{"codehealthFindingId/v1":"62bc0e8261f7f7cbc326b1d574622886ff6c8694ade6e86165286313470c5796"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 5 locations): src/main/webapp/js/diagramly/Menus.js:2987 \u00B7 src/main/webapp/js/diagramly/Menus.js:3008 \u00B7 src/main/webapp/js/diagramly/Menus.js:3029 \u00B7 src/main/webapp/js/diagramly/Menus.js:3092 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 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/webapp/js/diagramly/Menus.js"},"region":{"startLine":2987}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1154bae271c6026c0592e92b3b6163b94d8f0454697e558a15a35cf7f1c5555"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Menus.js:5850 \u00B7 src/main/webapp/js/diagramly/Menus.js:6055 \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/webapp/js/diagramly/Menus.js"},"region":{"startLine":5850}}}],"partialFingerprints":{"codehealthFindingId/v1":"67fc5efff38cc8275e1a21a253d8ab17fa10b844651ae4391026d7889eaedc48"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-ArchiMate3.js:383 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-ArchiMate4.js:122 \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/webapp/js/diagramly/sidebar/Sidebar-ArchiMate3.js"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"071d9e1e236f3b1b966d335ddf95b042cd9faddb2e96f2abef7da1bab379187e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-GCP2.js:2227 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-GCP2.js:2292 \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/webapp/js/diagramly/sidebar/Sidebar-GCP2.js"},"region":{"startLine":2227}}}],"partialFingerprints":{"codehealthFindingId/v1":"5158f03a2e8445f162a5968d0ceda7a72efb9e212dcdbc1ab4982c03727edc10"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 5 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js:1229 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js:1248 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js:1267 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js:1286 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 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/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":1229}}}],"partialFingerprints":{"codehealthFindingId/v1":"842ddf6177fca8963590f68cd52e2311c7dfd69e9b2009205d4d8a93ffe938d9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Mockup.js:311 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Mockup.js:359 \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/webapp/js/diagramly/sidebar/Sidebar-Mockup.js"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bb3c4b2cbeb7fc54369c95d21535d65ce08a9ee50bb3c22c264a9a35da46e0a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-UML25.js:223 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-UML25.js:833 \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/webapp/js/diagramly/sidebar/Sidebar-UML25.js"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"51805118f7b4cb1676420b73985445b314ca512ccff5b0d25e295ebe2ffb3075"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 4 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Veeam2.js:96 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Veeam2.js:382 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Veeam2.js:518 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Veeam2.js:677 \u2014 all 4 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/webapp/js/diagramly/sidebar/Sidebar-Veeam2.js"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b978fa41135f9c3e89fb4bc701b542aa77678ac57509f8ac9726c4d869dfd64"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (18 matched lines \u00D7 2 locations): src/main/webapp/js/grapheditor/EditorUi.js:985 \u00B7 src/main/webapp/js/grapheditor/EditorUi.js:1034 \u2014 the two spans are one implementation copied and then locally edited \u2014 98 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":985}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebfb58095a5be5a0f20387890887ed838cd241ed83e00f88802eb770c5cb8bf2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): src/main/webapp/js/diagramly/App.js:2146 \u00B7 src/main/webapp/js/diagramly/App.js:2172 \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/webapp/js/diagramly/App.js"},"region":{"startLine":2146}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6f3e415f66ed1f5b512d0ca29a9155beb877cee41e04447eb7555bf029604e8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Dialogs.js:531 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:7804 \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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc17a8013d917e62f99c3a7e7b96981c76e31cb76834347272a63dd759bb15fb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Dialogs.js:2355 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:21159 \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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":2355}}}],"partialFingerprints":{"codehealthFindingId/v1":"041520d772ec30ff18d580e400e30a057330910c475318f8cceeeadd18e7c898"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Dialogs.js:6554 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:6577 \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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":6554}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecf6abc9a7eb6bd878da2a519240de2ae408be611f69819b1ab56d0406721e43"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Dialogs.js:7405 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:7504 \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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":7405}}}],"partialFingerprints":{"codehealthFindingId/v1":"14e69ecedfb68b11218dbaed96978e63ca67cebca3a4bb1f27a86dc43cc98218"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Dialogs.js:18609 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:18781 \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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":18609}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8cad63b76cb8eba73435e725ba49edffc3a75a04056460d51bc8ee7a91ae5d7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Dialogs.js:25870 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:25890 \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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":25870}}}],"partialFingerprints":{"codehealthFindingId/v1":"85072355e8dbfadadcfc803e0e5d74916a659b4d389e3ce431b970f62eee41df"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Dialogs.js:26859 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:26997 \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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":26859}}}],"partialFingerprints":{"codehealthFindingId/v1":"92c922b3bc2aaecfc093b93be544d682d92ba037330db4a36014e790a2dd9c6c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Editor.js:14825 \u00B7 src/main/webapp/js/diagramly/Editor.js:14847 \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/webapp/js/diagramly/Editor.js"},"region":{"startLine":14825}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc3469d879186ca296cfd89fda6e2e5e177c59b963fa7b33549e383f6ee7154b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): src/main/webapp/js/diagramly/EditorUi.js:10858 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:11102 \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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":10858}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0042a079506102db156bd5f85df9da174cc67a5ae102fe9363daae89b680be9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): src/main/webapp/js/diagramly/EditorUi.js:11329 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:12945 \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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":11329}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd029432c41b8b005b81880943c769123732709a6a115cbfe7b88c30ee13c0f1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): src/main/webapp/js/diagramly/EditorUi.js:14783 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:38105 \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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":14783}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cfd0a9e64416fc9411549fb55981037be0f945f05aa126c7d1704ecfd9aa298"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Extensions.js:11391 \u00B7 src/main/webapp/js/diagramly/Extensions.js:11434 \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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":11391}}}],"partialFingerprints":{"codehealthFindingId/v1":"70d69fb211e949c0e0ca8d3083e9df00476d0b076beb549aba7eac8ea8ab2f95"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Menus.js:3053 \u00B7 src/main/webapp/js/diagramly/Menus.js:3074 \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/webapp/js/diagramly/Menus.js"},"region":{"startLine":3053}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cc85683dd48dd6989cb69475a41ac1691f794d62e676df481e0744c1aec1e7a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): src/main/webapp/js/diagramly/P2PCollab.js:1371 \u00B7 src/main/webapp/js/diagramly/P2PCollab.js:1395 \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/webapp/js/diagramly/P2PCollab.js"},"region":{"startLine":1371}}}],"partialFingerprints":{"codehealthFindingId/v1":"76e48544cec6ad54936114769ef3f28d3adfee409c41f6162619b332a5b9bf03"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 9 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-ArchiMate3.js:92 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-ArchiMate3.js:279 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-ArchiMate3.js:411 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-ArchiMate3.js:452 \u00B7 \u002B5 more site(s) not listed \u2014 the 9 copies are spread across 2 files, 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/webapp/js/diagramly/sidebar/Sidebar-ArchiMate3.js"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"67386d96d52baea37d91412dcf32163d888db55bd3d8f9d8f6d7444975fa8a0e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:277 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:303 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:329 \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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"c386b837da97f3c0b8a44e6c47f7edbf85c447064d56fa52e181ec94f20f0c2d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:1232 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:1252 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:1287 \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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":1232}}}],"partialFingerprints":{"codehealthFindingId/v1":"07db3fff3f0a63aa398e1aa40062db2be667e507470ddfe16ba52786730280ce"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:168 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:1033 \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/webapp/js/diagramly/sidebar/Sidebar-Sysml.js"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"b32ae933b24c878252bf47bffbe1c29bad16605826ecc37c385e957a2c6a52fa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Veeam2.js:202 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Veeam2.js:620 \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/webapp/js/diagramly/sidebar/Sidebar-Veeam2.js"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"5063ced86499fafd1371a8a46827fc26d2f7a448be676751472e6cabd2b124d9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): src/main/webapp/js/diagramly/vsdx/importer.js:883 \u00B7 src/main/webapp/js/diagramly/vsdx/importer.js:1095 \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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":883}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbed296e6f8f6844b8e55d2f2d611ce154ee58c98fcf0e7fa40cc0995e6f249f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Dialogs.js:1198 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:6220 \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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":1198}}}],"partialFingerprints":{"codehealthFindingId/v1":"76b775c8b7d5873d0049e84c3e3bc052d220fd17a325e43c5dc295b1367f5bbe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Dialogs.js:27106 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:7298 \u2014 the 2 copies are spread across 2 files, 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":27106}}}],"partialFingerprints":{"codehealthFindingId/v1":"a75cf5d49d82d572c8a0071a5aeae7b7218d6d248db29a1741b7733bc076ff56"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3 locations): src/main/webapp/js/diagramly/EditorUi.js:14364 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:14485 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:14683 \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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":14364}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5a7f277d74365bab0cfa9c2f2179e2a9fd5222f04a7a2a76aeb0929e80405ac"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3 locations): src/main/webapp/js/diagramly/EditorUi.js:25897 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:26014 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:26075 \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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":25897}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d8628434d88b2a1c9e87309431c18bf816d84c909f2b0c9ab40dfbea2775987"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): src/main/webapp/js/diagramly/EditorUi.js:30767 \u00B7 src/main/webapp/js/diagramly/ElectronApp.js:1444 \u2014 the 2 copies are spread across 2 files, 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":30767}}}],"partialFingerprints":{"codehealthFindingId/v1":"022b3c28bedd42b6a0547c88cb49f61c4411edf1b2dc9feed8f4471f3cc537a4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): src/main/webapp/js/diagramly/EditorUi.js:42051 \u00B7 src/main/webapp/js/diagramly/ElectronApp.js:2851 \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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":42051}}}],"partialFingerprints":{"codehealthFindingId/v1":"637b8c575b49baf5cec161eb8b14d1964f18a0104f03cba0d9b8cc7fad7508b5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Extensions.js:7591 \u00B7 src/main/webapp/js/diagramly/Extensions.js:11943 \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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":7591}}}],"partialFingerprints":{"codehealthFindingId/v1":"b728bcc9935ca7124b9670c0db8f854a78094a09ebc4f5626e4dff88fe191506"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Extensions.js:12729 \u00B7 src/main/webapp/js/diagramly/Extensions.js:12780 \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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":12729}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2712c4de105d8cff0f952358e00f20b304f147ffd9bec5d856512ca1f604bf9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Pages.js:3048 \u00B7 src/main/webapp/js/diagramly/Pages.js:3068 \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/webapp/js/diagramly/Pages.js"},"region":{"startLine":3048}}}],"partialFingerprints":{"codehealthFindingId/v1":"0774c1c4677c72b87a5b7dce68c93aad8ef98b44a3b71b217190980f9580259b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Pages.js:4263 \u00B7 src/main/webapp/js/diagramly/Pages.js:4473 \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/webapp/js/diagramly/Pages.js"},"region":{"startLine":4263}}}],"partialFingerprints":{"codehealthFindingId/v1":"92043bbe71511b8d7c0995fa4e65ad16a043d49744fd52105ad8b650a90195d6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-ArchiMate3.js:344 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-ArchiMate4.js:83 \u2014 the 2 copies are spread across 2 files, 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/webapp/js/diagramly/sidebar/Sidebar-ArchiMate3.js"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"26e56311791a44d2f1c10a217f4fcb1635178614f4ffa714cb547135334f7bf6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Atlassian.js:145 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Atlassian.js:169 \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/webapp/js/diagramly/sidebar/Sidebar-Atlassian.js"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"9154b9af58ccc1da59d4372abf1c05249f8e49e95eb2eb99d0fac926e274a118"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:3849 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:4010 \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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":3849}}}],"partialFingerprints":{"codehealthFindingId/v1":"374e09917f07b4eef9eca2eb555dda23ffcc8f43f1581920cd9d474d8e163a98"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 16 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-GCP2.js:1378 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-GCP2.js:1457 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-GCP2.js:1500 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-GCP2.js:1553 \u00B7 \u002B12 more site(s) not listed \u2014 all 16 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/webapp/js/diagramly/sidebar/Sidebar-GCP2.js"},"region":{"startLine":1378}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3c44dbcdac7fcc37dfae13f4dbc409be4534ad4e231afb38d2e240a23d1bced"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:275 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:300 \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/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccc76e50dd18bc62e28d887a2deaa85829930f7f1fe722f187f2943defcd41a8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3 locations): src/main/webapp/js/diagramly/tidy/TidyFeatures.js:80 \u00B7 src/main/webapp/js/diagramly/tidy/TidyFeatures.js:96 \u00B7 src/main/webapp/js/diagramly/tidy/TidyStyle.js:619 \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/webapp/js/diagramly/tidy/TidyFeatures.js"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"16a4849507c89fe4865c5c1ed78a64a1da0a8954c4e9b0b8370307089dc6862a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3 locations): src/main/webapp/js/diagramly/App.js:3691 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:13509 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:32912 \u2014 the 3 copies are spread across 2 files, 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/webapp/js/diagramly/App.js"},"region":{"startLine":3691}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec6ef59d2f140edad32308d40d252542b694f42c91e80ed74c8f4bc209a0edc7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Dialogs.js:18144 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:23921 \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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":18144}}}],"partialFingerprints":{"codehealthFindingId/v1":"68f179170b59e1bba95f5923bdaec5f3d5a033962269306ebe5303cef660feef"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Dialogs.js:25982 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:26002 \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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":25982}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2d5f0e3fbc1d8e1c5650277a65c31d510b71e16edbba49c8706c5bc8143b54c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4 locations): src/main/webapp/js/diagramly/DrawioClient.js:193 \u00B7 src/main/webapp/js/diagramly/DriveClient.js:725 \u00B7 src/main/webapp/js/diagramly/DriveClient.js:783 \u00B7 src/main/webapp/js/diagramly/DriveClient.js:975 \u2014 the 4 copies are spread across 2 files, 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/webapp/js/diagramly/DrawioClient.js"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"f05238fc2f03a636e49f1463a8d1076eb1199d26ec86e37124561813e857bf00"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Editor.js:12419 \u00B7 src/main/webapp/js/diagramly/Editor.js:12583 \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/webapp/js/diagramly/Editor.js"},"region":{"startLine":12419}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cd64a2a0d0ef88c2ed88cfd47fc1ebbc89687e788322f29d4d036410550f256"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/main/webapp/js/diagramly/EditorUi.js:26018 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:26079 \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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":26018}}}],"partialFingerprints":{"codehealthFindingId/v1":"b45b5c1d8451c4a1deae97914da71a0daaf270f30ffa67d446c59cb2a1cbb498"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/main/webapp/js/diagramly/ElectronApp.js:2431 \u00B7 src/main/webapp/js/diagramly/ElectronApp.js:2462 \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/webapp/js/diagramly/ElectronApp.js"},"region":{"startLine":2431}}}],"partialFingerprints":{"codehealthFindingId/v1":"03998604dbf8f37bf6fff8c78cd273038b2e13c7456401578dd018324503ebf4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4 locations): src/main/webapp/js/diagramly/Extensions.js:4924 \u00B7 src/main/webapp/js/diagramly/Extensions.js:5210 \u00B7 src/main/webapp/js/diagramly/Extensions.js:5241 \u00B7 src/main/webapp/js/diagramly/Extensions.js:5271 \u2014 all 4 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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":4924}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6ee54e738ebc616b5c07d27ecca5bff809b442b9f779cd96065201c349d37b8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3 locations): src/main/webapp/js/diagramly/Extensions.js:5066 \u00B7 src/main/webapp/js/diagramly/Extensions.js:5095 \u00B7 src/main/webapp/js/diagramly/Extensions.js:5119 \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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":5066}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd2ec4226de88a3e99d1a0cd717a082737cdb037ff7e2ab938292238d3632726"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Extensions.js:5144 \u00B7 src/main/webapp/js/diagramly/Extensions.js:5172 \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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":5144}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6a91ad0f108d6f7c892472d71aa17449850d8d8178b8afaa8213571b28dc799"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Extensions.js:6037 \u00B7 src/main/webapp/js/diagramly/Extensions.js:6057 \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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":6037}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb3e5bcb6eafe6fd18790c7500bfcd6f743fb9d94058a51e4fc9026ebd6e040c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Extensions.js:10354 \u00B7 src/main/webapp/js/diagramly/Extensions.js:10388 \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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":10354}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a208d04926bbf5e1875945052f2dfe44aee6040541cbd2ada2e899ceb9c0c66"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 7 locations): src/main/webapp/js/diagramly/Extensions.js:10471 \u00B7 src/main/webapp/js/diagramly/Extensions.js:10487 \u00B7 src/main/webapp/js/diagramly/Extensions.js:10503 \u00B7 src/main/webapp/js/diagramly/Extensions.js:10519 \u00B7 \u002B3 more site(s) not listed \u2014 all 7 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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":10471}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dc0ac7126fbe862352541ee2dd998200463cefd927f696dfe5b9916ebaf397d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Menus.js:3308 \u00B7 src/main/webapp/js/diagramly/Menus.js:3328 \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/webapp/js/diagramly/Menus.js"},"region":{"startLine":3308}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cac8193a4da04072a53cb3c329eb810faf1c0e1d55c91980a9a925841a40453"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): src/main/webapp/js/diagramly/Omnibox.js:217 \u00B7 src/main/webapp/js/grapheditor/Omnibox.js:1844 \u2014 the two spans are one implementation copied and then locally edited \u2014 65 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Omnibox.js"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aedd9e970347f93cab5abc613d22a9cffcd3233cdf390e40524437b884395c1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/main/webapp/js/diagramly/SimpleClassic.js:93 \u00B7 src/main/webapp/js/diagramly/SimpleClassic.js:258 \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/webapp/js/diagramly/SimpleClassic.js"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ed9eb0f06377b35431ce54a34db67754f9934763a43b55578cb8915efe5a5aa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:4158 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:4187 \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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":4158}}}],"partialFingerprints":{"codehealthFindingId/v1":"66c06ff04583f2177f61396799650b569a1ac10624fd65260bcd93a32d199e5e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-CiscoSafe.js:702 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-CiscoSafe.js:814 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-CiscoSafe.js:852 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-CiscoSafe.js:1012 \u2014 all 4 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/webapp/js/diagramly/sidebar/Sidebar-CiscoSafe.js"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"b77a062ddf72d8d44dbc34e8516f96543c9077f8d0c565e1a814fb2ee486a4c6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:979 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:2141 \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/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js"},"region":{"startLine":979}}}],"partialFingerprints":{"codehealthFindingId/v1":"17203fe2748ee0cb99b260458a518dc09ecb9cd3cd25e581e2031cbf0df236fb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Ios.js:316 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Ios7.js:183 \u2014 the 2 copies are spread across 2 files, 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/webapp/js/diagramly/sidebar/Sidebar-Ios.js"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ca87a878a5c10c9adaba8a6de67015a5a23a8f97dcfc28a298c5ea2e20e94ee"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): src/main/webapp/js/diagramly/tidy/TidyWindow.js:1065 \u00B7 src/main/webapp/js/diagramly/tidy/TidyWindow.js:1208 \u2014 the two spans are one implementation copied and then locally edited \u2014 148 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/tidy/TidyWindow.js"},"region":{"startLine":1065}}}],"partialFingerprints":{"codehealthFindingId/v1":"762155c098d861105c13ee2cdbe25af0f1557edfb839ebe15aea73bd82af1ea2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): src/main/webapp/js/grapheditor/Actions.js:1498 \u00B7 src/main/webapp/js/grapheditor/Format.js:800 \u2014 the two spans are one implementation copied and then locally edited \u2014 69 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Actions.js"},"region":{"startLine":1498}}}],"partialFingerprints":{"codehealthFindingId/v1":"d883a1782454da482c5fbbc69c34d778814709be7b7b16c9a5c80e3d3e76cc83"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): src/main/webapp/js/grapheditor/Graph.js:564 \u00B7 src/main/webapp/js/grapheditor/Graph.js:890 \u2014 the two spans are one implementation copied and then locally edited \u2014 218 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"81369bc84e6c85446cb2d5d74c6256549920c38306dd6ebfe84bad60f4a3c2ee"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): src/main/webapp/js/diagramly/App.js:5908 \u00B7 src/main/webapp/js/diagramly/App.js:6100 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:17295 \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/webapp/js/diagramly/App.js"},"region":{"startLine":5908}}}],"partialFingerprints":{"codehealthFindingId/v1":"54669bfc3adffab9b620829dd3909463a72f94e1ea7a3d74e21a930c9eafe02d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Dialogs.js:7378 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:7443 \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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":7378}}}],"partialFingerprints":{"codehealthFindingId/v1":"90036869bf74f5ab0e45fe118a3580d4165fa968891d645dc93df9f47fa14f63"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Dialogs.js:9658 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:25154 \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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":9658}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aca3e29d0d341ec3281964f96586e1b42fa44010902c90a0551b806d8a9c983"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Dialogs.js:14233 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:14262 \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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":14233}}}],"partialFingerprints":{"codehealthFindingId/v1":"b213a09ccfa94999d3aac5d2e97cc744f5217990ba65672a418a9ccf6315272d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Dialogs.js:25346 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:25367 \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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":25346}}}],"partialFingerprints":{"codehealthFindingId/v1":"b289a5bc2609e3959826a0ef64cb9a13728f70cbcbfa69f5c1a53afd0be1ebff"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/main/webapp/js/diagramly/DriveClient.js:876 \u00B7 src/main/webapp/js/diagramly/DriveClient.js:941 \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/webapp/js/diagramly/DriveClient.js"},"region":{"startLine":876}}}],"partialFingerprints":{"codehealthFindingId/v1":"65b301621ec2f3b3d246e6bbb951fec46a35df7c3f2e57519ac488b166478960"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/main/webapp/js/diagramly/DriveClient.js:2466 \u00B7 src/main/webapp/js/diagramly/DriveClient.js:2691 \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/webapp/js/diagramly/DriveClient.js"},"region":{"startLine":2466}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6bba7fd90c775e3ac0e6781d44ef192efc251f3a05c9816adf36e328930595b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Editor.js:2576 \u00B7 src/main/webapp/js/diagramly/Editor.js:2591 \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/webapp/js/diagramly/Editor.js"},"region":{"startLine":2576}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fd21b47ba98ea776027dd75ba03c8111a341f5acd7469edaa9b3894bce455d6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Editor.js:15011 \u00B7 src/main/webapp/js/diagramly/Editor.js:15030 \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/webapp/js/diagramly/Editor.js"},"region":{"startLine":15011}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9015b1ff7351e92ea975b9c38a6471311eee68709d1cb45272ae41e8e13dcba"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/main/webapp/js/diagramly/EditorUi.js:23075 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:23250 \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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":23075}}}],"partialFingerprints":{"codehealthFindingId/v1":"50e89f58ce5399ed79f3744c5a972772372f3e674bb9aafffb3dcd94b42e7401"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): src/main/webapp/js/diagramly/EditorUi.js:1644 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:1722 \u2014 the two spans are one implementation copied and then locally edited \u2014 101 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":1644}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed1816f8bec3582cc88e31a892e1da90f1b8f76e77f4156c6617ae3e2ee04e76"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Extensions.js:5101 \u00B7 src/main/webapp/js/diagramly/Extensions.js:5125 \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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":5101}}}],"partialFingerprints":{"codehealthFindingId/v1":"9be0eac7dbd6211c701f7c3d2ad4591aed54eefe07a14a0f297b320006e2d4cf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): src/main/webapp/js/diagramly/Extensions.js:9040 \u00B7 src/main/webapp/js/diagramly/Extensions.js:9118 \u00B7 src/main/webapp/js/diagramly/Extensions.js:9186 \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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":9040}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba929d9cc8061bf3c6576cd714c07da672660f6d3451e5ea28830d5b169cdfab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Extensions.js:10952 \u00B7 src/main/webapp/js/diagramly/Extensions.js:10986 \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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":10952}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3a064be2008a6a12bd6c5aaf5b0e4a68d2594a2af2a8ad3ac912c70d71fb0bd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Extensions.js:11641 \u00B7 src/main/webapp/js/diagramly/Extensions.js:11658 \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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":11641}}}],"partialFingerprints":{"codehealthFindingId/v1":"a19653e96bab7f717c7add337498434ec071ef77e6aa68894e34f338a10dcfe2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Extensions.js:11992 \u00B7 src/main/webapp/js/diagramly/Extensions.js:12045 \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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":11992}}}],"partialFingerprints":{"codehealthFindingId/v1":"d61a732e82592f8fb5693e5cdb0d3ac9b5130ddcb41fa8633d351302a3def6f8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4 locations): src/main/webapp/js/diagramly/Extensions.js:12199 \u00B7 src/main/webapp/js/diagramly/Extensions.js:12239 \u00B7 src/main/webapp/js/diagramly/Extensions.js:12279 \u00B7 src/main/webapp/js/diagramly/Extensions.js:12318 \u2014 all 4 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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":12199}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e84db7e35f2c721ec30991098d9be0824e12a1337bb9013135072ed2cac079a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/main/webapp/js/diagramly/GitHubClient.js:48 \u00B7 src/main/webapp/js/diagramly/GitLabClient.js:51 \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/webapp/js/diagramly/GitHubClient.js"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdd9383ef5be2143372452071e4603f5a06cf5659c2f7cd603bfacb2f8e40614"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/main/webapp/js/diagramly/LayoutPicker.js:484 \u00B7 src/main/webapp/js/diagramly/LayoutPicker.js:644 \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/webapp/js/diagramly/LayoutPicker.js"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"8abeba092f2b1d66abcb3735db99f7e9ba5283833d9f8f166e6ccad6cb5ea4b8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/main/webapp/js/diagramly/LayoutPicker.js:1074 \u00B7 src/main/webapp/js/diagramly/LayoutPicker.js:1113 \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/webapp/js/diagramly/LayoutPicker.js"},"region":{"startLine":1074}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7857b9aac2de8e897ce497c921b027c056039fa9af3812ee8f5bb5208d027bb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/main/webapp/js/diagramly/LibavoidRouting.js:3119 \u00B7 src/main/webapp/js/diagramly/LibavoidRouting.js:3439 \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/webapp/js/diagramly/LibavoidRouting.js"},"region":{"startLine":3119}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bf1f2658f1a559ef8a49509ab2217f8fa554b41fee2e1d38063db7324f2ff17"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 11 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-ArchiMate3.js:25 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-ArchiMate3.js:96 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-ArchiMate3.js:283 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-ArchiMate3.js:415 \u00B7 \u002B7 more site(s) not listed \u2014 the 11 copies are spread across 2 files, 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/webapp/js/diagramly/sidebar/Sidebar-ArchiMate3.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"60e9bea8ac5b2e8129608b4983c959482c8daabf7fb73000cd56f4880604cff4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-BPMN.js:92 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-BPMN.js:109 \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/webapp/js/diagramly/sidebar/Sidebar-BPMN.js"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"830fdd49aa9534127b7e5afa70f2bd9deff02832f1dd23c232a8a7e716560788"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:432 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:456 \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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce48380933dda0b74ac66272e9c7963c7b2dc35261e1d548c18d11db9bee0ff7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-ER.js:158 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-ER.js:176 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-ER.js:194 \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/webapp/js/diagramly/sidebar/Sidebar-ER.js"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"35db242a133951ce1ba78d740896fef057abdf836a666d26a2cb252448ba2edc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-GCP3.js:13 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-GCP3.js:86 \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/webapp/js/diagramly/sidebar/Sidebar-GCP3.js"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4cba58a544a72b4d97da067c8e585b9913e31ae89a578921f2d0059c4d4e20c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:70 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:106 \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/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"49727c46df55deeb8a3544ed1282f1ce38a67ccc8c34f169d25ebaefa90c38b7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-IBMCloud.js:475 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-IBMCloud.js:519 \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/webapp/js/diagramly/sidebar/Sidebar-IBMCloud.js"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"89ff50e9543612264f3cf2a34c7d2e7dc9e7dbdcb6e9e03a28eaf784b872f4d5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 6 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Ios7.js:270 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Ios7.js:284 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Ios7.js:298 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Ios7.js:312 \u00B7 \u002B2 more site(s) not listed \u2014 all 6 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/webapp/js/diagramly/sidebar/Sidebar-Ios7.js"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea2ab1c24ffb86bf14138724781d33253354bc487209630a093fec5f3cf25939"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/main/webapp/js/diagramly/App.js:1562 \u00B7 src/main/webapp/js/diagramly/App.js:4150 \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/webapp/js/diagramly/App.js"},"region":{"startLine":1562}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb5e51d94f4abf34bf352d87550a96be565404627b1f3346dcad9391e89caf26"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/main/webapp/js/diagramly/App.js:8599 \u00B7 src/main/webapp/js/diagramly/App.js:8613 \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/webapp/js/diagramly/App.js"},"region":{"startLine":8599}}}],"partialFingerprints":{"codehealthFindingId/v1":"dacc1cb861fdc45371b37143138667f7b729e22ec5d7fe97016deb7c11c19e5e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Dialogs.js:2044 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:2094 \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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":2044}}}],"partialFingerprints":{"codehealthFindingId/v1":"58b0a829300072518623882a6348a3a3b3e7943a29a3dd0e08f2a413da67536c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): src/main/webapp/js/diagramly/Dialogs.js:7116 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:7373 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:7438 \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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":7116}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad08eecb2f088b12855cba1f833d5bbe1d77adb91cc38638211680a137f9c7bc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): src/main/webapp/js/diagramly/Dialogs.js:10922 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:10952 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:11027 \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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":10922}}}],"partialFingerprints":{"codehealthFindingId/v1":"577c9e05eb0334ce50982bb0516cd5ab1a62460fd6104f8c5267a4006ac806eb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): src/main/webapp/js/diagramly/Dialogs.js:19427 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:19442 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:19457 \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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":19427}}}],"partialFingerprints":{"codehealthFindingId/v1":"2df143dd7a82b2a3797a7ed476efe9fbc92ae3a00b42d8473046b880a93da3ee"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Dialogs.js:26025 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:26041 \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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":26025}}}],"partialFingerprints":{"codehealthFindingId/v1":"67693676572af55953048c3090393a44f0cb88cd3b422b9900731c611997c22b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/main/webapp/js/diagramly/DriveClient.js:594 \u00B7 src/main/webapp/js/diagramly/OneDriveClient.js:407 \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/webapp/js/diagramly/DriveClient.js"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"01ac5590f5da23c6e89c938e7c133d2fabe5b4b1238b38b39c5a0499c7aa975e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/main/webapp/js/diagramly/DriveClient.js:622 \u00B7 src/main/webapp/js/diagramly/OneDriveClient.js:276 \u2014 the 2 copies are spread across 2 files, 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/webapp/js/diagramly/DriveClient.js"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea2c63f588d2950774bc2d5fb13ad1e96b05e100dc01d5768652eeeb85669b80"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/main/webapp/js/diagramly/DriveClient.js:831 \u00B7 src/main/webapp/js/diagramly/DriveClient.js:907 \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/webapp/js/diagramly/DriveClient.js"},"region":{"startLine":831}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d252e5d0c61b4ec6271b75ddd25a921e4d84195c0009d641fd8e8e7c3db8adf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Editor.js:3002 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:13361 \u2014 the 2 copies are spread across 2 files, 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/webapp/js/diagramly/Editor.js"},"region":{"startLine":3002}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bd408901d73d632ea5e0c593a6bf81191ab25ae1aeb2d8ac86082d82d6671ed"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): src/main/webapp/js/diagramly/Editor.js:11183 \u00B7 src/main/webapp/js/diagramly/Editor.js:11256 \u00B7 src/main/webapp/js/diagramly/Editor.js:11336 \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/webapp/js/diagramly/Editor.js"},"region":{"startLine":11183}}}],"partialFingerprints":{"codehealthFindingId/v1":"1befa7268cbbd48774864cb6d3bdae4288e4b73c9da9d2d55aad44a307ea8272"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Editor.js:13888 \u00B7 src/main/webapp/js/diagramly/Editor.js:13913 \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/webapp/js/diagramly/Editor.js"},"region":{"startLine":13888}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0919c6bd8b108bbb4ff2c951a3e1eaf5936fdbe0afb5011fb2cc2916c4cc9da"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Editor.js:15078 \u00B7 src/main/webapp/js/diagramly/Editor.js:15101 \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/webapp/js/diagramly/Editor.js"},"region":{"startLine":15078}}}],"partialFingerprints":{"codehealthFindingId/v1":"66fa1e9726d5bddaa5c143a64d3237800ca81203bef9a41fad10a191e8d18df6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/main/webapp/js/diagramly/EditorUi.js:7168 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:7563 \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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":7168}}}],"partialFingerprints":{"codehealthFindingId/v1":"c03b2000b24c9163dc20065ead19c5d8fbcb6e0502f09ba29fd54ac22cd03980"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/main/webapp/js/diagramly/EditorUi.js:9123 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:9138 \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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":9123}}}],"partialFingerprints":{"codehealthFindingId/v1":"aea3a39b538ea3ad0c80ff9f27d43b7874a15b8a5aebf41f3c7ad820e71d406e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/main/webapp/js/diagramly/EditorUi.js:13131 \u00B7 src/main/webapp/js/diagramly/Embed.js:461 \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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":13131}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f9ce15271ccbf4e7fc93cc045b67e0609e27633ef8eb95dc12f33040143cf77"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): src/main/webapp/js/diagramly/Extensions.js:11355 \u00B7 src/main/webapp/js/diagramly/Extensions.js:11398 \u00B7 src/main/webapp/js/diagramly/Extensions.js:11442 \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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":11355}}}],"partialFingerprints":{"codehealthFindingId/v1":"804e347f9561f1ccee99e8be1f0a08c02fd2bab90234c53e53f05ff3c24446bd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Extensions.js:11543 \u00B7 src/main/webapp/js/diagramly/Extensions.js:11563 \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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":11543}}}],"partialFingerprints":{"codehealthFindingId/v1":"c91501f2cee2e8441a9ab48bebe328eb61dc6fcaa226bfa62a9b1c47ba1bcf76"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Extensions.js:11854 \u00B7 src/main/webapp/js/diagramly/Extensions.js:12828 \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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":11854}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8cc58b99ddd71094d2616d13ecdfd0f1a3faa672ec8d6d01462c4b128f49609"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Extensions.js:12296 \u00B7 src/main/webapp/js/diagramly/Extensions.js:12335 \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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":12296}}}],"partialFingerprints":{"codehealthFindingId/v1":"beef064a966e09db5be28badc781518ff379a756c647b49051891e73ccac4402"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Extensions.js:12558 \u00B7 src/main/webapp/js/diagramly/Extensions.js:12596 \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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":12558}}}],"partialFingerprints":{"codehealthFindingId/v1":"5324e91e2179f503fd33d687852724d1f966bc89de7ff6ff524f5560b4ffaae0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Extensions.js:12949 \u00B7 src/main/webapp/js/diagramly/Extensions.js:13006 \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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":12949}}}],"partialFingerprints":{"codehealthFindingId/v1":"86697da6854781a39fc9056ea8859dfa787e74e165d23961a9ee71701d75e17d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 7 locations): src/main/webapp/js/diagramly/Extensions.js:12990 \u00B7 src/main/webapp/js/diagramly/Extensions.js:13051 \u00B7 src/main/webapp/js/diagramly/Extensions.js:13133 \u00B7 src/main/webapp/js/diagramly/Extensions.js:13152 \u00B7 \u002B3 more site(s) not listed \u2014 all 7 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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":12990}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bf3a8757a8be894faf148c836c64fb1552c283c57d0bcbd8d13b2cfa6c22e8c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Extensions.js:13035 \u00B7 src/main/webapp/js/diagramly/Extensions.js:13117 \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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":13035}}}],"partialFingerprints":{"codehealthFindingId/v1":"822e4613560a2d9fd1cbce3bd111b29a907ae16d5b1a426b1bd86762ccf93cd1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/main/webapp/js/diagramly/ForceExplorer.js:4316 \u00B7 src/main/webapp/js/diagramly/SpringMove.js:1321 \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/webapp/js/diagramly/ForceExplorer.js"},"region":{"startLine":4316}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cbccc4f5128cf364f7aa110a48dc78c37d9b7c87c39a5438886642fc8d2db92"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/main/webapp/js/diagramly/GraphViewer.js:1894 \u00B7 src/main/webapp/js/diagramly/GraphViewer.js:1927 \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/webapp/js/diagramly/GraphViewer.js"},"region":{"startLine":1894}}}],"partialFingerprints":{"codehealthFindingId/v1":"c18b4e40e1378a1a51bbeb83f33c6aa6e93f1485ca2e92f545d1b7d767498326"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/main/webapp/js/diagramly/LibavoidRouting.js:1937 \u00B7 src/main/webapp/js/diagramly/LibavoidRouting.js:3934 \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/webapp/js/diagramly/LibavoidRouting.js"},"region":{"startLine":1937}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ccb4a1447a31a77692e6b7b377f9e57b86fead6f3a9d94ce7b2aa191dcc6998"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/main/webapp/js/diagramly/LightboxModern.js:2440 \u00B7 src/main/webapp/js/diagramly/ViewerModern.js:2072 \u2014 the 2 copies are spread across 2 files, 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/webapp/js/diagramly/LightboxModern.js"},"region":{"startLine":2440}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f2e86f7fcfc89d848bdb11948dacb4c470c016a01a8a7fa6fd1f95d7ac4f121"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Menus.js:2635 \u00B7 src/main/webapp/js/diagramly/Menus.js:2680 \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/webapp/js/diagramly/Menus.js"},"region":{"startLine":2635}}}],"partialFingerprints":{"codehealthFindingId/v1":"7418f092f3fb18a865d3c896324eaa6bf65bcbea8e5ede6de4e0efd9cd865535"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Menus.js:5815 \u00B7 src/main/webapp/js/diagramly/Menus.js:5830 \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/webapp/js/diagramly/Menus.js"},"region":{"startLine":5815}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c9d73dfd93d54d51c9e9d27d62da56f3dbab1c0a9cf448bfa94f6740cb92f38"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/main/webapp/js/diagramly/OneDriveClient.js:596 \u00B7 src/main/webapp/js/diagramly/OneDriveClient.js:1280 \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/webapp/js/diagramly/OneDriveClient.js"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"670e9ab8de449f12e69527514501895bebfdb96d9825704b141f64aa51e9602f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/main/webapp/js/diagramly/OneDriveClient.js:1741 \u00B7 src/main/webapp/js/diagramly/OneDriveClient.js:1825 \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/webapp/js/diagramly/OneDriveClient.js"},"region":{"startLine":1741}}}],"partialFingerprints":{"codehealthFindingId/v1":"04471a1c4b3c6ca3263b6bd4bca7f4472c7089d9ce2c4672deffd83108f069b0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Trees.js:1259 \u00B7 src/main/webapp/js/diagramly/Trees.js:1318 \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/webapp/js/diagramly/Trees.js"},"region":{"startLine":1259}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd8c1f8e18404469af35ba9198477de71a38953c46753c0172ad0395bb4f685b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Trees.js:1977 \u00B7 src/main/webapp/js/diagramly/Trees.js:2001 \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/webapp/js/diagramly/Trees.js"},"region":{"startLine":1977}}}],"partialFingerprints":{"codehealthFindingId/v1":"bef85ae6c90cd6a1073da4e6f41f12dd1a88ff320000b48f24691940871042e6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/main/webapp/js/diagramly/emf/emf-svg.js:3219 \u00B7 src/main/webapp/js/diagramly/emf/emf-svg.js:3443 \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/webapp/js/diagramly/emf/emf-svg.js"},"region":{"startLine":3219}}}],"partialFingerprints":{"codehealthFindingId/v1":"124ffd046359eb3b9a5e72bae9cba9544a527d17ee587a680122f927f9f0b097"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Basic.js:5 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Flowchart.js:5 \u2014 the 2 copies are spread across 2 files, 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/webapp/js/diagramly/sidebar/Sidebar-Basic.js"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"2031be2bf5ac77cdc893a28edf84bd033f9d07b604d6fd643c6a6a7a03a8b6fa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:1361 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:1801 \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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":1361}}}],"partialFingerprints":{"codehealthFindingId/v1":"402e6b7f44f3013f0a884601f81fcb64fdb260bf29acf963c4f800868a51ecdb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:2927 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:2962 \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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":2927}}}],"partialFingerprints":{"codehealthFindingId/v1":"c542aa7f897ea7de79baa0f6739cfa52ad87f417f01fdd009e0c4c44cd86a128"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:3040 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:3067 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:3094 \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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":3040}}}],"partialFingerprints":{"codehealthFindingId/v1":"35d2dcf5b0625a08d603406c7406c9b7d2c55bc106d6997d2de32980e2822c1b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:4034 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:4076 \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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":4034}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9478213bf086dd374f02ab8fd26d11b67fa6e15c8ff97e5bf4835b6316ab33f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-C4.js:177 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-C4.js:194 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-C4.js:210 \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/webapp/js/diagramly/sidebar/Sidebar-C4.js"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"b66f354257774ccef34c9f786b5a94c312831bd943b644dfc7269ff835118c0f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-C4.js:224 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-C4.js:238 \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/webapp/js/diagramly/sidebar/Sidebar-C4.js"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"469604782b8fd2983869369526cf36e3ce6792e5bf42f7148584885aa9c0bcae"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:220 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:264 \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/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfd9e54bebf969ff507a2e8be69e0a1f3a626e44f0ae744dc8c558a277e5b9d2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 16 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:705 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:742 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:780 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:810 \u00B7 \u002B12 more site(s) not listed \u2014 the 16 copies are spread across 2 files, 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/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js"},"region":{"startLine":705}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0ed25020e0cf0d72800fa7840335659b2ab3c6f363b35cc9cc1e45fecd895db"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js:1184 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js:1204 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js:1423 \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/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":1184}}}],"partialFingerprints":{"codehealthFindingId/v1":"1009d71a9c6be190c416e5fe3de15961a2a8b9ad1948de8495f16d6c9ebae0c6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Ios.js:192 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Ios.js:237 \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/webapp/js/diagramly/sidebar/Sidebar-Ios.js"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"04e9297113a07f557b8f9b9e9be3787da3dbdd452eef184360afce1fa37bb5a9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-UML25.js:201 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-UML25.js:215 \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/webapp/js/diagramly/sidebar/Sidebar-UML25.js"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f251b78384a088d7d303b0d7417e901d36105fbfa7f6e2440e5fdb254e00979"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-UML25.js:1082 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-UML25.js:1119 \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/webapp/js/diagramly/sidebar/Sidebar-UML25.js"},"region":{"startLine":1082}}}],"partialFingerprints":{"codehealthFindingId/v1":"957e409523f72d756ce500cf466a558e1ca2e4c0e2b3e00be6dda0bf5e5eb388"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-WebIcons.js:8 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-WebIcons.js:375 \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/webapp/js/diagramly/sidebar/Sidebar-WebIcons.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"991ad37d559e46f0cc0f30a6ed371f2d8f48685956e4225ee44796a84b5f3c53"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/main/webapp/js/diagramly/vsdx/importer.js:3153 \u00B7 src/main/webapp/js/diagramly/vsdx/importer.js:3213 \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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":3153}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2cc5e68febfd34d3eb7c120ed86e0d45fd923c83622e5dd1f833f9d67d3ffae"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): etc/dependencies/dompurify-smoke.js:52 \u00B7 src/main/webapp/js/grapheditor/Graph.js:5106 \u2014 the two spans are one implementation copied and then locally edited \u2014 97 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etc/dependencies/dompurify-smoke.js"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"724a3d9f88c8fd2f1bc2fa9ef9484412f2fea86ae7a4a2d2fd18d8bba62fdc6b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/main/webapp/js/diagramly/App.js:5737 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:30940 \u2014 the 2 copies are spread across 2 files, 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/webapp/js/diagramly/App.js"},"region":{"startLine":5737}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dd6bbc82030ecaa49c667e4a38ebdb2577f3fb5f8673ad77025a646e3d915a8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/main/webapp/js/diagramly/App.js:6153 \u00B7 src/main/webapp/js/diagramly/ElectronApp.js:2490 \u2014 the 2 copies are spread across 2 files, 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/webapp/js/diagramly/App.js"},"region":{"startLine":6153}}}],"partialFingerprints":{"codehealthFindingId/v1":"77f6296c191b32d51fb8d82a1ebb37e6eccb63750a3ecf49dda7a35e11145c39"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/main/webapp/js/diagramly/App.js:7037 \u00B7 src/main/webapp/js/diagramly/App.js:7350 \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/webapp/js/diagramly/App.js"},"region":{"startLine":7037}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cb4ae54d1f39074257dbbc0ef5e09f4546ccb504f11d59dc31abd4975d880e0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/main/webapp/js/diagramly/App.js:7577 \u00B7 src/main/webapp/js/diagramly/App.js:7589 \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/webapp/js/diagramly/App.js"},"region":{"startLine":7577}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2148058a026aa57ccb4a6e473373cfc54132055a3dc5cfdab13fe6128ef5e89"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Dialogs.js:1244 \u00B7 src/main/webapp/js/diagramly/Editor.js:9412 \u2014 the 2 copies are spread across 2 files, 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":1244}}}],"partialFingerprints":{"codehealthFindingId/v1":"14703467b70c672983201625daa5a4cd351f671cf45bb7ac1f3550e63cab2a55"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Dialogs.js:3142 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:12820 \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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":3142}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd7708c835686db9ab9668f421b0fba9f43f65d03d22f7353304e3d9efad0918"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Dialogs.js:19669 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:19707 \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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":19669}}}],"partialFingerprints":{"codehealthFindingId/v1":"de9e2762fb4a22899d59521d8b4853c9fa6b4ce2780dda746863cdadcf9007b1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/main/webapp/js/diagramly/DiffSync.js:495 \u00B7 src/main/webapp/js/diagramly/DiffSync.js:1031 \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/webapp/js/diagramly/DiffSync.js"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"f587bf61d3614a64ec50aebbc4591e1961ba1ead71e03521f1a659ee60fa9e64"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/main/webapp/js/diagramly/DriveLibrary.js:25 \u00B7 src/main/webapp/js/diagramly/OneDriveLibrary.js:25 \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/webapp/js/diagramly/DriveLibrary.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"675f40c53b3ab67c4ea20e1cbd57de92439bbca9c143a7843dcf9a8d261e0fd5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Editor.js:2484 \u00B7 src/main/webapp/js/diagramly/Editor.js:2498 \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/webapp/js/diagramly/Editor.js"},"region":{"startLine":2484}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f833689f100ad44e6ae82da4a040827d10a949ef6733c4128372e0f116348db"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Editor.js:6011 \u00B7 src/main/webapp/js/diagramly/Editor.js:6060 \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/webapp/js/diagramly/Editor.js"},"region":{"startLine":6011}}}],"partialFingerprints":{"codehealthFindingId/v1":"87b50cf40723d2d58a2346d93807690e392856a6b90c8ca8b3d68ff8fbbd6666"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Editor.js:14650 \u00B7 src/main/webapp/js/diagramly/Editor.js:14665 \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/webapp/js/diagramly/Editor.js"},"region":{"startLine":14650}}}],"partialFingerprints":{"codehealthFindingId/v1":"77772f961ce58c0ec5c4e6b4ddbc82d259b790b3824178bc8e56efd7a1ae8bd9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/main/webapp/js/diagramly/EditorUi.js:3697 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:13502 \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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":3697}}}],"partialFingerprints":{"codehealthFindingId/v1":"9976134b93894198cba5ae34d12c32d210e631b7633ea3fedd30f1dacd92d083"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/main/webapp/js/diagramly/EditorUi.js:4274 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:9805 \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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":4274}}}],"partialFingerprints":{"codehealthFindingId/v1":"614c7b2e20804a65025520d2090de9692d4f5ec60075448c4127b035fe938dc5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/main/webapp/js/diagramly/EditorUi.js:9382 \u00B7 src/main/webapp/js/diagramly/ElectronApp.js:2721 \u2014 the 2 copies are spread across 2 files, 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":9382}}}],"partialFingerprints":{"codehealthFindingId/v1":"57ee15bafb2c55ded3b3aa95e03a2e0099176c268a445ebce2bacf9df1dd77c4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/main/webapp/js/diagramly/EditorUi.js:16237 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:16311 \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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":16237}}}],"partialFingerprints":{"codehealthFindingId/v1":"3763efc017cca5dd5563a6ebaafde54a41a64de005f569962cae6e601ebc3c16"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): src/main/webapp/js/diagramly/EditorUi.js:21599 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:21693 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:22498 \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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":21599}}}],"partialFingerprints":{"codehealthFindingId/v1":"5718f01db6f0e4b09e456db0c14bc22d7e2f6565b1290ecb5b525b0da13a06ad"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/main/webapp/js/diagramly/EditorUi.js:22711 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:22726 \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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":22711}}}],"partialFingerprints":{"codehealthFindingId/v1":"753dc3933d86cbff6ec4a6d5d343d9fa0f95a238cab444d0cb5ef9cfb80136ac"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/main/webapp/js/diagramly/EditorUi.js:27163 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:27259 \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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":27163}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d235371ae256326ab89592aeafe9ce5f0c1cd51dfeed27137cfc80f22e68102"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/main/webapp/js/diagramly/EditorUi.js:29182 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:30459 \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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":29182}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed06639b94b76cbc6c9c8cf8e67aa3e69d0a851c1f447f2849c26413bdb1cec0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): src/main/webapp/js/diagramly/EditorUi.js:38146 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:38736 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:39668 \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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":38146}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cae944f7d990a1b6e26a2f7ae3152d5bcbe24d50da3ec341c730835761b47cc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/main/webapp/js/diagramly/EditorUi.js:42075 \u00B7 src/main/webapp/js/diagramly/ElectronApp.js:2878 \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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":42075}}}],"partialFingerprints":{"codehealthFindingId/v1":"937bab7f22f7b5b89991f9c601b062e6979c9237cc079b15ea8c0c877276f7d6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Extensions.js:5379 \u00B7 src/main/webapp/js/diagramly/Extensions.js:5394 \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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":5379}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5e1bf1f6823f4e491bee2294669b3df83e4888e499fd4d511e63c12bc2a8eb6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Extensions.js:9229 \u00B7 src/main/webapp/js/diagramly/Extensions.js:9331 \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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":9229}}}],"partialFingerprints":{"codehealthFindingId/v1":"baa3e8ef161a8543a865ae89d9b8a1a74410a3198b81d3763fa0a3a4640a7966"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Extensions.js:12531 \u00B7 src/main/webapp/js/diagramly/Extensions.js:12568 \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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":12531}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e88e386b2fa1f92876af3da6fa67ba73ccbdfeade1663e30d1b224f1e96a4fb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/main/webapp/js/diagramly/ForceExplorer.js:2117 \u00B7 src/main/webapp/js/diagramly/ForceExplorer.js:2510 \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/webapp/js/diagramly/ForceExplorer.js"},"region":{"startLine":2117}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2885684cc37279a7addfe1db6d7d9faebd0d4f042b2be9db7e72514963963be"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Menus.js:728 \u00B7 src/main/webapp/js/diagramly/Menus.js:3384 \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/webapp/js/diagramly/Menus.js"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a2e894be5bfc7adb3899ef36952a66b24471acbc607ba713ac1397586cac182"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Menus.js:3242 \u00B7 src/main/webapp/js/diagramly/Menus.js:3392 \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/webapp/js/diagramly/Menus.js"},"region":{"startLine":3242}}}],"partialFingerprints":{"codehealthFindingId/v1":"87df3e8f6d65b57ee9bd75afd2b730019ff159b8406e9277cb25ca22a0816f07"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): src/main/webapp/js/diagramly/Menus.js:3779 \u00B7 src/main/webapp/js/diagramly/Menus.js:5946 \u00B7 src/main/webapp/js/diagramly/Menus.js:6034 \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/webapp/js/diagramly/Menus.js"},"region":{"startLine":3779}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ee755f3ce50419105b22f943e4f0302e7e6837f4e7a4b23bee39d4098faf8de"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Trees.js:2048 \u00B7 src/main/webapp/js/diagramly/Trees.js:2067 \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/webapp/js/diagramly/Trees.js"},"region":{"startLine":2048}}}],"partialFingerprints":{"codehealthFindingId/v1":"d670d8a29f6d8b5cc993d73ea6d3ca6efc3755c3af9154ea1fb4354d2fcbfbb9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/main/webapp/js/diagramly/graphml/mxGraphMlCodec.js:342 \u00B7 src/main/webapp/js/diagramly/graphml/mxGraphMlCodec.js:357 \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/webapp/js/diagramly/graphml/mxGraphMlCodec.js"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9befd2e70846e08e4f1c935ead64a21d1d80d2f4f44ed6807f840763c75f107"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 22 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-AWS3.js:54 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-AWS3.js:111 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-AWS3.js:136 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-AWS3.js:157 \u00B7 \u002B18 more site(s) not listed \u2014 all 22 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/webapp/js/diagramly/sidebar/Sidebar-AWS3.js"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"220ac0dfb66ba3ffb388df07be50a4f7f26122a3f286b20fdb026a45595f22aa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-AWS4.js:535 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-AWS4.js:1155 \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/webapp/js/diagramly/sidebar/Sidebar-AWS4.js"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3b2f96656a13c6aec7426df8c27092e002c028e92edcdd4993a113123759e5d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-AWS4.js:581 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-AWS4.js:867 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-AWS4.js:1697 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-AWS4.js:1969 \u2014 all 4 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/webapp/js/diagramly/sidebar/Sidebar-AWS4.js"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"88672bcb5f1bb70838635854d83b48041a7b34b772249e4fd289befacd30c944"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-AWS4.js:1133 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-AWS4.js:1755 \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/webapp/js/diagramly/sidebar/Sidebar-AWS4.js"},"region":{"startLine":1133}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c22a3920aa704d7c4f7fc36e5a0a3209a06c4a40d483beff70eb0215d5c28dc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-AWS4.js:1205 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-AWS4.js:2176 \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/webapp/js/diagramly/sidebar/Sidebar-AWS4.js"},"region":{"startLine":1205}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f405bed4646055b744a83ff65ab50da024885c6360ee8becef951676251bf89"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 18 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-AlliedTelesis.js:56 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-AlliedTelesis.js:101 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-AlliedTelesis.js:128 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-AlliedTelesis.js:159 \u00B7 \u002B14 more site(s) not listed \u2014 the 18 copies are spread across 2 files, 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/webapp/js/diagramly/sidebar/Sidebar-AlliedTelesis.js"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"19ee59f5344ef26cb5d9f5aa7e93a4181f6c81663827f8f7342869fc0472e6dc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Android.js:561 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Arrows2.js:77 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:4770 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Cabinet.js:232 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies are spread across 5 files, 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/webapp/js/diagramly/sidebar/Sidebar-Android.js"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"c515f5912a65f93542563161836c8fed924fe16c043d725dc66bc123de625dae"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:2707 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:2738 \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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":2707}}}],"partialFingerprints":{"codehealthFindingId/v1":"de23e30d7013981d4c7adcc60945b4eeec1e2ae66f73367a19dd5050740511ee"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 17 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-GCP2.js:1021 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-GCP2.js:1037 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-GCP2.js:1053 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-GCP2.js:1069 \u00B7 \u002B13 more site(s) not listed \u2014 all 17 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/webapp/js/diagramly/sidebar/Sidebar-GCP2.js"},"region":{"startLine":1021}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ba495e20a0b85db31d9a82e46f4938b8204d2d5a0f1d58685a848c8822d13db"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:840 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:2209 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:2414 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:2740 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies are spread across 2 files, 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/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js"},"region":{"startLine":840}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed2e29982222c8a2885aea79f650b8b85e25c740d0e110e257a8dccd6e1c426e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 10 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-IBMCloud.js:86 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-IBMCloud.js:107 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-IBMCloud.js:134 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-IBMCloud.js:157 \u00B7 \u002B6 more site(s) not listed \u2014 all 10 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/webapp/js/diagramly/sidebar/Sidebar-IBMCloud.js"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"da02ef4113f9a23d6a3e857b0fec9a60e1f7c44e24e86b27fba31d6000b55b30"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/main/webapp/js/diagramly/vsdx/bmpDecoder.js:194 \u00B7 src/main/webapp/js/diagramly/vsdx/bmpDecoder.js:224 \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/webapp/js/diagramly/vsdx/bmpDecoder.js"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdb2caaae9831c04101f9af3fe2a5abfcef710e379dfc6fc96cb990becc8f948"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5 locations): src/main/webapp/js/diagramly/vsdx/importer.js:2790 \u00B7 src/main/webapp/js/diagramly/vsdx/importer.js:3149 \u00B7 src/main/webapp/js/diagramly/vsdx/importer.js:3207 \u00B7 src/main/webapp/js/diagramly/vsdx/importer.js:3350 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":2790}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2feaa1e1e8fc1307e05b6bcb9b4a1f6f647370e8c6fcf32882f0f733b1d9465"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Dialogs.js:845 \u00B7 src/main/webapp/js/diagramly/Editor.js:15200 \u2014 the 2 copies are spread across 2 files, 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":845}}}],"partialFingerprints":{"codehealthFindingId/v1":"62d76d1c32c1152c966f7ae464bbc60308c25a8d60d6ed57140a7f5e5489a671"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Dialogs.js:1538 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:1595 \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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":1538}}}],"partialFingerprints":{"codehealthFindingId/v1":"55acd27e200163b14ee480f395b10d1bdc2aabdbfe78d77bb178c03cd5aee900"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): src/main/webapp/js/diagramly/Dialogs.js:7219 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:7406 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:7505 \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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":7219}}}],"partialFingerprints":{"codehealthFindingId/v1":"9030b5e03bee6a474bd802023b9e2572240c6ecbb59b2223e17f83d53d2fc708"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Dialogs.js:9902 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:9918 \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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":9902}}}],"partialFingerprints":{"codehealthFindingId/v1":"f765493fa22eb85a3aeef21b8b5beae5240e5dc43bf215201beadf8ccf9bbc06"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Dialogs.js:14204 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:14228 \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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":14204}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d840e12d494a665173acdfabcca67918563745833ec2dc011cd336e77a4913c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Dialogs.js:21294 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:7201 \u2014 the 2 copies are spread across 2 files, 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":21294}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec655d6349d073c2393558ef67fa466d3b2e5a1903ec211e640c2e0f7ba86822"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Dialogs.js:21332 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:22827 \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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":21332}}}],"partialFingerprints":{"codehealthFindingId/v1":"e19f0d608e65ed48e5104fce133d240290b5d9403ab36fc2ea74498041021ed8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Dialogs.js:26203 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:26215 \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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":26203}}}],"partialFingerprints":{"codehealthFindingId/v1":"134e8c478b06a2bc1b3a8abf342ea351d3378f79212a62b72bf583482482ae15"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Dialogs.js:26937 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:26960 \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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":26937}}}],"partialFingerprints":{"codehealthFindingId/v1":"b39f2ce3c441d1b2fa2d29b59644ac971b161c3ec3bfe1b6ea35d083b100ea3e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/main/webapp/js/diagramly/DiffSync.js:2567 \u00B7 src/main/webapp/js/diagramly/DiffSync.js:2632 \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/webapp/js/diagramly/DiffSync.js"},"region":{"startLine":2567}}}],"partialFingerprints":{"codehealthFindingId/v1":"04a6b3bf0e782ace67cc36788eea23fee6be06b68683111e028a275668eba84c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/main/webapp/js/diagramly/DrawioFile.js:2555 \u00B7 src/main/webapp/js/diagramly/DrawioFile.js:4201 \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/webapp/js/diagramly/DrawioFile.js"},"region":{"startLine":2555}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2ef80ea3b27cea36e94df867b3b00d147131161597260f1820d3aa33e59c18a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/main/webapp/js/diagramly/DrawioFileSync.js:2705 \u00B7 src/main/webapp/js/diagramly/DrawioFileSync.js:3469 \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/webapp/js/diagramly/DrawioFileSync.js"},"region":{"startLine":2705}}}],"partialFingerprints":{"codehealthFindingId/v1":"b15669e5b229bddf0eebe62e1a39e333165e73b4315a4247de8db7bbad3ba99d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/main/webapp/js/diagramly/DriveClient.js:3075 \u00B7 src/main/webapp/js/diagramly/DriveClient.js:3144 \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/webapp/js/diagramly/DriveClient.js"},"region":{"startLine":3075}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaf7f37d667984377dab355d933204eae990a4dffc315fc47d223373c1a5d3c9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): src/main/webapp/js/diagramly/DriveClient.js:1052 \u00B7 src/main/webapp/js/diagramly/OneDriveFile.js:440 \u2014 the two spans are one implementation copied and then locally edited \u2014 57 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DriveClient.js"},"region":{"startLine":1052}}}],"partialFingerprints":{"codehealthFindingId/v1":"8139b22f3427d2352f178fc4b3686139ec78aa1b461959f6d78935682c109a9a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Editor.js:1187 \u00B7 src/main/webapp/js/diagramly/Editor.js:1201 \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/webapp/js/diagramly/Editor.js"},"region":{"startLine":1187}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7dff5c8771aa01aef07f0a9df05fb26fc279b81ed100a81dc64fdce25ddc438"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Editor.js:5159 \u00B7 src/main/webapp/js/diagramly/Pages.js:1608 \u2014 the 2 copies are spread across 2 files, 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/webapp/js/diagramly/Editor.js"},"region":{"startLine":5159}}}],"partialFingerprints":{"codehealthFindingId/v1":"78a9e1ee542bbbf410363c2a3c580e1cb28df7ddeeb06578d381221744a3185a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Editor.js:14182 \u00B7 src/main/webapp/js/diagramly/Editor.js:14223 \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/webapp/js/diagramly/Editor.js"},"region":{"startLine":14182}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f0d84b11875cb03d09163aef8ec07360ccdd2881ae3b4f561f3ca13a8233317"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4 locations): src/main/webapp/js/diagramly/EditorUi.js:14385 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:14503 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:14628 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:14701 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":14385}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dc912eba08786d2d4fcc80207f54a599fa7b927ec41730a9863ab3edab9d5a2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/main/webapp/js/diagramly/EditorUi.js:25622 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:42007 \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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":25622}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca543c86dbbbef8a3c640d5b9aaa0ad8f52c51762c9a605a661668f83210ba87"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/main/webapp/js/diagramly/EditorUi.js:30331 \u00B7 src/main/webapp/js/diagramly/GraphViewer.js:652 \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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":30331}}}],"partialFingerprints":{"codehealthFindingId/v1":"71621fd17a7934abd615a44515c69bc8b7532a3140bf55c5c4e74a07aaf22608"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/main/webapp/js/diagramly/EditorUi.js:34842 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:35043 \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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":34842}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca934b616da62f92421d2517fd6dedcacd5ab639ab470ed6e8e11c280b0cfe65"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/main/webapp/js/diagramly/EditorUi.js:39715 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:39731 \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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":39715}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb62b50b4535b641b05e9af604757b3b8da14d0a5bf01259641736f4afdcd39e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): src/main/webapp/js/diagramly/EditorUi.js:21164 \u00B7 src/main/webapp/js/diagramly/Pages.js:619 \u2014 the two spans are one implementation copied and then locally edited \u2014 62 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":21164}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac42d49f750f3f9345404d1cb447de71186a339f5538c461d9b2c89db53f74bd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): src/main/webapp/js/diagramly/EditorUi.js:27512 \u00B7 src/main/webapp/js/diagramly/SimpleClassic.js:19 \u2014 the two spans are one implementation copied and then locally edited \u2014 57 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":27512}}}],"partialFingerprints":{"codehealthFindingId/v1":"32950ba2ea976505196be994eab1d43dc258dd5129829bdf6f36cbfd69e58b89"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/main/webapp/js/diagramly/ElectronApp.js:371 \u00B7 src/main/webapp/js/diagramly/Menus.js:890 \u2014 the 2 copies are spread across 2 files, 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/webapp/js/diagramly/ElectronApp.js"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"e240df8da783d9ff96c7ad97f784b99d4ea4134cda50d18ec13acc870f37064e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/main/webapp/js/diagramly/ElectronApp.js:714 \u00B7 src/main/webapp/js/diagramly/Extensions.js:7126 \u2014 the 2 copies are spread across 2 files, 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/webapp/js/diagramly/ElectronApp.js"},"region":{"startLine":714}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ac26f8d6a6ae96a5c467acc5c3ba96dd5204118d543ff758c3fd0b25c546f80"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): src/main/webapp/js/diagramly/ElkLayout.js:115 \u00B7 src/main/webapp/js/diagramly/LibavoidRouting.js:146 \u2014 the two spans are one implementation copied and then locally edited \u2014 54 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ElkLayout.js"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"535588c332c948baf2d541a90b462a1c9fd868ebdaeb978b37dfab8f0482917b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4 locations): src/main/webapp/js/diagramly/Extensions.js:5023 \u00B7 src/main/webapp/js/diagramly/Extensions.js:5223 \u00B7 src/main/webapp/js/diagramly/Extensions.js:5254 \u00B7 src/main/webapp/js/diagramly/Extensions.js:5284 \u2014 all 4 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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":5023}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab8b77305dba144200fe4ec2bf164f743a996b1732f95a7486e13a36a01de0c1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): src/main/webapp/js/diagramly/Extensions.js:7571 \u00B7 src/main/webapp/js/diagramly/Extensions.js:11923 \u00B7 src/main/webapp/js/diagramly/Extensions.js:12151 \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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":7571}}}],"partialFingerprints":{"codehealthFindingId/v1":"384a8ececfac6bc28c5bafff88a4383a8c2d2d63353aae639a40f0c8e54795da"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Extensions.js:12879 \u00B7 src/main/webapp/js/diagramly/Extensions.js:12956 \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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":12879}}}],"partialFingerprints":{"codehealthFindingId/v1":"01e836ad12e5f26388b24d619073e5728a7b5a7e68476ff140a894218658ece9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/main/webapp/js/diagramly/LightboxModern.js:1594 \u00B7 src/main/webapp/js/diagramly/LightboxModern.js:1765 \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/webapp/js/diagramly/LightboxModern.js"},"region":{"startLine":1594}}}],"partialFingerprints":{"codehealthFindingId/v1":"af22914889910543d1dd9fc5b3a37e9c0c86240a504c1be99bb0bf6a27cb3f4b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Menus.js:814 \u00B7 src/main/webapp/js/diagramly/Menus.js:3262 \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/webapp/js/diagramly/Menus.js"},"region":{"startLine":814}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4d4ef881855d693c5cf7470142d5c6bea8aca848d61f0651a1ef722261c489a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4 locations): src/main/webapp/js/diagramly/Menus.js:3796 \u00B7 src/main/webapp/js/diagramly/Menus.js:5846 \u00B7 src/main/webapp/js/diagramly/Menus.js:5963 \u00B7 src/main/webapp/js/diagramly/Menus.js:6051 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Menus.js"},"region":{"startLine":3796}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ed6c5727f18ddd0b6b018205e5d6ae9b505f9fcb099fd3ac73d86fd0a8764e2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4 locations): src/main/webapp/js/diagramly/Menus.js:3829 \u00B7 src/main/webapp/js/diagramly/Menus.js:5879 \u00B7 src/main/webapp/js/diagramly/Menus.js:5988 \u00B7 src/main/webapp/js/diagramly/Menus.js:6084 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Menus.js"},"region":{"startLine":3829}}}],"partialFingerprints":{"codehealthFindingId/v1":"c92eeb2c693f85bdde34148605fa96e1898e638c80fb37eea345b43097325b64"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): src/main/webapp/js/diagramly/Menus.js:3850 \u00B7 src/main/webapp/js/diagramly/Menus.js:5901 \u00B7 src/main/webapp/js/diagramly/Menus.js:6106 \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/webapp/js/diagramly/Menus.js"},"region":{"startLine":3850}}}],"partialFingerprints":{"codehealthFindingId/v1":"0090f113b6594334f27057189bfa14b77d995ce1bc0df27dcf5c1f86e9b620e5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Trees.js:1210 \u00B7 src/main/webapp/js/diagramly/Trees.js:1244 \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/webapp/js/diagramly/Trees.js"},"region":{"startLine":1210}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e784fb26559488ffb3e198a897e8d1e2f65fcd8410859a2343ad0a9b40dc032"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/main/webapp/js/diagramly/graphml/mxGraphMlCodec.js:1608 \u00B7 src/main/webapp/js/diagramly/graphml/mxGraphMlCodec.js:1913 \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/webapp/js/diagramly/graphml/mxGraphMlCodec.js"},"region":{"startLine":1608}}}],"partialFingerprints":{"codehealthFindingId/v1":"df4eeaa8d39d0a49cd74568871b47aa08ca0d2dd7f7f46126d73da80ad397a7a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): src/main/webapp/js/diagramly/graphml/mxGraphMlCodec.js:2655 \u00B7 src/main/webapp/js/diagramly/graphml/mxGraphMlCodec.js:2676 \u00B7 src/main/webapp/js/diagramly/graphml/mxGraphMlCodec.js:2694 \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/webapp/js/diagramly/graphml/mxGraphMlCodec.js"},"region":{"startLine":2655}}}],"partialFingerprints":{"codehealthFindingId/v1":"97c1d2ed58f06e4ffa35cee03997127c9f1e5bd12f2af65edd15ccc4eb183a34"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 56 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Azure2.js:181 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Azure2.js:232 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Azure2.js:267 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Azure2.js:290 \u00B7 \u002B52 more site(s) not listed \u2014 the 56 copies are spread across 4 files, 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/webapp/js/diagramly/sidebar/Sidebar-Azure2.js"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"d84844601fe8ee0e02e25cf1f4fc2d634f337a723343d45400b1211dfa5ee2f1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:397 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:504 \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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"cec84b447fd61a5c02c98d72eda789025a9bfbb6ca2466609ff9c6ed1e1e2dd7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:972 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:1020 \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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":972}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fc4bdf101f2785afea6cd98a5ab5ca347085ab96e206ecdb678e428443cec76"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:1082 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:1130 \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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":1082}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bc856894ffcb941c689505a781d5703696e61646fd8c3a9321eded05fb53dd4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 10 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:1399 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:1439 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:1474 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:1508 \u00B7 \u002B6 more site(s) not listed \u2014 all 10 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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":1399}}}],"partialFingerprints":{"codehealthFindingId/v1":"eda21958e5ae096dbe1910e330622eaca40f88d5e26ecf253d622e5f35d2741c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:1689 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:1704 \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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":1689}}}],"partialFingerprints":{"codehealthFindingId/v1":"be1c76566417e3ace73edf7cbb9f99b586683509007e7720f5a90723818d68f9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:3058 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:3295 \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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":3058}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea16714d53f2edf9209c03cc2257d3ea12dde2a6bd14ea4bb145eb7b99e6fe1a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:3506 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:3534 \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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":3506}}}],"partialFingerprints":{"codehealthFindingId/v1":"129bfa4f905972e587a469021cc2e4d1825f6b73b3cf3a61724d495afaaaa86d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:4173 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:4202 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:4231 \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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":4173}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ad4fac323814577ae27ca94a9dadbb28e23983d6045e820326912f92d190c1c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-C4.js:23 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-C4.js:37 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-C4.js:51 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-C4.js:65 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-C4.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"be591719960c43a6fec36002d6bd085a8cb9aab4f021c860dbc5e3b95f8c56ce"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-C4.js:95 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-C4.js:110 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-C4.js:125 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-C4.js:140 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 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/webapp/js/diagramly/sidebar/Sidebar-C4.js"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"60c25145c65a4ff09b00bd8e5c66c29b8bcee970364690ef53fe53f913103528"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-C4.js:252 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-C4.js:266 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-C4.js:280 \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/webapp/js/diagramly/sidebar/Sidebar-C4.js"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f8d8931972dcded310ecb3f3ab387f48bfcd74866d5d5b61f2262341c999b54"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 11 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Cisco19.js:43 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Cisco19.js:95 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Cisco19.js:145 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Cisco19.js:161 \u00B7 \u002B7 more site(s) not listed \u2014 all 11 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/webapp/js/diagramly/sidebar/Sidebar-Cisco19.js"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"9efa456385d235451e40ecd004de0a5d914b4ed4ddc088b5414b00e59e407169"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 32 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-EIP.js:94 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-EIP.js:137 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-EIP.js:197 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-EIP.js:331 \u00B7 \u002B28 more site(s) not listed \u2014 the 3 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/webapp/js/diagramly/sidebar/Sidebar-EIP.js"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab4b2bf5ba921b51ac06401ea5a7ed44f046aa43055f6e5be802bfba3d120114"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 12 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-GCP2.js:544 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-GCP2.js:582 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-GCP2.js:614 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-GCP2.js:655 \u00B7 \u002B8 more site(s) not listed \u2014 all 12 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/webapp/js/diagramly/sidebar/Sidebar-GCP2.js"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"f76e7c8ad5ed6344ab2e16ea684b84edba8592eab7a4bc0ef4c2814e9a76eb9a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:49 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:75 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:111 \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/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"eea5ff8c0a9c6ca42aac68112a14e0bf3927995eb7f3cca1dfc6c11e842ffaf1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:169 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:211 \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/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb88c14fa99a668398444473b1c7bf37b6ae234dc2a288d3203aeb89cfa2928e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 19 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:622 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:705 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:742 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:780 \u00B7 \u002B15 more site(s) not listed \u2014 the 19 copies are spread across 2 files, 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/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"f990fc566ddb17e7c5a525eb342bb1250c4c401057b715703cd3b401540a99ab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:1325 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:1576 \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/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js"},"region":{"startLine":1325}}}],"partialFingerprints":{"codehealthFindingId/v1":"677c9f77a6177532729dbb7395395d6d5a6401a3332c7755b836039aad570c35"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js:475 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js:531 \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/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b580bb5097e95375f3fa042c0e627943854dc6f553280857fdec8332a409490"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Ios.js:222 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Ios.js:267 \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/webapp/js/diagramly/sidebar/Sidebar-Ios.js"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbcd629616423c6aa9857cf716e66d1e1fb857d06d0978dc705f5a3e69a1aca9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 6 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Mockup.js:31 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Mockup.js:128 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Mockup.js:282 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Mockup.js:519 \u00B7 \u002B2 more site(s) not listed \u2014 all 6 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/webapp/js/diagramly/sidebar/Sidebar-Mockup.js"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"8214b69d53d32caf9cdf7771cdf333dc74f14096d706f4ab44834f0c15fdde3b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Mockup.js:69 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Mockup.js:94 \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/webapp/js/diagramly/sidebar/Sidebar-Mockup.js"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"489abc67a389a07549b5ec61406ef0f2168881ae8277449d148350ebe3fa951e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Salesforce.js:158 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Salesforce.js:235 \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/webapp/js/diagramly/sidebar/Sidebar-Salesforce.js"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9ec1f93639feda4b27d7140a4c636b4b1e656e4e681c765850735d2f5af466c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-UML25.js:155 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-UML25.js:167 \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/webapp/js/diagramly/sidebar/Sidebar-UML25.js"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"67db6a4570020dd1ff45055fdcf45e35e975714cdf4b20f565b917a5779f0fc6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-UML25.js:594 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-UML25.js:606 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-UML25.js:619 \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/webapp/js/diagramly/sidebar/Sidebar-UML25.js"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4e4cba90f4e446d12a845cae69b514c4a73c5c6f588d24d186c79990b416fe3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/main/webapp/js/diagramly/util/mxAsyncCanvas.js:139 \u00B7 src/main/webapp/js/diagramly/util/mxJsCanvas.js:516 \u2014 the 2 copies are spread across 2 files, 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/webapp/js/diagramly/util/mxAsyncCanvas.js"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"00e99985b4578b42b03b916813b53b2532fb760ac0e661fb42e3baa56fce3e28"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/main/webapp/js/diagramly/vsdx/importer.js:142 \u00B7 src/main/webapp/js/diagramly/vsdx/importer.js:2960 \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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"238208e0fe610618575f79c40aaa7b02c920ac7e6b82f8780dec2769eda12937"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/main/webapp/js/diagramly/vsdx/importer.js:3356 \u00B7 src/main/webapp/js/diagramly/vsdx/importer.js:3508 \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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":3356}}}],"partialFingerprints":{"codehealthFindingId/v1":"caf0ea3f4b46a73c1501832a4580e31c01c4da22ea1d4352834c2976e43c00dd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/main/webapp/js/diagramly/App.js:5958 \u00B7 src/main/webapp/js/diagramly/App.js:6939 \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/webapp/js/diagramly/App.js"},"region":{"startLine":5958}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f688561f8b28bef60344946075bcf928338fa9ba6a952513da2c0e79984d523"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Dialogs.js:936 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:6059 \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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"8626c6d125ae96741ff27918387a41b0ccf24f351badcb86be9cd02f7a168001"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Dialogs.js:1124 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:1137 \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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":1124}}}],"partialFingerprints":{"codehealthFindingId/v1":"195356e26554f20d3be637a1ea5b1190e69413a7e3e31f406da1b2e3045810c4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Dialogs.js:1156 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:5813 \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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":1156}}}],"partialFingerprints":{"codehealthFindingId/v1":"594f722dc494e2962bee06122142e992b4c8e5f19d20d9742da492ee98bb6603"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Dialogs.js:1331 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:21860 \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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":1331}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5baff84bd271feb423f4faf4c44819885ac86280f6443ad3cb710fcccdf91b6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Dialogs.js:5854 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:20813 \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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":5854}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9a9c793a516abac862adcbfb51ed26686c350ddd97cf57f48c3b85d187a8c7f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): src/main/webapp/js/diagramly/Dialogs.js:6441 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:21059 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:24159 \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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":6441}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1801c8ccff408ed284924fd2436f6117dafdad7963afef6e358b6a50fee25c8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Dialogs.js:9934 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:9961 \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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":9934}}}],"partialFingerprints":{"codehealthFindingId/v1":"30e8c28b030781b96206fc2ee85cd41bdc3f52dce197aa651ea908918ff288e3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Dialogs.js:14969 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:15058 \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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":14969}}}],"partialFingerprints":{"codehealthFindingId/v1":"14c656188a8dd6c881aa951415a312b2f4b2ae28c9e585fa5aea457391f2439a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Dialogs.js:19481 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:19492 \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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":19481}}}],"partialFingerprints":{"codehealthFindingId/v1":"928cdfedd20fc106b65c911c83bff9fb1d94604af07f5c90161afd0bc852e50d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Dialogs.js:21283 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:7184 \u2014 the 2 copies are spread across 2 files, 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":21283}}}],"partialFingerprints":{"codehealthFindingId/v1":"7adf2cd9024af451f5fa78885259305d27db2b806c348111316739259267d9d6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Dialogs.js:21693 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:21741 \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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":21693}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb08638de8afcb80bbe6f203097636c9c5d1b98f59490450ed4a2d58085c98e0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Dialogs.js:23977 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:24517 \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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":23977}}}],"partialFingerprints":{"codehealthFindingId/v1":"812c4ae6922fc47df605af817a47c061c6eb2872a55093442509d08fc0bad724"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): src/main/webapp/js/diagramly/Dialogs.js:24512 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:8321 \u00B7 src/main/webapp/js/diagramly/LayoutPicker.js:1840 \u2014 the 3 copies are spread across 3 files, 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":24512}}}],"partialFingerprints":{"codehealthFindingId/v1":"45b0f95e08c18d41d70969487301d518d1e0c235ecafb1ec07cfdc32131a1fad"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Dialogs.js:26282 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:26338 \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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":26282}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a53dc6555938b3180ee51fc7361cdf1a0e89334316ca5b8a15b915512cda421"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): src/main/webapp/js/diagramly/Dialogs.js:18493 \u00B7 src/main/webapp/js/grapheditor/Editor.js:1104 \u2014 the two spans are one implementation copied and then locally edited \u2014 55 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":18493}}}],"partialFingerprints":{"codehealthFindingId/v1":"818d767478d2798925952f184742274a0f9ba8d3b2adc0b35145b90b0b729bab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Editor.js:1282 \u00B7 src/main/webapp/js/diagramly/Editor.js:1319 \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/webapp/js/diagramly/Editor.js"},"region":{"startLine":1282}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8e68d717a7068a822fca9312cb46973b0696cf8a882e112110173b50fab5acf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): src/main/webapp/js/diagramly/Editor.js:2982 \u00B7 src/main/webapp/js/diagramly/Editor.js:5263 \u00B7 src/main/webapp/js/diagramly/Embed.js:527 \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/webapp/js/diagramly/Editor.js"},"region":{"startLine":2982}}}],"partialFingerprints":{"codehealthFindingId/v1":"90656e3c964033f82482f8b040fbf81bd7083bfda32f5de977a95d196c873219"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Editor.js:8522 \u00B7 src/main/webapp/js/diagramly/Editor.js:8569 \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/webapp/js/diagramly/Editor.js"},"region":{"startLine":8522}}}],"partialFingerprints":{"codehealthFindingId/v1":"be944de7edd912d6354fbe977f5c098395389626515ba4bd9a9aa5f0fdba1d67"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Editor.js:9612 \u00B7 src/main/webapp/js/diagramly/Editor.js:9743 \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/webapp/js/diagramly/Editor.js"},"region":{"startLine":9612}}}],"partialFingerprints":{"codehealthFindingId/v1":"02ba383b6bcd300fad5c1ddd4f06eb16aee8675861183a98e4a81d8f00f2e7ea"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/main/webapp/js/diagramly/EditorUi.js:969 \u00B7 src/main/webapp/js/diagramly/Embed.js:809 \u2014 the 2 copies are spread across 2 files, 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":969}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd33441a4fd7bab5cd8dbb637209b5722a74fc32ef359b84bb21e4f6a313bd9f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/main/webapp/js/diagramly/EditorUi.js:6493 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:6530 \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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":6493}}}],"partialFingerprints":{"codehealthFindingId/v1":"2538dd61b5dae4c736c9856c584e393cddc15fbcb9b31040bddd76235880f388"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/main/webapp/js/diagramly/EditorUi.js:6681 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:30825 \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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":6681}}}],"partialFingerprints":{"codehealthFindingId/v1":"51ba980ea500497dda9c31dc178084f8c897251de6ef28389c4eb5cada4936ab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/main/webapp/js/diagramly/EditorUi.js:8639 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:8687 \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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":8639}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5a8c10a09609200161e593bcaba08ceb4222b58d5a957471fd11cbd24b6a9f8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/main/webapp/js/diagramly/EditorUi.js:11272 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:12900 \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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":11272}}}],"partialFingerprints":{"codehealthFindingId/v1":"51fc0baa184991b71862d7647362dd6a8ddc2d3ba0405447b4c113744d029d00"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/main/webapp/js/diagramly/EditorUi.js:12231 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:12242 \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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":12231}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5d9315d1969779512bddd0c3729a89364b99dd81ac2527842ca462a252e3025"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/main/webapp/js/diagramly/EditorUi.js:12503 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:12515 \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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":12503}}}],"partialFingerprints":{"codehealthFindingId/v1":"f88463a1be07946b84bb70c4733dec0c6a933966f3e5d202ebefb29f0962dff9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/main/webapp/js/diagramly/EditorUi.js:14663 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:17456 \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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":14663}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fa7cf5638ba8f140a17f78389a8f47a3b6b7d9ce834c4d7f40380ed04577d60"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/main/webapp/js/diagramly/EditorUi.js:17795 \u00B7 src/main/webapp/js/diagramly/ElectronApp.js:606 \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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":17795}}}],"partialFingerprints":{"codehealthFindingId/v1":"88d371415277dca3d48435f61299ff17d4ebd201103b793f44a1c405b27bd552"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/main/webapp/js/diagramly/EditorUi.js:21582 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:22484 \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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":21582}}}],"partialFingerprints":{"codehealthFindingId/v1":"7179331000a8c26fdc6d4c128f40c5e74d2fcc729e936d52e947396bf104ca60"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/main/webapp/js/diagramly/EditorUi.js:39698 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:39718 \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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":39698}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7ab008c6990441c00b70588b04c417cb98febdc3c5c682825f5156c8e2ea72d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/main/webapp/js/diagramly/EditorUi.js:45663 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:45843 \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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":45663}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1023e4321e08a3eac9ce750fb7d8e6ec58d287f806696d3436e1dc3bee5e246"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/main/webapp/js/diagramly/ElectronApp.js:351 \u00B7 src/main/webapp/js/diagramly/Menus.js:5766 \u2014 the 2 copies are spread across 2 files, 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/webapp/js/diagramly/ElectronApp.js"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfdf2dbf2f6a5f6958b5d9e8355141ee8c7dc0b6679769f668a1b90e4a5e5228"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Extensions.js:10232 \u00B7 src/main/webapp/js/diagramly/Extensions.js:10245 \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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":10232}}}],"partialFingerprints":{"codehealthFindingId/v1":"2587dbc1b19ba43e2d4a3cd0620a9f1a28e6576aa3c176d3cdfac79a67b52324"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Extensions.js:11418 \u00B7 src/main/webapp/js/diagramly/Extensions.js:11456 \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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":11418}}}],"partialFingerprints":{"codehealthFindingId/v1":"980e2c5f3fac634770ae5fa0570f756dd0f0b9b7c94aee760ebba9036ae39469"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Extensions.js:12606 \u00B7 src/main/webapp/js/diagramly/Extensions.js:12634 \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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":12606}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c3ef42fa5b6dd7c35eb010e5d62f083740e70654336bb354eef80d2ef767424"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 7 locations): src/main/webapp/js/diagramly/Extensions.js:13284 \u00B7 src/main/webapp/js/diagramly/Extensions.js:13296 \u00B7 src/main/webapp/js/diagramly/Extensions.js:13308 \u00B7 src/main/webapp/js/diagramly/Extensions.js:13320 \u00B7 \u002B3 more site(s) not listed \u2014 all 7 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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":13284}}}],"partialFingerprints":{"codehealthFindingId/v1":"863df3f31df94aea2d64dd0a2aa519dede6e740a7fc10e032a09e47bf480362b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/main/webapp/js/diagramly/GraphViewer.js:2041 \u00B7 src/main/webapp/js/diagramly/GraphViewer.js:2281 \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/webapp/js/diagramly/GraphViewer.js"},"region":{"startLine":2041}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc164098da31826a0ab261b2bf902c8e53f6f5c304c8ccee80d116126cf9fd51"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/main/webapp/js/diagramly/LightboxModern.js:168 \u00B7 src/main/webapp/js/diagramly/ViewerModern.js:1013 \u2014 the 2 copies are spread across 2 files, 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/webapp/js/diagramly/LightboxModern.js"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3fd0888a02c6a9988ebefbff8c7ebbe8ef1a2b5fe79145f2989d48deccf5852"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/main/webapp/js/diagramly/LightboxModern.js:2378 \u00B7 src/main/webapp/js/diagramly/ViewerModern.js:1982 \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/webapp/js/diagramly/LightboxModern.js"},"region":{"startLine":2378}}}],"partialFingerprints":{"codehealthFindingId/v1":"99cf228f53c5c8979b8022db6c166b51116f7983d653bb12986e2d2ae0bd77b2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/main/webapp/js/diagramly/LightboxModern.js:2422 \u00B7 src/main/webapp/js/diagramly/ViewerModern.js:2051 \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/webapp/js/diagramly/LightboxModern.js"},"region":{"startLine":2422}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f8b6338a2b4d34349deceb881db562dab9a214bbb1e1a3220f71e8dfde2d111"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/main/webapp/js/diagramly/LightboxModern.js:2577 \u00B7 src/main/webapp/js/diagramly/ViewerModern.js:2195 \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/webapp/js/diagramly/LightboxModern.js"},"region":{"startLine":2577}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dfecc447548a0a7f9b32d3eb387732b5b98963f2bf74645f8b92ca5635edafd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): src/main/webapp/js/diagramly/Menus.js:5939 \u00B7 src/main/webapp/js/diagramly/Menus.js:5955 \u00B7 src/main/webapp/js/diagramly/Menus.js:5980 \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/webapp/js/diagramly/Menus.js"},"region":{"startLine":5939}}}],"partialFingerprints":{"codehealthFindingId/v1":"97b103546cf20452720765e9348d5b8b51dcd6864cfa8c51a037b4d0f84a73e0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Pages.js:4053 \u00B7 src/main/webapp/js/diagramly/Pages.js:4078 \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/webapp/js/diagramly/Pages.js"},"region":{"startLine":4053}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdcd940088224dd89c3e586110ff40c4559542a78d30feab3020bbefd3563be3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/main/webapp/js/diagramly/emf/emf-svg.js:2668 \u00B7 src/main/webapp/js/diagramly/emf/emf-svg.js:2684 \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/webapp/js/diagramly/emf/emf-svg.js"},"region":{"startLine":2668}}}],"partialFingerprints":{"codehealthFindingId/v1":"f87d2c5de1b40dcb789fed76ee81ba9d919a40533121e9bb17f99bc15ddd1fb4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/main/webapp/js/diagramly/graphml/mxGraphMlCodec.js:1626 \u00B7 src/main/webapp/js/diagramly/graphml/mxGraphMlCodec.js:1972 \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/webapp/js/diagramly/graphml/mxGraphMlCodec.js"},"region":{"startLine":1626}}}],"partialFingerprints":{"codehealthFindingId/v1":"25ac63b76b3c5494a7da6b8c4803ee6e2bb068a6d78a6b8fd7ef6ac33aae7205"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 16 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-ActiveDirectory.js:159 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Android.js:564 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Arrows2.js:80 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Atlassian.js:596 \u00B7 \u002B12 more site(s) not listed \u2014 the 16 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. There is one copy in each of 16 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-ActiveDirectory.js"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"f79c8b79bb302489b6fa38d1eeac10296c5a67a82feb5cf723982c71b427925b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-BPMN.js:131 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-BPMN.js:204 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-BPMN.js:1370 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-BPMN.js:1447 \u2014 all 4 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/webapp/js/diagramly/sidebar/Sidebar-BPMN.js"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ca463ad98659b423d6229091713c27fef8980dce2c2e88986b98a16bd59bf80"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-BPMN.js:309 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-BPMN.js:795 \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/webapp/js/diagramly/sidebar/Sidebar-BPMN.js"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc2700fa838d312c735bdd4696e6a068363bf8881dac91166edbc85f86988acc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-BPMN.js:365 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-BPMN.js:851 \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/webapp/js/diagramly/sidebar/Sidebar-BPMN.js"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e751a8478038ec9cd64958a5dc7279e84ff5df05a68f7f06cd7cbb6d80258cd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-BPMN.js:393 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-BPMN.js:879 \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/webapp/js/diagramly/sidebar/Sidebar-BPMN.js"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"de1cf38308602339ded56d921bcb3db4f4876cc92dfbedcfb5a213818d85455e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-BPMN.js:421 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-BPMN.js:907 \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/webapp/js/diagramly/sidebar/Sidebar-BPMN.js"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2a46465266d299e4e9f2998114170a204d5339929424b2eb468354257785753"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-BPMN.js:449 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-BPMN.js:935 \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/webapp/js/diagramly/sidebar/Sidebar-BPMN.js"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ba14ffd1099cff86b6480532965392890d5e3c2ef4ac4c81d411309f981c34f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-BPMN.js:571 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-BPMN.js:1047 \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/webapp/js/diagramly/sidebar/Sidebar-BPMN.js"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce23e160fd4dc8eb5eb7250d949a5e58e0f558b20e43c348896c41da97e7a671"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-BPMN.js:627 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-BPMN.js:1103 \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/webapp/js/diagramly/sidebar/Sidebar-BPMN.js"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"9085af122c15c33d12490696297021497825e74cf9c328ecc34ef11d257baf0e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-BPMN.js:655 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-BPMN.js:1131 \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/webapp/js/diagramly/sidebar/Sidebar-BPMN.js"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee21354433b65e7d9682d88e3a191cb192acd31e4cb147b8dce446c9659bb9e0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-BPMN.js:683 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-BPMN.js:1159 \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/webapp/js/diagramly/sidebar/Sidebar-BPMN.js"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"bda7ada4b3bac47cf4eb7015d1ffba3f8a5a7f0de6320ae4ae8f2bf3e4cd4afe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-BPMN.js:1188 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-BPMN.js:1235 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-BPMN.js:1282 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-BPMN.js:1329 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-BPMN.js"},"region":{"startLine":1188}}}],"partialFingerprints":{"codehealthFindingId/v1":"c47a7686f4409e143ceafc8bb70740460c56453764ebd0660351866e0e5b39e0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-BPMN.js:1212 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-BPMN.js:1259 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-BPMN.js:1306 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-BPMN.js:1353 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-BPMN.js"},"region":{"startLine":1212}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a5df5edd2db0b45b044e682402defe6f9df49732e55ea7f390e6d2d116dadfe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 6 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:151 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:172 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:192 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:221 \u00B7 \u002B2 more site(s) not listed \u2014 all 6 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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1b36cb637cb10195e09d2d88daeb2f45138fa1d008a7d6b96fba28e4532d74b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:183 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:199 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:232 \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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b513c9b37b93d3d63fa99f4e7133d4069480c96e1507736b83c0b356abc17ef"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:961 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:1004 \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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":961}}}],"partialFingerprints":{"codehealthFindingId/v1":"888f7095f91933c8eb551c636cd7e8cb92a1f3e482716ba66baaf20fddbfdd60"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:984 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:1037 \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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":984}}}],"partialFingerprints":{"codehealthFindingId/v1":"81f20e827b1825713e3e0e4a6a27c43f2094e5b32a93aa6f4a04486d04dcdce7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 6 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:1484 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:1518 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:1552 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:1586 \u00B7 \u002B2 more site(s) not listed \u2014 all 6 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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":1484}}}],"partialFingerprints":{"codehealthFindingId/v1":"db8a1fc82199344815856fdca691d2ec4dc988512fe852a2e9e531bcfdc27fc1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:3585 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:3597 \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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":3585}}}],"partialFingerprints":{"codehealthFindingId/v1":"98cebeef4f4d16e623dc7fc66fa42a66ce7b09152158af8f66f3c561866ff61a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-CiscoSafe.js:183 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-CiscoSafe.js:701 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-CiscoSafe.js:813 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-CiscoSafe.js:851 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 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/webapp/js/diagramly/sidebar/Sidebar-CiscoSafe.js"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff73a7f6c7e22498dbc4fa4993762f41390b503594d5bb468593b53df57b0ea0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 6 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-GCP2.js:2049 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-GCP2.js:2102 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-GCP2.js:2156 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-GCP2.js:2179 \u00B7 \u002B2 more site(s) not listed \u2014 all 6 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/webapp/js/diagramly/sidebar/Sidebar-GCP2.js"},"region":{"startLine":2049}}}],"partialFingerprints":{"codehealthFindingId/v1":"c563318f5033a6b998e93daf2cd0b7fb71ae72f989713b2a84ad4819f77c75c7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:1291 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:1321 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:1542 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:1572 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js"},"region":{"startLine":1291}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fcc39190ff616a089817083cbe7661cd41041b625167304a6757c4448c472d7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:1307 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:1558 \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/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js"},"region":{"startLine":1307}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2f25c89a964fef365bca58202a56b1f3ef0b990cff9423d58fd82983b6bf062"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 8 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:1781 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:1796 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:1826 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:1841 \u00B7 \u002B4 more site(s) not listed \u2014 all 8 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/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js"},"region":{"startLine":1781}}}],"partialFingerprints":{"codehealthFindingId/v1":"dff7aeb489a01f1c23818f6bba028964ec767d308d8b2732f0e5f71f30961a6c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-IBMCloud.js:510 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-IBMCloud.js:553 \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/webapp/js/diagramly/sidebar/Sidebar-IBMCloud.js"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a09660d9358df33cb050ef60e283bef5d1fa36d0c20d092ad79a4071fd2af20"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Ios.js:127 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Ios.js:141 \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/webapp/js/diagramly/sidebar/Sidebar-Ios.js"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"a161364111d8beaee97a20a297a7218cecd80b9a355954e2148045429b11693f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Ios7.js:601 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Ios7.js:611 \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/webapp/js/diagramly/sidebar/Sidebar-Ios7.js"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e704b858c8cac1baf51d21a7054c6936f930e675fcca64f972e5eaaf175b4f7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 6 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Mockup.js:119 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Mockup.js:273 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Mockup.js:510 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Mockup.js:703 \u00B7 \u002B2 more site(s) not listed \u2014 all 6 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/webapp/js/diagramly/sidebar/Sidebar-Mockup.js"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"95385fcc9aaf1bad081b2f104df5a0b110d09becf47080831752e99e63efbc48"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Salesforce.js:126 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Salesforce.js:322 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Salesforce.js:499 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Salesforce.js:530 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Salesforce.js"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"48964c974f0def8142d31784736172a148f15b2ddbf7f40be5a12fcdc059f3ad"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Salesforce.js:203 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Salesforce.js:411 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Salesforce.js:468 \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/webapp/js/diagramly/sidebar/Sidebar-Salesforce.js"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aec0d69d21e6d5bc4fc380de6cb28b842866755983505e75a6dee4563e6be97"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:205 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:399 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:453 \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/webapp/js/diagramly/sidebar/Sidebar-Sysml.js"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"7790f3c6d8348b6a5655c58e45b7e533cdf1e23375d3f150d7b9da71a5876936"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:373 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:428 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:2336 \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/webapp/js/diagramly/sidebar/Sidebar-Sysml.js"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"a38eb03ada9642e1cf54c4a56de9b468ab336320d917ab60d959623435e3d5e8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:1054 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:1070 \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/webapp/js/diagramly/sidebar/Sidebar-Sysml.js"},"region":{"startLine":1054}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f589773ef8b7db6f547ecc072c621de1101d5890eec5b1409bbf89f766f574e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:2000 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:2012 \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/webapp/js/diagramly/sidebar/Sidebar-Sysml.js"},"region":{"startLine":2000}}}],"partialFingerprints":{"codehealthFindingId/v1":"e98269aeb0095233d6e351828134ff9a8e62d552ba68df5dbf840d90d236c0ae"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-UML25.js:274 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-UML25.js:286 \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/webapp/js/diagramly/sidebar/Sidebar-UML25.js"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8fe19bb18302481c25d3a7fdb961a944512fe19fc02e0adf8e5b99e36e154c2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-UML25.js:1186 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-UML25.js:1198 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-UML25.js:1242 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-UML25.js:1300 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-UML25.js"},"region":{"startLine":1186}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c26ea81e0ca026f2d7e73027ff0b578c1298d8fdb53a59ca19b12efd87d3fad"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Veeam2.js:33 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Veeam2.js:214 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Veeam2.js:395 \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/webapp/js/diagramly/sidebar/Sidebar-Veeam2.js"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c49bb054c7c2ca2fe76bf39808b9633fb0b73a4509eba52d15f99c3ec139e58"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/main/webapp/js/diagramly/tidy/TidyWindow.js:938 \u00B7 src/main/webapp/js/diagramly/tidy/TidyWindow.js:961 \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/webapp/js/diagramly/tidy/TidyWindow.js"},"region":{"startLine":938}}}],"partialFingerprints":{"codehealthFindingId/v1":"51afe57d5b7056db2e1fd40b325793fde94240f3e90abde849232bacc15dae98"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/main/webapp/js/diagramly/vsdx/bmpDecoder.js:244 \u00B7 src/main/webapp/js/diagramly/vsdx/bmpDecoder.js:267 \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/webapp/js/diagramly/vsdx/bmpDecoder.js"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb76b4850a2726d219b1a15dd08dbb6be81776cf8c61c8d6e3fb499da0aee4a4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/main/webapp/js/diagramly/App.js:4044 \u00B7 src/main/webapp/js/diagramly/App.js:5943 \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/webapp/js/diagramly/App.js"},"region":{"startLine":4044}}}],"partialFingerprints":{"codehealthFindingId/v1":"bccb254a1ce5f8ae24708af2ee68c0a03b7fdb16c4c7943347c38e29c046aaf3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/main/webapp/js/diagramly/App.js:9478 \u00B7 src/main/webapp/js/diagramly/App.js:9660 \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/webapp/js/diagramly/App.js"},"region":{"startLine":9478}}}],"partialFingerprints":{"codehealthFindingId/v1":"170fdc4b127aa274585db0b6fb85e0b1aca7c823975a07d63db92cc00458e3ab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/main/webapp/js/diagramly/App.js:9529 \u00B7 src/main/webapp/js/diagramly/App.js:9598 \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/webapp/js/diagramly/App.js"},"region":{"startLine":9529}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8ac64b1161bf0e47fc5439d8070473b3f04bf6b1786c2b900c7674e7337d69b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): src/main/webapp/js/diagramly/App.js:8279 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:8408 \u00B7 src/main/webapp/js/diagramly/HomeDialog.js:479 \u2014 the 3 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. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":8279}}}],"partialFingerprints":{"codehealthFindingId/v1":"cccc0a198c32de59081ab95ae20a3cb0bb5ab0dc43d05a24fc0461d62458ca2d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/main/webapp/js/diagramly/ConfigEditor.js:931 \u00B7 src/main/webapp/js/diagramly/ConfigEditor.js:962 \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/webapp/js/diagramly/ConfigEditor.js"},"region":{"startLine":931}}}],"partialFingerprints":{"codehealthFindingId/v1":"18b49d7630a782050c55898a90061e430d69a94bbe6cf7e0f6bb59986757ea41"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): src/main/webapp/js/diagramly/Dialogs.js:1441 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:5859 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:20818 \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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":1441}}}],"partialFingerprints":{"codehealthFindingId/v1":"42de218df3b067966e5e91bd1bf021eb8c9641f90aff221885c2b52e9de11e97"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Dialogs.js:1488 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:20907 \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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":1488}}}],"partialFingerprints":{"codehealthFindingId/v1":"46253574cdbadbb7e27502912e7aa148403a65fd983a5f86353c92fcbdec4067"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Dialogs.js:2016 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:2072 \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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":2016}}}],"partialFingerprints":{"codehealthFindingId/v1":"aab8a40592e749feacafcf6657fb45de79ebb3f04b711e688549e84f24fb5072"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Dialogs.js:2210 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:18132 \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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":2210}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1404f1a2dc30398c97046ed26440b8261fbd57a155f9f83687ba57f14ac81ac"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Dialogs.js:10532 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:10552 \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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":10532}}}],"partialFingerprints":{"codehealthFindingId/v1":"30bbedbe92bf34cefa4640b89fbd7fdb58aac5d9506bdf4e7975edfc65bd6de8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Dialogs.js:12979 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:13357 \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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":12979}}}],"partialFingerprints":{"codehealthFindingId/v1":"a66629f6e119b23aa58e9d98cbb964e962667921db3d6156b36c25190db429df"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Dialogs.js:18182 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:23945 \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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":18182}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fcc616d88aeaff8e27dd301b2230d5d5918c919e678f048fdd4acb52a7a136c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Dialogs.js:18558 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:18755 \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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":18558}}}],"partialFingerprints":{"codehealthFindingId/v1":"188856172b5cf29fffa4ffaf23f7197bce4c7c0f16f2028ac1303856b91bc061"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): src/main/webapp/js/diagramly/Dialogs.js:19699 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:19719 \u00B7 src/main/webapp/js/diagramly/Editor.js:14967 \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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":19699}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3a7a72dbe6f9a2efaf9019d0367ed61de4df6d9bcdbb9e36bb6a55c4c7f0c36"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/main/webapp/js/diagramly/DiffSync.js:2108 \u00B7 src/main/webapp/js/diagramly/DiffSync.js:2781 \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/webapp/js/diagramly/DiffSync.js"},"region":{"startLine":2108}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e0ea363e9c76fea058276e81e2c5c88754e9dbb34d2437efecdc7e106720dad"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): src/main/webapp/js/diagramly/DrawioFile.js:506 \u00B7 src/main/webapp/js/diagramly/DriveClient.js:397 \u2014 the two spans are one implementation copied and then locally edited \u2014 62 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DrawioFile.js"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"cecb635f98096e84052bd29dcd33f00945d659abddad38eda65a1ce058b67a10"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/main/webapp/js/diagramly/DrawioFilePolling.js:121 \u00B7 src/main/webapp/js/diagramly/StorageFile.js:384 \u2014 the 2 copies are spread across 2 files, 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/webapp/js/diagramly/DrawioFilePolling.js"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbec412f5bf2d67b6c44171a573313b28787f88ebd9c73c1e4629b627f6f73f5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/main/webapp/js/diagramly/DrawioFileSync.js:67 \u00B7 src/main/webapp/js/diagramly/DrawioFileSync.js:4699 \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/webapp/js/diagramly/DrawioFileSync.js"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c3fd457b29618b9fe23fa41361d609d5e6b76ac1b3fcaf30e7f62b0b5a8d5dc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): src/main/webapp/js/diagramly/DrawioFileSync.js:1443 \u00B7 src/main/webapp/js/diagramly/DrawioFileSync.js:3027 \u00B7 src/main/webapp/js/diagramly/DrawioFileSync.js:3183 \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/webapp/js/diagramly/DrawioFileSync.js"},"region":{"startLine":1443}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e35ba83048c866f94ac6cf3cedf2bad5727c38ff7fafe8116f39edb678a2f65"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/main/webapp/js/diagramly/DrawioFileSync.js:3561 \u00B7 src/main/webapp/js/diagramly/DrawioFileSync.js:3633 \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/webapp/js/diagramly/DrawioFileSync.js"},"region":{"startLine":3561}}}],"partialFingerprints":{"codehealthFindingId/v1":"a68855f30afb9a28b3b4a9b400dd35bd99c3aa163309db386c8ba74b45a173a7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): src/main/webapp/js/diagramly/DrawioFileSync.js:4199 \u00B7 src/main/webapp/js/diagramly/GitHubClient.js:66 \u00B7 src/main/webapp/js/diagramly/OneDriveClient.js:178 \u2014 the 3 copies are spread across 3 files, 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/webapp/js/diagramly/DrawioFileSync.js"},"region":{"startLine":4199}}}],"partialFingerprints":{"codehealthFindingId/v1":"61f21694fdc5a80603a8c9e98b1d6ba31f1f795fb8c880ed20edceac200ebd14"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/main/webapp/js/diagramly/DriveClient.js:3039 \u00B7 src/main/webapp/js/diagramly/DriveClient.js:3156 \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/webapp/js/diagramly/DriveClient.js"},"region":{"startLine":3039}}}],"partialFingerprints":{"codehealthFindingId/v1":"f79112be96c78dda600d06cae0cc1b46547ebdaf7772d5292a906a269c6a917b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/main/webapp/js/diagramly/EditorUi.js:8941 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:9410 \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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":8941}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6bfa9c153858f554aee1943f41d20129d9ac85bd981839d3fbccc86bb1112a2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4 locations): src/main/webapp/js/diagramly/EditorUi.js:12485 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:12497 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:12509 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:12522 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":12485}}}],"partialFingerprints":{"codehealthFindingId/v1":"6924cf9b85470d1287e5e00da8096dccee23d182b5d9da296dc09f9558f35ef6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/main/webapp/js/diagramly/EditorUi.js:30738 \u00B7 src/main/webapp/js/diagramly/LayoutPicker.js:2837 \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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":30738}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7d9036f93f3a8d7185a7bdb7013c3173812420dacfc506552184a76386a544b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/main/webapp/js/diagramly/EditorUi.js:36368 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:36517 \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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":36368}}}],"partialFingerprints":{"codehealthFindingId/v1":"336750f2fe0b6789ca3f43e9becbcf33f80b1badafea594fd78a87591cbeaa26"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4 locations): src/main/webapp/js/diagramly/ElectronApp.js:716 \u00B7 src/main/webapp/js/diagramly/Extensions.js:7128 \u00B7 src/main/webapp/js/diagramly/miro/MiroImporter.js:477 \u00B7 src/main/webapp/js/diagramly/vsdx/importer.js:469 \u2014 the 4 copies are spread across 3 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. There is one copy in each of 4 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ElectronApp.js"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3c711b61f9dec78a7259e408c963581c2c5386e507ab8d5e8332b992d09e54e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Extensions.js:8485 \u00B7 src/main/webapp/js/diagramly/Extensions.js:8916 \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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":8485}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c0b0b7f374025138b9ba0e8e482551490c668c67a5d70c0d1af2ebd13ad6b75"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4 locations): src/main/webapp/js/diagramly/Extensions.js:9226 \u00B7 src/main/webapp/js/diagramly/Extensions.js:9316 \u00B7 src/main/webapp/js/diagramly/Extensions.js:9328 \u00B7 src/main/webapp/js/diagramly/Extensions.js:9347 \u2014 all 4 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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":9226}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2b187d584f3e7842c32125454790bbdaa51296ef52e514c5f0628db6f0b055a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Extensions.js:9319 \u00B7 src/main/webapp/js/diagramly/Extensions.js:9350 \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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":9319}}}],"partialFingerprints":{"codehealthFindingId/v1":"a02d3b5f95c8b4f95d61815d4df2ae76554ee3949fb79ef08391fc36f632f690"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Extensions.js:10041 \u00B7 src/main/webapp/js/diagramly/Extensions.js:10067 \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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":10041}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe4b167d33a51af8bb00497a89c782bf2a4dd0a873ea270f5ec12e8a7e419a5c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4 locations): src/main/webapp/js/diagramly/Extensions.js:10933 \u00B7 src/main/webapp/js/diagramly/Extensions.js:11064 \u00B7 src/main/webapp/js/diagramly/Extensions.js:11169 \u00B7 src/main/webapp/js/diagramly/Extensions.js:11181 \u2014 all 4 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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":10933}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7fefd4730c9f8e6d715c7d0fb6f3e50099437f16f6c45500704a243b6d5b22d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): src/main/webapp/js/diagramly/Extensions.js:11911 \u00B7 src/main/webapp/js/diagramly/Extensions.js:12031 \u00B7 src/main/webapp/js/diagramly/Extensions.js:12137 \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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":11911}}}],"partialFingerprints":{"codehealthFindingId/v1":"449a6b1bdddf46b5888d13ed8b4c19648f20c3e921a7e69cffd1dee8296889e1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Extensions.js:12033 \u00B7 src/main/webapp/js/diagramly/Extensions.js:12139 \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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":12033}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9c65d42f994eedecd650496bc34100e971f67e8b3985b4a9ddc36d5f8133aa8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 7 locations): src/main/webapp/js/diagramly/Extensions.js:13059 \u00B7 src/main/webapp/js/diagramly/Extensions.js:13078 \u00B7 src/main/webapp/js/diagramly/Extensions.js:13141 \u00B7 src/main/webapp/js/diagramly/Extensions.js:13160 \u00B7 \u002B3 more site(s) not listed \u2014 all 7 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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":13059}}}],"partialFingerprints":{"codehealthFindingId/v1":"8de1afd1fbb74e92129a7153c02e15c198ef1f6882d944a90d655ebcea4426b6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/main/webapp/js/diagramly/GitHubFile.js:33 \u00B7 src/main/webapp/js/diagramly/GitLabFile.js:69 \u2014 the 2 copies are spread across 2 files, 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/webapp/js/diagramly/GitHubFile.js"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e15c744ecaa8551a22c8fb8a3700674701cc96912fe2532cec9f50219dd48ba"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/main/webapp/js/diagramly/GraphViewer.js:2652 \u00B7 src/main/webapp/js/diagramly/GraphViewer.js:2784 \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/webapp/js/diagramly/GraphViewer.js"},"region":{"startLine":2652}}}],"partialFingerprints":{"codehealthFindingId/v1":"57e1150978bba82726661a200778776cf013b5a50a006bbb03e52ca277d36186"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/main/webapp/js/diagramly/LayoutPicker.js:449 \u00B7 src/main/webapp/js/diagramly/LibavoidRouting.js:1546 \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/webapp/js/diagramly/LayoutPicker.js"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"3024f00d945d6c017683f202305019cf9bf581cafd63af2f725f3bde42f0a745"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/main/webapp/js/diagramly/LayoutPicker.js:1803 \u00B7 src/main/webapp/js/diagramly/LightboxModern.js:2981 \u2014 the 2 copies are spread across 2 files, 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/webapp/js/diagramly/LayoutPicker.js"},"region":{"startLine":1803}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5d18825e3b95640888c75da31bace6f8fcd3c189927135515a249e8fc75a745"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Menus.js:185 \u00B7 src/main/webapp/js/diagramly/Menus.js:205 \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/webapp/js/diagramly/Menus.js"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"99b5977e362c32f513ee97f4c2f3ab448df8515218a99650926dacfab66b2436"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Menus.js:5490 \u00B7 src/main/webapp/js/diagramly/Menus.js:5592 \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/webapp/js/diagramly/Menus.js"},"region":{"startLine":5490}}}],"partialFingerprints":{"codehealthFindingId/v1":"04122869483e142b9368ee3c17c7ad65e5bb109558b9be2ecce598d09fb2d252"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): src/main/webapp/js/diagramly/Menus.js:5529 \u00B7 src/main/webapp/js/diagramly/Menus.js:5549 \u00B7 src/main/webapp/js/diagramly/Menus.js:5559 \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/webapp/js/diagramly/Menus.js"},"region":{"startLine":5529}}}],"partialFingerprints":{"codehealthFindingId/v1":"96c6f27c03cc1ae1ea898383891918c4836d34f651af08223ae1d9a799eb3cf9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Menus.js:5667 \u00B7 src/main/webapp/js/diagramly/Menus.js:5689 \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/webapp/js/diagramly/Menus.js"},"region":{"startLine":5667}}}],"partialFingerprints":{"codehealthFindingId/v1":"08e3dc2fa53c452200610ffc1de0f28788319abba707aaf9a967623c55747ff0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Menus.js:6309 \u00B7 src/main/webapp/js/diagramly/Menus.js:6341 \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/webapp/js/diagramly/Menus.js"},"region":{"startLine":6309}}}],"partialFingerprints":{"codehealthFindingId/v1":"305e7fe39a9e932a577ef84887a1845269b66c28f643cc5b848f37b96984b5bc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): src/main/webapp/js/diagramly/Menus.js:1200 \u00B7 src/main/webapp/js/grapheditor/EditorUi.js:128 \u2014 the two spans are one implementation copied and then locally edited \u2014 57 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Menus.js"},"region":{"startLine":1200}}}],"partialFingerprints":{"codehealthFindingId/v1":"72944829e6ea0ff4be809ac5c1fd63808f669625083d2f74234be7b4009a731f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/main/webapp/js/diagramly/OneDriveClient.js:1790 \u00B7 src/main/webapp/js/diagramly/OneDriveClient.js:1863 \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/webapp/js/diagramly/OneDriveClient.js"},"region":{"startLine":1790}}}],"partialFingerprints":{"codehealthFindingId/v1":"deae7745043123b19e810a31e0485abf73bbc3e1329421711711c3b9ce151dd4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/main/webapp/js/diagramly/StorageLibrary.js:27 \u00B7 src/main/webapp/js/diagramly/TrelloFile.js:61 \u2014 the 2 copies are spread across 2 files, 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/webapp/js/diagramly/StorageLibrary.js"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1a7486b3a0b7bf74ffe960616ea099e98b2857995f7f83d7483b0e5aef32b78"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/main/webapp/js/diagramly/graphml/mxGraphMlCodec.js:1806 \u00B7 src/main/webapp/js/diagramly/graphml/mxGraphMlCodec.js:1848 \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/webapp/js/diagramly/graphml/mxGraphMlCodec.js"},"region":{"startLine":1806}}}],"partialFingerprints":{"codehealthFindingId/v1":"8681461d58e605913a567a86fa15424f8d70e32a898222c0857c31bad8f675da"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-AWS4.js:308 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-AWS4.js:1825 \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/webapp/js/diagramly/sidebar/Sidebar-AWS4.js"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"036816fad27ba3c4fed8e6425e7310173fa3d1685c491ba50f853227edd5efa1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 16 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-AlibabaCloud.js:647 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-AlliedTelesis.js:258 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-ArchiMate3.js:543 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-ArchiMate4.js:527 \u00B7 \u002B12 more site(s) not listed \u2014 the 16 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. There is one copy in each of 16 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-AlibabaCloud.js"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f3858849bb212e2321b69074b77e5a00cc0a18e8a3c346f0560e8b8ad53a27b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Atlassian.js:231 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Atlassian.js:243 \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/webapp/js/diagramly/sidebar/Sidebar-Atlassian.js"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"95f2650aab653078128752459a6acce201eea2a224a7a167ffef34e7a686b28b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 16 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-BPMN.js:476 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-BPMN.js:504 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-BPMN.js:532 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-BPMN.js:560 \u00B7 \u002B12 more site(s) not listed \u2014 all 16 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/webapp/js/diagramly/sidebar/Sidebar-BPMN.js"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f80a307417b395de8fb96b74faf15faa693902db8916452bb4e41fd0b0b7365"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:379 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:533 \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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"608c0b82228b71b0f34e5c61b2616c54f38341d903daf35c7e6c50cf25fae1ce"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:414 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:692 \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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"347c2049dbf7bddf28aabc33c381cc0475c629aeb6eb84f8623ed03270ccdef2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:1096 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:1110 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:1124 \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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":1096}}}],"partialFingerprints":{"codehealthFindingId/v1":"69648a6f7848e2bc02b74dcc9021922f925ee1b1a104732f8e4356761ae9a9fa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:1143 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:1161 \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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":1143}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c2773067b8cfe64b277fe9e2bca77a76905d3eedd89a3e270c3833c113bec18"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:1736 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:1813 \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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":1736}}}],"partialFingerprints":{"codehealthFindingId/v1":"5840993c2cd0e32eb538f9047959cdf23a2457e186ec854888845f73e8ef95e7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:2728 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:2799 \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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":2728}}}],"partialFingerprints":{"codehealthFindingId/v1":"866ef7c2a51f6c8262febee823de22ad9508cb4205d4cfa995add48384b5075c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:2837 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:2882 \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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":2837}}}],"partialFingerprints":{"codehealthFindingId/v1":"87424d30defd4f53f6161a4ca754f1e5730958ec92644d0c2a7880ec9e693044"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:2873 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:2935 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:2970 \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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":2873}}}],"partialFingerprints":{"codehealthFindingId/v1":"18a9a446c5abf81aa84ce65417f649c9e527d0824cc2b557d409d53292df1d99"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:3413 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:3452 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:3492 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:3565 \u2014 all 4 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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":3413}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8169262c725e4b9b7be2fede23d5010396b1bff321141038561e71973841ab2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:3876 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:3947 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:4060 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:4102 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":3876}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7461617973614d48ec3bf858ad92df8568e19853d76d45cbbc07ac2ee165816"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:4530 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:4542 \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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":4530}}}],"partialFingerprints":{"codehealthFindingId/v1":"b43c58470dbaf93ce6b6ad4dd2543fbd563ffa911f9b6d3ddf0040adc0693aec"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-GCP2.js:1048 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-GCP2.js:1064 \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/webapp/js/diagramly/sidebar/Sidebar-GCP2.js"},"region":{"startLine":1048}}}],"partialFingerprints":{"codehealthFindingId/v1":"e51d60fc27d3982b7baf131f56cdee2e5f7cb2ededa32b96ae5fb3a80253a165"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-GCP2.js:1080 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-GCP2.js:1096 \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/webapp/js/diagramly/sidebar/Sidebar-GCP2.js"},"region":{"startLine":1080}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a6fd832902a0afdd3bb4a7e6d3eb43f7374b7aaeaf948ac493326082a9aae0b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-GCP2.js:1112 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-GCP2.js:1128 \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/webapp/js/diagramly/sidebar/Sidebar-GCP2.js"},"region":{"startLine":1112}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccaf341826c1f28c843390d9d5a12816ecfea1fe25131b3d848e6129c9d45283"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-GCP2.js:1144 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-GCP2.js:1160 \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/webapp/js/diagramly/sidebar/Sidebar-GCP2.js"},"region":{"startLine":1144}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a5097ed04d6806186187fd29a2add05210900dc60fb2a893ace4b279e8f8ac3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-GCP2.js:1176 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-GCP2.js:1192 \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/webapp/js/diagramly/sidebar/Sidebar-GCP2.js"},"region":{"startLine":1176}}}],"partialFingerprints":{"codehealthFindingId/v1":"7442194293db3015e108eb904c8c9829a37e8d2221ceb2470dfa10d6e6675dae"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-GCP2.js:1208 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-GCP2.js:1224 \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/webapp/js/diagramly/sidebar/Sidebar-GCP2.js"},"region":{"startLine":1208}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9ba0a7610aa20751bf72652e5a9c01541de1b0083c1242b42f862ef56fc55c2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-GCP2.js:1240 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-GCP2.js:1256 \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/webapp/js/diagramly/sidebar/Sidebar-GCP2.js"},"region":{"startLine":1240}}}],"partialFingerprints":{"codehealthFindingId/v1":"513eef6123d1d04f28f94af7418f6ad016208e480d064009e6ef20c1e45b64c9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-GCP2.js:1272 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-GCP2.js:1288 \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/webapp/js/diagramly/sidebar/Sidebar-GCP2.js"},"region":{"startLine":1272}}}],"partialFingerprints":{"codehealthFindingId/v1":"a15f29ef3e164ba43b4c10288a126e87997725315356cb4710c182e5e0d80a44"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-GCP2.js:2082 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-GCP2.js:2136 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-GCP2.js:2198 \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/webapp/js/diagramly/sidebar/Sidebar-GCP2.js"},"region":{"startLine":2082}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a37aa037097d278a0b88e526a2d010cc9dc85a9ee4d536ae5368c07f0e0638d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-GCP2.js:2189 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-GCP2.js:2205 \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/webapp/js/diagramly/sidebar/Sidebar-GCP2.js"},"region":{"startLine":2189}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1b02662be8cce4dfbc04654351f01c4223c8dfed842e7a0771b1e22469f28f0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:293 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:318 \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/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5f88b79451006234ef4a19856f05a1ed84dfe1511fd8b1d6d6a9469b25f0002"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:1030 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:1039 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:1053 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:1070 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js"},"region":{"startLine":1030}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8ecb007ef3c51b76f0d90456f7c172e2230209ae9ffad09b7c84b24ee7b0a21"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:1146 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:1416 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:1435 \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/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js"},"region":{"startLine":1146}}}],"partialFingerprints":{"codehealthFindingId/v1":"5536e111c79f06ae42fd333f686050caffafcb8d74800f48bbc66ad8d1dd2834"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:1175 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:1443 \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/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js"},"region":{"startLine":1175}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6c02e7152a98e6f185c66d17783809a02a1bc2f07c59fbaf9c099ae425eff47"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 6 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:1272 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:1282 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:1312 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:1523 \u00B7 \u002B2 more site(s) not listed \u2014 all 6 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/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js"},"region":{"startLine":1272}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f5010b02bca80372c07ed0b3ee7db64e44e0f6f295b0549fcaa38f64ff58c09"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-IBMCloud.js:460 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-IBMCloud.js:546 \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/webapp/js/diagramly/sidebar/Sidebar-IBMCloud.js"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"74a49d655ac132e82f4dff6a47860f0e2ef5dbb48b6fed0ec100ab773e7831d0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js:80 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js:199 \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/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"b52d9c0b627079031860c213d8d3fc9b4a86236e12f0db3a9f50b05676c2c98c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js:1447 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js:1457 \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/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":1447}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d93d3cd65792aa05cf4a71473599816e933a137c0dc4d06a188d71a58b6178f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js:1484 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js:1494 \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/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":1484}}}],"partialFingerprints":{"codehealthFindingId/v1":"f68b8755e486f37084fbe259bcbe0088a03c462188088e745e1a26e5c47f50b3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Ios7.js:362 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Ios7.js:371 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Ios7.js:380 \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/webapp/js/diagramly/sidebar/Sidebar-Ios7.js"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"5608e3292f40bc5cfb4f7ec0c86f5328eba4216e906a307307936b6cd50a5b60"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Mockup.js:712 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Mockup.js:851 \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/webapp/js/diagramly/sidebar/Sidebar-Mockup.js"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"93df0864200d72ef25283c368c458cf19b95f63083c21f108bf9fa27de7aa561"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Mockup.js:747 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Mockup.js:853 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Mockup.js:906 \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/webapp/js/diagramly/sidebar/Sidebar-Mockup.js"},"region":{"startLine":747}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce1e6584bff0b8be720e5ebb950357c300aaaab53a246ff239683da4a81293e2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Salesforce.js:38 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Salesforce.js:76 \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/webapp/js/diagramly/sidebar/Sidebar-Salesforce.js"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fa854a80fc619a7b787516a1f83e1eed14aea83919eaa663c4d66d0be17366b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Salesforce.js:53 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Salesforce.js:91 \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/webapp/js/diagramly/sidebar/Sidebar-Salesforce.js"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"46fbb42477194f5117ae9eed768e317c6663a243ce9ce2ccfc625c1abf07e2ef"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:1289 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:1298 \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/webapp/js/diagramly/sidebar/Sidebar-Sysml.js"},"region":{"startLine":1289}}}],"partialFingerprints":{"codehealthFindingId/v1":"8050d94ca79cd4d0487e1de73d31196fd4c90fd3dd097e84e31f08da9bebcc11"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-UML25.js:37 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-UML25.js:525 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-UML25.js:543 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-UML25.js:862 \u2014 all 4 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/webapp/js/diagramly/sidebar/Sidebar-UML25.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f53b1fa3a038ec993614dcdf183e246ab0a421498661acb12dddfdc70398ce4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-UML25.js:52 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-UML25.js:69 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-UML25.js:361 \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/webapp/js/diagramly/sidebar/Sidebar-UML25.js"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"86d4e9118c01b764f1a2a48d59ea7d62c9c5261fe41aa87bf4c824985dad1760"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-UML25.js:432 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-UML25.js:443 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-UML25.js:599 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-UML25.js:611 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 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/webapp/js/diagramly/sidebar/Sidebar-UML25.js"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0d10a6f485406484ae24806ca5115b1b38e516ed32bcd10854333a9d98e9dd6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-UML25.js:774 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-UML25.js:786 \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/webapp/js/diagramly/sidebar/Sidebar-UML25.js"},"region":{"startLine":774}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ffd131e86ef9a6612b755323de36dfc6ac7ee99eaddca441dbda4b74727f2b8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4 locations): src/main/webapp/js/diagramly/sidebar/Sidebar.js:288 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar.js:333 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar.js:429 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar.js:2109 \u2014 all 4 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/webapp/js/diagramly/sidebar/Sidebar.js"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"6de6533007adf54c89d381025c1a11e377c839c4aab0c01df0f73a7a5dd5ae4f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/main/webapp/js/diagramly/tidy/TidyStyle.js:1386 \u00B7 src/main/webapp/js/diagramly/tidy/TidyStyle.js:1623 \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/webapp/js/diagramly/tidy/TidyStyle.js"},"region":{"startLine":1386}}}],"partialFingerprints":{"codehealthFindingId/v1":"05d0c98975a92eb28a96b36c2710cd99adb9a096eeb3ddd8ff99fd49e7a1ef1d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/main/webapp/js/diagramly/vsdx/bmpDecoder.js:90 \u00B7 src/main/webapp/js/diagramly/vsdx/bmpDecoder.js:117 \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/webapp/js/diagramly/vsdx/bmpDecoder.js"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"385572ceb7cdac44631283f5ff4d8416f1537d9e09e853028a153816d0fea45e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/main/webapp/js/diagramly/vsdx/importer.js:3441 \u00B7 src/main/webapp/js/diagramly/vsdx/importer.js:3457 \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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":3441}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ff9c2606c6c35df12656bc353529df39c28e17993ea9ddf663f98abda512f09"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): src/main/webapp/js/export.js:1060 \u00B7 src/main/webapp/js/grapheditor/Graph.js:1471 \u2014 the two spans are one implementation copied and then locally edited \u2014 51 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/export.js"},"region":{"startLine":1060}}}],"partialFingerprints":{"codehealthFindingId/v1":"df72b4ef7dc1deea5d9a9013ea3376c044dc7141d96dc1937006427e0af73e35"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 15 locations): src/main/webapp/connect/common/js/mxReader.js:653 \u00B7 src/main/webapp/js/diagramly/App.js:9864 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:6181 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:11273 \u00B7 \u002B11 more site(s) not listed \u2014 the 15 copies are spread across 9 files, 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/webapp/connect/common/js/mxReader.js"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"262334bcb6023fbcfa1d030769999dc761f39b1bc76302e09a6bfe4ac663881f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): src/main/webapp/js/diagramly/App.js:5644 \u00B7 src/main/webapp/js/diagramly/Pages.js:4119 \u00B7 src/main/webapp/js/diagramly/mxRuler.js:630 \u2014 the 3 copies are spread across 3 files, 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/webapp/js/diagramly/App.js"},"region":{"startLine":5644}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f2fee0c228900183b7a86700b58753d0dea88d9a78c468a5bb9ea985b3e7faa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4 locations): src/main/webapp/js/diagramly/App.js:6190 \u00B7 src/main/webapp/js/diagramly/App.js:6199 \u00B7 src/main/webapp/js/diagramly/App.js:6208 \u00B7 src/main/webapp/js/diagramly/App.js:6217 \u2014 all 4 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/webapp/js/diagramly/App.js"},"region":{"startLine":6190}}}],"partialFingerprints":{"codehealthFindingId/v1":"94402833ec307f58e1c1645605212ca510048601a2a34fa404172c40ea5e57cb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/main/webapp/js/diagramly/App.js:7160 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:4793 \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/webapp/js/diagramly/App.js"},"region":{"startLine":7160}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab50fa25cadd351ab6ab2afe61cb3e3151efbb43449deed2adb6d770b80b0489"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/main/webapp/js/diagramly/App.js:9628 \u00B7 src/main/webapp/js/diagramly/Embed.js:647 \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/webapp/js/diagramly/App.js"},"region":{"startLine":9628}}}],"partialFingerprints":{"codehealthFindingId/v1":"cca2766dff776b15a20bd63028f837f20a1e0291791eb9a0715cc168966818a8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Dialogs.js:128 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:138 \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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"4392b3c686b059f37c9da95bcc07981a21b0a93567854f8040e4a821e5eda13d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 19 locations): src/main/webapp/js/diagramly/Dialogs.js:274 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:2899 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:5622 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:8838 \u00B7 \u002B15 more site(s) not listed \u2014 the 19 copies are spread across 3 files, 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"da45a9dd87b07d3a1502db9fb40ac099e91e1af22d61406fdaef2b3b683f9a3f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 18 locations): src/main/webapp/js/diagramly/Dialogs.js:464 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:5620 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:8836 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:9003 \u00B7 \u002B14 more site(s) not listed \u2014 the 18 copies are spread across 2 files, 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"c67c3d1cb816541e89083e51f4c65a8e974f0db3035631f7b765887b8ae6e673"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4 locations): src/main/webapp/js/diagramly/Dialogs.js:680 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:25345 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:25366 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:7102 \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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"dca632f3556692386f7e2fb0a802800a3838b159035d3b147fd53f2fa220d76f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Dialogs.js:964 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:6200 \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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":964}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c3afd77650edb9802bd8c336e0be9af136b0d79197bc74c650ec9a8b27faeb5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Dialogs.js:4425 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:19129 \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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":4425}}}],"partialFingerprints":{"codehealthFindingId/v1":"77a0781dfa6dd95e3adab04f0da397acbb9431fdacb02c7b565f3f0e31d69fbd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 7 locations): src/main/webapp/js/diagramly/Dialogs.js:7565 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:10411 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:11268 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:11632 \u00B7 \u002B3 more site(s) not listed \u2014 the 7 copies are spread across 2 files, 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":7565}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a4bffa6f885215a69891540fa5d2eaaa355474b797835e770b193250c4f0025"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Dialogs.js:9434 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:18808 \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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":9434}}}],"partialFingerprints":{"codehealthFindingId/v1":"368d0b13c32ebc5d6a34705420e9b0f87d9b78f878c4be6bb30262894628cfa6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Dialogs.js:9576 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:12315 \u2014 the 2 copies are spread across 2 files, 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":9576}}}],"partialFingerprints":{"codehealthFindingId/v1":"c80f458ca65eb091f2262960251fb2fc9563d8d9038a0e8880e62afdbd65e8bf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6 locations): src/main/webapp/js/diagramly/Dialogs.js:9600 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:20971 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:24976 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:25884 \u00B7 \u002B2 more site(s) not listed \u2014 the 3 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":9600}}}],"partialFingerprints":{"codehealthFindingId/v1":"f463b17e54c9cd591f5e37a4d1b99fcc069d6540a890ccb96f141bf624e86eed"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Dialogs.js:14006 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:18947 \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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":14006}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0633daaa95f4a8d324258a812940e9e87ead4c2c53095de4444b7a4b722344b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Dialogs.js:15846 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:23428 \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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":15846}}}],"partialFingerprints":{"codehealthFindingId/v1":"cea9564e8158d021c0bd0febd92fd9a3b4b96902eefac472c01a7756f0ad908b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Dialogs.js:18084 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:39426 \u2014 the 2 copies are spread across 2 files, 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":18084}}}],"partialFingerprints":{"codehealthFindingId/v1":"be5e6684aa6724518f65281cd221f83498cb7907d5be7e6ceacfe907d8455250"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4 locations): src/main/webapp/js/diagramly/Dialogs.js:19722 \u00B7 src/main/webapp/js/diagramly/Editor.js:14969 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:11797 \u00B7 src/main/webapp/js/diagramly/ElkLayout.js:325 \u2014 the 4 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. There is one copy in each of 4 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":19722}}}],"partialFingerprints":{"codehealthFindingId/v1":"74174362b7c63f311561b7ca8335e9b9aee4670576ab31fc4b6842ef421633cd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Dialogs.js:19769 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:19802 \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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":19769}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc8623f15693d128684e50c1372e1d678594c4ce38751d1725c571bb1c2ecc06"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4 locations): src/main/webapp/js/diagramly/Dialogs.js:21207 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:25885 \u00B7 src/main/webapp/js/diagramly/GitHubClient.js:927 \u00B7 src/main/webapp/js/diagramly/GitLabClient.js:828 \u2014 the 3 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":21207}}}],"partialFingerprints":{"codehealthFindingId/v1":"a48d2c3e3e37d7e9a286683a94ca6236b3e19d835583fed89c747059b1c486ae"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Dialogs.js:25945 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:25955 \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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":25945}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac3621c74dc8aa27c628f68a2210aeb9f67462fcf81f447024152617f01a70f3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/main/webapp/js/diagramly/DiffSync.js:572 \u00B7 src/main/webapp/js/diagramly/DiffSync.js:1575 \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/webapp/js/diagramly/DiffSync.js"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"13683d9ffc615f8d6b5ed8fa509dd4a3af92624e2ad4a49c34fb9f5892c17345"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/main/webapp/js/diagramly/DiffSync.js:1952 \u00B7 src/main/webapp/js/diagramly/DiffSync.js:2777 \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/webapp/js/diagramly/DiffSync.js"},"region":{"startLine":1952}}}],"partialFingerprints":{"codehealthFindingId/v1":"76d19c862c301ae8677dcf552004db7ab864c03cf465c561b7c53f33df89eaab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/main/webapp/js/diagramly/DrawioFile.js:3402 \u00B7 src/main/webapp/js/diagramly/DrawioFile.js:3793 \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/webapp/js/diagramly/DrawioFile.js"},"region":{"startLine":3402}}}],"partialFingerprints":{"codehealthFindingId/v1":"726bfda70c22c04bc4d3733d059089d43b56c24f80fc1c394d27216519484402"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4 locations): src/main/webapp/js/diagramly/DriveClient.js:3028 \u00B7 src/main/webapp/js/diagramly/DriveClient.js:3076 \u00B7 src/main/webapp/js/diagramly/DriveClient.js:3112 \u00B7 src/main/webapp/js/diagramly/DriveClient.js:3145 \u2014 all 4 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/webapp/js/diagramly/DriveClient.js"},"region":{"startLine":3028}}}],"partialFingerprints":{"codehealthFindingId/v1":"07fd1ca85743014a20b210f3d2b557a10b91d257499eeba83cf205b9e8f80afc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/main/webapp/js/diagramly/DriveFile.js:974 \u00B7 src/main/webapp/js/diagramly/DriveFile.js:1048 \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/webapp/js/diagramly/DriveFile.js"},"region":{"startLine":974}}}],"partialFingerprints":{"codehealthFindingId/v1":"302ca0863a715073ec922957fb719f045516857e79906fc1aa7c6fa44ab79baf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4 locations): src/main/webapp/js/diagramly/Editor.js:956 \u00B7 src/main/webapp/js/diagramly/Editor.js:972 \u00B7 src/main/webapp/js/diagramly/Editor.js:980 \u00B7 src/main/webapp/js/diagramly/Editor.js:988 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":956}}}],"partialFingerprints":{"codehealthFindingId/v1":"60aea1b3d212c79ff5f128766668e84ab1f047aa06ed71b00134711555016520"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Editor.js:969 \u00B7 src/main/webapp/js/diagramly/Editor.js:977 \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/webapp/js/diagramly/Editor.js"},"region":{"startLine":969}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c453cea99c928aa96772a846cbb442edfc4d1fd8d1ae771402ad51d68658ae2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/main/webapp/js/diagramly/EditorUi.js:3818 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:3857 \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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":3818}}}],"partialFingerprints":{"codehealthFindingId/v1":"47191cb81734baaa22e556c8ab5e329016c8b16d13e567dc97b47f9447710d12"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4 locations): src/main/webapp/js/diagramly/EditorUi.js:10304 \u00B7 src/main/webapp/js/diagramly/ElkLayout.js:345 \u00B7 src/main/webapp/js/diagramly/ElkLayout.js:469 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar.js:1009 \u2014 the 4 copies are spread across 3 files, 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":10304}}}],"partialFingerprints":{"codehealthFindingId/v1":"69f163aeac59c966b5ff2a2b57c1a81c2da69a98c857bd9133644bea1163db2e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/main/webapp/js/diagramly/EditorUi.js:10328 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:10423 \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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":10328}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbb0d61611acdac10716d639473bb2c1cde0ad05469058e52220ff4760828942"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/main/webapp/js/diagramly/EditorUi.js:10808 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:11079 \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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":10808}}}],"partialFingerprints":{"codehealthFindingId/v1":"42c22662273ed76eb85c88f363b7ea780fd737ec4d8a2a5c62cd1ae889813e6c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 8 locations): src/main/webapp/js/diagramly/EditorUi.js:10822 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:10954 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:11270 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:12257 \u00B7 \u002B4 more site(s) not listed \u2014 all 8 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":10822}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf256b6c6f2b49a573f97aae516395f6074e6aa3cf749fc931a2ac8c8519bbb0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/main/webapp/js/diagramly/EditorUi.js:10930 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:11244 \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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":10930}}}],"partialFingerprints":{"codehealthFindingId/v1":"a108806d76472d3a8985db3ed2cf387b0e33474f10ac466e924ed8dd24e417f2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/main/webapp/js/diagramly/EditorUi.js:11134 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:11145 \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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":11134}}}],"partialFingerprints":{"codehealthFindingId/v1":"fed654443bebdbe962822e89ba1d8971bd132320e3d0f79a3501fb8a060957c9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/main/webapp/js/diagramly/EditorUi.js:11186 \u00B7 src/main/webapp/js/diagramly/Pages.js:326 \u2014 the 2 copies are spread across 2 files, 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":11186}}}],"partialFingerprints":{"codehealthFindingId/v1":"e22f1c645f446249b079c2bdb24d65d415b11bbf54bc728f332efbd069209375"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4 locations): src/main/webapp/js/diagramly/EditorUi.js:11413 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:11425 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:11807 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:12398 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":11413}}}],"partialFingerprints":{"codehealthFindingId/v1":"59a1d5db35aca81e2df3f2c5ec348eaf3ed39b490fb1b286f0089838c82f7120"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): src/main/webapp/js/diagramly/EditorUi.js:12391 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:12438 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:12895 \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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":12391}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfd65941b0cc5ff471bde068ba6cb9417665204acbfbc49244c37b4ac1e4b712"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/main/webapp/js/diagramly/EditorUi.js:24826 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:24851 \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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":24826}}}],"partialFingerprints":{"codehealthFindingId/v1":"17bf49b5603d2c519b97ebb923aab064a0d8ce8d4b480db0c9ae63a3566628a6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/main/webapp/js/diagramly/EditorUi.js:27757 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:27765 \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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":27757}}}],"partialFingerprints":{"codehealthFindingId/v1":"603b7f7b28d358cec9570f3758cbf176b025b53b8f506a3906cb0dac4b356682"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/main/webapp/js/diagramly/EditorUi.js:33711 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:33802 \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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":33711}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f14f29d0d4dfa9f7d8caeac742102d3f915365fe61d39eb6116d2c306ae2436"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/main/webapp/js/diagramly/EditorUi.js:33797 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:33812 \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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":33797}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bd37ef579216f81b92c98335b5e4354d942f9573458ad5106d21b73596e1dda"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/main/webapp/js/diagramly/EditorUi.js:39435 \u00B7 src/main/webapp/js/diagramly/LayoutPicker.js:2994 \u2014 the 2 copies are spread across 2 files, 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":39435}}}],"partialFingerprints":{"codehealthFindingId/v1":"99b74a77a480c445e572658d6886b413cbb364f16d3179d250b27fb8487d53e2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/main/webapp/js/diagramly/EditorUi.js:45704 \u00B7 src/main/webapp/js/diagramly/Embed.js:812 \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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":45704}}}],"partialFingerprints":{"codehealthFindingId/v1":"783f5958182cb0dc2375ef73de8968447b2e8e0bbcafdfb4d8b60a54cc9ab4c2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/main/webapp/js/diagramly/ElkLayout.js:563 \u00B7 src/main/webapp/js/diagramly/ElkLayout.js:586 \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/webapp/js/diagramly/ElkLayout.js"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a832e0bf85dd5ae872991dc499f9c9cf4e18fbed3af6dbc9a90324a35daaaa9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Extensions.js:7245 \u00B7 src/main/webapp/js/diagramly/Extensions.js:7262 \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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":7245}}}],"partialFingerprints":{"codehealthFindingId/v1":"7566e3429707ffa9b6bf690eb214f679a451303f632ee47ecd3a2871701f9244"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Extensions.js:7442 \u00B7 src/main/webapp/js/diagramly/Extensions.js:7456 \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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":7442}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d9ddcd23528b4f49fad9d4257889fb48259f531810d6fbec208a45f6d192dd6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 11 locations): src/main/webapp/js/diagramly/Extensions.js:8966 \u00B7 src/main/webapp/js/diagramly/Extensions.js:8982 \u00B7 src/main/webapp/js/diagramly/Extensions.js:9003 \u00B7 src/main/webapp/js/diagramly/Extensions.js:9024 \u00B7 \u002B7 more site(s) not listed \u2014 all 11 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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":8966}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b1c209e3cb6be17f1e7fa628e2bfee2e8ee8d6f2374b0d90384348121d976ce"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Extensions.js:9537 \u00B7 src/main/webapp/js/diagramly/Extensions.js:10121 \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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":9537}}}],"partialFingerprints":{"codehealthFindingId/v1":"b263a435d829285cae95f2fdf6a96cd74147eb727bad95fe9303000eb13c2a5b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6 locations): src/main/webapp/js/diagramly/Extensions.js:9668 \u00B7 src/main/webapp/js/diagramly/Extensions.js:9676 \u00B7 src/main/webapp/js/diagramly/Extensions.js:9684 \u00B7 src/main/webapp/js/diagramly/graphml/mxGraphMlCodec.js:1373 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 copies are spread across 2 files, 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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":9668}}}],"partialFingerprints":{"codehealthFindingId/v1":"aea4df0a78f3c48e9dedfe22a06370a13440813627792582e4f4376fe5ce7e13"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Extensions.js:9690 \u00B7 src/main/webapp/js/diagramly/graphml/mxGraphMlCodec.js:1395 \u2014 the 2 copies are spread across 2 files, 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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":9690}}}],"partialFingerprints":{"codehealthFindingId/v1":"4477849356f91f040f0e4404e9881c0c8115fca151e2d0432d98427e45ef7ac6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): src/main/webapp/js/diagramly/Extensions.js:10717 \u00B7 src/main/webapp/js/diagramly/Extensions.js:10861 \u00B7 src/main/webapp/js/diagramly/Extensions.js:10920 \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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":10717}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3d307b051263687acbc89fc40d267095e2e5bd824f50e281604d783a19570d2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Extensions.js:10777 \u00B7 src/main/webapp/js/diagramly/Extensions.js:11230 \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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":10777}}}],"partialFingerprints":{"codehealthFindingId/v1":"99b1586939f44171f66100e3ba243c0c8ad54d390d849bbeb6501688d3bcbc12"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Extensions.js:11035 \u00B7 src/main/webapp/js/diagramly/Extensions.js:11045 \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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":11035}}}],"partialFingerprints":{"codehealthFindingId/v1":"949d09d2373d4f06ad400c4fd914e36c9668a19fd4aadca1a4f39dd9dad92f6c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Extensions.js:11325 \u00B7 src/main/webapp/js/diagramly/Extensions.js:12642 \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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":11325}}}],"partialFingerprints":{"codehealthFindingId/v1":"78ad4e80164d706a30f56df2a89ff3338286f44abad34cf0049f2d53e0a2fb00"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Extensions.js:11488 \u00B7 src/main/webapp/js/diagramly/Extensions.js:11505 \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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":11488}}}],"partialFingerprints":{"codehealthFindingId/v1":"27c0c7dec4cc396aec7bdd6e1c95404b41b042b8f90fd8169dd5f364d379f36b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Extensions.js:11902 \u00B7 src/main/webapp/js/diagramly/Extensions.js:12016 \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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":11902}}}],"partialFingerprints":{"codehealthFindingId/v1":"64e921314687669e0460082e60cbb576d952d0af9b8527b659baf3eeb3c08b9a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/main/webapp/js/diagramly/ForceExplorer.js:4218 \u00B7 src/main/webapp/js/diagramly/SpringMove.js:1292 \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/webapp/js/diagramly/ForceExplorer.js"},"region":{"startLine":4218}}}],"partialFingerprints":{"codehealthFindingId/v1":"f33c4dde7391a8c9e327409902fb179255092b5bafd08d6de3402ebeb289b7a9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/main/webapp/js/diagramly/GitHubClient.js:473 \u00B7 src/main/webapp/js/diagramly/GitHubClient.js:527 \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/webapp/js/diagramly/GitHubClient.js"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b1d5952d31962f246835caccbf443ed714dcb984128729baf6d6f5162baf267"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/main/webapp/js/diagramly/GraphViewer.js:1361 \u00B7 src/main/webapp/js/diagramly/GraphViewer.js:2307 \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/webapp/js/diagramly/GraphViewer.js"},"region":{"startLine":1361}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a1217b223b222e300bb098b5847780de1a07a81d6cc9328e186282207d9bd3f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/main/webapp/js/diagramly/LayoutPicker.js:535 \u00B7 src/main/webapp/js/diagramly/SpringMove.js:89 \u2014 the 2 copies are spread across 2 files, 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/webapp/js/diagramly/LayoutPicker.js"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f8b5a08d948d8c09226173347f3aa71233f9e5c7d7f2ebd818f54dacea4d078"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): src/main/webapp/js/diagramly/LayoutPicker.js:2312 \u00B7 src/main/webapp/js/diagramly/LayoutPicker.js:3489 \u00B7 src/main/webapp/js/diagramly/LayoutPicker.js:3684 \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/webapp/js/diagramly/LayoutPicker.js"},"region":{"startLine":2312}}}],"partialFingerprints":{"codehealthFindingId/v1":"6639f48ff7e51164a89940aca2f2583fba9026f491d62ac65d6bceb5f09c595d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4 locations): src/main/webapp/js/diagramly/LibavoidRouting.js:563 \u00B7 src/main/webapp/js/diagramly/LibavoidRouting.js:646 \u00B7 src/main/webapp/js/diagramly/LibavoidRouting.js:756 \u00B7 src/main/webapp/js/diagramly/LibavoidRouting.js:3550 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/LibavoidRouting.js"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"6338ef666d12a6c86a13801bd1d46647257e264fbe815af71e4f6a944b3de133"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/main/webapp/js/diagramly/LibavoidRouting.js:648 \u00B7 src/main/webapp/js/diagramly/LibavoidRouting.js:2094 \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/webapp/js/diagramly/LibavoidRouting.js"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"baa9a6e97aafdac93c663db97b2ae71651ccc92af98e1b548c184eb99c36c096"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/main/webapp/js/diagramly/LibavoidRouting.js:3644 \u00B7 src/main/webapp/js/diagramly/LibavoidRouting.js:4208 \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/webapp/js/diagramly/LibavoidRouting.js"},"region":{"startLine":3644}}}],"partialFingerprints":{"codehealthFindingId/v1":"12268adad92f6a4ef661233b393f4593c7fac50dc7a64173808e55cf8dc4a2ca"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): src/main/webapp/js/diagramly/LibavoidRouting.js:4102 \u00B7 src/main/webapp/js/diagramly/SpringMove.js:361 \u2014 the two spans are one implementation copied and then locally edited \u2014 51 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/LibavoidRouting.js"},"region":{"startLine":4102}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7f0ccdd2cd94472accf59f2326b7dd0cd1159feff9ccd6bb93749ec1f294c4d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4 locations): src/main/webapp/js/diagramly/LightboxModern.js:1648 \u00B7 src/main/webapp/js/diagramly/LightboxModern.js:1657 \u00B7 src/main/webapp/js/diagramly/LightboxModern.js:1826 \u00B7 src/main/webapp/js/diagramly/LightboxModern.js:1849 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/LightboxModern.js"},"region":{"startLine":1648}}}],"partialFingerprints":{"codehealthFindingId/v1":"04c5c35a5c07b3984ae6eb810cfc6584943aca79750460e670debafae9994a0f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/main/webapp/js/diagramly/LightboxModern.js:2299 \u00B7 src/main/webapp/js/diagramly/ViewerModern.js:496 \u2014 the 2 copies are spread across 2 files, 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/webapp/js/diagramly/LightboxModern.js"},"region":{"startLine":2299}}}],"partialFingerprints":{"codehealthFindingId/v1":"20f5f97ae1ecb2665acd197023d793ccf563f8a2bdd1882585a8598de8c29069"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/main/webapp/js/diagramly/LightboxModern.js:2907 \u00B7 src/main/webapp/js/diagramly/ViewerModern.js:2284 \u2014 the 2 copies are spread across 2 files, 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/webapp/js/diagramly/LightboxModern.js"},"region":{"startLine":2907}}}],"partialFingerprints":{"codehealthFindingId/v1":"813ad913df810ac2a64b4772e51505ce5fbe0f70719fa265dcefee27108b1e92"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/main/webapp/js/diagramly/LightboxModern.js:3085 \u00B7 src/main/webapp/js/diagramly/LightboxModern.js:3094 \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/webapp/js/diagramly/LightboxModern.js"},"region":{"startLine":3085}}}],"partialFingerprints":{"codehealthFindingId/v1":"270c83df3c1851ac5230c9e741b87ff3e7b42ca5b0ba48be3fa588db5bfaea5a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/main/webapp/js/diagramly/LightboxModern.js:3569 \u00B7 src/main/webapp/js/diagramly/ViewerModern.js:1997 \u2014 the 2 copies are spread across 2 files, 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/webapp/js/diagramly/LightboxModern.js"},"region":{"startLine":3569}}}],"partialFingerprints":{"codehealthFindingId/v1":"11ba04999d208858d1bf25f8902410aee4838b4a12175328c08186341120b8ea"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/main/webapp/js/diagramly/LightboxModern.js:3601 \u00B7 src/main/webapp/js/diagramly/LightboxModern.js:3624 \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/webapp/js/diagramly/LightboxModern.js"},"region":{"startLine":3601}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cdebf6a9f31abfb5b542151d6e9d158e218b966210a09b77f3915c1fcef63f4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Pages.js:3077 \u00B7 src/main/webapp/js/diagramly/Pages.js:3121 \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/webapp/js/diagramly/Pages.js"},"region":{"startLine":3077}}}],"partialFingerprints":{"codehealthFindingId/v1":"e04a07b1b7b1b99d19e94bad151dfa15a0dac36be00afc46b946a44a7891cbc9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): src/main/webapp/js/diagramly/SpringHandle.js:122 \u00B7 src/main/webapp/js/diagramly/gif/AnimationExport.js:1157 \u2014 the two spans are one implementation copied and then locally edited \u2014 50 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/SpringHandle.js"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"32aecadff3fcc4c7cb69406d83d084dbedc74839afab493140029358d977e2ac"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/main/webapp/js/diagramly/SpringMove.js:865 \u00B7 src/main/webapp/js/diagramly/SpringMove.js:892 \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/webapp/js/diagramly/SpringMove.js"},"region":{"startLine":865}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c667630f84684d6e9462b01686e464775a5fc1e673ce3da22cb458653dfffcc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Trees.js:405 \u00B7 src/main/webapp/js/diagramly/Trees.js:491 \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/webapp/js/diagramly/Trees.js"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eac7252368ea82a24f45b8e4b4c453ccd2c6e7edbf9ba83ed95334f7d05d360"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Trees.js:431 \u00B7 src/main/webapp/js/diagramly/Trees.js:469 \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/webapp/js/diagramly/Trees.js"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b88120a3332a3ad7ec1abf82f84892406f739b7b84846d45952c7e913b08bd5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/main/webapp/js/diagramly/emf/emf-svg.js:1027 \u00B7 src/main/webapp/js/diagramly/emf/emf-svg.js:1070 \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/webapp/js/diagramly/emf/emf-svg.js"},"region":{"startLine":1027}}}],"partialFingerprints":{"codehealthFindingId/v1":"436478092bad4ed8effdbf65fe81826c846fef5632a306d60664e79eada4b6db"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/main/webapp/js/diagramly/emf/emf-svg.js:2625 \u00B7 src/main/webapp/js/diagramly/emf/emf-svg.js:2654 \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/webapp/js/diagramly/emf/emf-svg.js"},"region":{"startLine":2625}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bea25203e752947cd675c116f5fcf1b5a7f4cbb2c3f6a502247326ca80fa8fa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/main/webapp/js/diagramly/emf/emf-svg.js:2806 \u00B7 src/main/webapp/js/diagramly/emf/emf-svg.js:2819 \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/webapp/js/diagramly/emf/emf-svg.js"},"region":{"startLine":2806}}}],"partialFingerprints":{"codehealthFindingId/v1":"d06ec74688f45cd3bb4c75bb1f8d3a8de430c0191a2663e2a18ed305454655ef"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/main/webapp/js/diagramly/graphml/mxGraphMlCodec.js:1306 \u00B7 src/main/webapp/js/diagramly/graphml/mxGraphMlCodec.js:1314 \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/webapp/js/diagramly/graphml/mxGraphMlCodec.js"},"region":{"startLine":1306}}}],"partialFingerprints":{"codehealthFindingId/v1":"76c0e760adb63df426deb5c2cc5ea13f36e73e503912f26211e186800dd8e011"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/main/webapp/js/diagramly/graphml/mxGraphMlCodec.js:1436 \u00B7 src/main/webapp/js/diagramly/graphml/mxGraphMlCodec.js:1444 \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/webapp/js/diagramly/graphml/mxGraphMlCodec.js"},"region":{"startLine":1436}}}],"partialFingerprints":{"codehealthFindingId/v1":"18bfed5fccac3d224e5f0b237866ed86d2ec9ce15b30e4095f13199e64af675f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/main/webapp/js/diagramly/graphml/mxGraphMlCodec.js:2861 \u00B7 src/main/webapp/js/diagramly/vsdx/importer.js:476 \u2014 the 2 copies are spread across 2 files, 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/webapp/js/diagramly/graphml/mxGraphMlCodec.js"},"region":{"startLine":2861}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef0f0fbda9ab5baaed5cc84aef6af199af9a7375e9c2fee832649fad3c8f0306"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 133 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Android.js:103 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Android.js:165 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Android.js:176 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Android.js:187 \u00B7 \u002B129 more site(s) not listed \u2014 the 133 copies are spread across 12 files, 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/webapp/js/diagramly/sidebar/Sidebar-Android.js"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"9adf8ad335e7cfc469b5d53747f09d5888a5f8b9b6a33a79222bdf2e2de4f990"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-ArchiMate3.js:146 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-ArchiMate4.js:395 \u2014 the 2 copies are spread across 2 files, 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/webapp/js/diagramly/sidebar/Sidebar-ArchiMate3.js"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b088cb701e5c3347e0cd70b2a9bd2b903ce66a72bf05ea2d5b08bd611f5d3bc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-ArchiMate4.js:115 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-ArchiMate4.js:139 \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/webapp/js/diagramly/sidebar/Sidebar-ArchiMate4.js"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dea01b81dcf72a06fb8db3c11a97f283a4579a09223e5c67326f774083c923f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 8 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-ArchiMate4.js:159 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-UML25.js:910 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-UML25.js:928 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-UML25.js:971 \u00B7 \u002B4 more site(s) not listed \u2014 the 8 copies are spread across 2 files, 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/webapp/js/diagramly/sidebar/Sidebar-ArchiMate4.js"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d26e1fdfd5698613c9f16b5347521fd6b6ffc4fb16860509e9dbedd68ee5dad"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 37 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Atlassian.js:79 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Atlassian.js:90 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Atlassian.js:101 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Atlassian.js:204 \u00B7 \u002B33 more site(s) not listed \u2014 the 37 copies are spread across 7 files, 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/webapp/js/diagramly/sidebar/Sidebar-Atlassian.js"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8b103e833f671d29b197a5e16a6aed9879af91b0119fc907714d6364ffa56e6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Atlassian.js:473 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Atlassian.js:481 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Atlassian.js:489 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Atlassian.js:541 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 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/webapp/js/diagramly/sidebar/Sidebar-Atlassian.js"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9c7837e3be6dea857b0ddcc5259df9552f903a7a50ef832fe90b3268554c8fc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Atlassian.js:592 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-BPMN.js:1364 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-GCP2.js:224 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Ios7.js:623 \u2014 the 4 copies are spread across 4 files, 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/webapp/js/diagramly/sidebar/Sidebar-Atlassian.js"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb34b7fff88bf033447215403b4de6c752038fa01b44ffa5896047176f1c3e64"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-BPMN.js:1359 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:2401 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:2727 \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/webapp/js/diagramly/sidebar/Sidebar-BPMN.js"},"region":{"startLine":1359}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c1d43345f566c5ff9117f53360d8565183bd9a24b3b6629c7bf56ae1c1a2273"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 47 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:247 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:273 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:299 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:325 \u00B7 \u002B43 more site(s) not listed \u2014 the 47 copies are spread across 7 files, 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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"15f7c77c51154d3fe1d914632b94661144ea63c053f50655520b126c76c909a2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:574 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:639 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:677 \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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"420feec71ab62e7dc84ad5c407e82fdc4670129df0ea2993465a81c56a23fc54"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:604 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:4508 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:4570 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:4617 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4f7eee6d1a531609167867c875f7e919c81980954907551aeca8f242aa137e9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:867 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:945 \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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfc611122f645c230883b2011c523582b03e56b57a59768835404cfa248ebdfc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:1013 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:1100 \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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":1013}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a20f9853971835e9173f91806bc6b53cebda4c88e56f0c406771f8472f60e5a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:1030 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:1114 \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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":1030}}}],"partialFingerprints":{"codehealthFindingId/v1":"3baca95dcc61d9b400b9f9ab0e3e8205864e3249977d8f217f18030755c2ff19"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:1059 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:1092 \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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":1059}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b15cefcf60cd55f1eb6bba369cd75b3b0bfb593cf022426e21c61c6d8904393"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 8 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:1470 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:1504 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:1538 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:1572 \u00B7 \u002B4 more site(s) not listed \u2014 all 8 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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":1470}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dc1944d3f610700adde6fe4fb1e85e4d3938105a5e0304e5f98dfdc01326ab3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:2343 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:2367 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:2471 \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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":2343}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ac46d596b90cb79e973b8d344fa69f9c5459fd2c4ef3072a03ea3995fd92eea"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:2498 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:2620 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:2638 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:2768 \u00B7 \u002B2 more site(s) not listed \u2014 all 6 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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":2498}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b0890cbf3872adf4dffe80f028c63ef850e41c6bd8eb1f904737351c194d564"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 33 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:2564 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:2656 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:2673 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:2691 \u00B7 \u002B29 more site(s) not listed \u2014 the 33 copies are spread across 3 files, 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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":2564}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7be5fc0b80d447cfe4ec3119e64929dfc840faf68996a6b4b0c0020875393ac"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:2671 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:2732 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Mockup.js:256 \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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":2671}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b5563f318de3ec54d540e0808911dbab605790cacbacd862a3bc367c1b727a0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:2749 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:2829 \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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":2749}}}],"partialFingerprints":{"codehealthFindingId/v1":"9307c6be48341c4fdba59425922031e07b3be5428f99092abc04e20f0285cd3b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:2779 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:2819 \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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":2779}}}],"partialFingerprints":{"codehealthFindingId/v1":"c67a214c4d7919530a882dda32d5c13ff94f7746eba04ac42d8bc7d9d1498fbb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 11 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:3284 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:3879 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:3950 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:4063 \u00B7 \u002B7 more site(s) not listed \u2014 the 11 copies are spread across 3 files, 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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":3284}}}],"partialFingerprints":{"codehealthFindingId/v1":"58c0efc6085c05f86ed1544abbce4d330c2ec27f07007626751b55010722ffdc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:3327 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:3355 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:3366 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:3377 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":3327}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d0cc9f63746d579a947cc701011a572e69b6853e0b705b42f96277a8df42029"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:3622 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:3684 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:3728 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:3777 \u2014 all 4 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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":3622}}}],"partialFingerprints":{"codehealthFindingId/v1":"e82853620fb3cca83b95fc6c7f7e5fb60633aa2dabc082d8104e7f1a57e55aa4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:3645 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:3805 \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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":3645}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4332f7dfb5cc3dc6abbca4632956c937eedd3cb67f83eff8ce960f43c082a27"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:3815 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:3825 \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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":3815}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7db0e7c709922849899c5fdba11f71da589f6f10a9dd15f8769cce369e6a952"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:4085 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:4093 \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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":4085}}}],"partialFingerprints":{"codehealthFindingId/v1":"f65ab81baec8c2e442d0d1ff4082170cc309cd009d89c00bdf8538f36106744d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:4127 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:4135 \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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":4127}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a7e59806a59bad0550b7075538235f40d3431f428f7aed6be0fc9cd885b7796"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 8 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-EIP.js:47 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-EIP.js:64 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-EIP.js:78 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-EIP.js:285 \u00B7 \u002B4 more site(s) not listed \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/webapp/js/diagramly/sidebar/Sidebar-EIP.js"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca8069b518aca92369c1d07ac7c59245f4993ba7363d927f5c671d08aeae9c34"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-EIP.js:107 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-EIP.js:241 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:1919 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:2421 \u2014 the 4 copies are spread across 2 files, 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/webapp/js/diagramly/sidebar/Sidebar-EIP.js"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0033a8f7ef63c29c699d3f50c81eb9799b771f4e68c1c1d351667e7766d792a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-GCP2.js:2093 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-GCP2.js:2147 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-GCP2.js:2210 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-GCP2.js:2348 \u00B7 \u002B2 more site(s) not listed \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/webapp/js/diagramly/sidebar/Sidebar-GCP2.js"},"region":{"startLine":2093}}}],"partialFingerprints":{"codehealthFindingId/v1":"309d836eb967f6d4d1e8a258a5a2a074f115e874d82099435c6b878ec19df584"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-GCP2.js:2116 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-GCP2.js:2132 \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/webapp/js/diagramly/sidebar/Sidebar-GCP2.js"},"region":{"startLine":2116}}}],"partialFingerprints":{"codehealthFindingId/v1":"398f97f6e5dd998cb2bb762eca704bd6946350bac5f9d0d193e13b766a0dbbb7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-GCP2.js:2214 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-IBMCloud.js:473 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-IBMCloud.js:517 \u2014 the 3 copies are spread across 2 files, 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/webapp/js/diagramly/sidebar/Sidebar-GCP2.js"},"region":{"startLine":2214}}}],"partialFingerprints":{"codehealthFindingId/v1":"71b6660cbf27fc5934ebd2580596aad4b126097eff59a319fd0a77c9603b0c56"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 16 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:332 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:1757 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:1772 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:1787 \u00B7 \u002B12 more site(s) not listed \u2014 the 16 copies are spread across 2 files, 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/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"d40ce4b4b85fbc3c6c361b4e5fdd3dc15f2c4b63b924dcf39b8d82be19189f41"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 11 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:1017 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:1084 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:1109 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:1138 \u00B7 \u002B7 more site(s) not listed \u2014 all 11 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/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js"},"region":{"startLine":1017}}}],"partialFingerprints":{"codehealthFindingId/v1":"70214b495e03b47d30d877c5c05eb623f6b18ee1dbb438fd2e92cad6ee10022a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:1349 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:1600 \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/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js"},"region":{"startLine":1349}}}],"partialFingerprints":{"codehealthFindingId/v1":"72890e8e9ad4df962faabfe886a62e69e5d8f1a23b3b2203854414d5aeb29fe0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:1382 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:1391 \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/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js"},"region":{"startLine":1382}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f9096ad7e11319c159868f1bee04af16352148ab4081f5e7b78ee116587d1f2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:1458 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:1466 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:1474 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:1482 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js"},"region":{"startLine":1458}}}],"partialFingerprints":{"codehealthFindingId/v1":"82efcf21d867ae9b05ba25c816f98d3b76523af8cb1f1aa9f54273b31d7361ec"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 8 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:1643 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:1681 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:1973 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:2401 \u00B7 \u002B4 more site(s) not listed \u2014 the 8 copies are spread across 2 files, 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/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js"},"region":{"startLine":1643}}}],"partialFingerprints":{"codehealthFindingId/v1":"96577ea78074f0f509239fe70064ab2b6336cccf24bcbaaacc4d4ee03f38a4c8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:1679 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:2398 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:1461 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:2865 \u2014 the 4 copies are spread across 2 files, 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/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js"},"region":{"startLine":1679}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcc90ff3cb05402955165cd51e7a0721226c1cc9c6391e322a7cee8732442cd4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js:826 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js:835 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js:844 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js:853 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 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/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":826}}}],"partialFingerprints":{"codehealthFindingId/v1":"d16eb53c1389a919de013796a60b177d041eed6dd80146e69ea23cc76306fecf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js:867 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js:924 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js:959 \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/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4890f91e1e10df37c9615e887b8ba9f494760ca9e0d063461b2ed14f9f414ba"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js:970 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js:980 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js:990 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js:1000 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":970}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3b7fa516e0e2638559d084fde64780b242d836cf02d5b1e57485c056a630f52"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Ios7.js:269 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Ios7.js:283 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Ios7.js:297 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Ios7.js:311 \u00B7 \u002B2 more site(s) not listed \u2014 all 6 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/webapp/js/diagramly/sidebar/Sidebar-Ios7.js"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e23dac22018d9aceec077bcdebf3c57fb0b155dc4c75be288c37f156f1b3b3d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Mockup.js:330 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Mockup.js:382 \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/webapp/js/diagramly/sidebar/Sidebar-Mockup.js"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"98e5714acab6b3e17f5b57d2f343afdd23614c04316ae85966f0e83cd680030c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Mockup.js:355 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Mockup.js:364 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Mockup.js:386 \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/webapp/js/diagramly/sidebar/Sidebar-Mockup.js"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"687296685f96bed0abab89285d2835b1f90d1d58004bc40867f26698ade19bfe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Mockup.js:416 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Mockup.js:424 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Mockup.js:432 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Mockup.js:933 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Mockup.js"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"8648fdd56e1baecb66d69626a2ee4892714148637770d64bf17eb943e8aae7df"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Salesforce.js:572 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Salesforce.js:592 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Salesforce.js:612 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-UML25.js:1005 \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/webapp/js/diagramly/sidebar/Sidebar-Salesforce.js"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"767aa601f75065236a9d75b27b5a35ed6c613923a09e22ebad13e3039ea945d2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:71 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:91 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:1557 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:1875 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 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/webapp/js/diagramly/sidebar/Sidebar-Sysml.js"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"8327bfec776c26d46c1465b4435dfd8837434a3aaf89fc088f8b15e7fcafbfb1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:564 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:1012 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:2162 \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/webapp/js/diagramly/sidebar/Sidebar-Sysml.js"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"f43042d51b1b3b13fbbb8c4f3f63275c6881108eaacd2c1381a3df8a4115d434"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:641 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-UML25.js:1030 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-UML25.js:1063 \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/webapp/js/diagramly/sidebar/Sidebar-Sysml.js"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"16d13c83651b8e7d925bf46f483c832495145b71e5b5445d1fcf7024f759a674"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:843 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-UML25.js:907 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-UML25.js:925 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-UML25.js:968 \u00B7 \u002B1 more site(s) not listed \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/webapp/js/diagramly/sidebar/Sidebar-Sysml.js"},"region":{"startLine":843}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecb16d39ac4d35dcdaa52480c8a272d8fdf43f82f5e9b744ae58b5939c09b85e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:1630 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:1667 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:1786 \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/webapp/js/diagramly/sidebar/Sidebar-Sysml.js"},"region":{"startLine":1630}}}],"partialFingerprints":{"codehealthFindingId/v1":"db857d7fdac623c6dbb28fb4505ad7e69927f0d599eeb49a89385dbb4e6928ba"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 7 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:1654 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:1669 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:1790 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:1951 \u00B7 \u002B3 more site(s) not listed \u2014 all 7 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/webapp/js/diagramly/sidebar/Sidebar-Sysml.js"},"region":{"startLine":1654}}}],"partialFingerprints":{"codehealthFindingId/v1":"319e8057e7e8ab37310d89ebbdc445faf9bea38ac678890fd17faa0303ec16e6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:2174 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:2190 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:2227 \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/webapp/js/diagramly/sidebar/Sidebar-Sysml.js"},"region":{"startLine":2174}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb08bfc2e08d1adb15144e42e0edf9cb83db07c277ba0f2f6a4231ec79e6f141"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-UML25.js:73 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-UML25.js:149 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-UML25.js:349 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-UML25.js:365 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-UML25.js"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"c213ac9e5965e44ccbee870364bb0b91fbeb92777516e84b9e33713dd8e61091"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-UML25.js:503 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-UML25.js:515 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-UML25.js:588 \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/webapp/js/diagramly/sidebar/Sidebar-UML25.js"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"c32ae3ab619c633ef85ba9599de4ac1cebd1d885447a0770f14da8f0f21e6c83"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-UML25.js:1027 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-UML25.js:1060 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-UML25.js:1149 \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/webapp/js/diagramly/sidebar/Sidebar-UML25.js"},"region":{"startLine":1027}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e06dad7da094add172c10a365976ba71397b8d5ba92df9bd893ec243fb1bbd3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar.js:1752 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar.js:1807 \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/webapp/js/diagramly/sidebar/Sidebar.js"},"region":{"startLine":1752}}}],"partialFingerprints":{"codehealthFindingId/v1":"437fe583ae7e399538a6d0e8916e2216080558c848084ae2c8b348df6e76a9a5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/main/webapp/js/diagramly/tidy/Tidy.js:660 \u00B7 src/main/webapp/js/diagramly/tidy/TidyStyle.js:1149 \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/webapp/js/diagramly/tidy/Tidy.js"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"b493539dc7b0ec213a65e8a7b0d3e0ded9a9ebca00d71c9b836d6c9d52c77e68"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/main/webapp/js/diagramly/util/mxAsyncCanvas.js:182 \u00B7 src/main/webapp/js/diagramly/util/mxJsCanvas.js:636 \u2014 the 2 copies are spread across 2 files, 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/webapp/js/diagramly/util/mxAsyncCanvas.js"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d2c6a9f41dc4a69c0f8a2fe603b7dbe6164a08ea5381df09ef5695c9e3343a9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 8 locations): src/main/webapp/js/diagramly/App.js:2692 \u00B7 src/main/webapp/js/diagramly/App.js:2700 \u00B7 src/main/webapp/js/diagramly/App.js:2708 \u00B7 src/main/webapp/js/diagramly/App.js:2716 \u00B7 \u002B4 more site(s) not listed \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/webapp/js/diagramly/App.js"},"region":{"startLine":2692}}}],"partialFingerprints":{"codehealthFindingId/v1":"9834c658cbc3f1ee7d736e5f295eec78c26c43ffc263dfeb0d87be48112e5345"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): src/main/webapp/js/diagramly/App.js:4380 \u00B7 src/main/webapp/js/diagramly/App.js:7048 \u00B7 src/main/webapp/js/diagramly/App.js:7173 \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/webapp/js/diagramly/App.js"},"region":{"startLine":4380}}}],"partialFingerprints":{"codehealthFindingId/v1":"28275abf1d1b98cc25c3a1f517fd4560968d16d93d751011c37d83926648eb77"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6 locations): src/main/webapp/js/diagramly/App.js:5629 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:467 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:6027 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:19950 \u00B7 \u002B2 more site(s) not listed \u2014 the 3 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/webapp/js/diagramly/App.js"},"region":{"startLine":5629}}}],"partialFingerprints":{"codehealthFindingId/v1":"68dc22f91115592e7fa09817baffec33a83843cf6bd777cea1058ab300cc0ecb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 20 locations): src/main/webapp/js/diagramly/App.js:9868 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:4533 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:5624 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:6104 \u00B7 \u002B16 more site(s) not listed \u2014 the 20 copies are spread across 3 files, 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/webapp/js/diagramly/App.js"},"region":{"startLine":9868}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fc1e51d1525a853b9212e88d906dd181d03e9c6a19f4e020913603ae4a01697"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/main/webapp/js/diagramly/ConfigEditor.js:828 \u00B7 src/main/webapp/js/diagramly/ConfigEditor.js:1043 \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/webapp/js/diagramly/ConfigEditor.js"},"region":{"startLine":828}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c4ab5a250097900c02cf7a08d497aa986a86b393b6dd67fea947ec4b2eb0726"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 16 locations): src/main/webapp/js/diagramly/Dialogs.js:11 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:373 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:4427 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:4535 \u00B7 \u002B12 more site(s) not listed \u2014 the 3 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"0176fb54be606b407a45592347b0e1db713eed9f64d2c82f0163e49329a31a3b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6 locations): src/main/webapp/js/diagramly/Dialogs.js:82 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:369 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:681 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:5154 \u00B7 \u002B2 more site(s) not listed \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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"74efab998d87ced8d99ecb46635dbbaf05fe30d3bfe6865d2e22b99570508d68"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6 locations): src/main/webapp/js/diagramly/Dialogs.js:370 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:682 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:2417 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:5155 \u00B7 \u002B2 more site(s) not listed \u2014 the 3 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcf30c8539b61ab241dff33048cbf807e0e0e1f278121b9e0cb1ccfa7f188789"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Dialogs.js:927 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:24473 \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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":927}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5aabad86622708d63b7a1b361421d2a073c336a829406120379f8b191cc214a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Dialogs.js:952 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:6109 \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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":952}}}],"partialFingerprints":{"codehealthFindingId/v1":"e80244dcd0c5a61b5953eb31ee71753b83c5980016aa76bc09a22c5207e72a6c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4 locations): src/main/webapp/js/diagramly/Dialogs.js:4541 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:6026 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:12027 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:19949 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":4541}}}],"partialFingerprints":{"codehealthFindingId/v1":"215f4aaad9318953070deed5b4795b1283136000a6196b69e9d76e9362b2613d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 13 locations): src/main/webapp/js/diagramly/Dialogs.js:5632 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:9275 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:12444 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:12453 \u00B7 \u002B9 more site(s) not listed \u2014 the 4 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":5632}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f2352d1c58a451d04d27e95f82e8de53ec32a11fc279f011ab7c945009a23ba"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 11 locations): src/main/webapp/js/diagramly/Dialogs.js:5646 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:10529 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:10924 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:10954 \u00B7 \u002B7 more site(s) not listed \u2014 all 11 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":5646}}}],"partialFingerprints":{"codehealthFindingId/v1":"aae569eda7e6a351e14c21c2390dbe5abe3ced7650834e1d163c63ce07176d81"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5 locations): src/main/webapp/js/diagramly/Dialogs.js:6051 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:9444 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:18811 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:10835 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies are spread across 2 files, 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":6051}}}],"partialFingerprints":{"codehealthFindingId/v1":"03a8ff28fa324df8f6b5bdabfa7661f3b8dc9f16d1e8acb13c106ed82b7536bb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Dialogs.js:6329 \u00B7 src/main/webapp/js/diagramly/Editor.js:12079 \u2014 the 2 copies are spread across 2 files, 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":6329}}}],"partialFingerprints":{"codehealthFindingId/v1":"24320b566165098aa688e7e2bdd1420d86d2ce3d049ae156c9255ce544f8ff09"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Dialogs.js:11109 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:11628 \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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":11109}}}],"partialFingerprints":{"codehealthFindingId/v1":"b346ac76861c31c25f9737ea65b1df3853fc804de712120a56dd14e29bab49f3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4 locations): src/main/webapp/js/diagramly/Dialogs.js:11189 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:18153 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:19134 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:23930 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":11189}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a55220272ae7eec4bcc3c05d6e0d5e25bcbbd899f085bb59e19c42fd7e8af85"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4 locations): src/main/webapp/js/diagramly/Dialogs.js:12498 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:19436 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:19451 \u00B7 src/main/webapp/js/diagramly/Editor.js:15000 \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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":12498}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d3b4462f2ac98c52f38de5bdc038e5441a4fc2b22a1b05566579795e93b769b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Dialogs.js:12668 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:12977 \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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":12668}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f7b03b0dc65b1a58265be3ecd4c2452a5d9c811d692fece69464600330fe1e5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Dialogs.js:13037 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:13373 \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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":13037}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8533cce02658fa118cc0de251b971b6355dd2dc4b07ce6ebf7eaa27bcbbdf9c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Dialogs.js:18350 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:18715 \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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":18350}}}],"partialFingerprints":{"codehealthFindingId/v1":"0deb77d19ee453eefe5504a2d8ee37dfad82384cf330589b6f2a75b4f2465f91"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Dialogs.js:21857 \u00B7 src/main/webapp/js/diagramly/ElectronApp.js:845 \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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":21857}}}],"partialFingerprints":{"codehealthFindingId/v1":"3725217a82124338f1dcb7c8cb8f56532582244a74da6c3a4cbb77cf8f08aa87"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): src/main/webapp/js/diagramly/Dialogs.js:24256 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:24265 \u00B7 src/main/webapp/js/diagramly/LayoutPicker.js:2325 \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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":24256}}}],"partialFingerprints":{"codehealthFindingId/v1":"aed744c4b94a9f1dde5a8f361ffc4d3a824920ce0ac62a9c9523d31068922eed"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Dialogs.js:26112 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:26145 \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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":26112}}}],"partialFingerprints":{"codehealthFindingId/v1":"85930958462dfb975fb551e31330420a387c2c861f74dd5d5f7aa2deda2db398"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Dialogs.js:26329 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:26351 \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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":26329}}}],"partialFingerprints":{"codehealthFindingId/v1":"99c18357b7167d4fe7bca4bf51ccecf410d76c3df987d46fc35ec1cc91fa79e0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Dialogs.js:27027 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:28039 \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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":27027}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e385144a1c976abc8a961393accf85d4625a075ddfed84798f8603b0cc8a773"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/main/webapp/js/diagramly/DiffSync.js:2718 \u00B7 src/main/webapp/js/diagramly/DiffSync.js:2743 \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/webapp/js/diagramly/DiffSync.js"},"region":{"startLine":2718}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b24673016e1471831eec2cc6b76eec36f56d02613ef106465bf792940aae5ec"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/main/webapp/js/diagramly/DrawioFileSync.js:2862 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:20981 \u2014 the 2 copies are spread across 2 files, 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/webapp/js/diagramly/DrawioFileSync.js"},"region":{"startLine":2862}}}],"partialFingerprints":{"codehealthFindingId/v1":"02d4c97d2cd596e2dfbbc26b4ac8d98c1a68d94e700a2ff2c759c50fcdcf5628"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/main/webapp/js/diagramly/DriveClient.js:1495 \u00B7 src/main/webapp/js/diagramly/DriveClient.js:1759 \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/webapp/js/diagramly/DriveClient.js"},"region":{"startLine":1495}}}],"partialFingerprints":{"codehealthFindingId/v1":"dddecd737329fda8c4db94126bdf898c3c41a9a88ec5b07b43a5bc91e0507c7b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Editor.js:11471 \u00B7 src/main/webapp/js/diagramly/Editor.js:11494 \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/webapp/js/diagramly/Editor.js"},"region":{"startLine":11471}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cf9121ca2dc293ea5a5f930cd05d4bc9c88f59a344e026b27b8744e233cd9bb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Editor.js:12820 \u00B7 src/main/webapp/js/diagramly/Editor.js:12938 \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/webapp/js/diagramly/Editor.js"},"region":{"startLine":12820}}}],"partialFingerprints":{"codehealthFindingId/v1":"53ebda41ea97ad4bcc0964c6b6726033670c5a1eec4917885646265c8884454d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Editor.js:13668 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:14218 \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/webapp/js/diagramly/Editor.js"},"region":{"startLine":13668}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa3405e9bf8716e523f4d0fc15539d2edb6308e12bd695252c2cabd58156cad1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5 locations): src/main/webapp/js/diagramly/Editor.js:15043 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:10434 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:11983 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:12088 \u00B7 \u002B1 more site(s) not listed \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/webapp/js/diagramly/Editor.js"},"region":{"startLine":15043}}}],"partialFingerprints":{"codehealthFindingId/v1":"e318a6fa389928dfdcb265d7a7a2bf31231bd9ceb75aee65e62819b014a7b016"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/main/webapp/js/diagramly/EditorUi.js:5354 \u00B7 src/main/webapp/js/diagramly/ElectronApp.js:1587 \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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":5354}}}],"partialFingerprints":{"codehealthFindingId/v1":"91a97d5646437af5bc2100f3ff278b21b3f492e807fbeffded170d7db2c241ec"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/main/webapp/js/diagramly/EditorUi.js:7533 \u00B7 src/main/webapp/js/diagramly/Pages.js:4151 \u2014 the 2 copies are spread across 2 files, 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":7533}}}],"partialFingerprints":{"codehealthFindingId/v1":"74155b61e8ce1eed60ecbf5a7cdfea98433c4affbc4341cf892a01c501cee42c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/main/webapp/js/diagramly/EditorUi.js:8421 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:11812 \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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":8421}}}],"partialFingerprints":{"codehealthFindingId/v1":"edb6b7ee520fa84bced448ebf66a77cebb6b33bdb847a7a912b4740a4b043b84"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4 locations): src/main/webapp/js/diagramly/EditorUi.js:8575 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:10913 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:12232 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:12243 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":8575}}}],"partialFingerprints":{"codehealthFindingId/v1":"88f2c3342b76c7b6b12a126127e5a8a2dc15b519b7e7b6858313b4a63007623f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/main/webapp/js/diagramly/EditorUi.js:9364 \u00B7 src/main/webapp/js/diagramly/ElectronApp.js:2712 \u2014 the 2 copies are spread across 2 files, 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":9364}}}],"partialFingerprints":{"codehealthFindingId/v1":"db63b8de5cfde0519f35c870bb4235634678c57f98e7d0b599420846f4c1ea79"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/main/webapp/js/diagramly/EditorUi.js:10945 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:11259 \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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":10945}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6fc908da7deb49967f2fe1af06fb7e03d4d7da13dc74b1952f06530a7b3654d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/main/webapp/js/diagramly/EditorUi.js:11427 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:11809 \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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":11427}}}],"partialFingerprints":{"codehealthFindingId/v1":"343ac4847256650447cf8d8356ed2d72a87a8c481766b1ce67d2596e908bb7f6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/main/webapp/js/diagramly/EditorUi.js:11632 \u00B7 src/main/webapp/js/diagramly/LayoutPicker.js:1840 \u2014 the 2 copies are spread across 2 files, 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":11632}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef0e7ec2a4b72cecd547c752eccc6bffa86a7cb1136ed24ef5b318266a274008"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/main/webapp/js/diagramly/EditorUi.js:17641 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:18098 \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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":17641}}}],"partialFingerprints":{"codehealthFindingId/v1":"6031f6382925c395f69688d667d2001305c8b32e4f5f8824c46970137d8b0278"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/main/webapp/js/diagramly/EditorUi.js:25877 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:25982 \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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":25877}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca5e3bfc579d85a9d8473be33ad699b63a439e08da28c229744a87b78da71b77"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/main/webapp/js/diagramly/EditorUi.js:42040 \u00B7 src/main/webapp/js/diagramly/ElectronApp.js:2842 \u2014 the 2 copies are spread across 2 files, 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":42040}}}],"partialFingerprints":{"codehealthFindingId/v1":"d932754ce8be41d7880822b9f118e77f52627c34f8668ee52d3f63815960c4e0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/main/webapp/js/diagramly/EditorUi.js:45488 \u00B7 src/main/webapp/js/diagramly/LayoutPicker.js:3408 \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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":45488}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c4425eafb65339cc39acf7a6ca62bff0e9901a0a65593f6263eb40a2d32aa13"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/main/webapp/js/diagramly/ElkLayout.js:391 \u00B7 src/main/webapp/js/diagramly/ElkLayout.js:471 \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/webapp/js/diagramly/ElkLayout.js"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1822637db9bb1ff2a8216a43a667ad12b511972c85aeed223ea33f6ae7cd07e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): src/main/webapp/js/diagramly/ElkLayout.js:548 \u00B7 src/main/webapp/js/diagramly/ElkLayout.js:566 \u00B7 src/main/webapp/js/diagramly/ElkLayout.js:589 \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/webapp/js/diagramly/ElkLayout.js"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7366d512db4b48e8ace59dfcb6159343b689d6478dfd33182f3c1ce2eb943a8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Embed.js:118 \u00B7 src/main/webapp/js/diagramly/GraphViewer.js:1121 \u2014 the 2 copies are spread across 2 files, 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/webapp/js/diagramly/Embed.js"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b703794d26114c3e486d9223d33bb24d96e377eb39e637be5cd2969be13a3c6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Extensions.js:8215 \u00B7 src/main/webapp/js/diagramly/Extensions.js:8259 \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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":8215}}}],"partialFingerprints":{"codehealthFindingId/v1":"b64f1ad0208375bcf359707821e3d0fdbd7d63d98fe531df2f4bd37a009d4335"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5 locations): src/main/webapp/js/diagramly/Extensions.js:8879 \u00B7 src/main/webapp/js/diagramly/Extensions.js:9572 \u00B7 src/main/webapp/js/diagramly/Extensions.js:10109 \u00B7 src/main/webapp/js/diagramly/Extensions.js:12402 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":8879}}}],"partialFingerprints":{"codehealthFindingId/v1":"237826551db43e1b50af5bb21db2efc8cf015296c616da5c0b4dd49bd780ecf7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Extensions.js:8952 \u00B7 src/main/webapp/js/diagramly/Extensions.js:9055 \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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":8952}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ea24d3acc53576e59b9362fb343d3da6f785e5ad614c66a1a72eb0f9dd64b73"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Extensions.js:9404 \u00B7 src/main/webapp/js/diagramly/Extensions.js:9427 \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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":9404}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a00e95859c45d91e5e0145b3f2d0a8641c5de7462f4a12fafc0f73c34c5813a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5 locations): src/main/webapp/js/diagramly/Extensions.js:9461 \u00B7 src/main/webapp/js/diagramly/Extensions.js:9470 \u00B7 src/main/webapp/js/diagramly/Extensions.js:9479 \u00B7 src/main/webapp/js/diagramly/Extensions.js:9499 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":9461}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e8b3076577bad43b8d20455d6242a6c5cb153646b92b8337c1ab3f379c524f3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Extensions.js:10119 \u00B7 src/main/webapp/js/diagramly/Extensions.js:12382 \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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":10119}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ca469deb38c60a78510269babe0d459ab40d52939e8ac530705bb703eb80e44"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 15 locations): src/main/webapp/js/diagramly/Extensions.js:10328 \u00B7 src/main/webapp/js/diagramly/Extensions.js:10423 \u00B7 src/main/webapp/js/diagramly/Extensions.js:10721 \u00B7 src/main/webapp/js/diagramly/Extensions.js:10843 \u00B7 \u002B11 more site(s) not listed \u2014 all 15 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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":10328}}}],"partialFingerprints":{"codehealthFindingId/v1":"bafa83358b5f45d207541703f2d7a01e558a34ee8fb9169f24b49185bef94157"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Extensions.js:10811 \u00B7 src/main/webapp/js/diagramly/Extensions.js:11246 \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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":10811}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ba59aa29a8a0385b82d82fd6d36c9db785b90a1eaea56ae484e5f03b44b6493"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Extensions.js:11432 \u00B7 src/main/webapp/js/diagramly/Extensions.js:11470 \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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":11432}}}],"partialFingerprints":{"codehealthFindingId/v1":"a58d038aee8d8c5f6d33540fb2aae9342d2608d0555b017515e1b1aa15974c98"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4 locations): src/main/webapp/js/diagramly/Extensions.js:12071 \u00B7 src/main/webapp/js/diagramly/Extensions.js:12124 \u00B7 src/main/webapp/js/diagramly/Extensions.js:12548 \u00B7 src/main/webapp/js/diagramly/Extensions.js:12587 \u2014 all 4 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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":12071}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfcac84c7b2963eb7bb3f0abeff90d7411ebbf5c108bf06b909c71040c2ee565"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/main/webapp/js/diagramly/ForceExplorer.js:4237 \u00B7 src/main/webapp/js/diagramly/ForceExplorer.js:4382 \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/webapp/js/diagramly/ForceExplorer.js"},"region":{"startLine":4237}}}],"partialFingerprints":{"codehealthFindingId/v1":"c020a3d88e604d36ff679558f70ea04a8e92a6436c2fe44d38119053a7e3e06c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/main/webapp/js/diagramly/LayoutPicker.js:629 \u00B7 src/main/webapp/js/diagramly/Trees.js:655 \u2014 the 2 copies are spread across 2 files, 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/webapp/js/diagramly/LayoutPicker.js"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"55926826fb91b50c8d25228f5113bbf1687851e77cfe3e8a2f8c2c7d0f0753e1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/main/webapp/js/diagramly/LayoutPicker.js:2158 \u00B7 src/main/webapp/js/diagramly/tidy/TidyWindow.js:372 \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/webapp/js/diagramly/LayoutPicker.js"},"region":{"startLine":2158}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9ff65a6c382a82a4a41db7dd5596384fc77ab2eb6c1d49fdb122a9bf81a6eb7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/main/webapp/js/diagramly/LibavoidRouting.js:406 \u00B7 src/main/webapp/js/diagramly/LibavoidRouting.js:2092 \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/webapp/js/diagramly/LibavoidRouting.js"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"988539a66cf4f7442ee5189541389b698ffe1e0448281c00e375b611d7246272"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/main/webapp/js/diagramly/LibavoidRouting.js:1302 \u00B7 src/main/webapp/js/diagramly/LibavoidRouting.js:1315 \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/webapp/js/diagramly/LibavoidRouting.js"},"region":{"startLine":1302}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbb9ba10b2e904913b2068b489d62a32192621c4d207fee22bfadcdf6f6e8ad5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/main/webapp/js/diagramly/LightboxModern.js:2781 \u00B7 src/main/webapp/js/diagramly/LightboxModern.js:2789 \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/webapp/js/diagramly/LightboxModern.js"},"region":{"startLine":2781}}}],"partialFingerprints":{"codehealthFindingId/v1":"98eb3f8fa90e785c50162041ef48ff45be618f23f62fd21f5a16a62d4677e614"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): src/main/webapp/js/diagramly/Minimal.js:422 \u00B7 src/main/webapp/js/diagramly/SimpleClassic.js:19 \u2014 the two spans are one implementation copied and then locally edited \u2014 53 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Minimal.js"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2f4d2d720ccf326b492cbccacc39562764961bffbcc754c5594ac0d62a25d99"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): src/main/webapp/js/diagramly/Pages.js:1650 \u00B7 src/main/webapp/js/grapheditor/Editor.js:1811 \u2014 the two spans are one implementation copied and then locally edited \u2014 76 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Pages.js"},"region":{"startLine":1650}}}],"partialFingerprints":{"codehealthFindingId/v1":"966f254186a44d626a293cd8c11c204cbe6bd9963e44db9b26fee7a9db5fafeb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/main/webapp/js/diagramly/SpringMove.js:663 \u00B7 src/main/webapp/js/diagramly/SpringMove.js:1239 \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/webapp/js/diagramly/SpringMove.js"},"region":{"startLine":663}}}],"partialFingerprints":{"codehealthFindingId/v1":"2129db2153d60b529a696a660b67b7f1006ab8bbf48425340f3bf426564df489"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 22 locations): src/main/webapp/js/diagramly/Trees.js:2149 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:3838 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:3929 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:3999 \u00B7 \u002B18 more site(s) not listed \u2014 the 22 copies are spread across 4 files, 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/webapp/js/diagramly/Trees.js"},"region":{"startLine":2149}}}],"partialFingerprints":{"codehealthFindingId/v1":"a67888fa69665165b490a00ab0de1a4b66cc7b8aced250aa45fe10954416b24a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4 locations): src/main/webapp/js/diagramly/emf/emf-svg.js:2527 \u00B7 src/main/webapp/js/diagramly/emf/emf-svg.js:2541 \u00B7 src/main/webapp/js/diagramly/emf/emf-svg.js:2574 \u00B7 src/main/webapp/js/diagramly/emf/emf-svg.js:2588 \u2014 all 4 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/webapp/js/diagramly/emf/emf-svg.js"},"region":{"startLine":2527}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb4b18be487c01c98702c85181dd3698fce780d1150ad15601496774aabb51dd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): src/main/webapp/js/diagramly/graphml/mxGraphMlCodec.js:1425 \u00B7 src/main/webapp/js/diagramly/graphml/mxGraphMlCodec.js:1438 \u00B7 src/main/webapp/js/diagramly/graphml/mxGraphMlCodec.js:1446 \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/webapp/js/diagramly/graphml/mxGraphMlCodec.js"},"region":{"startLine":1425}}}],"partialFingerprints":{"codehealthFindingId/v1":"68498b7c84969bb9a73ce3824dfd292093e903f9460e89a0aa7d628e346fea36"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/main/webapp/js/diagramly/graphml/mxGraphMlCodec.js:1722 \u00B7 src/main/webapp/js/diagramly/graphml/mxGraphMlCodec.js:1730 \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/webapp/js/diagramly/graphml/mxGraphMlCodec.js"},"region":{"startLine":1722}}}],"partialFingerprints":{"codehealthFindingId/v1":"66e3529185e189680419fa3bd17c1fb9c7595f9eba178b2f5e4868d90a2a3d0f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/main/webapp/js/diagramly/graphml/mxGraphMlCodec.js:2162 \u00B7 src/main/webapp/js/diagramly/graphml/mxGraphMlCodec.js:2176 \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/webapp/js/diagramly/graphml/mxGraphMlCodec.js"},"region":{"startLine":2162}}}],"partialFingerprints":{"codehealthFindingId/v1":"350068c366f7d86e34a72784574fc81f35a03af382532c93e4ed2740cb973a37"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/main/webapp/js/diagramly/mxRuler.js:429 \u00B7 src/main/webapp/js/diagramly/mxRuler.js:523 \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/webapp/js/diagramly/mxRuler.js"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3957ae75409a322978850cf94f59f8ff8614e794798e72f22153e75c3473fad"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 68 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-AWS.js:719 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-AWS.js:729 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-AWS.js:739 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-AWS.js:749 \u00B7 \u002B64 more site(s) not listed \u2014 the 68 copies are spread across 8 files, 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/webapp/js/diagramly/sidebar/Sidebar-AWS.js"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"9709b5363a86f61939559de2c920ae58dc3a00e21d8f9054d039fb0c9f087cd7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 106 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-AWS3.js:512 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-AWS3.js:522 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-AWS3.js:545 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-AWS3.js:555 \u00B7 \u002B102 more site(s) not listed \u2014 the 106 copies are spread across 10 files, 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/webapp/js/diagramly/sidebar/Sidebar-AWS3.js"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2abeeb2206647d3be6e09a1019df01fe103b27974b63d8def7e35abbb56858e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 34 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-AWS3.js:60 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-AWS3.js:117 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-AWS3.js:142 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-AWS3.js:163 \u00B7 \u002B30 more site(s) not listed \u2014 the 34 copies are spread across 2 files, 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/webapp/js/diagramly/sidebar/Sidebar-AWS3.js"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb1c38abb0d05ef059ec2d214ddbc0f1c33636cd10209d15e5d1843574148d82"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-AWS4.js:422 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-AWS4.js:1511 \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/webapp/js/diagramly/sidebar/Sidebar-AWS4.js"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd064c36022006568bfd20066be3f49ee3a5b24a2107690af7c9ba3e8b284864"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-AWS4.js:523 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-AWS4.js:587 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-AWS4.js:873 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-AWS4.js:1703 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 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/webapp/js/diagramly/sidebar/Sidebar-AWS4.js"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"90366edabf6802156d05f7224523bc682558cfba00dfa19f981d83884814ee27"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-AWS4.js:2364 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-CiscoSafe.js:256 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-CiscoSafe.js:701 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-CiscoSafe.js:1011 \u2014 the 4 copies are spread across 2 files, 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/webapp/js/diagramly/sidebar/Sidebar-AWS4.js"},"region":{"startLine":2364}}}],"partialFingerprints":{"codehealthFindingId/v1":"28e7fba0c8276e6efef7360b802feef7a2ef40841bde58eff0ca10a9b38612f5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 25 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Android.js:164 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Android.js:175 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Android.js:186 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Android.js:197 \u00B7 \u002B21 more site(s) not listed \u2014 the 4 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/webapp/js/diagramly/sidebar/Sidebar-Android.js"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ca4f18a34181dd07930cb70b2ed15a005f84b4a67348137859dcc88bc332edb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 19 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Atlassian.js:213 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:1749 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:1764 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:1779 \u00B7 \u002B15 more site(s) not listed \u2014 the 19 copies are spread across 4 files, 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/webapp/js/diagramly/sidebar/Sidebar-Atlassian.js"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8fc7e5e249334d962d8af07a922fd11aaf96f15d7f1e54897042c320984df95"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 8 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Atlassian.js:346 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Atlassian.js:427 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Atlassian.js:435 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Atlassian.js:443 \u00B7 \u002B4 more site(s) not listed \u2014 the 8 copies are spread across 2 files, 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/webapp/js/diagramly/sidebar/Sidebar-Atlassian.js"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"54d1d6ab8a42687035210038c56c29de333b2cccf0883ba2aadcd26781bc7044"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-BPMN.js:199 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-BPMN.js:1442 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-BPMN.js:1532 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-GCP2.js:94 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 copies are spread across 4 files, 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/webapp/js/diagramly/sidebar/Sidebar-BPMN.js"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ef5fe0f1f9c7fc661550b46865900dd6f4bec13fe1a4bbc671477925753994d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:524 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:547 \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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dbd6582650b04c7105bc9438133fe612786f2effc5d0533517e63b280fd2ffc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:565 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:615 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:653 \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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"03f3fabb17a90065c57b3782af4c8973f6a89e6843ba03d196907416647e8ec8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 10 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:1069 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:1078 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:1107 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:1121 \u00B7 \u002B6 more site(s) not listed \u2014 all 10 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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":1069}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ff04a1c124dc79e3074ac9ba9d353484c1d72d51f73c07fd6394f46dc7725ba"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:1753 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:1775 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:1830 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:1855 \u2014 all 4 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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":1753}}}],"partialFingerprints":{"codehealthFindingId/v1":"4051c9fe8a7e567292994f2ba2994794e523df2b8ed45e574ba75acfc4418cfe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:1930 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:1938 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:1958 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:1966 \u00B7 \u002B2 more site(s) not listed \u2014 all 6 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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":1930}}}],"partialFingerprints":{"codehealthFindingId/v1":"37faaed4445f2261d6b9d0c8ce725c7512d5108cdc5b6ae613df7968ab3f0bc6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 9 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:1944 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Floorplan.js:215 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Floorplan.js:235 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Floorplan.js:283 \u00B7 \u002B5 more site(s) not listed \u2014 the 9 copies are spread across 3 files, 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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":1944}}}],"partialFingerprints":{"codehealthFindingId/v1":"093033cddd31167af553a552ddeae2a253fe8ee480cf53a8b16fdee7e296da9b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:2020 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-GCP2.js:175 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js:484 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js:507 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies are spread across 3 files, 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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":2020}}}],"partialFingerprints":{"codehealthFindingId/v1":"73fb1fd57edd0ae38309af9a895a137865accc2ef92af5795f8d1b87517e51cd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 14 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:2032 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:2155 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:2173 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:2373 \u00B7 \u002B10 more site(s) not listed \u2014 the 14 copies are spread across 4 files, 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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":2032}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee2dca75cb535ef0ef807925366a2ead8bce8abb4b6af1358f32f04138f09c3e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 8 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:2102 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:2217 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:2348 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:3345 \u00B7 \u002B4 more site(s) not listed \u2014 the 8 copies are spread across 2 files, 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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":2102}}}],"partialFingerprints":{"codehealthFindingId/v1":"979bea47565c2d40c53a4dd5aa4be6f37ea61c71a5f45be36368dc2f070f2d92"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 8 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:2371 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Floorplan.js:162 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Floorplan.js:245 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:2270 \u00B7 \u002B4 more site(s) not listed \u2014 the 8 copies are spread across 4 files, 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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":2371}}}],"partialFingerprints":{"codehealthFindingId/v1":"43181106f507725053a36d6ee2d5c48b6d073bd411447579315276b336b8c44d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:2764 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Salesforce.js:41 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Salesforce.js:79 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:444 \u2014 the 4 copies are spread across 3 files, 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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":2764}}}],"partialFingerprints":{"codehealthFindingId/v1":"b04cb28082a1cb79804692832bd610ce1f5de32284f7d2f5937bcdd57f3eca92"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:2859 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:2904 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:2944 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:2979 \u2014 all 4 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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":2859}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d5d3f52925f9d12c829af0c238f30dbe2c34469be9d64fef44491d8f9794957"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-EIP.js:67 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-EIP.js:306 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:1376 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:2772 \u2014 the 4 copies are spread across 2 files, 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/webapp/js/diagramly/sidebar/Sidebar-EIP.js"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c6cc6d7972629d42c21410853d48882cd6856a040e048cf3d06d8bcde027815"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 12 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Floorplan.js:179 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Floorplan.js:195 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Floorplan.js:263 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js:290 \u00B7 \u002B8 more site(s) not listed \u2014 the 12 copies are spread across 2 files, 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/webapp/js/diagramly/sidebar/Sidebar-Floorplan.js"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"50071ba1ebe97fd09d0f697916e77d9965b6dc2bd0a588e1d3da63c68e1ff5bd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 12 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-GCP2.js:577 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-GCP2.js:609 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-GCP2.js:650 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-GCP2.js:697 \u00B7 \u002B8 more site(s) not listed \u2014 all 12 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/webapp/js/diagramly/sidebar/Sidebar-GCP2.js"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"a67f19622508ca76b68cc5941e88c12de32dae5834f0500623725810daefec61"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-GCP2.js:2413 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-IBMCloud.js:396 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-IBMCloud.js:422 \u2014 the 3 copies are spread across 2 files, 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/webapp/js/diagramly/sidebar/Sidebar-GCP2.js"},"region":{"startLine":2413}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbb6fda5a7e05e3b6c19529e2dd482b07fe36666dd984b7f6476644034b5e273"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:161 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:191 \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/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6112e4662916d96870c33cc238c981efa3dad83062053777600426bc2b88d12"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 30 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:204 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:118 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:229 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:299 \u00B7 \u002B26 more site(s) not listed \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/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"42a0c6ab1c74071b6c16af7c6bab87bf0db4d29a311f1a58ccca5c1d52a3bba0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:652 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-UML25.js:501 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-UML25.js:513 \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/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f2ca5a1ff4ca5a9e5c3783b7e11bf295852ab506831fe8e0e281ce653c623ec"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:1626 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:1633 \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/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js"},"region":{"startLine":1626}}}],"partialFingerprints":{"codehealthFindingId/v1":"21fc7b373fd9a40250b396f1c071a1f0e8ed17d22123cb8dd3e1d937585c9a37"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 10 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-IBMCloud.js:102 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-IBMCloud.js:129 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-IBMCloud.js:152 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-IBMCloud.js:171 \u00B7 \u002B6 more site(s) not listed \u2014 all 10 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/webapp/js/diagramly/sidebar/Sidebar-IBMCloud.js"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"74e779b54127363135d69b7659571f64c5f2b1a7bb81cddd8547dd20294d6f52"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 10 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js:241 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js:271 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js:412 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js:437 \u00B7 \u002B6 more site(s) not listed \u2014 all 10 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/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"71ea36c7503c8c213a91fc73bf68ef73d9b2332dd044f32c08f2434cd75902ed"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Ios.js:155 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Ios.js:169 \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/webapp/js/diagramly/sidebar/Sidebar-Ios.js"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad49c8ba2a3f5f5966d52fac4f72300a305720c6dc1d3f309e228f4cc02af64f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Mockup.js:231 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:74 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:803 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:857 \u2014 the 4 copies are spread across 2 files, 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/webapp/js/diagramly/sidebar/Sidebar-Mockup.js"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f87ba056635dab79aa8fc9291d61a2501206366be45db9966d7b70d2f5bd607"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 24 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Office.js:40 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Office.js:91 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Office.js:257 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Office.js:563 \u00B7 \u002B20 more site(s) not listed \u2014 the 24 copies are spread across 3 files, 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/webapp/js/diagramly/sidebar/Sidebar-Office.js"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"0811412d2acf6af6878047949967eae8290b451585a1c8da91b9431260899697"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 13 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:236 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:243 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:250 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:257 \u00B7 \u002B9 more site(s) not listed \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/webapp/js/diagramly/sidebar/Sidebar-Sysml.js"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"dec9a7c958eafb24f5dba5095eff274f7b26445be66c4385a42bc0b478ea4629"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:315 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:822 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-UML25.js:241 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-UML25.js:403 \u2014 the 4 copies are spread across 2 files, 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/webapp/js/diagramly/sidebar/Sidebar-Sysml.js"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ad595335207a964b2103de00f91f344f9f785403f3297523d883076bdc3d441"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:469 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:692 \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/webapp/js/diagramly/sidebar/Sidebar-Sysml.js"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"1786b23f7ee80ea71376f945e04519c1a9b32bbb28fd0bf148f8a37aa6d7d5f5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:758 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:780 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:1307 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:2090 \u00B7 \u002B1 more site(s) not listed \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/webapp/js/diagramly/sidebar/Sidebar-Sysml.js"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7721136f4e44bb1c33fc733132a128bf7ad5d72bdd3b5c7bbf9cd5d5191eba0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:2051 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:2199 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:2264 \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/webapp/js/diagramly/sidebar/Sidebar-Sysml.js"},"region":{"startLine":2051}}}],"partialFingerprints":{"codehealthFindingId/v1":"87c52cec4548fd4dd704c798a43f8286fffb0da1d5b2a795d0e8fdca9cfc4db3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 18 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:2489 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:2504 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:2519 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:2534 \u00B7 \u002B14 more site(s) not listed \u2014 the 18 copies are spread across 2 files, 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/webapp/js/diagramly/sidebar/Sidebar-Sysml.js"},"region":{"startLine":2489}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9109d6b5bfd90fbb1d2b7e794bf21d44cd84adff1941100fe3c6141dece2d0f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-UML25.js:984 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-UML25.js:1086 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-UML25.js:1123 \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/webapp/js/diagramly/sidebar/Sidebar-UML25.js"},"region":{"startLine":984}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ae268ca2e112f71a44435b4d95b65758cff9b3332193f70fed55ceedce7c9b1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-UML25.js:1098 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-UML25.js:1211 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-UML25.js:1255 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-UML25.js:1313 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-UML25.js"},"region":{"startLine":1098}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ce725c9265b546076460497071d1d639d24cdd9a4d1660e5051494054d76769"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/main/webapp/js/diagramly/tidy/Tidy.js:1815 \u00B7 src/main/webapp/js/diagramly/tidy/Tidy.js:1854 \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/webapp/js/diagramly/tidy/Tidy.js"},"region":{"startLine":1815}}}],"partialFingerprints":{"codehealthFindingId/v1":"24245bd38f4d39e47537a6a1554356766586e5b1ab685ee3b59350fcbac6595a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/main/webapp/js/diagramly/vsdx/importer.js:3555 \u00B7 src/main/webapp/js/diagramly/vsdx/importer.js:3564 \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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":3555}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4413d8d93f3f0e607bf0ed35c5d81b7fe5acddcb3c61f3d981ab48bfae3f582"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): src/main/webapp/js/diagramly/App.js:9269 \u00B7 src/main/webapp/js/diagramly/SimpleClassic.js:70 \u2014 the two spans are one implementation copied and then locally edited \u2014 50 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":9269}}}],"partialFingerprints":{"codehealthFindingId/v1":"34214a8286b5a2c4c2a01cc7c0f58a378830d74ba50138444941641eacc4d250"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/main/webapp/js/diagramly/DevTools.js:35 \u00B7 src/main/webapp/js/diagramly/DevTools.js:46 \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/webapp/js/diagramly/DevTools.js"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"b106552229e6f6767d5b9084e5436e2f913b1aada15c5765b6412c48479929c3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Dialogs.js:13247 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:13262 \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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":13247}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bac3b5919b16d0ac34d513a9a9a492eb7327cca976423722e9ae6ca965bc8bb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4 locations): src/main/webapp/js/diagramly/Dialogs.js:13945 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:14050 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:17590 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:46166 \u2014 the 4 copies are spread across 2 files, 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":13945}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a19abfe101142b83317ffc9478d440dd9b061be4f2b3277d1602e6273a9e126"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Dialogs.js:14051 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:46167 \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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":14051}}}],"partialFingerprints":{"codehealthFindingId/v1":"1485b92484b97d0c0ef20154b109056064d89eb9c418651c9aeb87fad005a0cf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): src/main/webapp/js/diagramly/Dialogs.js:18108 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:21337 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:22832 \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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":18108}}}],"partialFingerprints":{"codehealthFindingId/v1":"d524307d11b548f44b755e36662826e93376decd74465f73708f7d921dca7f5a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Dialogs.js:23298 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:12309 \u2014 the 2 copies are spread across 2 files, 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":23298}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee6856a712e59d78509dbaa2897908e1e427aa362b506906928f758c18896b8b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): src/main/webapp/js/diagramly/DrawioFileSync.js:516 \u00B7 src/main/webapp/js/diagramly/DrawioFileSync.js:1669 \u00B7 src/main/webapp/js/diagramly/DrawioFileSync.js:4434 \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/webapp/js/diagramly/DrawioFileSync.js"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"c67999fd0e1a736c9d6f757b452b46e50a54a573bfa42ce4e814624df5154748"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/main/webapp/js/diagramly/DrawioFileSync.js:1667 \u00B7 src/main/webapp/js/diagramly/DrawioFileSync.js:4432 \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/webapp/js/diagramly/DrawioFileSync.js"},"region":{"startLine":1667}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b41638a034b69a2909d9a9ba9c87f214b11f43d01892f549535788eef8781be"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/main/webapp/js/diagramly/DrawioFileSync.js:3032 \u00B7 src/main/webapp/js/diagramly/DrawioFileSync.js:3188 \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/webapp/js/diagramly/DrawioFileSync.js"},"region":{"startLine":3032}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bd8c373cd43183b69556aace792d3329c378aab4ba3f340a711dd8b8e55ffe5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): src/main/webapp/js/diagramly/DriveClient.js:3226 \u00B7 src/main/webapp/js/diagramly/tidy/TidyWindow.js:940 \u00B7 src/main/webapp/js/diagramly/tidy/TidyWindow.js:963 \u2014 the 3 copies are spread across 2 files, 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/webapp/js/diagramly/DriveClient.js"},"region":{"startLine":3226}}}],"partialFingerprints":{"codehealthFindingId/v1":"c409f455e152d13cd33f5943b02447ab7750c4d3e66c78aefe6ee1a85b4ebfd7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/main/webapp/js/diagramly/EditorUi.js:2440 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:2452 \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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":2440}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d480747d0b7099a815d4870772b92317a050649edb34126e8e94fcdcc135a66"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): src/main/webapp/js/diagramly/EditorUi.js:6380 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:6711 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:6719 \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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":6380}}}],"partialFingerprints":{"codehealthFindingId/v1":"742c7d9d0c6977f77ffe7214940dbde55c04c29dde72f124b57806e0db236ab0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/main/webapp/js/diagramly/EditorUi.js:7791 \u00B7 src/main/webapp/js/diagramly/ElectronApp.js:841 \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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":7791}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd5f9b3dba3554b9cf82a9a1c392b3f8bd96887460e29b37c8820eaaad6c5fe8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/main/webapp/js/diagramly/EditorUi.js:9076 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:9188 \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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":9076}}}],"partialFingerprints":{"codehealthFindingId/v1":"9499c26321670f3ff908cf0e944cf076f2632790dded034d7b42711418638c92"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/main/webapp/js/diagramly/EditorUi.js:11898 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:34757 \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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":11898}}}],"partialFingerprints":{"codehealthFindingId/v1":"4af2933f6aa314f42af1c4861f7fb8386cdc096986d5f2facad72d81c493b12a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/main/webapp/js/diagramly/EditorUi.js:12062 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:12070 \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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":12062}}}],"partialFingerprints":{"codehealthFindingId/v1":"25020ad9ef774ac8d089ab2e8a38db7f10133663d3c36448c870e777ccf09a1f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/main/webapp/js/diagramly/EditorUi.js:26965 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:26973 \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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":26965}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2dde9f476470b14916b13c272a286e4a726bb14387a72f19bd5732a556bd9c4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/main/webapp/js/diagramly/EditorUi.js:40448 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:40529 \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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":40448}}}],"partialFingerprints":{"codehealthFindingId/v1":"2daeea57d221fbd6292718319957de72c1bae6ba07464cb3e8396c5d2e270944"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/main/webapp/js/diagramly/EditorUi.js:44166 \u00B7 src/main/webapp/js/diagramly/StorageFile.js:525 \u2014 the 2 copies are spread across 2 files, 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":44166}}}],"partialFingerprints":{"codehealthFindingId/v1":"54ba44cb380826208729f5e7c91e3298a943a574c51f98cbd679d4454305669e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): src/main/webapp/js/diagramly/EditorUi.js:39373 \u00B7 src/main/webapp/js/diagramly/tidy/TidyStyle.js:87 \u2014 the two spans are one implementation copied and then locally edited \u2014 51 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":39373}}}],"partialFingerprints":{"codehealthFindingId/v1":"14d20b586ca2c5b75e562a2d1dc1297c15414f146c658c30af7689628cec5a7c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Extensions.js:7983 \u00B7 src/main/webapp/js/diagramly/Extensions.js:7990 \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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":7983}}}],"partialFingerprints":{"codehealthFindingId/v1":"d91e45edc1a84e0ec7191e10bf88793e6707d197d294d85bcca6ddecde644cbc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 26 locations): src/main/webapp/js/diagramly/Extensions.js:8255 \u00B7 src/main/webapp/js/diagramly/Extensions.js:8263 \u00B7 src/main/webapp/js/diagramly/Extensions.js:8284 \u00B7 src/main/webapp/js/diagramly/Extensions.js:8333 \u00B7 \u002B22 more site(s) not listed \u2014 all 26 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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":8255}}}],"partialFingerprints":{"codehealthFindingId/v1":"d911cf999dafd941272e2d991c949712e1613c9dea200624d8c3de3455feb5d4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 22 locations): src/main/webapp/js/diagramly/Extensions.js:8263 \u00B7 src/main/webapp/js/diagramly/Extensions.js:8284 \u00B7 src/main/webapp/js/diagramly/Extensions.js:8333 \u00B7 src/main/webapp/js/diagramly/Extensions.js:8354 \u00B7 \u002B18 more site(s) not listed \u2014 all 22 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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":8263}}}],"partialFingerprints":{"codehealthFindingId/v1":"72246c0771a239c1d56f6bc74b4eb8d90dda7837ac7ee59854ccd783f208cdaf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Extensions.js:8855 \u00B7 src/main/webapp/js/diagramly/Extensions.js:8887 \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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":8855}}}],"partialFingerprints":{"codehealthFindingId/v1":"886e68a80304d12cca331f7fcf06640c5b15659294573956f2af65d320e83d2e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Extensions.js:9906 \u00B7 src/main/webapp/js/diagramly/Extensions.js:13980 \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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":9906}}}],"partialFingerprints":{"codehealthFindingId/v1":"7767749823d3f2b7b0d35d6bac87634096010b1999f3fd55b1cb4eaac19e01f5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Extensions.js:9915 \u00B7 src/main/webapp/js/diagramly/Extensions.js:13986 \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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":9915}}}],"partialFingerprints":{"codehealthFindingId/v1":"8adb7eb6b14a84a87fc1fbe3f9c7b97bcf84ff503b46a99e3634b73987630630"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Extensions.js:9967 \u00B7 src/main/webapp/js/diagramly/Extensions.js:10027 \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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":9967}}}],"partialFingerprints":{"codehealthFindingId/v1":"05348e160637108f67f8a9fbe8a617df702d765dd8e3288d09f864501b4f7c6b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5 locations): src/main/webapp/js/diagramly/Extensions.js:10314 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:1353 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:1604 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:2334 \u00B7 \u002B1 more site(s) not listed \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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":10314}}}],"partialFingerprints":{"codehealthFindingId/v1":"c85dc592039b0909e72573e0c0a24d24ee98e62e298b08ab7876bfefa776a52a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6 locations): src/main/webapp/js/diagramly/Extensions.js:11109 \u00B7 src/main/webapp/js/diagramly/Extensions.js:11116 \u00B7 src/main/webapp/js/diagramly/Extensions.js:11123 \u00B7 src/main/webapp/js/diagramly/Extensions.js:11130 \u00B7 \u002B2 more site(s) not listed \u2014 all 6 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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":11109}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b32b95d9c2ca7db5c62b5d1b3031ad67e6fd947188be32e92bb423f709a7ac6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Extensions.js:11204 \u00B7 src/main/webapp/js/diagramly/Extensions.js:11222 \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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":11204}}}],"partialFingerprints":{"codehealthFindingId/v1":"d37031f21e24be7ac4fed6bf2512b2065a38326f26336017a39fade4c21f81b2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): src/main/webapp/js/diagramly/Extensions.js:11213 \u00B7 src/main/webapp/js/diagramly/Extensions.js:11864 \u00B7 src/main/webapp/js/diagramly/Extensions.js:12839 \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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":11213}}}],"partialFingerprints":{"codehealthFindingId/v1":"38a775f4b4a67a10ecab97510e9fd1f67751e077758015655519b874974c2169"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 15 locations): src/main/webapp/js/diagramly/Extensions.js:11891 \u00B7 src/main/webapp/js/diagramly/Extensions.js:11900 \u00B7 src/main/webapp/js/diagramly/Extensions.js:11909 \u00B7 src/main/webapp/js/diagramly/Extensions.js:12014 \u00B7 \u002B11 more site(s) not listed \u2014 all 15 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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":11891}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c0b7fd9b77ab92255e628b769115e6c3b7e91720774f9d7c5b05e54158e4d52"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 65 locations): src/main/webapp/js/diagramly/Extensions.js:12847 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Atlassian.js:585 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:353 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:1270 \u00B7 \u002B61 more site(s) not listed \u2014 the 7 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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":12847}}}],"partialFingerprints":{"codehealthFindingId/v1":"183859848cd415825417f60aeace1fe918295de5087bc89c39105ab1c45aebf4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Extensions.js:13168 \u00B7 src/main/webapp/js/diagramly/Extensions.js:13276 \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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":13168}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa46a1548de4c2045b957295dbf636ea4b589c3f8ce66aa39e848bc63cfc02d4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Extensions.js:13782 \u00B7 src/main/webapp/js/diagramly/Extensions.js:13788 \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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":13782}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c514173155729305341fb0def30b288157fc64b05113fb36b93a298b3c47679"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Extensions.js:13887 \u00B7 src/main/webapp/js/diagramly/Extensions.js:13914 \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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":13887}}}],"partialFingerprints":{"codehealthFindingId/v1":"82d6f0effb40220c5aa35a6994ac2d87942608e2b80572a37f6f099df8c17a31"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/main/webapp/js/diagramly/ForceExplorer.js:4162 \u00B7 src/main/webapp/js/diagramly/ForceExplorer.js:4354 \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/webapp/js/diagramly/ForceExplorer.js"},"region":{"startLine":4162}}}],"partialFingerprints":{"codehealthFindingId/v1":"66da3f2a27c05bc356fc138a7417a941a5d8e159f693fd6bc7856a259e6069d4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/main/webapp/js/diagramly/GitHubClient.js:76 \u00B7 src/main/webapp/js/diagramly/GitLabClient.js:241 \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/webapp/js/diagramly/GitHubClient.js"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d032ac5ab00249dfd4fdd7c6af5ace015a90fae3142cf29f14a8b2569f2ea50"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/main/webapp/js/diagramly/GitLabClient.js:377 \u00B7 src/main/webapp/js/diagramly/GitLabClient.js:574 \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/webapp/js/diagramly/GitLabClient.js"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"25f950bdbab8f60a861ff6ac64de9572424e2bebbd0a42e9fc9c46066d814adf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/main/webapp/js/diagramly/GitLabClient.js:426 \u00B7 src/main/webapp/js/diagramly/GitLabClient.js:573 \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/webapp/js/diagramly/GitLabClient.js"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"265993da299baec3007153d21871318254e68164fad49b84510dfc89fae20c20"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/main/webapp/js/diagramly/LibavoidRouting.js:417 \u00B7 src/main/webapp/js/diagramly/LibavoidRouting.js:1304 \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/webapp/js/diagramly/LibavoidRouting.js"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b3e3879e19ff0ab5cc0d68f50097720c778974fa3b10b7ae4b55e15c7453db6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/main/webapp/js/diagramly/LightboxModern.js:1627 \u00B7 src/main/webapp/js/diagramly/LightboxModern.js:1639 \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/webapp/js/diagramly/LightboxModern.js"},"region":{"startLine":1627}}}],"partialFingerprints":{"codehealthFindingId/v1":"cda3fc9c3767cfebb3f3c0982cbc743e5977b5ac5040f600d1638df2545d21b1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): src/main/webapp/js/diagramly/LocalFile.js:172 \u00B7 src/main/webapp/js/diagramly/TrelloClient.js:296 \u2014 the two spans are one implementation copied and then locally edited \u2014 51 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/LocalFile.js"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"138c21db05e3ffa25285454226c833fb727126da4ad4b4495e712e667fba84c0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Menus.js:1356 \u00B7 src/main/webapp/js/diagramly/Menus.js:1364 \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/webapp/js/diagramly/Menus.js"},"region":{"startLine":1356}}}],"partialFingerprints":{"codehealthFindingId/v1":"f57400f6ea5340574e61bf6e3ba166b42f49496607f9baf1b2b33f1922c34a82"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Menus.js:3353 \u00B7 src/main/webapp/js/diagramly/Menus.js:3384 \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/webapp/js/diagramly/Menus.js"},"region":{"startLine":3353}}}],"partialFingerprints":{"codehealthFindingId/v1":"44d80a98bd5dc2143c77f3a4895e321c2bfc00d31f57fc4e66821ced958be16a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5 locations): src/main/webapp/js/diagramly/Trees.js:2141 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-UML25.js:1186 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-UML25.js:1198 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-UML25.js:1242 \u00B7 \u002B1 more site(s) not listed \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/webapp/js/diagramly/Trees.js"},"region":{"startLine":2141}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d512ae22e119941f5c45bbd00a21d2eaf1ad065079d2e1cdc58007ca42006e7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 7 locations): src/main/webapp/js/diagramly/Trees.js:2159 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Salesforce.js:565 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Salesforce.js:605 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Salesforce.js:625 \u00B7 \u002B3 more site(s) not listed \u2014 the 3 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/webapp/js/diagramly/Trees.js"},"region":{"startLine":2159}}}],"partialFingerprints":{"codehealthFindingId/v1":"c03947db4a6dc4ff5c1485ab4a99a1eab21bd65e9583ba0d837646b9a85e1fb6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): src/main/webapp/js/diagramly/emf/emf-svg.js:1946 \u00B7 src/main/webapp/js/diagramly/emf/emf-svg.js:1955 \u00B7 src/main/webapp/js/diagramly/emf/emf-svg.js:2084 \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/webapp/js/diagramly/emf/emf-svg.js"},"region":{"startLine":1946}}}],"partialFingerprints":{"codehealthFindingId/v1":"3669bd97a5db4cff83cc521c215f05c54ae8e0059b26839458e7b04f76f6b097"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/main/webapp/js/diagramly/emf/emf-svg.js:2555 \u00B7 src/main/webapp/js/diagramly/emf/emf-svg.js:2602 \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/webapp/js/diagramly/emf/emf-svg.js"},"region":{"startLine":2555}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fb7a399645a4b3e04f7b502682031a792378d32523f5bb50467330d7afe3018"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): src/main/webapp/js/diagramly/emf/emf-svg.js:2796 \u00B7 src/main/webapp/js/diagramly/emf/emf-svg.js:2809 \u00B7 src/main/webapp/js/diagramly/emf/emf-svg.js:2822 \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/webapp/js/diagramly/emf/emf-svg.js"},"region":{"startLine":2796}}}],"partialFingerprints":{"codehealthFindingId/v1":"574ad455d51b79ed6d50fd10aafdf4ccb8a6803c83280354c322cf054b41c085"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): src/main/webapp/js/diagramly/graphml/mxGraphMlCodec.js:1298 \u00B7 src/main/webapp/js/diagramly/graphml/mxGraphMlCodec.js:1306 \u00B7 src/main/webapp/js/diagramly/graphml/mxGraphMlCodec.js:1314 \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/webapp/js/diagramly/graphml/mxGraphMlCodec.js"},"region":{"startLine":1298}}}],"partialFingerprints":{"codehealthFindingId/v1":"a84da04b8074ef24d410a0376c5a5177b5d6fa8fadcf6d23dbaec17d092708bc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 7 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-AWS4.js:515 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-AWS4.js:865 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-AWS4.js:945 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-AWS4.js:963 \u00B7 \u002B3 more site(s) not listed \u2014 the 7 copies are spread across 2 files, 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/webapp/js/diagramly/sidebar/Sidebar-AWS4.js"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"691c3392794a5c5f68136684b990c3f85193d7232da86d1111da076bc96fd2fe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-AWS4b.js:343 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-AWS4b.js:596 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-AWS4b.js:846 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-AWS4b.js:869 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 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/webapp/js/diagramly/sidebar/Sidebar-AWS4b.js"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"da8c335dc26384a8fe88077a07cfc1cdbce420c07b7d74ec5432a23ff6d10fa8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 45 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Android.js:70 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Android.js:76 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Android.js:85 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Android.js:94 \u00B7 \u002B41 more site(s) not listed \u2014 the 45 copies are spread across 4 files, 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/webapp/js/diagramly/sidebar/Sidebar-Android.js"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"00e0374d83b828414acfefc0dd7e2f6ea2e0038c32565f31da126137a20e56f4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Android.js:117 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Android.js:126 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Android.js:144 \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/webapp/js/diagramly/sidebar/Sidebar-Android.js"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b1a041e8ec129e6bbc8ebd3703b2db9216775454a5a5534eb7bb6c04380a1dd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 26 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Android.js:147 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Android.js:352 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Android.js:369 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Android.js:411 \u00B7 \u002B22 more site(s) not listed \u2014 the 5 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/webapp/js/diagramly/sidebar/Sidebar-Android.js"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa1c7e7d596ec55495030425a6caca4c08efaff7634228c188893a186106c48b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 21 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Android.js:272 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Android.js:278 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Android.js:292 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Android.js:298 \u00B7 \u002B17 more site(s) not listed \u2014 the 3 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/webapp/js/diagramly/sidebar/Sidebar-Android.js"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec0dfe22c2bc630f9723f90987c7d29f35f0c5ad98f09bbf5b3268bb6730e695"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Android.js:279 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Android.js:299 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Mockup.js:816 \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/webapp/js/diagramly/sidebar/Sidebar-Android.js"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"87e50762403fcca6740428731e7876371a336b9cda23ef7b38b71f7a7ce70487"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 14 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Android.js:350 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Android.js:367 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Android.js:456 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Android.js:470 \u00B7 \u002B10 more site(s) not listed \u2014 the 4 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/webapp/js/diagramly/sidebar/Sidebar-Android.js"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"52c3f13c6d5fddf3237b7e35a93fd319c839f2ae2a4d57584315d6487ba60686"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 27 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Android.js:409 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Android.js:420 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Android.js:431 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Android.js:442 \u00B7 \u002B23 more site(s) not listed \u2014 the 5 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/webapp/js/diagramly/sidebar/Sidebar-Android.js"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"49ed0787cf7e36e1bb53dac27695585dc3f17859854734eac9762e8517bf0e03"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 9 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-ArchiMate4.js:145 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-UML25.js:905 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-UML25.js:923 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-UML25.js:966 \u00B7 \u002B5 more site(s) not listed \u2014 the 9 copies are spread across 2 files, 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/webapp/js/diagramly/sidebar/Sidebar-ArchiMate4.js"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"0157dd5f88e1ccd4d8f2da4be3f6bcf22b9774ed0b7f8c564f328c4fcfc332de"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 12 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-ArchiMate4.js:152 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:200 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:394 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:448 \u00B7 \u002B8 more site(s) not listed \u2014 the 12 copies are spread across 3 files, 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/webapp/js/diagramly/sidebar/Sidebar-ArchiMate4.js"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"07485d7a0ff9dee116cfca1da70683c252d8d84b7e5126f2dc5d62a71cf73324"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 42 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Atlassian.js:23 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:554 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:1908 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:2546 \u00B7 \u002B38 more site(s) not listed \u2014 the 42 copies are spread across 6 files, 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/webapp/js/diagramly/sidebar/Sidebar-Atlassian.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfc884460c0bbb1a6d3bcb48e175fa08d6829f351481872f6bdc0c88dd792673"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 75 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:487 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:497 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:531 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:572 \u00B7 \u002B71 more site(s) not listed \u2014 the 75 copies are spread across 5 files, 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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"500798d615141449238b93f43f128f393e3ef7049e4c3585a8a2ba0975e9421d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 42 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:497 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:1873 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:1883 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:1898 \u00B7 \u002B38 more site(s) not listed \u2014 the 42 copies are spread across 5 files, 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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"11ab7a9e5c7ab37102fa9b82d47ef1e76322f985e9036eaf35f73aa1629f1cfe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:593 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:601 \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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":593}}}],"partialFingerprints":{"codehealthFindingId/v1":"eba4547e0fbea654b4d9250e4aa0f9c8e38bed560d9d12b331c5f2831ac058d0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 30 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:696 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:726 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:740 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:753 \u00B7 \u002B26 more site(s) not listed \u2014 the 30 copies are spread across 3 files, 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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"00a998d0a1c9ff8cade15b59ff4ca877d6c495bc419d39d9067854be108c4d2e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 13 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:725 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:4315 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:4328 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:4341 \u00B7 \u002B9 more site(s) not listed \u2014 the 13 copies are spread across 3 files, 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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd3483f63da594f9f56896f59e37ae98a2d664c7ec4bdc20c480e6bfff4f3199"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 11 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:1280 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:1321 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:1698 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:4508 \u00B7 \u002B7 more site(s) not listed \u2014 the 11 copies are spread across 3 files, 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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":1280}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba20e6999123574569fc69be2669dba3427f05c61db73b8970df8cc33fab2718"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 25 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:1315 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:1713 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:1989 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:2526 \u00B7 \u002B21 more site(s) not listed \u2014 the 6 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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":1315}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ebe5a02c08f30424b513b23e26c20aa3b87cb4ba4a9b22669401de4f56d25b9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:1777 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:1832 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-ER.js:71 \u2014 the 3 copies are spread across 2 files, 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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":1777}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe07ec3408c541c47dd21a4ee75d4a025bce390a98ffdecd537ad90f71c3313f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 38 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:1873 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:1883 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:1903 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:1979 \u00B7 \u002B34 more site(s) not listed \u2014 the 38 copies are spread across 4 files, 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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":1873}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce708db5514a6953fc3ed4bbcf320787d1a2193997c73381ed476f771d0a49ac"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 27 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:1974 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:2358 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:2415 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:2458 \u00B7 \u002B23 more site(s) not listed \u2014 the 27 copies are spread across 2 files, 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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":1974}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9b01636a77e899261c909f0ff2f4a5f805134a6ad43ce7324cedf4c61f61bc0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 7 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:2261 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:2446 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:2465 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js:831 \u00B7 \u002B3 more site(s) not listed \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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":2261}}}],"partialFingerprints":{"codehealthFindingId/v1":"c425f90b157cc336a0b69cd05d4943c679de3693ac87ecda18d8788a4f00bafb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 19 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:2358 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:2415 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:2458 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:2493 \u00B7 \u002B15 more site(s) not listed \u2014 the 19 copies are spread across 2 files, 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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":2358}}}],"partialFingerprints":{"codehealthFindingId/v1":"6628703a8d2ed6f328e9306c5efcb1705828e42125f08122e7d50deffe739500"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:2445 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Salesforce.js:41 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Salesforce.js:79 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:444 \u2014 the 4 copies are spread across 3 files, 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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":2445}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc9e113169e9db42a0132f1799addb126a45a200e8e7f3fc7fcdef35bbaac556"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:2589 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:2599 \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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":2589}}}],"partialFingerprints":{"codehealthFindingId/v1":"6afb02cb1befa98902898ab7bf5693af35178f6925f0bd5e74454b6f9796f0f1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:3222 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:3232 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:3440 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:3480 \u00B7 \u002B2 more site(s) not listed \u2014 all 6 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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":3222}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b5f219fcee5c6308509e9eddc2c8895dc71d81c2e9ee492dbc07853a8806f3f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 8 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:4395 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:68 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:88 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:442 \u00B7 \u002B4 more site(s) not listed \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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":4395}}}],"partialFingerprints":{"codehealthFindingId/v1":"06265588640fc27bf0042bf86c2e5afca5dd91ba23b4de27cd3d5f10615253e0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:4522 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js:1240 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js:1259 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js:1278 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 copies are spread across 2 files, 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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":4522}}}],"partialFingerprints":{"codehealthFindingId/v1":"c53148938770b3957c2f00906f2d63e07af392297a420683c406013185cb1f54"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:4552 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:4599 \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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":4552}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aa918a522b4c21f4abe416599040158d5955947d7b02cf94f8fc79a870f4864"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 9 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-C4.js:49 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-C4.js:63 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-C4.js:77 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-C4.js:167 \u00B7 \u002B5 more site(s) not listed \u2014 all 9 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/webapp/js/diagramly/sidebar/Sidebar-C4.js"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee50c21ea14b9334234a580bce6788673d5b5954847a1c79e6add71dca10d9d8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Cabinet.js:51 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Cabinet.js:79 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Cabinet.js:107 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Cabinet.js:125 \u2014 all 4 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/webapp/js/diagramly/sidebar/Sidebar-Cabinet.js"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cf0dc1b4bcff1c59bc7e44434245341e3dd8d9c142b72426fad11c5ff9cba5b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Citrix2.js:15 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Citrix2.js:22 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Citrix2.js:28 \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/webapp/js/diagramly/sidebar/Sidebar-Citrix2.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"28999a81e2d79cfa08a1248b4902b9cd284469d4d30c818c90f30e7568bed047"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 16 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-ER.js:107 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:139 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:279 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:351 \u00B7 \u002B12 more site(s) not listed \u2014 the 16 copies are spread across 3 files, 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/webapp/js/diagramly/sidebar/Sidebar-ER.js"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"64f9928cf0afbc5ea7190c6235ba218617dedb0126a9868db4a6f0b8c425fb06"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 9 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-ER.js:139 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js:826 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js:835 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js:844 \u00B7 \u002B5 more site(s) not listed \u2014 the 4 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/webapp/js/diagramly/sidebar/Sidebar-ER.js"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cfd97d6083c6993aa8b8df33008aa14378111781feacec51bf5d7ae208d27ae"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-GCP2.js:2317 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-GCP2.js:2324 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-GCP2.js:2338 \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/webapp/js/diagramly/sidebar/Sidebar-GCP2.js"},"region":{"startLine":2317}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8068f9d0bb1aedf55b9174f4692760f536b334e50221ddc48093388c02563a1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:1091 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:1099 \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/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js"},"region":{"startLine":1091}}}],"partialFingerprints":{"codehealthFindingId/v1":"45b582a72a9f910e4f66c976c7a126cb7c5a3d6c3c3b2d7693e1f14d4523d414"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:1586 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:1594 \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/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js"},"region":{"startLine":1586}}}],"partialFingerprints":{"codehealthFindingId/v1":"81d244ee5ba5480af31928b2fd1f1cac1351738f3fdac9b4c790df466ecf51c1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:2345 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:2388 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:2394 \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/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js"},"region":{"startLine":2345}}}],"partialFingerprints":{"codehealthFindingId/v1":"f46e46e857d41074d380a3aa73f8fb15691ccea3fbb0382458dae512fada5245"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Ios7.js:226 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Ios7.js:242 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:381 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:436 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies are spread across 2 files, 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/webapp/js/diagramly/sidebar/Sidebar-Ios7.js"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f1e6088818df437e08d8b7469ac8456c10172d38773294dac1237b123dcf83c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 28 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-MSCAE.js:118 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-MSCAE.js:428 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-MSCAE.js:536 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-MSCAE.js:595 \u00B7 \u002B24 more site(s) not listed \u2014 the 28 copies are spread across 4 files, 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/webapp/js/diagramly/sidebar/Sidebar-MSCAE.js"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d3474337fb7ca69ab76caa9c0fc5f72c35b61425ea91d650dbdf1c933c1e16b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Mockup.js:453 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Mockup.js:465 \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/webapp/js/diagramly/sidebar/Sidebar-Mockup.js"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf2d1cdd66ace356e4c1f4e44e2e49ebacf10dcdf500f3422d75f6eb5f06c4aa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-PID.js:124 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-PID.js:130 \u2014 all 2 copies are in the same file, 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/webapp/js/diagramly/sidebar/Sidebar-PID.js"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3bec0cd8d7bc3ae6d2cf382c3a81564644402b33fee870ba080f0851605cad8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 27 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:109 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:217 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:290 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:330 \u00B7 \u002B23 more site(s) not listed \u2014 all 27 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/webapp/js/diagramly/sidebar/Sidebar-Sysml.js"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9b55367f34ec0285e2d36b8fabcfced9fbd601f3501cf445b0a204bbf0729a3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:281 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:353 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:2233 \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/webapp/js/diagramly/sidebar/Sidebar-Sysml.js"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"aadc287673777d79d1a3fc49ffd7a26b7c1337bba7da3c4b3893b93e381f4e14"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 7 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:448 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:651 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:764 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:786 \u00B7 \u002B3 more site(s) not listed \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/webapp/js/diagramly/sidebar/Sidebar-Sysml.js"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d80ff2c4e39b0f69420547748e546b408679d38c2eda3d46b660323b391ff70"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 8 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:656 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-UML25.js:910 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-UML25.js:928 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-UML25.js:971 \u00B7 \u002B4 more site(s) not listed \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/webapp/js/diagramly/sidebar/Sidebar-Sysml.js"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dbacb4d079521a50cf2137fbed4f925356722acc781af90f9bf0915f153be22"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:769 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:791 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:2007 \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/webapp/js/diagramly/sidebar/Sidebar-Sysml.js"},"region":{"startLine":769}}}],"partialFingerprints":{"codehealthFindingId/v1":"93499db30eab893b3981d7b75e515a7e4dfa7856fd3dcba4a28d1aa97d716815"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:1422 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:1434 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:1446 \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/webapp/js/diagramly/sidebar/Sidebar-Sysml.js"},"region":{"startLine":1422}}}],"partialFingerprints":{"codehealthFindingId/v1":"97c2a20d16bb996bda7a0ef21ab10b62a7a056b39e886c6b7d30974edd16a3a5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 21 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:1807 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:1826 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:2400 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:2486 \u00B7 \u002B17 more site(s) not listed \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/webapp/js/diagramly/sidebar/Sidebar-Sysml.js"},"region":{"startLine":1807}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ad5e4f52f72b35f25197e4eb383da1f405e27c8a3633deea36fb5c5cf3bd68d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:1982 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:1988 \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/webapp/js/diagramly/sidebar/Sidebar-Sysml.js"},"region":{"startLine":1982}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3eaf60ae0fd0895208ad1271a5e8fbb3ddb2954db4cb85f63ce934e4f27e1a2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/main/webapp/js/diagramly/tidy/Tidy.js:512 \u00B7 src/main/webapp/js/diagramly/tidy/Tidy.js:580 \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/webapp/js/diagramly/tidy/Tidy.js"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d857ca9cab33b670c92cb542bce1244531109aa74f1e6c59edae886adb5b62d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/main/webapp/js/diagramly/tidy/Tidy.js:1662 \u00B7 src/main/webapp/js/diagramly/tidy/Tidy.js:1883 \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/webapp/js/diagramly/tidy/Tidy.js"},"region":{"startLine":1662}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfd0b06f0f9ca20772974a6df0ecc6531b59523cf209d4742b5c933a9fffb020"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/main/webapp/js/diagramly/vsdx/importer.js:2323 \u00B7 src/main/webapp/js/diagramly/vsdx/importer.js:2484 \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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":2323}}}],"partialFingerprints":{"codehealthFindingId/v1":"76bccda53b82ac10f4b12a96a9edae0a7823800c7fa7b12be01cfd0f11fac888"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/main/webapp/js/diagramly/vsdx/importer.js:2920 \u00B7 src/main/webapp/js/diagramly/vsdx/importer.js:3135 \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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":2920}}}],"partialFingerprints":{"codehealthFindingId/v1":"34adeac5f8212ebbcf7c417604780104a1d5a9ec611242f1fb30247c5f19ce9b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Dialogs.js:4721 \u00B7 src/main/webapp/js/diagramly/Dialogs.js:4726 \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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":4721}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef29a30b5358cfd16f085285e710583d411936af5dcbf9b0dfcc26a902bc5bf4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): src/main/webapp/js/diagramly/DrawioFile.js:785 \u00B7 src/main/webapp/js/diagramly/DrawioFile.js:2556 \u00B7 src/main/webapp/js/diagramly/DrawioFile.js:4202 \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/webapp/js/diagramly/DrawioFile.js"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"424da10c9ae3a1ef9c68e6900ee41e110a72fd065c6511bfa5e730c98240d960"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): src/main/webapp/js/diagramly/DrawioFile.js:3138 \u00B7 src/main/webapp/js/diagramly/DrawioFileSync.js:634 \u2014 the two spans are one implementation copied and then locally edited \u2014 70 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DrawioFile.js"},"region":{"startLine":3138}}}],"partialFingerprints":{"codehealthFindingId/v1":"6023e63d103738f3daa9db98da67b0ed1e0a22569551d31f313acc383e478691"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4 locations): src/main/webapp/js/diagramly/Editor.js:1331 \u00B7 src/main/webapp/js/diagramly/Editor.js:1339 \u00B7 src/main/webapp/js/diagramly/Editor.js:1349 \u00B7 src/main/webapp/js/diagramly/Editor.js:1401 \u2014 all 4 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/webapp/js/diagramly/Editor.js"},"region":{"startLine":1331}}}],"partialFingerprints":{"codehealthFindingId/v1":"abccff69280e74549c3d0a8d7bff6901b47fbb2f1de1ae022904e1f54de255c8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/main/webapp/js/diagramly/EditorUi.js:2972 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:4029 \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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":2972}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8bf9caf7155ebde862d273ea71a10536b33cb3d35bad52145b937662cef473e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): src/main/webapp/js/diagramly/EditorUi.js:12152 \u00B7 src/main/webapp/js/diagramly/EditorUi.js:30334 \u00B7 src/main/webapp/js/diagramly/GraphViewer.js:655 \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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":12152}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff6a7e2a9482ed00f37c1ae7fe49262f868d21a9032faf54c3e4a3364e63a797"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4 locations): src/main/webapp/js/diagramly/Extensions.js:4803 \u00B7 src/main/webapp/js/diagramly/Extensions.js:4813 \u00B7 src/main/webapp/js/diagramly/Extensions.js:4818 \u00B7 src/main/webapp/js/diagramly/Extensions.js:4823 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Extensions.js"},"region":{"startLine":4803}}}],"partialFingerprints":{"codehealthFindingId/v1":"07875299c71dbf1abb7fc90d66847e19d96ebc5802993e8ff744bcea8f4eb3e2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Extensions.js:8121 \u00B7 src/main/webapp/js/diagramly/Extensions.js:8135 \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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":8121}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b7e3081a971ce44ff49238c01a8d5ef64b6235a56589b0f480ccfdde8908d69"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): src/main/webapp/js/diagramly/Extensions.js:8225 \u00B7 src/main/webapp/js/diagramly/Extensions.js:8263 \u00B7 src/main/webapp/js/diagramly/Extensions.js:8268 \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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":8225}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab839931f50cea0fd008b725b6b948a53178ba2001e26a241d43acb1aab25e89"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): src/main/webapp/js/diagramly/Extensions.js:9347 \u00B7 src/main/webapp/js/diagramly/Extensions.js:11643 \u00B7 src/main/webapp/js/diagramly/Extensions.js:11660 \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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":9347}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b140bf4ef30dbf125dd3b294d7c2b5d9c4309c3eb71b028b752fee2efe80d35"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 26 locations): src/main/webapp/js/diagramly/Extensions.js:9606 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:2357 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:2414 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:2457 \u00B7 \u002B22 more site(s) not listed \u2014 the 4 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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":9606}}}],"partialFingerprints":{"codehealthFindingId/v1":"4afb154fe77ecbfc50c4cdda70d7ec4e123eb832ba40ebd1d63dce28c8c8192d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4 locations): src/main/webapp/js/diagramly/Extensions.js:9768 \u00B7 src/main/webapp/js/diagramly/Extensions.js:9773 \u00B7 src/main/webapp/js/diagramly/Extensions.js:9778 \u00B7 src/main/webapp/js/diagramly/Extensions.js:9783 \u2014 all 4 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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":9768}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6c897d3ba6b602d25aa3d06c8da1de867b4a00f8d3bb18868f1dd9b4f3336d4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 12 locations): src/main/webapp/js/diagramly/Extensions.js:10733 \u00B7 src/main/webapp/js/diagramly/Extensions.js:10831 \u00B7 src/main/webapp/js/diagramly/Extensions.js:10902 \u00B7 src/main/webapp/js/diagramly/Extensions.js:10913 \u00B7 \u002B8 more site(s) not listed \u2014 all 12 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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":10733}}}],"partialFingerprints":{"codehealthFindingId/v1":"27efd5c37a266429f73d2dc7131c0acd196d89e6e93135c70cef9080ec79986f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Extensions.js:10742 \u00B7 src/main/webapp/js/diagramly/Extensions.js:11198 \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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":10742}}}],"partialFingerprints":{"codehealthFindingId/v1":"863923e2ecef2c36d5931d24134ab2669d48468201f67636e4b27214e65c6cda"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): src/main/webapp/js/diagramly/Extensions.js:10851 \u00B7 src/main/webapp/js/diagramly/Extensions.js:10909 \u00B7 src/main/webapp/js/diagramly/Extensions.js:11159 \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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":10851}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a84f9420ee132a85f8cccee2b880354e8c0a785b6138e76b607dbeba9f1fc60"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): src/main/webapp/js/diagramly/Extensions.js:10874 \u00B7 src/main/webapp/js/diagramly/Extensions.js:10880 \u00B7 src/main/webapp/js/diagramly/Extensions.js:10886 \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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":10874}}}],"partialFingerprints":{"codehealthFindingId/v1":"74b3cdf4d4a270996e2bcfa2c1ef2295445799a8a359fd9eb0e50b8390d0f11e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): src/main/webapp/js/diagramly/Extensions.js:11086 \u00B7 src/main/webapp/js/diagramly/Extensions.js:11096 \u00B7 src/main/webapp/js/diagramly/Extensions.js:11106 \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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":11086}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dfbc5d5b76c980b05dbde61254405c3c3856d40fa3b12bcab61cf6c4f6a8587"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): src/main/webapp/js/diagramly/Extensions.js:11162 \u00B7 src/main/webapp/js/diagramly/Extensions.js:11549 \u00B7 src/main/webapp/js/diagramly/Extensions.js:11569 \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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":11162}}}],"partialFingerprints":{"codehealthFindingId/v1":"75f8de49adba920ef28be116b3370b5a0292a4fdb2e680b9bc3b3d2eab36e7d9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): src/main/webapp/js/diagramly/Extensions.js:11531 \u00B7 src/main/webapp/js/diagramly/Extensions.js:11648 \u00B7 src/main/webapp/js/diagramly/Extensions.js:11665 \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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":11531}}}],"partialFingerprints":{"codehealthFindingId/v1":"97d4fd571f19a5596cf535a54b0d5a13a10481145b720134dc8c2a2ced6002f7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Extensions.js:12116 \u00B7 src/main/webapp/js/diagramly/Extensions.js:12579 \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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":12116}}}],"partialFingerprints":{"codehealthFindingId/v1":"a99970efeb6966c59e8c8780712e6dbfc9444b94796e67290ad203f94f9d708c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Extensions.js:12750 \u00B7 src/main/webapp/js/diagramly/Extensions.js:12755 \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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":12750}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d13fb921723ab9a4b89ced5c60d42a2edb902ebad8560bd4063b590d83fbe12"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/main/webapp/js/diagramly/ForceExplorer.js:1295 \u00B7 src/main/webapp/js/diagramly/ForceExplorer.js:1352 \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/webapp/js/diagramly/ForceExplorer.js"},"region":{"startLine":1295}}}],"partialFingerprints":{"codehealthFindingId/v1":"a357726e182df1d71fd2f7bec404b0e6138e86439eca0f5406a672b9ee378e90"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/main/webapp/js/diagramly/ForceExplorer.js:3075 \u00B7 src/main/webapp/js/diagramly/SpringMove.js:1132 \u2014 the 2 copies are spread across 2 files, 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/webapp/js/diagramly/ForceExplorer.js"},"region":{"startLine":3075}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3ddc5291fb779478d60ad30be3bf59e255a34d6f5894c498dda1a622574da0b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/main/webapp/js/diagramly/LightboxModern.js:1668 \u00B7 src/main/webapp/js/diagramly/LightboxModern.js:1816 \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/webapp/js/diagramly/LightboxModern.js"},"region":{"startLine":1668}}}],"partialFingerprints":{"codehealthFindingId/v1":"308abf854efe741086e84582ece06cfa8b5486f6561fde32904390499b69ce71"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): src/main/webapp/js/diagramly/SimpleClassic.js:203 \u00B7 src/main/webapp/js/diagramly/SimpleClassic.js:369 \u00B7 src/main/webapp/js/diagramly/SimpleClassic.js:678 \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/webapp/js/diagramly/SimpleClassic.js"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c5d321fbc842c393cfd2df88cdb05b76f90800769142a738024f3e87dc85fd5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Trees.js:1099 \u00B7 src/main/webapp/js/diagramly/Trees.js:1734 \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/webapp/js/diagramly/Trees.js"},"region":{"startLine":1099}}}],"partialFingerprints":{"codehealthFindingId/v1":"691b235fb5830e862bb2be99a264818bfdcdaae28bc8ada51566af25d238ebcd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/main/webapp/js/diagramly/Trees.js:1157 \u00B7 src/main/webapp/js/diagramly/Trees.js:1299 \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/webapp/js/diagramly/Trees.js"},"region":{"startLine":1157}}}],"partialFingerprints":{"codehealthFindingId/v1":"37b721c4cc9a16350ea7a1155bb79c8eeb85e435bf4e6d30e491c06c03bd4a05"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/main/webapp/js/diagramly/emf/emf-svg.js:2070 \u00B7 src/main/webapp/js/diagramly/emf/emf-svg.js:2101 \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/webapp/js/diagramly/emf/emf-svg.js"},"region":{"startLine":2070}}}],"partialFingerprints":{"codehealthFindingId/v1":"d130f4054bc1cc4941421eeb02bce1942db323c3ed591b9558863ca41378f7b6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6 locations): src/main/webapp/js/diagramly/emf/emf-svg.js:2159 \u00B7 src/main/webapp/js/diagramly/emf/emf-svg.js:2204 \u00B7 src/main/webapp/js/diagramly/emf/emf-svg.js:2878 \u00B7 src/main/webapp/js/diagramly/emf/emf-svg.js:3128 \u00B7 \u002B2 more site(s) not listed \u2014 all 6 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/webapp/js/diagramly/emf/emf-svg.js"},"region":{"startLine":2159}}}],"partialFingerprints":{"codehealthFindingId/v1":"18980b5e80b7b194ce316a79189f7d2b9fb237b764882299e3f70b0f33426284"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/main/webapp/js/diagramly/emf/emf-svg.js:2651 \u00B7 src/main/webapp/js/diagramly/emf/emf-svg.js:2665 \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/webapp/js/diagramly/emf/emf-svg.js"},"region":{"startLine":2651}}}],"partialFingerprints":{"codehealthFindingId/v1":"f29fa5502ae1dce81c7077be5ba8d7c82fe527ac201d98e025296718d0f4b813"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/main/webapp/js/diagramly/emf/emf-svg.js:3140 \u00B7 src/main/webapp/js/diagramly/emf/emf-svg.js:3186 \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/webapp/js/diagramly/emf/emf-svg.js"},"region":{"startLine":3140}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bf74317b584a4388547f66468c2cd00e4b88e50d632e57307984af3153a65d0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/main/webapp/js/diagramly/emf/emf-svg.js:3409 \u00B7 src/main/webapp/js/diagramly/emf/emf-svg.js:3414 \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/webapp/js/diagramly/emf/emf-svg.js"},"region":{"startLine":3409}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee093eb82c69525a630bf57c60fef64e1b03ea46b3ef35c433f8a9afe2743f7d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 62 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-AWS3D.js:59 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:2235 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:2243 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:2251 \u00B7 \u002B58 more site(s) not listed \u2014 the 8 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/webapp/js/diagramly/sidebar/Sidebar-AWS3D.js"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"df448eecda3f380c718aa9ccb4bb3ab28e36faa9846ccbebf5495da43845ce44"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-ArchiMate.js:48 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-ArchiMate.js:60 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-ArchiMate.js:77 \u2014 all 3 copies are in the same file, 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/webapp/js/diagramly/sidebar/Sidebar-ArchiMate.js"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"d14377165f4d591b118f010475239f69f07a572f5765bd0b831054f0adf75831"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-ArchiMate3.js:214 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-ArchiMate4.js:334 \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/webapp/js/diagramly/sidebar/Sidebar-ArchiMate3.js"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"815dcd611ff63ecd4dc1ea876eb8dee48760e2b49f67f7a873343fefd24d77ea"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 9 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-ArchiMate3.js:226 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-ArchiMate3.js:272 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-ArchiMate3.js:445 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-ArchiMate3.js:538 \u00B7 \u002B5 more site(s) not listed \u2014 the 9 copies are spread across 2 files, 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/webapp/js/diagramly/sidebar/Sidebar-ArchiMate3.js"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"74e1a1c657d046811fa71dd802e200516af7af9083aa6358a78c6921dabb7f0e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 66 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Atlassian.js:266 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Atlassian.js:497 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Atlassian.js:568 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Atlassian.js:581 \u00B7 \u002B62 more site(s) not listed \u2014 the 66 copies are spread across 7 files, 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/webapp/js/diagramly/sidebar/Sidebar-Atlassian.js"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"215396e1480f8c2d185301532f874648b7b7e626de217afbedca8298c78a3e36"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 7 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Atlassian.js:312 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:2030 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:2396 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js:2205 \u00B7 \u002B3 more site(s) not listed \u2014 the 7 copies are spread across 4 files, 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/webapp/js/diagramly/sidebar/Sidebar-Atlassian.js"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"986bb26511d2af006b9f6ad7740ffa5af2cb780685f97dfea172502f159af03b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 7 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Atlassian.js:425 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Atlassian.js:433 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Atlassian.js:441 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Atlassian.js:449 \u00B7 \u002B3 more site(s) not listed \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/webapp/js/diagramly/sidebar/Sidebar-Atlassian.js"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e6123999d91cc8a6f2c081fde389e0d2fee830c37ecc981c3b3139d90772cf8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:1892 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:1937 \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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":1892}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a51bc7aefccd29a9b0207bf97f27e1145111842cd0857b6b8075076cd03559a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 27 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:2235 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:2243 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:2251 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:2264 \u00B7 \u002B23 more site(s) not listed \u2014 the 27 copies are spread across 4 files, 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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":2235}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ba7ef86fee0d2a797303d199d30d2a5aae65a213cf7bb72c8496608044febba"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 26 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:2275 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:2311 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Floorplan.js:334 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js:199 \u00B7 \u002B22 more site(s) not listed \u2014 the 26 copies are spread across 3 files, 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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":2275}}}],"partialFingerprints":{"codehealthFindingId/v1":"d572c25f4e78adfd9fdc6a0211e035469611610bb2fcd788001a91c8706db91a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 10 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:2416 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:2581 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:2598 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:2685 \u00B7 \u002B6 more site(s) not listed \u2014 all 10 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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":2416}}}],"partialFingerprints":{"codehealthFindingId/v1":"69c9406c1ed7b8ffc7cd34002afb91d59de50d6615ae78a37842360b6bc71257"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:3338 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:3399 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:3404 \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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":3338}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdd8216ad2f2a035ab3b0a520ca12455dcb1bf1c8143f8b85e48bc62db6cc7e5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:3397 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:3402 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js:3407 \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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":3397}}}],"partialFingerprints":{"codehealthFindingId/v1":"10d8213fc8eba154903811f504b8118490cc7f9ada1e73793c674c4a65865d23"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Cabinet.js:71 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Cabinet.js:99 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Cabinet.js:117 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Cabinet.js:135 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Cabinet.js"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"235dfaf244f188fd8e5702f7de6b87fa45dedb8191fa233204233afaa1880ec7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 34 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Cabinet.js:230 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-MSCAE.js:410 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-MSCAE.js:520 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-MSCAE.js:578 \u00B7 \u002B30 more site(s) not listed \u2014 the 34 copies are spread across 5 files, 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/webapp/js/diagramly/sidebar/Sidebar-Cabinet.js"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"2552a957206887a91976392110b8b246b135d0b310e24f3e12b7e0b325ec29b3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-CiscoSafe.js:232 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-CiscoSafe.js:967 \u2014 all 2 copies are in the same file, 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/webapp/js/diagramly/sidebar/Sidebar-CiscoSafe.js"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5369712df4170ba2d42b49e33c27b76fea7e16ed7734ccaaf46ce6016c426d0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-CiscoSafe.js:983 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-CiscoSafe.js:1079 \u2014 all 2 copies are in the same file, 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/webapp/js/diagramly/sidebar/Sidebar-CiscoSafe.js"},"region":{"startLine":983}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e9a88965e98e413485d017ca3563aabc2c9d5f94af83a7dbd57ed0f616484b1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-EIP.js:149 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-EIP.js:210 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-EIP.js:343 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-PID.js:145 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies are spread across 2 files, 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/webapp/js/diagramly/sidebar/Sidebar-EIP.js"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"d54940b5c1bbd6eda45fb521ad166e1fc5a3a276efae93fbbe3a5c2a00c65904"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-GCP2.js:160 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-GCP2.js:166 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-UML25.js:704 \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/webapp/js/diagramly/sidebar/Sidebar-GCP2.js"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"a791c28d40e6a9b710f2767b9f91d574b5fcc1dccede0e3548d72e7d4a504f8d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-GCP2.js:191 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-GCP2.js:197 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-GCP2.js:203 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-GCP2.js:209 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 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/webapp/js/diagramly/sidebar/Sidebar-GCP2.js"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a5abdaaa79878e0976ef72c6e4b9dcfd209d1cb3c1517c6b75be9bd7a210e21"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 18 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-GCP2.js:1452 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-GCP2.js:1495 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-GCP2.js:1548 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-GCP2.js:1603 \u00B7 \u002B14 more site(s) not listed \u2014 the 18 copies are spread across 2 files, 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/webapp/js/diagramly/sidebar/Sidebar-GCP2.js"},"region":{"startLine":1452}}}],"partialFingerprints":{"codehealthFindingId/v1":"df988060bdf88935663c6c600f39a6a527449a971d6ab9f651072d2f05266647"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-GCP2.js:1601 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-GCP2.js:2006 \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/webapp/js/diagramly/sidebar/Sidebar-GCP2.js"},"region":{"startLine":1601}}}],"partialFingerprints":{"codehealthFindingId/v1":"5edc96199f114f5345d8ade0ccabce18ec504fc3f14f4b8d817e6c6d6af99d49"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-GCP2.js:2128 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-GCP2.js:2143 \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/webapp/js/diagramly/sidebar/Sidebar-GCP2.js"},"region":{"startLine":2128}}}],"partialFingerprints":{"codehealthFindingId/v1":"f810d7c5b99d20cc5d3a3a25a19f3a6346f99120d11156d99737e646b8351034"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-IBMCloud.js:446 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-IBMCloud.js:478 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-IBMCloud.js:522 \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/webapp/js/diagramly/sidebar/Sidebar-IBMCloud.js"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"685578a7f4096e7309cd2f25bbbde61cd76ad76e02df6837596f81bbba323f12"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js:709 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js:716 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js:723 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js:730 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"a35d75ad665ea379289c111a3047ad0b4429f2ebe18808e72bcc07958e5b5bda"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Mockup.js:211 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Mockup.js:239 \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/webapp/js/diagramly/sidebar/Sidebar-Mockup.js"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"658bd803e6aa372c6b5b332a8b41a124c7d8bc1dbf777d930963f7d5bcaf48f6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:1309 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:1315 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:1551 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:1863 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 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/webapp/js/diagramly/sidebar/Sidebar-Sysml.js"},"region":{"startLine":1309}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e823b6d5db36316149fae03a610d9e32eef087362aafb74d4c17f0fb1c54935"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js:1931 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-UML25.js:1095 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-UML25.js:1208 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-UML25.js:1252 \u00B7 \u002B1 more site(s) not listed \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/webapp/js/diagramly/sidebar/Sidebar-Sysml.js"},"region":{"startLine":1931}}}],"partialFingerprints":{"codehealthFindingId/v1":"f83ef56e815bdf139de55b145a24ea923e7ef8b7ea6de08ca45f8022ddcf61c8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6 locations): src/main/webapp/js/diagramly/sidebar/Sidebar-UML25.js:920 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-UML25.js:963 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-UML25.js:993 \u00B7 src/main/webapp/js/diagramly/sidebar/Sidebar-UML25.js:1165 \u00B7 \u002B2 more site(s) not listed \u2014 all 6 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/webapp/js/diagramly/sidebar/Sidebar-UML25.js"},"region":{"startLine":920}}}],"partialFingerprints":{"codehealthFindingId/v1":"afad18766a3d6ac9c2f6a4a9c3b17c515432fe0f5b33eb3b96b379d8ec76eaba"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/main/webapp/js/diagramly/tidy/Tidy.js:583 \u00B7 src/main/webapp/js/diagramly/tidy/Tidy.js:1741 \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/webapp/js/diagramly/tidy/Tidy.js"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"a297e436e9497e0e69cc6bf56bbb383c750c64a3895a84402f66cc606795b69b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/main/webapp/js/diagramly/tidy/Tidy.js:1035 \u00B7 src/main/webapp/js/diagramly/tidy/Tidy.js:1251 \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/webapp/js/diagramly/tidy/Tidy.js"},"region":{"startLine":1035}}}],"partialFingerprints":{"codehealthFindingId/v1":"6979747ac996161ae7628c17c604f5c20f5cdf714fe4ef517db4781f6bbe3eda"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/main/webapp/js/diagramly/tidy/Tidy.js:1149 \u00B7 src/main/webapp/js/diagramly/tidy/Tidy.js:1179 \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/webapp/js/diagramly/tidy/Tidy.js"},"region":{"startLine":1149}}}],"partialFingerprints":{"codehealthFindingId/v1":"6df82652a99a8a24fa9e571361aeedcf8c0327c8d15b94f50f2d0304a775e057"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/main/webapp/js/diagramly/tidy/TidyFeatures.js:265 \u00B7 src/main/webapp/js/diagramly/tidy/TidyFeatures.js:363 \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/webapp/js/diagramly/tidy/TidyFeatures.js"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc758cf0910f29a82f0dc34a42f3d3a522dcbea18c95b89d2b1cfdfadb791b5e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/main/webapp/js/diagramly/tidy/TidyStyle.js:1707 \u00B7 src/main/webapp/js/diagramly/tidy/TidyStyle.js:1761 \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/webapp/js/diagramly/tidy/TidyStyle.js"},"region":{"startLine":1707}}}],"partialFingerprints":{"codehealthFindingId/v1":"3597c8e7f26e3ab960ec94f2dfbda888d4f1a697819523936837fceee554991a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/main/webapp/js/diagramly/vsdx/bmpDecoder.js:60 \u00B7 src/main/webapp/js/diagramly/vsdx/bmpDecoder.js:268 \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/webapp/js/diagramly/vsdx/bmpDecoder.js"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b8568a1cc60b6eb5408158802374498c4f73f4766f75775afd32992e985fe11"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/main/webapp/js/diagramly/vsdx/bmpDecoder.js:131 \u00B7 src/main/webapp/js/diagramly/vsdx/bmpDecoder.js:160 \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/webapp/js/diagramly/vsdx/bmpDecoder.js"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"18a5c8218b44bd547fd11c35491a9d662510e970d41f29605bf534294aeb3127"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/main/webapp/js/diagramly/vsdx/importer.js:688 \u00B7 src/main/webapp/js/diagramly/vsdx/importer.js:1088 \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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"a34e2c6d3899a4296fd18a0e79ae1c662a9c0ffd3a078f9b2f2d147544e0fe09"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/main/webapp/js/diagramly/vsdx/importer.js:907 \u00B7 src/main/webapp/js/diagramly/vsdx/importer.js:1345 \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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":907}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eb2f18d426e5f48b746c57c0b0f55f316d83ba1ccc3feebd8804c7db94de119"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addCompositeShape (cyclomatic 842, cognitive 1222): addCompositeShape has cyclomatic complexity 842 and cognitive complexity 1222; 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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":7711}}}],"partialFingerprints":{"codehealthFindingId/v1":"3956ae65ca0052544ffc6baa9b8a8c45e3a35db533bc70e31814cb67094e5d4a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function doImportCsv (cyclomatic 319, cognitive 732): doImportCsv has cyclomatic complexity 319 and cognitive complexity 732; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":39560}}}],"partialFingerprints":{"codehealthFindingId/v1":"6633cf37a5df96a63f838fac65c29cd7314b26a3853e4c2f4718d868191df724"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function configure (cyclomatic 202, cognitive 415): configure has cyclomatic complexity 202 and cognitive complexity 415; 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/webapp/js/diagramly/Editor.js"},"region":{"startLine":3441}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb2a3ee5f2a7a0f3dca2c258ca67085cfb87c19302334eee881872ee9eb80bc9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 176, cognitive 415): (anonymous) has cyclomatic complexity 176 and cognitive complexity 415; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":32406}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dd27de3ba8fc01f712e4fbbf858f238ebd0ae769258c0a7191273fe00f58b45"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function strictDrawShape (cyclomatic 165, cognitive 211): strictDrawShape has cyclomatic complexity 165 and cognitive complexity 211; 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/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":6106}}}],"partialFingerprints":{"codehealthFindingId/v1":"f41d9372a4b7c154b6861a5060db92a35ca79f6295bcd6467d0f847cb55a9477"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderPage (cyclomatic 124, cognitive 217): renderPage has cyclomatic complexity 124 and cognitive complexity 217; 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/webapp/js/export.js"},"region":{"startLine":1626}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9b8edabb349390fc854a6022f5866570e41440d56ef1b991ffd73564f194381"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 124, cognitive 193): (anonymous) has cyclomatic complexity 124 and cognitive complexity 193; 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/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":6836}}}],"partialFingerprints":{"codehealthFindingId/v1":"17691dc1ab2ee09c1c225903fd173fed90e5e806c18c30dfecccc30c9f46014d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getHexagonPerimeterPoint (cyclomatic 114, cognitive 187): getHexagonPerimeterPoint has cyclomatic complexity 114 and cognitive complexity 187; 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/webapp/mxgraph/src/view/mxPerimeter.js"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ee5326b01f1d0125aaf84c4a2e9e8ea573e9be924cfd0d70cc03f4c4183f27e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function OrthConnector (cyclomatic 106, cognitive 152): OrthConnector has cyclomatic complexity 106 and cognitive complexity 152; 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/webapp/mxgraph/src/view/mxEdgeStyle.js"},"region":{"startLine":1141}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9d3d39063de4067c0584b2482b92dbd99086a8733790c2ce06b7d5096ccbbd4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SegmentConnector (cyclomatic 105, cognitive 162): SegmentConnector has cyclomatic complexity 105 and cognitive complexity 162; 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/webapp/mxgraph/src/view/mxEdgeStyle.js"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e889e947e05029078c7f6ca4cb055e24de8a3b3bb3654c307a0ac949de87b7e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 103, cognitive 179): main has cyclomatic complexity 103 and cognitive complexity 179; 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/webapp/js/diagramly/App.js"},"region":{"startLine":1006}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f92902a940893f582301e993f1c90990069d2cd0a57df98dfa7b08e7fe12c7f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 102, cognitive 262): (anonymous) has cyclomatic complexity 102 and cognitive complexity 262; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"72834852c2aa27938647996a23b0f827fcc3297f7dc431463e744aece359aaf4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 101, cognitive 305): (anonymous) has cyclomatic complexity 101 and cognitive complexity 305; 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/webapp/js/diagramly/Editor.js"},"region":{"startLine":13055}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0dcc33c9ef2a5e66055dfa33c9f74fcfd9bcda08b2706baf0b1d0ccf7f4041a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function render (cyclomatic 101, cognitive 158): render has cyclomatic complexity 101 and cognitive complexity 158; 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/webapp/js/export.js"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf5026cabce2b01bbf1626f9b0c38b5e64edb452a21ac38a167f6fa152dba565"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 90, cognitive 157): (anonymous) has cyclomatic complexity 90 and cognitive complexity 157; 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/webapp/js/diagramly/Menus.js"},"region":{"startLine":7058}}}],"partialFingerprints":{"codehealthFindingId/v1":"2165e4f823af5a507e57ad4155bcadd4e26616450cd3abae7c1a3d50c51c0c9b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function drawNode (cyclomatic 85, cognitive 202): drawNode has cyclomatic complexity 85 and cognitive complexity 202; 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/webapp/mxgraph/src/shape/mxStencil.js"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"77359909950fc11ea4919df6e651a17314accfacc1d127e929ef62de270288b7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paintVertexShape (cyclomatic 81, cognitive 119): paintVertexShape has cyclomatic complexity 81 and cognitive complexity 119; 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/webapp/shapes/mxKubernetes.js"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f32d433c197e38093be42856032a4e7209d229fb42b6248ad4723894aa900cf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function executeBatch (cyclomatic 80, cognitive 201): executeBatch has cyclomatic complexity 80 and cognitive complexity 201; 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/webapp/js/diagramly/gif/AnimationExport.js"},"region":{"startLine":714}}}],"partialFingerprints":{"codehealthFindingId/v1":"1006d8f0b2a70cb143563fd4418ad249297211480cdde31c70b3ce3fbcbf3f2b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extract (cyclomatic 79, cognitive 116): extract has cyclomatic complexity 79 and cognitive complexity 116; 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/webapp/js/diagramly/tidy/TidyFeatures.js"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"34941a57fa79403900fd60278ef6dd5e50439861f30821f791622f9a48ab3b36"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function init (cyclomatic 79, cognitive 101): init has cyclomatic complexity 79 and cognitive complexity 101; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":22767}}}],"partialFingerprints":{"codehealthFindingId/v1":"68edf4c05dbfa1cc86ae52e58e50cd229bf07b961864c1b8ead002ccfb4c50f3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getControlPoints (cyclomatic 78, cognitive 124): getControlPoints has cyclomatic complexity 78 and cognitive complexity 124; 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":13860}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d4ee9f5d48503a6022e804a38ac0fa322d233513d2c7381fcac2d898d673e2e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function search (cyclomatic 77, cognitive 138): search has cyclomatic complexity 77 and cognitive complexity 138; 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":10115}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b8e1ea50459b88174d031bcacd70654af20438b3f42aacd6645a4826eac8789"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyEdgesText (cyclomatic 76, cognitive 122): applyEdgesText has cyclomatic complexity 76 and cognitive complexity 122; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":36312}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1826efd301a5af4792ceeffc2c4a2ada964fc641d20e480ec7982effece0178"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function showExportDialog (cyclomatic 76, cognitive 93): showExportDialog has cyclomatic complexity 76 and cognitive complexity 93; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":11787}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfc1b982fc5a742da228f01bd39d446cfddcc6e8c5b8cfb888b8133b0ac87e5b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleCompoundShape (cyclomatic 72, cognitive 124): handleCompoundShape has cyclomatic complexity 72 and cognitive complexity 124; 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/webapp/js/diagramly/graphml/mxGraphMlCodec.js"},"region":{"startLine":1267}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d9371a3c20fb31c07138acc954c6a4fbd146b1254bd786c95603c20f97c501d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mouseMove (cyclomatic 69, cognitive 157): mouseMove has cyclomatic complexity 69 and cognitive complexity 157; 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/webapp/mxgraph/src/handler/mxConnectionHandler.js"},"region":{"startLine":1248}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc64bcb2b962793c8fc908561efb18d20becc0ca24a8c820da7fcd9d7dd28056"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mouseMove (cyclomatic 69, cognitive 112): mouseMove has cyclomatic complexity 69 and cognitive complexity 112; 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/webapp/mxgraph/src/handler/mxGraphHandler.js"},"region":{"startLine":1237}}}],"partialFingerprints":{"codehealthFindingId/v1":"794b678b0517a3ed61302a6a775f5e93446e63a653d4f089e4451db85353d7b2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fireMouseEvent (cyclomatic 69, cognitive 102): fireMouseEvent has cyclomatic complexity 69 and cognitive complexity 102; 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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":14371}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d88eb99dfadb8e5f890ad8df72a02d755ae67a0150f9adbd1f5ebaf3ab3e381"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function plan (cyclomatic 68, cognitive 61): plan has cyclomatic complexity 68 and cognitive complexity 61; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/tidy/Tidy.js"},"region":{"startLine":1412}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c46c13bd80940331d7e472c3a008cbe8acc3341a5a8f04cca0c8c11e8ca808e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addLabels (cyclomatic 67, cognitive 170): addLabels has cyclomatic complexity 67 and cognitive complexity 170; 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/webapp/js/diagramly/graphml/mxGraphMlCodec.js"},"region":{"startLine":2486}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6fcee96e207c396176a1a9194811b711fe2ed673d3eb5c5cc1b3de567859065"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function execute (cyclomatic 67, cognitive 139): execute has cyclomatic complexity 67 and cognitive complexity 139; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":22110}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0e7f0b9478ce646791741c441a795040942f2f64eb253e144eae69186542a30"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function NewDialog (cyclomatic 67, cognitive 73): NewDialog has cyclomatic complexity 67 and cognitive complexity 73; 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":2386}}}],"partialFingerprints":{"codehealthFindingId/v1":"97035ecee0055a59b6a84a729eca397a064a97423bf8d0786f93f41a51c613f0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setTextColor (cyclomatic 66, cognitive 108): setTextColor has cyclomatic complexity 66 and cognitive complexity 108; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":3297}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa1de92c2d2075c84524f9a0b6cdb67b8fc4f92c8dbcb09a2a4f63a6b6f3bda7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function init (cyclomatic 66, cognitive 89): init has cyclomatic complexity 66 and cognitive complexity 89; 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/webapp/js/diagramly/App.js"},"region":{"startLine":2032}}}],"partialFingerprints":{"codehealthFindingId/v1":"24bd11739391d60c3edbdd81d7fbcf68a314616900651f0c91b43ceb3d3fa951"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addFont (cyclomatic 66, cognitive 79): addFont has cyclomatic complexity 66 and cognitive complexity 79; 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/webapp/js/grapheditor/Format.js"},"region":{"startLine":5025}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d9070ebd6b17924ee289203eccd8d9755a6a7415357c258edaa90ef948b184e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateCell (cyclomatic 65, cognitive 196): updateCell has cyclomatic complexity 65 and cognitive complexity 196; 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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":5951}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2aa5dffbb4786ed72d1309e94a1ea27a79be4f35eb81e1b9d5cc0d3cb85121b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function dropAndConnect (cyclomatic 65, cognitive 121): dropAndConnect has cyclomatic complexity 65 and cognitive complexity 121; 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/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":5793}}}],"partialFingerprints":{"codehealthFindingId/v1":"322f8d4d62d14ddd821d655890113af7e44ef5a26234702e10da30df671fe9c8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyTableText (cyclomatic 65, cognitive 119): applyTableText has cyclomatic complexity 65 and cognitive complexity 119; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":37416}}}],"partialFingerprints":{"codehealthFindingId/v1":"90b13bbc90a1d05eb545dabcf643cccc6dff87ac9998e3225fa7fbb7d3580d2f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parse (cyclomatic 64, cognitive 171): parse has cyclomatic complexity 64 and cognitive complexity 171; 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":1520}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c8f29f28929438e8472c947144d9cfac276bb56ca8e7f533d2be16379aa08de"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleError (cyclomatic 64, cognitive 113): handleError has cyclomatic complexity 64 and cognitive complexity 113; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":7701}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7fcdfe7570a41b92ee14278c61a44b3bd087fde18f176e95d887649100ccf4c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addGroup (cyclomatic 62, cognitive 112): addGroup has cyclomatic complexity 62 and cognitive complexity 112; 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":1012}}}],"partialFingerprints":{"codehealthFindingId/v1":"39d916eba44a403950b765c774deb13e153babb00b1fb0051921a7ae5719f62a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function plainText (cyclomatic 62, cognitive 111): plainText has cyclomatic complexity 62 and cognitive complexity 111; 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/webapp/mxgraph/src/util/mxSvgCanvas2D.js"},"region":{"startLine":3758}}}],"partialFingerprints":{"codehealthFindingId/v1":"a42736f539962a8fe6885660418f82156dbc4545788d431ff7797488c164ea22"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function evenOddPath (cyclomatic 62, cognitive 101): evenOddPath has cyclomatic complexity 62 and cognitive complexity 101; 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":1429}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bb26f59182cf4e0dc51dd8e1fcac726d4edd83891a038bca35c55d95b2fe89a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CreateDialog (cyclomatic 60, cognitive 73): CreateDialog has cyclomatic complexity 60 and cognitive complexity 73; 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":5029}}}],"partialFingerprints":{"codehealthFindingId/v1":"f50d100127d1d0d7c0a61acbb55d1549285f6e4a3b1103c3601d71759287ac63"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 58, cognitive 130): (anonymous) has cyclomatic complexity 58 and cognitive complexity 130; 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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":7084}}}],"partialFingerprints":{"codehealthFindingId/v1":"8146c95a709c11118750c974a5efa6872674e4d6ebaa4341ffaabe36bce6130c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function connectVertex (cyclomatic 58, cognitive 70): connectVertex has cyclomatic complexity 58 and cognitive complexity 70; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":17522}}}],"partialFingerprints":{"codehealthFindingId/v1":"32d099cdaa430070ee664496860e11933a2f05a308b4725285d7919084d6e1e7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fitStencilBounds (cyclomatic 58, cognitive 64): fitStencilBounds has cyclomatic complexity 58 and cognitive complexity 64; 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":1835}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea9a0a29ebfc0c42b526554922d315d8b6f37149f94aa978a6f5042be3cde806"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 57, cognitive 90): (anonymous) has cyclomatic complexity 57 and cognitive complexity 90; 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/webapp/js/diagramly/GraphViewer.js"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"413c6e1c8695ac07efa11c5595b6b4f68c2e112ffe28827fbc4021cfb0ef4f44"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function wrapSvgTextElement (cyclomatic 56, cognitive 128): wrapSvgTextElement has cyclomatic complexity 56 and cognitive complexity 128; 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/webapp/mxgraph/src/util/mxSvgCanvas2D.js"},"region":{"startLine":2589}}}],"partialFingerprints":{"codehealthFindingId/v1":"cba3cc3a548f4fecfb9a9dc138965bbe9451e0eed291f1bdb291e4e6ff09593a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function init (cyclomatic 56, cognitive 54): init has cyclomatic complexity 56 and cognitive complexity 54; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/Menus.js"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"f63ae4bc32f52e9015e4c83ac4509a725a5ca5c1bb6cfd264635de34e6a65f70"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateLineJumps (cyclomatic 55, cognitive 120): updateLineJumps has cyclomatic complexity 55 and cognitive complexity 120; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":31567}}}],"partialFingerprints":{"codehealthFindingId/v1":"7927ebc8818714cb343b2f5cdb29fd88eb9a82f94800dad8825b936af461180f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pasteCellStyles (cyclomatic 54, cognitive 144): pasteCellStyles has cyclomatic complexity 54 and cognitive complexity 144; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":11443}}}],"partialFingerprints":{"codehealthFindingId/v1":"f15e5cea0faf76bde60ecdf2ea40da52ec4137c4cfb01b1c59025b2d57fe8209"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paintVertexShape (cyclomatic 54, cognitive 73): paintVertexShape has cyclomatic complexity 54 and cognitive complexity 73; 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/webapp/shapes/mxElectrical.js"},"region":{"startLine":1168}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c6e706f506bf209e4d0242f1127d8e1f86697b1ca7f1e1c799967d49959def1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 54, cognitive 68): (anonymous) has cyclomatic complexity 54 and cognitive complexity 68; 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/webapp/js/diagramly/Menus.js"},"region":{"startLine":6854}}}],"partialFingerprints":{"codehealthFindingId/v1":"c46c5aef9c2741b4906204f3792f9efdfb9d1c1e090527456a13d12d9969b8c5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseStyles (cyclomatic 54, cognitive 50): parseStyles has cyclomatic complexity 54 and cognitive complexity 50; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/miro/MiroImporter.js"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"3507d60079e655b4aa28369530057d493c0f790674534f93abc877efb1e158d7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 53, cognitive 130): (anonymous) has cyclomatic complexity 53 and cognitive complexity 130; 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/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":5471}}}],"partialFingerprints":{"codehealthFindingId/v1":"669f91044393ddf5bf48070c78ae22eb4260a7e7dea92d489b18637c1eb202e6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function patch (cyclomatic 52, cognitive 154): patch has cyclomatic complexity 52 and cognitive complexity 154; 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/webapp/js/diagramly/DrawioFile.js"},"region":{"startLine":1374}}}],"partialFingerprints":{"codehealthFindingId/v1":"169e7b659e8fdf458edaa513706d6cdd23d823545e236fa92d860d679f63789f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function visitorEdgeFunc (cyclomatic 52, cognitive 118): visitorEdgeFunc has cyclomatic complexity 52 and cognitive complexity 118; 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/webapp/js/orgchart/mxOrgChartLayout.js"},"region":{"startLine":708}}}],"partialFingerprints":{"codehealthFindingId/v1":"70f267fb1abdbd2390da623452d41dfe60a0e3e857956493e2ec2f1025a34a9c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pasteCells (cyclomatic 52, cognitive 111): pasteCells has cyclomatic complexity 52 and cognitive complexity 111; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":28720}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5b57cbf87f306330ea0418b57c893d97d6a0259256215078c6dc8022cd12d1d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function initCanvas (cyclomatic 52, cognitive 107): initCanvas has cyclomatic complexity 52 and cognitive complexity 107; 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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":5648}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3cc9652e13783ac31ae1680aa1ef01db12da9ef23dad56b398f6c971c01a54f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runWithDialog (cyclomatic 52, cognitive 78): runWithDialog has cyclomatic complexity 52 and cognitive complexity 78; 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/webapp/js/diagramly/ElkLayout.js"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbfac5d8441e9e856f4ed7ff5b465d73c607f90d1c8bf03c811ed137a8646321"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function redrawHandles (cyclomatic 51, cognitive 72): redrawHandles has cyclomatic complexity 51 and cognitive complexity 72; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":53417}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd67ece63a81d2580064d48d95424bc3111f3bca5731649f0f372658a25dadaf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 51, cognitive 59): (anonymous) has cyclomatic complexity 51 and cognitive complexity 59; 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/webapp/js/grapheditor/Format.js"},"region":{"startLine":6431}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a8c611906a45009c469bcba7eace3ab840c0c96811285619d2fb3930450ed26"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function start (cyclomatic 50, cognitive 93): start has cyclomatic complexity 50 and cognitive complexity 93; 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/webapp/js/diagramly/App.js"},"region":{"startLine":4281}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d13f611622c42f99a805ec266757d6e53966add30a5805a5a4bd03927417474"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processMsg (cyclomatic 50, cognitive 91): processMsg has cyclomatic complexity 50 and cognitive complexity 91; 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/webapp/js/diagramly/P2PCollab.js"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"b881c32e4e0fa7411d5df8dbd07df77713118676b75e6411120537d1355db06c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function solveMovePreview (cyclomatic 50, cognitive 83): solveMovePreview has cyclomatic complexity 50 and cognitive complexity 83; 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/webapp/js/diagramly/LibavoidRouting.js"},"region":{"startLine":3638}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb355a18e697263b8c01c7d603895cd652393900e1a5df0d1f52256a542d30fd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function initGraph (cyclomatic 50, cognitive 81): initGraph has cyclomatic complexity 50 and cognitive complexity 81; 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/webapp/js/diagramly/Embed.js"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac09a063998631c3a2b80f0ec8f41d80e840d2ce07646b094aec77acda429bff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function initGraph (cyclomatic 50, cognitive 81): initGraph has cyclomatic complexity 50 and cognitive complexity 81; 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/webapp/js/embed.dev.js"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"73c16696cdc5bfcf43ceb7f4c55a23edf9a4bf30dd2f9cd6d6b36c3dc09962ae"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function measure (cyclomatic 50, cognitive 78): measure has cyclomatic complexity 50 and cognitive complexity 78; 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/webapp/js/diagramly/tidy/Tidy.js"},"region":{"startLine":1023}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d09a7dcd3042ffff908e017372d3b47674f9a60646f8262540645d3d99047af"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function create (cyclomatic 50, cognitive 59): create has cyclomatic complexity 50 and cognitive complexity 59; 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/webapp/js/diagramly/Editor.js"},"region":{"startLine":14624}}}],"partialFingerprints":{"codehealthFindingId/v1":"c37d88cad3d2f24e8c82aa303b5aba94ac843777f46db19455dba3f023b00ff3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 50, cognitive 39): (anonymous) has cyclomatic complexity 50 and cognitive complexity 39; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"874f4fa9adf9a27e20084554a11a678cfe7161459d9f7e1dbfbf0e7334dc9053"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateDiagram (cyclomatic 49, cognitive 217): updateDiagram has cyclomatic complexity 49 and cognitive complexity 217; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":4913}}}],"partialFingerprints":{"codehealthFindingId/v1":"891eef5254c3692c3ca2ab31cc31700526e3445e65b893d9b5f664b7744f761a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function replacePlaceholders (cyclomatic 49, cognitive 179): replacePlaceholders has cyclomatic complexity 49 and cognitive complexity 179; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":16602}}}],"partialFingerprints":{"codehealthFindingId/v1":"53709368aedce3275f3ca6262ee393ea51d5b740245181bd536991185f65c7e1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paintVertexShape (cyclomatic 49, cognitive 121): paintVertexShape has cyclomatic complexity 49 and cognitive complexity 121; 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/webapp/shapes/mxElectrical.js"},"region":{"startLine":770}}}],"partialFingerprints":{"codehealthFindingId/v1":"000a9b7f84b96bf08b6c436b2752758f86ee75e5cae82bf6e02d579a9be8dbdf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function patchPage (cyclomatic 49, cognitive 76): patchPage has cyclomatic complexity 49 and cognitive complexity 76; 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/webapp/js/diagramly/DiffSync.js"},"region":{"startLine":1111}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f916dc31a313d78b2a078484275eed5232bb0d11b3866b1a7d21cc90ad75947"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function foreground (cyclomatic 49, cognitive 48): foreground has cyclomatic complexity 49 and cognitive complexity 48; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/shapes/mxArchiMate3.js"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"464c3a63ff4374a821d346945fd9957df83892bf079cd568b0a55c6d59a393b0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getEmbedCellChange (cyclomatic 48, cognitive 102): getEmbedCellChange has cyclomatic complexity 48 and cognitive complexity 102; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":20282}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3642b6f396fdf32ced426549af2b315e12be34238e30ae26a4b4f898d667683"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ColorDialog (cyclomatic 48, cognitive 71): ColorDialog has cyclomatic complexity 48 and cognitive complexity 71; 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/webapp/js/grapheditor/Dialogs.js"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"21954bb0fdc57900e72ebed9863c44bef55170806179e8f0c5d7f4bcd752e181"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function execute (cyclomatic 47, cognitive 138): execute has cyclomatic complexity 47 and cognitive complexity 138; 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/webapp/mxgraph/src/layout/mxStackLayout.js"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc5b8473cc6f77833b26d95b89f649a3bd9487efdbe66274f4c29d6f4b9a1323"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function execute (cyclomatic 47, cognitive 117): execute has cyclomatic complexity 47 and cognitive complexity 117; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":21407}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d52b55f0db1ca298cee819fcc91a814cbe00fe9ca6e5c94df90daa83a1d6b7c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addFlowRingsToNode (cyclomatic 47, cognitive 90): addFlowRingsToNode has cyclomatic complexity 47 and cognitive complexity 90; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":23688}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb9215fed62d450000b8f8ed185a02ac4140d550a5c7c3f9f563acaeb9cdd7c6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderStepField (cyclomatic 47, cognitive 72): renderStepField has cyclomatic complexity 47 and cognitive complexity 72; 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":15950}}}],"partialFingerprints":{"codehealthFindingId/v1":"db988f7a79c81f96997ed56ed328591a0745d0ed8d3bbbcb3b1417faf34a0505"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function solveWith (cyclomatic 47, cognitive 66): solveWith has cyclomatic complexity 47 and cognitive complexity 66; 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/webapp/js/libavoid-js/libavoid-routing.js"},"region":{"startLine":1203}}}],"partialFingerprints":{"codehealthFindingId/v1":"70643fa591d8c76f0cca587634e8a0fa4582d23fe1359cb53bf8cedd37a777b3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 46, cognitive 107): (anonymous) has cyclomatic complexity 46 and cognitive complexity 107; 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/webapp/js/grapheditor/Format.js"},"region":{"startLine":6614}}}],"partialFingerprints":{"codehealthFindingId/v1":"44914d282bc2386800b4d30a5aa8390eefb4151b866e991c10f96d6245103720"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createOutlineConstraints (cyclomatic 46, cognitive 106): createOutlineConstraints has cyclomatic complexity 46 and cognitive complexity 106; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":42972}}}],"partialFingerprints":{"codehealthFindingId/v1":"7113374335fc304e425fc32107effdee7171a14478df6a5b401610c66ca794e5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function convertHtmlInlineToSvg (cyclomatic 46, cognitive 104): convertHtmlInlineToSvg has cyclomatic complexity 46 and cognitive complexity 104; 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/webapp/mxgraph/src/util/mxUtils.js"},"region":{"startLine":6552}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f57a064a7d3ac9b2002e87f55af34609f44a22cee9ef151dc90b434ca177969"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyOutline (cyclomatic 46, cognitive 83): applyOutline has cyclomatic complexity 46 and cognitive complexity 83; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":35311}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c4bb36a42141758c0b12ca107337549b0a8f2306581eb8682482e2f70dc9d2e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function snapSize (cyclomatic 46, cognitive 57): snapSize has cyclomatic complexity 46 and cognitive complexity 57; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":51767}}}],"partialFingerprints":{"codehealthFindingId/v1":"20aa12e6b3ed957cc2b0b7db1ee681c727455a17f500cfaa376bc83d855f464e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mouseUp (cyclomatic 45, cognitive 88): mouseUp has cyclomatic complexity 45 and cognitive complexity 88; 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/webapp/mxgraph/src/handler/mxEdgeHandler.js"},"region":{"startLine":2023}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7ccb2272c870b960a4b64f8b3f38b1a7bd0d2f500227b7c4c4212a573c9ebbe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mouseMove (cyclomatic 45, cognitive 83): mouseMove has cyclomatic complexity 45 and cognitive complexity 83; 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/webapp/mxgraph/src/handler/mxEdgeHandler.js"},"region":{"startLine":1865}}}],"partialFingerprints":{"codehealthFindingId/v1":"df5d30e658d381dca60122b437a0de96ad062d070d2cad29c538540e5419feb0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function startBlockTag (cyclomatic 45, cognitive 61): startBlockTag has cyclomatic complexity 45 and cognitive complexity 61; 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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":4102}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c8b0e24f5f108b55febc7ccd145a36f45b341f048c1e3bff5b08db6549a3b05"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SequenceMessage (cyclomatic 45, cognitive 61): SequenceMessage has cyclomatic complexity 45 and cognitive complexity 61; 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/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":4257}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5419e75337ff084950434351f95751ddc7b5a442181910e606c43d46716b0c0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function connectionPreview (cyclomatic 45, cognitive 48): connectionPreview has cyclomatic complexity 45 and cognitive complexity 48; 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/webapp/js/diagramly/LibavoidRouting.js"},"region":{"startLine":3297}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2b594007e8fc076ff9fc11905ab5b0cbf3f0d1aaee4ce80b3ab51a5ec3e0813"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateActionStates (cyclomatic 45, cognitive 36): updateActionStates has cyclomatic complexity 45 and cognitive complexity 36; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":41885}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d2ae6ed043d2b4ddb72e77f4540ed929e8b98b0a3a5fd0bfec1da7abc123b07"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function union (cyclomatic 44, cognitive 86): union has cyclomatic complexity 44 and cognitive complexity 86; 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/webapp/mxgraph/src/handler/mxVertexHandler.js"},"region":{"startLine":1692}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b25910544f04883ae3a4ffec80b7398d5bc627b291ca698381673bbdad31acd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function replaceLockedGroupChildren (cyclomatic 44, cognitive 75): replaceLockedGroupChildren has cyclomatic complexity 44 and cognitive complexity 75; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":14827}}}],"partialFingerprints":{"codehealthFindingId/v1":"9988033724ac4a5e63ee575ff052bf763c60fbd0746ae876f94305ac75bde772"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateSelectionStateForCell (cyclomatic 44, cognitive 68): updateSelectionStateForCell has cyclomatic complexity 44 and cognitive complexity 68; 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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":2047}}}],"partialFingerprints":{"codehealthFindingId/v1":"c329c5b5bc4c12e8c3c625affd647bf9911eb3222c078caf0c05b06215a9e733"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function keyDown (cyclomatic 44, cognitive 68): keyDown has cyclomatic complexity 44 and cognitive complexity 68; 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/webapp/mxgraph/src/util/mxPopupMenu.js"},"region":{"startLine":1052}}}],"partialFingerprints":{"codehealthFindingId/v1":"f277b62f8a54740ebc87f6ba20aabc15827f1dad986edd22a2246109e23c3daf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function downloadRequestBuilder (cyclomatic 44, cognitive 50): downloadRequestBuilder has cyclomatic complexity 44 and cognitive complexity 50; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":4425}}}],"partialFingerprints":{"codehealthFindingId/v1":"880e9fb3752dba7410cb683c9038983b614452ba6e5d03e32ca172372de79575"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 43, cognitive 117): (anonymous) has cyclomatic complexity 43 and cognitive complexity 117; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"288e616800a2f0b5b5e9adb069409dde86ad8cf98e85a9a2e64380422e13d496"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateButtonContainer (cyclomatic 43, cognitive 99): updateButtonContainer has cyclomatic complexity 43 and cognitive complexity 99; 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/webapp/js/diagramly/App.js"},"region":{"startLine":7908}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac73d0161142b3313ccecd861ab3d7c4182b00c20952a4dd44349cb3d8ea7abf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyExternalImages (cyclomatic 43, cognitive 90): applyExternalImages has cyclomatic complexity 43 and cognitive complexity 90; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":19959}}}],"partialFingerprints":{"codehealthFindingId/v1":"253d4541bb2f00f45b41cf0b1a8d6d6d3ee99f58546464f457be68321b4fa5a3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function focusTabStopInDirection (cyclomatic 43, cognitive 81): focusTabStopInDirection has cyclomatic complexity 43 and cognitive complexity 81; 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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":4456}}}],"partialFingerprints":{"codehealthFindingId/v1":"60f42297705219becd77623c9fae77e4683cc41dd015e3dc3632e451bd47fe88"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function redrawHandles (cyclomatic 43, cognitive 72): redrawHandles has cyclomatic complexity 43 and cognitive complexity 72; 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/webapp/mxgraph/src/handler/mxVertexHandler.js"},"region":{"startLine":1947}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b1927fd19f86ca056234816fe851ba4c1cf84512d61aa63a7e41d37b6ef9798"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readGraphState (cyclomatic 43, cognitive 53): readGraphState has cyclomatic complexity 43 and cognitive complexity 53; 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/webapp/js/grapheditor/Editor.js"},"region":{"startLine":1779}}}],"partialFingerprints":{"codehealthFindingId/v1":"900ae1a197dd1985c9db83ab13ef7f029d4821ccb44abc36f9ef01fe420dfb00"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getSvg (cyclomatic 43, cognitive 48): getSvg has cyclomatic complexity 43 and cognitive complexity 48; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":41361}}}],"partialFingerprints":{"codehealthFindingId/v1":"8082be8245dabad9b36e735682f9415921ad0d3ed7d2efb1c4fb467fa48a0e24"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 43, cognitive 45): (anonymous) has cyclomatic complexity 43 and cognitive complexity 45; 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/webapp/js/grapheditor/Format.js"},"region":{"startLine":8257}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c1a79db89701a0875859dc3864b78eba320268b125ae08b9eb45b8a40ff04d7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function init (cyclomatic 43, cognitive 44): init has cyclomatic complexity 43 and cognitive complexity 44; 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/webapp/js/diagramly/GraphViewer.js"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"88ebd16f60958c1e79cc34251e9294ef0586ff69e39ddcbc7d5a60d17dcd334a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateTabContainer (cyclomatic 42, cognitive 95): updateTabContainer has cyclomatic complexity 42 and cognitive complexity 95; 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/webapp/js/diagramly/Pages.js"},"region":{"startLine":3176}}}],"partialFingerprints":{"codehealthFindingId/v1":"63da8b73853e3d5885832245fe9bb459c94ee34d2cc8d22d74037f87919d5336"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function importLucidPage (cyclomatic 42, cognitive 86): importLucidPage has cyclomatic complexity 42 and cognitive complexity 86; 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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":6641}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf4a0fdd240f64e10021504312bf32cd69363cef0f4a3072ba55bbf8a9a79135"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function connect (cyclomatic 42, cognitive 86): connect has cyclomatic complexity 42 and cognitive complexity 86; 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/webapp/mxgraph/src/handler/mxConnectionHandler.js"},"region":{"startLine":1918}}}],"partialFingerprints":{"codehealthFindingId/v1":"61105387be823587052431c8d6116c084f05a867792ae678ac60e068e4ea1543"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function diffCell (cyclomatic 42, cognitive 62): diffCell has cyclomatic complexity 42 and cognitive complexity 62; 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/webapp/js/diagramly/DiffSync.js"},"region":{"startLine":2563}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f10b73cb87e3b08a5eec189aa75ff97449675f174d9745f17d5da374fc27564"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addConnectedEdge (cyclomatic 42, cognitive 61): addConnectedEdge has cyclomatic complexity 42 and cognitive complexity 61; 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":2233}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2527136f46650c24c937851544a287ff8f7437a09eda537e0a0a21d294ee476"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function makeStepRow (cyclomatic 42, cognitive 45): makeStepRow has cyclomatic complexity 42 and cognitive complexity 45; 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":16367}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ce120a86c4e7e69305c85c3a4d267ceba2ab4710bd039c81703af90c3eb87c1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function nudge (cyclomatic 41, cognitive 119): nudge has cyclomatic complexity 41 and cognitive complexity 119; 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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":11074}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2c126e9e377d4413171f3f3b674626a74e07ee0dafd4eabf779d89148a717cc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function styleChanged (cyclomatic 41, cognitive 93): styleChanged has cyclomatic complexity 41 and cognitive complexity 93; 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/webapp/shapes/mxAtlassian2.js"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b4b7bdeb3869b1761a800d46d6ae75b0dcdb01e0892730fbee36c5284cd3e00"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function convertTxt2Html (cyclomatic 41, cognitive 85): convertTxt2Html has cyclomatic complexity 41 and cognitive complexity 85; 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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":3986}}}],"partialFingerprints":{"codehealthFindingId/v1":"feffcf8e26fca765b7954254a8f4170e34af86475218693aa10e30cf3d5aa85f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function patchPages (cyclomatic 41, cognitive 80): patchPages has cyclomatic complexity 41 and cognitive complexity 80; 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/webapp/js/diagramly/DiffSync.js"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2f7171bf6511d7fb32799a2832a88f3f8c69586231e20511270c13a70223e61"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function convertText (cyclomatic 41, cognitive 63): convertText has cyclomatic complexity 41 and cognitive complexity 63; 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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":4549}}}],"partialFingerprints":{"codehealthFindingId/v1":"d04709555fd968e43b3e7dadd03c2b525d1ae2e9588dcd78b0a9b59b865a46b1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paintForeground (cyclomatic 41, cognitive 39): paintForeground has cyclomatic complexity 41 and cognitive complexity 39; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/shapes/mxAtlassian.js"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4b84296e1ae3057cdf10285f701dd58de30f57ab0fffaf7a6c2b828f407660b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resize (cyclomatic 40, cognitive 123): resize has cyclomatic complexity 40 and cognitive complexity 123; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":46803}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0b05dae4786a6f7b3421893746879036d880f5fe35015b8153a57fb67232733"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function repairHasParentCycle (cyclomatic 40, cognitive 78): repairHasParentCycle has cyclomatic complexity 40 and cognitive complexity 78; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":21720}}}],"partialFingerprints":{"codehealthFindingId/v1":"c52fb0048c2b8afaaa8fc11718b426425288c3d335ac7c6798fe0ab82e4c5fec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateTieLayout (cyclomatic 40, cognitive 78): updateTieLayout has cyclomatic complexity 40 and cognitive complexity 78; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":33655}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0380a59300c8929de58544986efe9e99d6ce151f9eab8a76a8ef024d90dc6ea"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function previewEndpointDrag (cyclomatic 40, cognitive 42): previewEndpointDrag has cyclomatic complexity 40 and cognitive complexity 42; 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/webapp/js/diagramly/LibavoidRouting.js"},"region":{"startLine":2970}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbd77117cf343addabd1d70b73d96563e6e990b58abb316a201d09afc4f1ded0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addStorageEntry (cyclomatic 39, cognitive 93): addStorageEntry has cyclomatic complexity 39 and cognitive complexity 93; 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":4595}}}],"partialFingerprints":{"codehealthFindingId/v1":"c92b1f1b882f25164b9578b2209e0cfbe4b1c3381deb34946ff179d8b51380b3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getColorSchemeStyles (cyclomatic 39, cognitive 77): getColorSchemeStyles has cyclomatic complexity 39 and cognitive complexity 77; 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/webapp/js/diagramly/Editor.js"},"region":{"startLine":10410}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c99dfe154a51a6cba18b3dc880e80dd4efc10bfef3bf3e930caa7a5067ff641"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createOrgChart (cyclomatic 39, cognitive 73): createOrgChart has cyclomatic complexity 39 and cognitive complexity 73; 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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":14078}}}],"partialFingerprints":{"codehealthFindingId/v1":"493acc3470d58c19f58f6b8a2f9d1e973a471eb3b70db9bf525de424fe2db750"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setColor (cyclomatic 39, cognitive 70): setColor has cyclomatic complexity 39 and cognitive complexity 70; 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/webapp/js/grapheditor/Dialogs.js"},"region":{"startLine":1685}}}],"partialFingerprints":{"codehealthFindingId/v1":"d43e75e8a6f69f1b6ef823c1743da9ce0f77654c030ff5a42de9a6bbf576a15e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addPopupMenuCellItems (cyclomatic 39, cognitive 62): addPopupMenuCellItems has cyclomatic complexity 39 and cognitive complexity 62; 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/webapp/js/grapheditor/Menus.js"},"region":{"startLine":1781}}}],"partialFingerprints":{"codehealthFindingId/v1":"96657f4bca138b8b1dcacf37edaf2ad36fa50abb5f78ad27d136bf2b1a10cd93"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applySharedState (cyclomatic 39, cognitive 60): applySharedState has cyclomatic complexity 39 and cognitive complexity 60; 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/webapp/js/diagramly/ForceExplorer.js"},"region":{"startLine":1700}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e6ea9e63ddef29634e1af052a1f61bdeb6394de67235c7d10a93214073c2490"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createCss (cyclomatic 39, cognitive 59): createCss has cyclomatic complexity 39 and cognitive complexity 59; 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/webapp/mxgraph/src/util/mxSvgCanvas2D.js"},"region":{"startLine":2351}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fd65477fd0e7d2b39e7cfb4435f13d4663a003e758cc70af0268fc07fcc6a8c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function saveViewState (cyclomatic 39, cognitive 55): saveViewState has cyclomatic complexity 39 and cognitive complexity 55; 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/webapp/js/diagramly/Pages.js"},"region":{"startLine":1672}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9c954f19b8960528e90e818ab3525f1e0e0a9838a1bd905d4949481d4443d35"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processChange (cyclomatic 39, cognitive 46): processChange has cyclomatic complexity 39 and cognitive complexity 46; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":38186}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6fbc26099fd4f9b44a4acd27d08bdc5797e90d7fc3bf8e996db28506482e5a9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function encodeEmbedPng (cyclomatic 38, cognitive 91): encodeEmbedPng has cyclomatic complexity 38 and cognitive complexity 91; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":19703}}}],"partialFingerprints":{"codehealthFindingId/v1":"873465a6aad7cab0e1a1cf2c63a16466fc407690d3eeeb57ede1337321506fdc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fileLoaded (cyclomatic 38, cognitive 80): fileLoaded has cyclomatic complexity 38 and cognitive complexity 80; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":5256}}}],"partialFingerprints":{"codehealthFindingId/v1":"65aec005848e45214137e9807a40110cd6152136f56a3fff0be970580ad72387"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 38, cognitive 80): (anonymous) has cyclomatic complexity 38 and cognitive complexity 80; 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/webapp/plugins/random.js"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f12470f8707bd2763fa21521a76be8d727c97b0721c7a9973b23bf116e55e7a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 38, cognitive 77): (anonymous) has cyclomatic complexity 38 and cognitive complexity 77; 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/webapp/js/diagramly/App.js"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"0574e678f4d3641f2f1dce1d559ca7a7922bee8c74b9a192435f596b7c26c19b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getCellOptions (cyclomatic 38, cognitive 69): getCellOptions has cyclomatic complexity 38 and cognitive complexity 69; 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/webapp/js/grapheditor/InlineToolbar.js"},"region":{"startLine":4345}}}],"partialFingerprints":{"codehealthFindingId/v1":"7382d7617ef85b9cb003c66eab3a268cb06d9e5a0ebcd21896e45eb2d479e869"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 38, cognitive 65): (anonymous) has cyclomatic complexity 38 and cognitive complexity 65; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":17670}}}],"partialFingerprints":{"codehealthFindingId/v1":"e36c58275123cc5130b8f225d86b1fc2cb3efccce9ba46de09abebee6096d22a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function EditDataDialog (cyclomatic 38, cognitive 62): EditDataDialog has cyclomatic complexity 38 and cognitive complexity 62; 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/webapp/js/grapheditor/Dialogs.js"},"region":{"startLine":3880}}}],"partialFingerprints":{"codehealthFindingId/v1":"57c7ccedf48b7cb25ea46b46abf1845c9ce3bd88a053668423d0fbf7c4841839"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 38, cognitive 61): (anonymous) has cyclomatic complexity 38 and cognitive complexity 61; 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/webapp/js/diagramly/DriveClient.js"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf22bfcb39328550ee3a622ea7f5cf50c2b99db58c5843fffdd59721b76171fb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TrianglePerimeter (cyclomatic 38, cognitive 61): TrianglePerimeter has cyclomatic complexity 38 and cognitive complexity 61; 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/webapp/mxgraph/src/view/mxPerimeter.js"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"92e38c9d634a761f48a2fc8da8493f0a31a49c74250df37fa65090eb017004ee"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getEdgeShapeOutline (cyclomatic 38, cognitive 54): getEdgeShapeOutline has cyclomatic complexity 38 and cognitive complexity 54; 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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":12416}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e987a7c2795d00db98c1304c8e22b768eeb21c9ae6e3171c9fd5821a8c3ef8d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getImageForMarker (cyclomatic 38, cognitive 49): getImageForMarker has cyclomatic complexity 38 and cognitive complexity 49; 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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":5257}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ed45e6fd699345cc51193c49591faaaa1852eff29cf306bad2ab021d6fe212d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createTooltip (cyclomatic 38, cognitive 49): createTooltip has cyclomatic complexity 38 and cognitive complexity 49; 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/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"2259e6b9f78733b0458621828662206d3c61ce031bff626626b567cd4a2852c5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function tick (cyclomatic 37, cognitive 96): tick has cyclomatic complexity 37 and cognitive complexity 96; 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/webapp/js/diagramly/SpringMove.js"},"region":{"startLine":1039}}}],"partialFingerprints":{"codehealthFindingId/v1":"82a2afc789e67993b897c585a344ae20f0bd777aea6732f735e67fa8b3c13714"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function searchEntries (cyclomatic 37, cognitive 77): searchEntries has cyclomatic complexity 37 and cognitive complexity 77; 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/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":2582}}}],"partialFingerprints":{"codehealthFindingId/v1":"561bc1739922c0feb66879d43d1bd24b03f6b21aec50a4a54cca5e669da404d1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function FilePropertiesDialog (cyclomatic 37, cognitive 45): FilePropertiesDialog has cyclomatic complexity 37 and cognitive complexity 45; 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":24473}}}],"partialFingerprints":{"codehealthFindingId/v1":"80fa479c021ba1a8d1dc5ae13c714930d79f7f4279c120d2f45c342018e377cc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateActionStates (cyclomatic 37, cognitive 33): updateActionStates has cyclomatic complexity 37 and cognitive complexity 33; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":8945}}}],"partialFingerprints":{"codehealthFindingId/v1":"21a398d4339a2c0b4ce762089604bfb29e29fbd29c153a8a78bde1ceae515aaf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 36, cognitive 117): (anonymous) has cyclomatic complexity 36 and cognitive complexity 117; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":17773}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eb3e6d569acc06d1de23f2f07955d57f54655369b5bfbe6e84276df06ba1993"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function showLightbox (cyclomatic 36, cognitive 78): showLightbox has cyclomatic complexity 36 and cognitive complexity 78; 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/webapp/js/diagramly/GraphViewer.js"},"region":{"startLine":2610}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffee64ec9bede8db52a1bed6b7d1a85f0df3083dffc53d60c2707f0a981dbb33"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getModelNodeBounds (cyclomatic 36, cognitive 71): getModelNodeBounds has cyclomatic complexity 36 and cognitive complexity 71; 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/webapp/js/diagramly/GraphViewer.js"},"region":{"startLine":3430}}}],"partialFingerprints":{"codehealthFindingId/v1":"79cb84bec36ad65460b804df6ec2f722230930acf4749f843b757cb9f38381d6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function EditorUi (cyclomatic 36, cognitive 62): EditorUi has cyclomatic complexity 36 and cognitive complexity 62; 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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"58c6c44c006fa69fe2caf2ad5d7ae97c6843f8c39ce2a65ce0c93e98b336c819"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addToolbar (cyclomatic 36, cognitive 58): addToolbar has cyclomatic complexity 36 and cognitive complexity 58; 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/webapp/js/diagramly/GraphViewer.js"},"region":{"startLine":1843}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d8e63d616c1430367b25464a7e53b0dcf6730e41ca858ff447feb33f1d71d2d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paintEdgeShape (cyclomatic 36, cognitive 56): paintEdgeShape has cyclomatic complexity 36 and cognitive complexity 56; 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/webapp/mxgraph/src/shape/mxArrowConnector.js"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"87483c6e4f062c57071c5f0d8b196ac82a35af0e3bfe12b4c81a923b253b8904"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getLoopAroundPoints (cyclomatic 36, cognitive 55): getLoopAroundPoints has cyclomatic complexity 36 and cognitive complexity 55; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":10898}}}],"partialFingerprints":{"codehealthFindingId/v1":"59a8369eb11a23d0444afec921cb9bffb1a81d97e505e002fe77da6b19bd23dc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function drawRuler (cyclomatic 36, cognitive 50): drawRuler has cyclomatic complexity 36 and cognitive complexity 50; 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/webapp/js/diagramly/mxRuler.js"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e8defa88fb12241af99c38ff1a73f0264e7a3a9e744f79501dd0a32e81eec9f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 36, cognitive 15): (anonymous) has cyclomatic complexity 36 and cognitive complexity 15; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":7303}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc322398287c4f1596a6e31c9935e4dfff9c45771e53cbf2f58b73eea0b994ca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stripPendingInserts (cyclomatic 35, cognitive 122): stripPendingInserts has cyclomatic complexity 35 and cognitive complexity 122; 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/webapp/js/diagramly/DrawioFileSync.js"},"region":{"startLine":1983}}}],"partialFingerprints":{"codehealthFindingId/v1":"043a9257c4d0d9a2fc6ebc87f937d6fd66c27e542c91d94898bc564aeac5677a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleWriteRevoked (cyclomatic 35, cognitive 113): handleWriteRevoked has cyclomatic complexity 35 and cognitive complexity 113; 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/webapp/js/diagramly/DrawioFile.js"},"region":{"startLine":2338}}}],"partialFingerprints":{"codehealthFindingId/v1":"c88fc3c695a7304fc8db73b04d5917755cd5729ff9756251dd60421bdc869631"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function moveCells (cyclomatic 35, cognitive 81): moveCells has cyclomatic complexity 35 and cognitive complexity 81; 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/webapp/js/diagramly/Trees.js"},"region":{"startLine":853}}}],"partialFingerprints":{"codehealthFindingId/v1":"537f6dfde23285a2bbdde80fc5f6e336074c4c9531bac011030d4a81a7b23e47"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateShapeInsideFloats (cyclomatic 35, cognitive 80): updateShapeInsideFloats has cyclomatic complexity 35 and cognitive complexity 80; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":46364}}}],"partialFingerprints":{"codehealthFindingId/v1":"204e67a54650acfd387f74ad7f24e73bff0bb7b011f9d00989c147cf545700bb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function importXml (cyclomatic 35, cognitive 78): importXml has cyclomatic complexity 35 and cognitive complexity 78; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":13999}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8a09bac50ed5d9bf1197ca7b37942a2bf82bbaa8e4fdb42f82b9ec3eda638b1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resize (cyclomatic 35, cognitive 72): resize has cyclomatic complexity 35 and cognitive complexity 72; 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/webapp/mxgraph/src/view/mxCellEditor.js"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"a29070e7de1fa62fe9c78ff42301d6bc65dc5b9da415755b68e4046d95625226"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function print (cyclomatic 35, cognitive 68): print has cyclomatic complexity 35 and cognitive complexity 68; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":29906}}}],"partialFingerprints":{"codehealthFindingId/v1":"35bacde18e5302a5a19add246258995d69735e75b4854b8792cecd634e32cd1b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function visit (cyclomatic 35, cognitive 67): visit has cyclomatic complexity 35 and cognitive complexity 67; 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/webapp/js/diagramly/tidy/Tidy.js"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c0129c044145df459a520cd3bac98f562bb4cc49d51c55de1ea24b36ca5b7f2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paint (cyclomatic 35, cognitive 62): paint has cyclomatic complexity 35 and cognitive complexity 62; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":8131}}}],"partialFingerprints":{"codehealthFindingId/v1":"fad58af43749fd37dab39725e52062bdcf9836ece231008c18b4464172b177bc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createFileData (cyclomatic 35, cognitive 59): createFileData has cyclomatic complexity 35 and cognitive complexity 59; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":3015}}}],"partialFingerprints":{"codehealthFindingId/v1":"0604700cf97ef7debc4daf26b13bd1b3a2f835a0e3ad02b6d7ef441a60fffc21"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updatePreviewState (cyclomatic 35, cognitive 56): updatePreviewState has cyclomatic complexity 35 and cognitive complexity 56; 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/webapp/mxgraph/src/handler/mxEdgeHandler.js"},"region":{"startLine":1465}}}],"partialFingerprints":{"codehealthFindingId/v1":"35ae891e776f67e98f9c4a10f1d0d955774cfe8945ef35400e380af75ce65add"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getAutoLabelPlacement (cyclomatic 35, cognitive 53): getAutoLabelPlacement has cyclomatic complexity 35 and cognitive complexity 53; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":29813}}}],"partialFingerprints":{"codehealthFindingId/v1":"baedcd399175b729ce33d3740ad9d6cd767b8c14bee739d45f201a0b4d8c0c22"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 35, cognitive 49): (anonymous) has cyclomatic complexity 35 and cognitive complexity 49; 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/webapp/js/diagramly/Menus.js"},"region":{"startLine":6282}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c9cca133b3ccdeb1491aecf362a642843576cbd0fce33d7af06630d6b3736e6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 35, cognitive 41): (anonymous) has cyclomatic complexity 35 and cognitive complexity 41; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":12744}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e6f4420323b2522f9950ce5148623b4fd5076e3116fb42f7d8dcc4cbcf7299f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SaveDialog (cyclomatic 35, cognitive 39): SaveDialog has cyclomatic complexity 35 and cognitive complexity 39; 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":4424}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a22ac972a06b5d5f30b14b3c96a27ca2e6a7e4126cd5766d7e85583be5cd294"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paintVertexShape (cyclomatic 35, cognitive 35): paintVertexShape has cyclomatic complexity 35 and cognitive complexity 35; 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/webapp/shapes/bpmn/mxBpmnShape2.js"},"region":{"startLine":1880}}}],"partialFingerprints":{"codehealthFindingId/v1":"a41bc181eba4619af687a8a703c19ae2e0a648b9ecd79d2ee4cc4d2e4de68143"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getBoundingBoxFromGeometry (cyclomatic 34, cognitive 155): getBoundingBoxFromGeometry has cyclomatic complexity 34 and cognitive complexity 155; 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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":8095}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3ef099a1e240f638545491943a0e432b376dac04f33e24291a680b40e6529d2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function diffPages (cyclomatic 34, cognitive 98): diffPages has cyclomatic complexity 34 and cognitive complexity 98; 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/webapp/js/diagramly/DiffSync.js"},"region":{"startLine":1944}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8954f0ac95ab33247790dbfd1ebd744f3529344723882c69cbd5fbf4829a24a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addSibling (cyclomatic 34, cognitive 92): addSibling has cyclomatic complexity 34 and cognitive complexity 92; 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/webapp/js/diagramly/Trees.js"},"region":{"startLine":1150}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c64a78d8d3056812df1e4231d13eb53f06a7901804a482c877ac710f2bd9681"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addSibling (cyclomatic 34, cognitive 92): addSibling has cyclomatic complexity 34 and cognitive complexity 92; 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/webapp/plugins/trees/trees.js"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"e046b923707d068f295574ba6733e707b30d4780f81d54d6c7676f85d1cba322"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function moveCells (cyclomatic 34, cognitive 89): moveCells has cyclomatic complexity 34 and cognitive complexity 89; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":35368}}}],"partialFingerprints":{"codehealthFindingId/v1":"94e3203bbc8b7db477e378bf493eb4cad2d25a683288fee48e1f53a1dfe27bda"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 34, cognitive 74): (anonymous) has cyclomatic complexity 34 and cognitive complexity 74; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":24235}}}],"partialFingerprints":{"codehealthFindingId/v1":"e244ab85733f87e760b0f420f7d89a6d358f25645994aa7a2a8dbed5702ad162"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractGraphModelFromPdf (cyclomatic 34, cognitive 65): extractGraphModelFromPdf has cyclomatic complexity 34 and cognitive complexity 65; 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/webapp/js/diagramly/Editor.js"},"region":{"startLine":3120}}}],"partialFingerprints":{"codehealthFindingId/v1":"9786b118a33ee9b717bad9e09a85f98b21e2a21db8182720dfdab77011363a32"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paintForeground (cyclomatic 34, cognitive 65): paintForeground has cyclomatic complexity 34 and cognitive complexity 65; 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/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":8621}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a22cc8267c536c0d7fee963c0db88b6e4bd8215ec5ae627769f7c71351a15e9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractGraphModel (cyclomatic 34, cognitive 61): extractGraphModel has cyclomatic complexity 34 and cognitive complexity 61; 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/webapp/js/diagramly/Editor.js"},"region":{"startLine":2926}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2178199b1d338a25a4ed2596739f4c1928f0ca624cd3ccb9c9dceb0f93f8af1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handle (cyclomatic 34, cognitive 61): handle has cyclomatic complexity 34 and cognitive complexity 61; 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":9147}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd019e02e29f77819b4c24a46c74d47d298baea0223b92f22c8b0dc7fd695884"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectCellImages (cyclomatic 34, cognitive 56): collectCellImages has cyclomatic complexity 34 and cognitive complexity 56; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":18631}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9b21a38752f15a4767af22c41072a4d92b2494a4e277b0a6b5ac876fcab470d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function snapDistance (cyclomatic 34, cognitive 54): snapDistance has cyclomatic complexity 34 and cognitive complexity 54; 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/webapp/mxgraph/src/util/mxGuide.js"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ddb828657d095f8067867c86f882392f4f445c2ba99d1c0051c05e0bbbf6a67"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 34, cognitive 50): (anonymous) has cyclomatic complexity 34 and cognitive complexity 50; 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/webapp/js/diagramly/Menus.js"},"region":{"startLine":6620}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4cb0e0086030db0109d992d35b61ed35ad0ef34083744440cf576b47ec4ffff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onKeyDown (cyclomatic 34, cognitive 48): onKeyDown has cyclomatic complexity 34 and cognitive complexity 48; 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/webapp/js/diagramly/Trees.js"},"region":{"startLine":1549}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3ffe1012aa76179f17c5490b0d59eff24f89383852d23d1eff8c4f0074af914"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function snapPoints (cyclomatic 34, cognitive 35): snapPoints has cyclomatic complexity 34 and cognitive complexity 35; 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/webapp/js/diagramly/LibavoidRouting.js"},"region":{"startLine":1650}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ca96fc5255904a342cfa0c07d3af17be5f1a037809ca5546a922322551ecfd4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addComment (cyclomatic 34, cognitive 33): addComment has cyclomatic complexity 34 and cognitive complexity 33; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":45460}}}],"partialFingerprints":{"codehealthFindingId/v1":"7753eeae4e0a4efbc60e865a01a7781ca77b8a2ee54c3c297f5591665284fb45"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function redrawPath (cyclomatic 34, cognitive 28): redrawPath has cyclomatic complexity 34 and cognitive complexity 28; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":9486}}}],"partialFingerprints":{"codehealthFindingId/v1":"964a6321a1f54474da2e23680de9d7d964e7fa71997924856579e9b9d7045ad3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cloneCells (cyclomatic 33, cognitive 176): cloneCells has cyclomatic complexity 33 and cognitive complexity 176; 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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":4596}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcee476e270a6a185767564d8c068ad28f293f33b0ae84be19993f6f53e581e4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateBullets (cyclomatic 33, cognitive 89): updateBullets has cyclomatic complexity 33 and cognitive complexity 89; 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/webapp/js/diagramly/ForceExplorer.js"},"region":{"startLine":4632}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a5ed6ea2f5b0b736475c92be8f39530f2cca25934dd6d8c684eff8d7641700c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mergeFile (cyclomatic 33, cognitive 86): mergeFile has cyclomatic complexity 33 and cognitive complexity 86; 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/webapp/js/diagramly/DrawioFile.js"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"207e37a8065ba93e1aa03508dbdae4b4b5c9b8941973805b3e61a6455659ea2e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function merge (cyclomatic 33, cognitive 71): merge has cyclomatic complexity 33 and cognitive complexity 71; 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/webapp/js/diagramly/DrawioFileSync.js"},"region":{"startLine":3246}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea75246885a3028d8c5096e3bd8a898efbb5ff39c14a8c9478154cb219620244"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 33, cognitive 70): (anonymous) has cyclomatic complexity 33 and cognitive complexity 70; 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/webapp/js/diagramly/DrawioFileSync.js"},"region":{"startLine":3710}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dbdd022fc12749f0cdbad71ffeae3bd0c8a33fb4f9a5a0eb3f46acb6711c114"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createRouteEdges (cyclomatic 33, cognitive 67): createRouteEdges has cyclomatic complexity 33 and cognitive complexity 67; 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/webapp/js/diagramly/LibavoidRouting.js"},"region":{"startLine":1990}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a845d51ebaea6888ca1dccecbf12d92059a9737e799f6546869bde737f46641"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createEmbedSvg (cyclomatic 33, cognitive 63): createEmbedSvg has cyclomatic complexity 33 and cognitive complexity 63; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":13101}}}],"partialFingerprints":{"codehealthFindingId/v1":"57cb21e59546142032686f9c96eb9929bbdb83deb65ab040f5d4f5d3b35bad6b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getAlternateTextLines (cyclomatic 33, cognitive 62): getAlternateTextLines has cyclomatic complexity 33 and cognitive complexity 62; 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/webapp/mxgraph/src/util/mxSvgCanvas2D.js"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5a420ba4d32c853d3caa2e38b364b6819898fd4d2a7a8e8a7d5f4622c88932d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 33, cognitive 59): (anonymous) has cyclomatic complexity 33 and cognitive complexity 59; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":29914}}}],"partialFingerprints":{"codehealthFindingId/v1":"b57c7dc004ab74240dad8bff4ccc529a0e35cf9b995bcb2c5fc864de14e57a56"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function dragOver (cyclomatic 33, cognitive 55): dragOver has cyclomatic complexity 33 and cognitive complexity 55; 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/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":6700}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ff6eaf0e22e1004386583b391b7915586cf8266bc30693cac8b952421e34a4a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setOutlineOrder (cyclomatic 33, cognitive 52): setOutlineOrder has cyclomatic complexity 33 and cognitive complexity 52; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":35653}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce79176fc2cb67cde977ea8cfb3a4b836ef038e3af154e44ea776d8e4f25d181"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function writeContainerLayoutGeometries (cyclomatic 33, cognitive 51): writeContainerLayoutGeometries has cyclomatic complexity 33 and cognitive complexity 51; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":14733}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6f0473068686adc153c54bb76675c5b4a94a75fb408694eced39261e35f62b0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function update (cyclomatic 33, cognitive 49): update has cyclomatic complexity 33 and cognitive complexity 49; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":24907}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b64c2b6d4be2f2d360ed6c2aa44919ffc28c723710d69ea6aa39349df9c0f90"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 33, cognitive 46): (anonymous) has cyclomatic complexity 33 and cognitive complexity 46; 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/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":3594}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d9ac570cca46a95464409e2e56abe6007865bf8c98621c2f19dde4e487737cc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addGeometry (cyclomatic 33, cognitive 43): addGeometry has cyclomatic complexity 33 and cognitive complexity 43; 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/webapp/js/grapheditor/Format.js"},"region":{"startLine":3383}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1bc1f377257cc5e9d3f8aa7b29ea80d0a7bc673c720ee141aea17aa83ab42ff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function nurbsSegsTo (cyclomatic 33, cognitive 37): nurbsSegsTo has cyclomatic complexity 33 and cognitive complexity 37; 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":14097}}}],"partialFingerprints":{"codehealthFindingId/v1":"2049d443214d7030501baa5f1f691d128f41d6cde843130ddcedb21151cf0dad"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paintVertexShape (cyclomatic 33, cognitive 33): paintVertexShape has cyclomatic complexity 33 and cognitive complexity 33; 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/webapp/shapes/bpmn/mxBpmnShape2.js"},"region":{"startLine":1578}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bacd607750c100891f21ae9a6f7f0e9b4be7e5932f5d1d87787345ea655f412"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isEventIgnored (cyclomatic 33, cognitive 30): isEventIgnored has cyclomatic complexity 33 and cognitive complexity 30; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":14060}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a0b81938eaeae04b666d3dbb7fa8e3a7c9198d969f8106dfb686616eba96bea"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getRole (cyclomatic 33, cognitive 19): getRole has cyclomatic complexity 33 and cognitive complexity 19; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/tidy/TidyStyle.js"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee06c215cc7aafbb5beaf30e04a5a63513c3157e39712207136dd279030c8f2a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function distributeCells (cyclomatic 32, cognitive 128): distributeCells has cyclomatic complexity 32 and cognitive complexity 128; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":40929}}}],"partialFingerprints":{"codehealthFindingId/v1":"96809608c93dc42170ea1ef306fa1eaf1ebeab069ee0da123ed1f07d8df299fa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseStyleRule (cyclomatic 32, cognitive 79): parseStyleRule has cyclomatic complexity 32 and cognitive complexity 79; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":18071}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ce5b0df7d9edd9ca325bfa1e2057c64c6a982be3b0003959d4b0f6d79a027ee"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function init (cyclomatic 32, cognitive 57): init has cyclomatic complexity 32 and cognitive complexity 57; 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/webapp/js/grapheditor/Format.js"},"region":{"startLine":2310}}}],"partialFingerprints":{"codehealthFindingId/v1":"88ad6bae6ad8e54ab7099ae34ef3e6ddd7a90b3f808c1c273aea0d31421434d9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setDataSource (cyclomatic 32, cognitive 53): setDataSource has cyclomatic complexity 32 and cognitive complexity 53; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":39282}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dbb8fadeea8c5930e05c3ea8d9d1fbcacd97bf36bb295d0f8a9d7981f111ebf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function snapEdges (cyclomatic 32, cognitive 52): snapEdges has cyclomatic complexity 32 and cognitive complexity 52; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":51973}}}],"partialFingerprints":{"codehealthFindingId/v1":"12a9ec25c4c99d923b893806faecf623a06b75bacc614f28cbd9418f68dbcb44"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 32, cognitive 51): (anonymous) has cyclomatic complexity 32 and cognitive complexity 51; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":9979}}}],"partialFingerprints":{"codehealthFindingId/v1":"41bc984c252cfb9fc655022ecf1ab5fae425336db65ea44120fdc1fc130d93d3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 32, cognitive 48): (anonymous) has cyclomatic complexity 32 and cognitive complexity 48; 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/webapp/js/grapheditor/InlineToolbar.js"},"region":{"startLine":1602}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9fde75f035ac008c8d70b0c137989a1925a4e98901d5e4521b1f07f609ce0bf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 32, cognitive 44): (anonymous) has cyclomatic complexity 32 and cognitive complexity 44; 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/webapp/js/grapheditor/Dialogs.js"},"region":{"startLine":5192}}}],"partialFingerprints":{"codehealthFindingId/v1":"46b2786737ba8c9df603bf7e94626e4777e233f0d37cc77d78df47c862fbff0a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function open (cyclomatic 32, cognitive 44): open has cyclomatic complexity 32 and cognitive complexity 44; 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/webapp/mxgraph/src/view/mxPrintPreview.js"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"d15146d6a89daefb4cfeebd934f08021c35c456c55e8a3d0299bf852c6579572"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paintVertexShape (cyclomatic 32, cognitive 37): paintVertexShape has cyclomatic complexity 32 and cognitive complexity 37; 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/webapp/shapes/mxLeanMap.js"},"region":{"startLine":1999}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d558bcb2c632bf4ad54a7ebac9d73b9449741defe03d7672b840b7b28ad82e9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getStructure (cyclomatic 32, cognitive 36): getStructure has cyclomatic complexity 32 and cognitive complexity 36; 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/webapp/js/diagramly/tidy/Tidy.js"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"c77e928438fcfb3e71df8fd211b26b6d1c2f33164885e84080476f1ba2220566"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mxODPicker (cyclomatic 32, cognitive 33): mxODPicker has cyclomatic complexity 32 and cognitive complexity 33; 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/webapp/js/onedrive/mxODPicker.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"65b228d8af60ba4ae364f7e783229306cc25bcacdbb8e31bd351c71bcf42ad2d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ParseDialog (cyclomatic 32, cognitive 31): ParseDialog has cyclomatic complexity 32 and cognitive complexity 31; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":1514}}}],"partialFingerprints":{"codehealthFindingId/v1":"1656b564da0cf79ccb89ad2d6373759340922cd8bfc1289157b26a2cacbd00e9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function realMain (cyclomatic 32, cognitive 28): realMain has cyclomatic complexity 32 and cognitive complexity 28; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/App.js"},"region":{"startLine":1466}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8a94512b24f93d7171946cc4e2e3925fac96c3aa4d2592a2d7ef2682ff80215"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function text (cyclomatic 31, cognitive 92): text has cyclomatic complexity 31 and cognitive complexity 92; 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/webapp/mxgraph/src/util/mxSvgCanvas2D.js"},"region":{"startLine":3327}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cf7be4fd52965f7f844276d9890c4fb8b8da721a163fa0e725a7d5c219bb409"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fit (cyclomatic 31, cognitive 85): fit has cyclomatic complexity 31 and cognitive complexity 85; 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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":3039}}}],"partialFingerprints":{"codehealthFindingId/v1":"594cd4ec267e0179d7ba4957a424723b0a206bc544b68bfc50950ca666abbae8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function insertTextAt (cyclomatic 31, cognitive 84): insertTextAt has cyclomatic complexity 31 and cognitive complexity 84; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":16965}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e525a1db762cd10aa712de2bad755249f7cb46149b7daf9c36f886dda2155e1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function clipSvgDataUri (cyclomatic 31, cognitive 82): clipSvgDataUri has cyclomatic complexity 31 and cognitive complexity 82; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":5184}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd63556d80faf5446361fa526868688ab7c9edafb237b235794f9190d2a328dc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function turnShapes (cyclomatic 31, cognitive 81): turnShapes has cyclomatic complexity 31 and cognitive complexity 81; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":37456}}}],"partialFingerprints":{"codehealthFindingId/v1":"53e46d27494d9c9918ed78e5bd596c908b1896493f4f5d2f3780e99f81f73fe0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function removeTieReferences (cyclomatic 31, cognitive 76): removeTieReferences has cyclomatic complexity 31 and cognitive complexity 76; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":21131}}}],"partialFingerprints":{"codehealthFindingId/v1":"a38c029bb71788543ce85ade6d208374662171b09d668d0ce10a7accdc968efe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addButton (cyclomatic 31, cognitive 75): addButton has cyclomatic complexity 31 and cognitive complexity 75; 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":20059}}}],"partialFingerprints":{"codehealthFindingId/v1":"d379d436f52493aad0f6cc4cbbc653d79c3d7b0b6cc800566ad8380b1fb0a917"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 31, cognitive 71): (anonymous) has cyclomatic complexity 31 and cognitive complexity 71; 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/webapp/js/grapheditor/Format.js"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"78fef46a7e244f798c4fde691edf015a4a8a188e83b060d3472d23b29f3cb4c7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function alignCells (cyclomatic 31, cognitive 71): alignCells has cyclomatic complexity 31 and cognitive complexity 71; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":40713}}}],"partialFingerprints":{"codehealthFindingId/v1":"99fecf8ee9ca62da1a6859d3dccb38cf79ad5e7cf6ddde86291516e883e41861"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function move (cyclomatic 31, cognitive 63): move has cyclomatic complexity 31 and cognitive complexity 63; 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/webapp/mxgraph/src/util/mxGuide.js"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"a32072db23d9acb8a3541a81ed54ab497b25bca091348e05b72c4c9b621a9cd1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getDropAndConnectGeometry (cyclomatic 31, cognitive 58): getDropAndConnectGeometry has cyclomatic complexity 31 and cognitive complexity 58; 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/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":6038}}}],"partialFingerprints":{"codehealthFindingId/v1":"abba84e13276fa1981be32eafe75055de648917a51b6878ea9d87d845f756837"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createLayouts (cyclomatic 31, cognitive 53): createLayouts has cyclomatic complexity 31 and cognitive complexity 53; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":14364}}}],"partialFingerprints":{"codehealthFindingId/v1":"79d4bd5444a96104efb77d825c06e8b740e3eb029e60c06931ab19f0c11aeaca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applySharedViewMode (cyclomatic 31, cognitive 52): applySharedViewMode has cyclomatic complexity 31 and cognitive complexity 52; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":1901}}}],"partialFingerprints":{"codehealthFindingId/v1":"278b9ff6de26dff648645a53083502a8ecf09fc7cdd20337fa0503f8141f1ddb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function predictBounds (cyclomatic 31, cognitive 51): predictBounds has cyclomatic complexity 31 and cognitive complexity 51; 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/webapp/js/diagramly/ForceExplorer.js"},"region":{"startLine":2092}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8e1ee456d780ddc171c323742d5d1e7c4392cfc1f6fe2d7723a1b26a67c8039"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function redrawPath (cyclomatic 31, cognitive 51): redrawPath has cyclomatic complexity 31 and cognitive complexity 51; 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/webapp/shapes/bpmn/mxBpmnShape2.js"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"bea66f3a11216ea74d818a1f0e10a5551d28da4eccd785a9e606b765bf4ac2b2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function splitEdge (cyclomatic 31, cognitive 49): splitEdge has cyclomatic complexity 31 and cognitive complexity 49; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":35059}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bf006e37c3b18f071a83ac9db61f6b85cbfdcad9d6db5ba01ca4d0602851340"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function apply (cyclomatic 31, cognitive 48): apply has cyclomatic complexity 31 and cognitive complexity 48; 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/webapp/js/grapheditor/Format.js"},"region":{"startLine":1542}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cedcf983fbb5a0959c113250fbff73259c7572e1780137d2b9dadcff74f1e7e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateBackgroundStyles (cyclomatic 31, cognitive 45): validateBackgroundStyles has cyclomatic complexity 31 and cognitive complexity 45; 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/webapp/js/grapheditor/Editor.js"},"region":{"startLine":4874}}}],"partialFingerprints":{"codehealthFindingId/v1":"714babc351b6c175a0591f87fb92ac490a1e37183b640a4cc4eb912e98b58344"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function image (cyclomatic 31, cognitive 45): image has cyclomatic complexity 31 and cognitive complexity 45; 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/webapp/mxgraph/src/util/mxSvgCanvas2D.js"},"region":{"startLine":1743}}}],"partialFingerprints":{"codehealthFindingId/v1":"150ef2b57d7603a53a4e4f4c9513da8c26e757be0e1a38e09ba784c64954e076"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addNode (cyclomatic 31, cognitive 41): addNode has cyclomatic complexity 31 and cognitive complexity 41; 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/webapp/mxgraph/src/util/mxSvgCanvas2D.js"},"region":{"startLine":1172}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9be318b90e005bca64172745b5940ab4e02ef6020d3b79cf51ce2c2e9f565bc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 31, cognitive 40): (anonymous) has cyclomatic complexity 31 and cognitive complexity 40; 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/webapp/js/grapheditor/Format.js"},"region":{"startLine":8650}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f5f8c2c548a95cb577800e82f03c0e514d1ef17f74d1096d7998190ecbeaa80"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function optimizeNode (cyclomatic 31, cognitive 40): optimizeNode has cyclomatic complexity 31 and cognitive complexity 40; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":4580}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ddab9f5a013fb72828d41a5acfb34106d308f27df1aaca9ca83ebbd81d933c0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function LinkDialog (cyclomatic 31, cognitive 38): LinkDialog has cyclomatic complexity 31 and cognitive complexity 38; 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":6051}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e07b7de3dd094183d86506fefb1a431868e9281f16cba7bf50c685442f24219"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 31, cognitive 27): (anonymous) has cyclomatic complexity 31 and cognitive complexity 27; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/Editor.js"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"5593ec152289faab7ec1d9e39a89e3874ad72221d8d501e5b01447b9ccce645b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function redrawLabel (cyclomatic 31, cognitive 25): redrawLabel has cyclomatic complexity 31 and cognitive complexity 25; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/mxgraph/src/view/mxCellRenderer.js"},"region":{"startLine":1151}}}],"partialFingerprints":{"codehealthFindingId/v1":"34f3d22e9bf780a06091a389d78aab298a08666000cf565d0c1fa91dc85334ea"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createMenubarForTheme (cyclomatic 30, cognitive 80): createMenubarForTheme has cyclomatic complexity 30 and cognitive complexity 80; 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/webapp/js/diagramly/SimpleClassic.js"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"6799cc00fb9c1e10a4067778e9e35bdeaf60617910750fafb4f9507d32d2a7e1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function encodeCell (cyclomatic 30, cognitive 76): encodeCell has cyclomatic complexity 30 and cognitive complexity 76; 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/webapp/mxgraph/src/io/mxGraphViewCodec.js"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba971e8501ad71beb8c1d11e632b424937fefda35a363ec4e937673abb76a4ef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getShapeInsidePreferredSize (cyclomatic 30, cognitive 75): getShapeInsidePreferredSize has cyclomatic complexity 30 and cognitive complexity 75; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":36803}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aa3d4bb83d7765d82cbb0bed443bb75eef9ce09bd9775d7df727a6c497573b4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setFileData (cyclomatic 30, cognitive 69): setFileData has cyclomatic complexity 30 and cognitive complexity 69; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":3932}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9269c6c2579f1fbb585869fbc36db710a9ad2e1e070827752784698e72f3161"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateLanguages (cyclomatic 30, cognitive 69): updateLanguages has cyclomatic complexity 30 and cognitive complexity 69; 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/webapp/js/diagramly/LightboxModern.js"},"region":{"startLine":2240}}}],"partialFingerprints":{"codehealthFindingId/v1":"0070cb9d142e0103faa8dbaba3d9b0d285345da147e45039fb7a1814a51e36f8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cellsRemoved (cyclomatic 30, cognitive 68): cellsRemoved has cyclomatic complexity 30 and cognitive complexity 68; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":38741}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bf68d8d68abae025ea371809e755b16bd04c1764960720a9be053e9456dcb43"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function start (cyclomatic 30, cognitive 66): start has cyclomatic complexity 30 and cognitive complexity 66; 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/webapp/mxgraph/src/handler/mxVertexHandler.js"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"9945a1b6f8b1f5f755eb763135db127c8f361e6a4ac0009a27fd3cd36dbdc673"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fileSaved (cyclomatic 30, cognitive 63): fileSaved has cyclomatic complexity 30 and cognitive complexity 63; 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/webapp/js/diagramly/DrawioFileSync.js"},"region":{"startLine":4262}}}],"partialFingerprints":{"codehealthFindingId/v1":"c981b333d8f35cbc47e7fd8b48c25f860a1b79bc586c0c633d1d85eecbc32df7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 30, cognitive 63): (anonymous) has cyclomatic complexity 30 and cognitive complexity 63; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":33033}}}],"partialFingerprints":{"codehealthFindingId/v1":"63364ce21a64307cbb5e0631c6e6bc75ccae30dc2663e837f0ec1a095235991d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getLegacyConnectionPoint (cyclomatic 30, cognitive 56): getLegacyConnectionPoint has cyclomatic complexity 30 and cognitive complexity 56; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":44554}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f8887e8f06dd2f86605ec45831ad94bbed09e9d2b6fa1dfff4cbc572e0b26bb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getLazySize (cyclomatic 30, cognitive 55): getLazySize has cyclomatic complexity 30 and cognitive complexity 55; 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/webapp/js/diagramly/GraphViewer.js"},"region":{"startLine":3362}}}],"partialFingerprints":{"codehealthFindingId/v1":"c634c807b25706bac00ac8e4a5d895d98320dcb343f7d78f16f050e0c02ffad6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function run (cyclomatic 30, cognitive 55): run has cyclomatic complexity 30 and cognitive complexity 55; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":7726}}}],"partialFingerprints":{"codehealthFindingId/v1":"983885fb020658b1a9bbf207f0adb21d2925eb3c9dab510618b7e8e6b669ba6f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function EntityRelation (cyclomatic 30, cognitive 50): EntityRelation has cyclomatic complexity 30 and cognitive complexity 50; 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/webapp/mxgraph/src/view/mxEdgeStyle.js"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"badcfc8cc6b7fd73882d9a09ec4785033114917e4130fbd2a2a044a2108d4015"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function styleEdges (cyclomatic 30, cognitive 48): styleEdges has cyclomatic complexity 30 and cognitive complexity 48; 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/webapp/js/diagramly/tidy/TidyStyle.js"},"region":{"startLine":1721}}}],"partialFingerprints":{"codehealthFindingId/v1":"a20c57eaaeb95a56e8cd454d0d05cb19bf7ceb1b135d7fabfe8ffcdb9a120348"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 30, cognitive 47): (anonymous) has cyclomatic complexity 30 and cognitive complexity 47; 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":25240}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2bc64aab8c4cf83c22040c080ebb891ecbed3e1dd48294913aea1dba4cde2dc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getConnectionPoint (cyclomatic 30, cognitive 47): getConnectionPoint has cyclomatic complexity 30 and cognitive complexity 47; 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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":7439}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b1d641df5bb177cb92830e6bded28bc649c653419a49173092ba80954d60536"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rootChanged (cyclomatic 30, cognitive 44): rootChanged has cyclomatic complexity 30 and cognitive complexity 44; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":4204}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea3902bd8c17c05ecdbc311033f46cf685aebc7d1ca7f2079199ec9234c3fe9a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getCells (cyclomatic 30, cognitive 44): getCells has cyclomatic complexity 30 and cognitive complexity 44; 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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":13126}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a88985c443cdf963c4c5f71995ba7c5f7bc2cd1a67f0b84fbd19d89ea47a28d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paintCutCurve (cyclomatic 30, cognitive 42): paintCutCurve has cyclomatic complexity 30 and cognitive complexity 42; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":32018}}}],"partialFingerprints":{"codehealthFindingId/v1":"11029956570492ac0fb25dd0cea3a1e43f1f651052ad8c8f6f62a180a6ed4be1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getFormatControl (cyclomatic 30, cognitive 37): getFormatControl has cyclomatic complexity 30 and cognitive complexity 37; 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/webapp/js/grapheditor/Omnibox.js"},"region":{"startLine":1543}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fb7a21736b12566b61a022da8ad9cccb43f6a4a960e563c8e489a5b221042ac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function destroy (cyclomatic 30, cognitive 36): destroy has cyclomatic complexity 30 and cognitive complexity 36; 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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":12049}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5db59a3f5c5355d7e15a1b4fc1bd8ca619558b7db0f72ee84d9bf51ff0c005d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function BackgroundImageDialog (cyclomatic 30, cognitive 35): BackgroundImageDialog has cyclomatic complexity 30 and cognitive complexity 35; 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":927}}}],"partialFingerprints":{"codehealthFindingId/v1":"aac1cc2ca8d4bfe1886b9ac4bd08c3bb3bbe07693077a4e350e6d4feae972788"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createHtml (cyclomatic 30, cognitive 35): createHtml has cyclomatic complexity 30 and cognitive complexity 35; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":10671}}}],"partialFingerprints":{"codehealthFindingId/v1":"13013ac7742f07ad5c5b6a4207eedc17a7787fd1571d080521038e0ccf055e10"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setPresetValues (cyclomatic 30, cognitive 35): setPresetValues has cyclomatic complexity 30 and cognitive complexity 35; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":12622}}}],"partialFingerprints":{"codehealthFindingId/v1":"bea508ffce188682c10a7825e56c7989b921d5ffc321c89abc171fd95a398e49"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 30, cognitive 32): (anonymous) has cyclomatic complexity 30 and cognitive complexity 32; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":29414}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cff6cc11d5e20d7e2e6eeb58d4fd0631be241269f56a6a0d01047fdc8c3da61"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createLink (cyclomatic 30, cognitive 31): createLink has cyclomatic complexity 30 and cognitive complexity 31; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":10579}}}],"partialFingerprints":{"codehealthFindingId/v1":"70156479bfcc8fbdeebf07c504f382af46f03aa5e681d9ece25b88423e2ca617"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 30, cognitive 26): (anonymous) has cyclomatic complexity 30 and cognitive complexity 26; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/grapheditor/Menus.js"},"region":{"startLine":1076}}}],"partialFingerprints":{"codehealthFindingId/v1":"f550020c7d8015a2302805a41ea1e705ff2f6a5ae2e6da95044b1f60779ed187"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isModeEnabled (cyclomatic 30, cognitive 19): isModeEnabled has cyclomatic complexity 30 and cognitive complexity 19; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/App.js"},"region":{"startLine":6619}}}],"partialFingerprints":{"codehealthFindingId/v1":"e170459c458fa26ffe978230e322e30d1bc4c760aa622eb662e61edce6d2e934"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sanitizeElkLayoutOptions (cyclomatic 29, cognitive 63): sanitizeElkLayoutOptions has cyclomatic complexity 29 and cognitive complexity 63; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":14995}}}],"partialFingerprints":{"codehealthFindingId/v1":"87094d3ee4cdd6806e3ea261c638873a9fbaa26e1b13e566cb76e75210757c4e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function update (cyclomatic 29, cognitive 53): update has cyclomatic complexity 29 and cognitive complexity 53; 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/webapp/js/diagramly/ForceExplorer.js"},"region":{"startLine":2457}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebce138ab46e1de52d3d6760b1d8fe4638646de5d270eb2f93d24eb847d9ec98"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function foreground (cyclomatic 29, cognitive 52): foreground has cyclomatic complexity 29 and cognitive complexity 52; 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/webapp/shapes/pid2/mxPidMisc.js"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"27f31f798fb9d8a1fb28905fb223a5674a5375dfadb1eb981e30df5a47294af7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getKeptEdgeLabelGeometries (cyclomatic 29, cognitive 50): getKeptEdgeLabelGeometries has cyclomatic complexity 29 and cognitive complexity 50; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":40033}}}],"partialFingerprints":{"codehealthFindingId/v1":"74246bb142487f4fc083cf15cf3432b763aa6b76d901a61ee8dceb7e68f6e23c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addTextBackground (cyclomatic 29, cognitive 48): addTextBackground has cyclomatic complexity 29 and cognitive complexity 48; 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/webapp/mxgraph/src/util/mxSvgCanvas2D.js"},"region":{"startLine":4163}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eb511e65ee1f3b7dfddf991fa4e5fafbd174536c526282475a76a33310898e6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function keyDown (cyclomatic 29, cognitive 45): keyDown has cyclomatic complexity 29 and cognitive complexity 45; 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/webapp/js/grapheditor/Omnibox.js"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0508304dcd7d25a82f1be1c332e55636c285bdf9b229b395ee2dd1887df6196"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function shapePin (cyclomatic 29, cognitive 43): shapePin has cyclomatic complexity 29 and cognitive complexity 43; 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/webapp/js/libavoid-js/libavoid-routing.js"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"69408d10f68ec471e9aefcf8e4de2648788f97c9501e7cc9a3299d31ff9201bf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function redrawHandles (cyclomatic 29, cognitive 43): redrawHandles has cyclomatic complexity 29 and cognitive complexity 43; 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/webapp/mxgraph/src/handler/mxEdgeHandler.js"},"region":{"startLine":2654}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ff8c592abd5fe9e1fe88f8a847ba07153da23917b239b471c343b004ac94035"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function moveCells (cyclomatic 29, cognitive 42): moveCells has cyclomatic complexity 29 and cognitive complexity 42; 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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":6660}}}],"partialFingerprints":{"codehealthFindingId/v1":"92f79a7e8bc918664463a4cde6105a4ada4518182e3776ee41fa307ee7f38784"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getShapeSelection (cyclomatic 29, cognitive 30): getShapeSelection has cyclomatic complexity 29 and cognitive complexity 30; 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/webapp/js/grapheditor/InlineToolbar.js"},"region":{"startLine":4619}}}],"partialFingerprints":{"codehealthFindingId/v1":"207717c65a856f5fb7eef9dff834b03950da84a4c868560a05f988b621f9aa35"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createSvgImageSymbol (cyclomatic 28, cognitive 106): createSvgImageSymbol has cyclomatic complexity 28 and cognitive complexity 106; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":6381}}}],"partialFingerprints":{"codehealthFindingId/v1":"296f95dd41da67b8bb9728ad1f6d73c77bba17b0c5aad4dad9b59ebd6de40b67"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyListText (cyclomatic 28, cognitive 63): applyListText has cyclomatic complexity 28 and cognitive complexity 63; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":36892}}}],"partialFingerprints":{"codehealthFindingId/v1":"39b23bde21387c5ad2f12b150eba9dd9ee0f74b046ba6ad041b70016545d9d38"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addClonedTies (cyclomatic 28, cognitive 63): addClonedTies has cyclomatic complexity 28 and cognitive complexity 63; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":35724}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eff587cc9d8c5ce9b8acb92a21c9a17b984fe81ee2bedb94bd056ac15a31eeb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function repairTruncatedXml (cyclomatic 28, cognitive 61): repairTruncatedXml has cyclomatic complexity 28 and cognitive complexity 61; 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/webapp/js/grapheditor/Editor.js"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb7a30a21732333da370d8324f338de2451b6171f27c2fb1546f06afa64efc54"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processBlockInlineContent (cyclomatic 28, cognitive 61): processBlockInlineContent has cyclomatic complexity 28 and cognitive complexity 61; 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/webapp/mxgraph/src/util/mxUtils.js"},"region":{"startLine":6184}}}],"partialFingerprints":{"codehealthFindingId/v1":"fac05c8ed820736dfdcfc8baf6180ab42f311356ac232aa0307d2c0e650619cc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function alignCells (cyclomatic 28, cognitive 61): alignCells has cyclomatic complexity 28 and cognitive complexity 61; 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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":3741}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4e0821653c808980ccc22479ac39ca80f19c33156a2ef7553c552a1b3215112"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mapObject (cyclomatic 28, cognitive 57): mapObject has cyclomatic complexity 28 and cognitive complexity 57; 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/webapp/js/diagramly/graphml/mxGraphMlCodec.js"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"931474a6da9c734df20212697fc7ef93220b206130508bdaef5b8629051c8316"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paintVertexShape (cyclomatic 28, cognitive 57): paintVertexShape has cyclomatic complexity 28 and cognitive complexity 57; 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/webapp/shapes/mxBasic.js"},"region":{"startLine":3642}}}],"partialFingerprints":{"codehealthFindingId/v1":"2312be664bc44299b7afb923dbfc43c4da1c41accd5d14cc61d62e0313c1cc85"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 28, cognitive 54): (anonymous) has cyclomatic complexity 28 and cognitive complexity 54; 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/webapp/js/diagramly/App.js"},"region":{"startLine":7701}}}],"partialFingerprints":{"codehealthFindingId/v1":"84c86d5e1842ce170339b92510d9e5353d069c01db10201fa33e6f6b3ea16715"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateCurrentState (cyclomatic 28, cognitive 54): updateCurrentState has cyclomatic complexity 28 and cognitive complexity 54; 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/webapp/mxgraph/src/handler/mxConnectionHandler.js"},"region":{"startLine":1076}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c49ace8cd33ea805eeab4f2dd223b48d5e6e7151b8c167ee3f81ce59f716995"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addProperties (cyclomatic 28, cognitive 53): addProperties has cyclomatic complexity 28 and cognitive complexity 53; 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/webapp/js/diagramly/Editor.js"},"region":{"startLine":9265}}}],"partialFingerprints":{"codehealthFindingId/v1":"b59895cdb2aff0e2278d31aaad898fdf68433deaa6eb6524bfb8f69e9fb35628"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function patchCell (cyclomatic 28, cognitive 47): patchCell has cyclomatic complexity 28 and cognitive complexity 47; 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/webapp/js/diagramly/DiffSync.js"},"region":{"startLine":1731}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd4b657ca12748bc9ec444d16d3ce4b869a98f8f1153b8fe903dab0990eef24e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getLayout (cyclomatic 28, cognitive 46): getLayout has cyclomatic complexity 28 and cognitive complexity 46; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":12853}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fe70f335aba417032331bba9623409d4d334df02a827469e7d165f6eea84494"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderResponseData (cyclomatic 28, cognitive 42): renderResponseData has cyclomatic complexity 28 and cognitive complexity 42; 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":12744}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d37d14717e242ae2ecee967001a200eea7fa8c088277978311e33119cb5deab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 28, cognitive 41): (anonymous) has cyclomatic complexity 28 and cognitive complexity 41; 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/webapp/js/grapheditor/Format.js"},"region":{"startLine":3695}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba8693e923880afc8aef3183c382828736637a545d3b729ab5f71dd5828d48a3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 28, cognitive 37): (anonymous) has cyclomatic complexity 28 and cognitive complexity 37; 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/webapp/js/grapheditor/Editor.js"},"region":{"startLine":1340}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2e732e84ca1acf24ea76012c09afdda33138876fdeeabc4e2ec01ceacaadd90"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getLayoutFormValues (cyclomatic 28, cognitive 36): getLayoutFormValues has cyclomatic complexity 28 and cognitive complexity 36; 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/webapp/js/diagramly/LayoutPicker.js"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed66b9622a998edb7b8e996b0c7bb6c9c96a7786f5dbc42ed0b5938ba2edad8b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getRoutePoints (cyclomatic 28, cognitive 35): getRoutePoints has cyclomatic complexity 28 and cognitive complexity 35; 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/webapp/js/orgchart/mxOrgChartLayout.js"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f6e4ed85a8ba32b32aecacc303ff486258518b84676831cee8ca8e7c17bd2ff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getFillPattern (cyclomatic 28, cognitive 35): getFillPattern has cyclomatic complexity 28 and cognitive complexity 35; 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/webapp/mxgraph/src/util/mxSvgCanvas2D.js"},"region":{"startLine":901}}}],"partialFingerprints":{"codehealthFindingId/v1":"95c3832129373bdbf3235758b310c3981d25279b82c4d340323e923319763bb6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 28, cognitive 34): (anonymous) has cyclomatic complexity 28 and cognitive complexity 34; 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/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":3052}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0557382ff860e9b5a80bf8ad83015d6440eb51dfead531f161a99c87ed00bbf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getPortConstraints (cyclomatic 28, cognitive 34): getPortConstraints has cyclomatic complexity 28 and cognitive complexity 34; 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/webapp/mxgraph/src/util/mxUtils.js"},"region":{"startLine":3142}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e68f4c067e5e4d1f8b56eaea687330e10248f1cb1356145daedf46b8756a7d5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createFile (cyclomatic 28, cognitive 33): createFile has cyclomatic complexity 28 and cognitive complexity 33; 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/webapp/js/diagramly/App.js"},"region":{"startLine":6718}}}],"partialFingerprints":{"codehealthFindingId/v1":"f75f36e5293047c35f13d4f79d6ea671bce03d9ecad5a065ff72e6b7381f3e26"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addMathTextLayer (cyclomatic 28, cognitive 32): addMathTextLayer has cyclomatic complexity 28 and cognitive complexity 32; 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/webapp/js/diagramly/Editor.js"},"region":{"startLine":5631}}}],"partialFingerprints":{"codehealthFindingId/v1":"adb60ee87c4f34ddab6a3a3a1dfe7a63515413b40dcb8418d9ef42552042a0b7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getLabelPerimeterPoint (cyclomatic 28, cognitive 29): getLabelPerimeterPoint has cyclomatic complexity 28 and cognitive complexity 29; 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/webapp/mxgraph/src/view/mxGraphView.js"},"region":{"startLine":3735}}}],"partialFingerprints":{"codehealthFindingId/v1":"49ff12cd549ee0358ed9f64530936c01a9fbf5d29de14d436a25e56fee873b89"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sendMessage (cyclomatic 28, cognitive 26): sendMessage has cyclomatic complexity 28 and cognitive complexity 26; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/P2PCollab.js"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e1ea9d7e1e1c47486644958a79000b97246c3e59ca4df907c54ffc554d3b4a7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function keyDown (cyclomatic 28, cognitive 22): keyDown has cyclomatic complexity 28 and cognitive complexity 22; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/LightboxModern.js"},"region":{"startLine":3648}}}],"partialFingerprints":{"codehealthFindingId/v1":"53158001e84e0a46960132f4f40c2649a6af2fc547cb5728c2c3897d3d5358c4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function constrainChild (cyclomatic 27, cognitive 103): constrainChild has cyclomatic complexity 27 and cognitive complexity 103; 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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":6979}}}],"partialFingerprints":{"codehealthFindingId/v1":"5439d4c8a5841d3453380ddd28b9027d9165172f4ace4c904c7ef4b50d384df5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 27, cognitive 99): (anonymous) has cyclomatic complexity 27 and cognitive complexity 99; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":40963}}}],"partialFingerprints":{"codehealthFindingId/v1":"b31e020a3af08abec59353d4a7d934b9e7ca954551ec702470dc08705df94e00"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 27, cognitive 97): (anonymous) has cyclomatic complexity 27 and cognitive complexity 97; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":30531}}}],"partialFingerprints":{"codehealthFindingId/v1":"24b1c9e40de9841bc3bbe74edb77c994361556ec6cc2b01007aad99aa1ecad69"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getPreviewPoints (cyclomatic 27, cognitive 74): getPreviewPoints has cyclomatic complexity 27 and cognitive complexity 74; 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/webapp/mxgraph/src/handler/mxEdgeHandler.js"},"region":{"startLine":1311}}}],"partialFingerprints":{"codehealthFindingId/v1":"68905c152e027a400eb795c2cff731a564b2d3812843fd6769e9430a94a2c0ce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function process (cyclomatic 27, cognitive 69): process has cyclomatic complexity 27 and cognitive complexity 69; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":26353}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a65bc959b6a7da932acf71263a99cee38de22b2c5d2e087778992c57eb77ae9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cellsAdded (cyclomatic 27, cognitive 65): cellsAdded has cyclomatic complexity 27 and cognitive complexity 65; 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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":4951}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ecacbd9b3c08db073620eed244ebfeb6e9636482ea0642aac042227b5c6a341"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function execute (cyclomatic 27, cognitive 59): execute has cyclomatic complexity 27 and cognitive complexity 59; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":27179}}}],"partialFingerprints":{"codehealthFindingId/v1":"77347d774bfc7f016f54ef4e5e60a4dcf744cf57aa7f18babe295fd608f84ede"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleMessageData (cyclomatic 27, cognitive 56): handleMessageData has cyclomatic complexity 27 and cognitive complexity 56; 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/webapp/js/diagramly/DrawioFileSync.js"},"region":{"startLine":985}}}],"partialFingerprints":{"codehealthFindingId/v1":"47cf66a9328684be1c4a5407020dfd69795a542378ab0be8267a311b5aec59ed"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function copyCellStyles (cyclomatic 27, cognitive 49): copyCellStyles has cyclomatic complexity 27 and cognitive complexity 49; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":11322}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8de350e337ae2d0d0b2139c37b61621bbc2b6ff060a41d45a7fa8ecd0640c7d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function removeOverlaps (cyclomatic 27, cognitive 45): removeOverlaps has cyclomatic complexity 27 and cognitive complexity 45; 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/webapp/js/diagramly/tidy/Tidy.js"},"region":{"startLine":2004}}}],"partialFingerprints":{"codehealthFindingId/v1":"be951de734c024f59afa930f1b026c37347438cc16bac0837e3049e034fb8e1e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mouseUp (cyclomatic 27, cognitive 42): mouseUp has cyclomatic complexity 27 and cognitive complexity 42; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":40298}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e3eca87927892165f2b7041f4b45b4b93aa575db9a05820a20836dc33081cd6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updatePreviewState (cyclomatic 27, cognitive 40): updatePreviewState has cyclomatic complexity 27 and cognitive complexity 40; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":50897}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb69daa3f2c7067145bd72eb07f7fffd58f7f2061228f5181d6456863bebb8bc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function livePreviewMove (cyclomatic 27, cognitive 39): livePreviewMove has cyclomatic complexity 27 and cognitive complexity 39; 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/webapp/js/diagramly/LibavoidRouting.js"},"region":{"startLine":3842}}}],"partialFingerprints":{"codehealthFindingId/v1":"15c429a302f0899754c4cb7399541e10ddcc3b29a84c0e9f5ce97034b945e407"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function editContainerLayout (cyclomatic 27, cognitive 37): editContainerLayout has cyclomatic complexity 27 and cognitive complexity 37; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":37848}}}],"partialFingerprints":{"codehealthFindingId/v1":"a40e17a1b617c0857a74acd67d0b7f6fb422e552a9a7520134423e6a1623210d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectRestyled (cyclomatic 27, cognitive 37): collectRestyled has cyclomatic complexity 27 and cognitive complexity 37; 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/webapp/js/diagramly/LibavoidRouting.js"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"917db062c565705ee55c4aaf79d943f9214af4b3c8a74dfa5c9c5c72b73aaae1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getFunction (cyclomatic 27, cognitive 34): getFunction has cyclomatic complexity 27 and cognitive complexity 34; 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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":11243}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6c0b19a8fdad96f1517cffdadbcc2b6c0dfeb878a5c81721d0c5c6d0ac6e0dd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseDataSource (cyclomatic 27, cognitive 34): parseDataSource has cyclomatic complexity 27 and cognitive complexity 34; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":18831}}}],"partialFingerprints":{"codehealthFindingId/v1":"3007af2063559578e53cf5f3966a5f2fbb6d7e35fa0ab617a92ecbd9d8fccc67"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function libraryLoaded (cyclomatic 27, cognitive 33): libraryLoaded has cyclomatic complexity 27 and cognitive complexity 33; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":6149}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4178109e6309482784f20b506ed204df2da5de7939f635786bc45a08590c52a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function moveTextBox (cyclomatic 27, cognitive 32): moveTextBox has cyclomatic complexity 27 and cognitive complexity 32; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":30261}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddec96fcc10ad73b1e6566ee9b54c21ad5f146662c88409d25340b0fe06ebd85"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function update (cyclomatic 27, cognitive 31): update has cyclomatic complexity 27 and cognitive complexity 31; 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/webapp/js/diagramly/LightboxModern.js"},"region":{"startLine":1993}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2b2d4181f5dcafa69e999dd1c16ec4f04515511596414e19cde8c003251a00f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateTextAreaStyle (cyclomatic 27, cognitive 31): updateTextAreaStyle has cyclomatic complexity 27 and cognitive complexity 31; 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/webapp/mxgraph/src/view/mxCellEditor.js"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c7ab198592fe86d88651fd680d3f36fa511d9726416fb3061a99680b564f847"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function logError (cyclomatic 27, cognitive 30): logError has cyclomatic complexity 27 and cognitive complexity 30; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"975a78ba17fa9b1eb1cc3d780135165759db67a471b117d384071aedddca9cc6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getFunction (cyclomatic 27, cognitive 27): getFunction has cyclomatic complexity 27 and cognitive complexity 27; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":2481}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddb7e8cbb522c346a62787d3ffa90afdbe46cd3a1927358f4135c661f0d8a499"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function moveDistance (cyclomatic 27, cognitive 27): moveDistance has cyclomatic complexity 27 and cognitive complexity 27; 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/webapp/mxgraph/src/util/mxGuide.js"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"5abe22a21da734ff9311734544774b1cf398616d49c6fda8118f430b934f566f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isEventIgnored (cyclomatic 27, cognitive 13): isEventIgnored has cyclomatic complexity 27 and cognitive complexity 13; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":10929}}}],"partialFingerprints":{"codehealthFindingId/v1":"e47cc7cac0ed5c5c1d029ffcddf51c34b52652e91a5294de5ff59941063654ad"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getRowObj (cyclomatic 27, cognitive 12): getRowObj has cyclomatic complexity 27 and cognitive complexity 12; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":3250}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddba739370e2139f015a0303a8daba0201e7d993e79cbf70a23954174b37813d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function tick (cyclomatic 26, cognitive 75): tick has cyclomatic complexity 26 and cognitive complexity 75; 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/webapp/js/diagramly/ForceExplorer.js"},"region":{"startLine":3833}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f6a17522e17872c91051c486b652084a304f8126e066c37ec9ecd3ca4722297"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseHtmlData (cyclomatic 26, cognitive 61): parseHtmlData has cyclomatic complexity 26 and cognitive complexity 61; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":29788}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c035fe67c6dee6db8f51b485a733826442fa3f42a36a883818c75cb40c37d61"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 26, cognitive 60): (anonymous) has cyclomatic complexity 26 and cognitive complexity 60; 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/webapp/js/diagramly/Embed.js"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc798208275199fd9ca59a2742a548193620a75b393d3e38792a71c98e07edee"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 26, cognitive 60): (anonymous) has cyclomatic complexity 26 and cognitive complexity 60; 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/webapp/js/embed.dev.js"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"579d9afd73c0c3dee43afd966652bed2d5799814e139278f7b3e29db83c469e1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isLiveLayoutLimited (cyclomatic 26, cognitive 58): isLiveLayoutLimited has cyclomatic complexity 26 and cognitive complexity 58; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":13892}}}],"partialFingerprints":{"codehealthFindingId/v1":"207044c1b488ea26e923ddb477dd8a2a4b2fb79ef681c4aaf4f2fa42816a3438"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recordMenus (cyclomatic 26, cognitive 55): recordMenus has cyclomatic complexity 26 and cognitive complexity 55; 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/webapp/js/grapheditor/Omnibox.js"},"region":{"startLine":1026}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc51e09121a2209b08a61d8af47d79769cc28a8fce2938b0a255f2e8736ee744"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateCurveLineJumps (cyclomatic 26, cognitive 51): updateCurveLineJumps has cyclomatic complexity 26 and cognitive complexity 51; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":31777}}}],"partialFingerprints":{"codehealthFindingId/v1":"21c7d8504d08d421d911f323968bf98d04aa9c43eabcbc3fa31bc4475593079e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateShapes (cyclomatic 26, cognitive 49): updateShapes has cyclomatic complexity 26 and cognitive complexity 49; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":17212}}}],"partialFingerprints":{"codehealthFindingId/v1":"241b0b763bfd208d2d8deb31d421d6909853770f5698df9393f3e22d14caee6c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function visit (cyclomatic 26, cognitive 46): visit has cyclomatic complexity 26 and cognitive complexity 46; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":22600}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b5e2a5bb8cd6b3a15b4f353dacd35394a878be76b4c0f83cb85cbcb60e13ca3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setLabelOffset (cyclomatic 26, cognitive 44): setLabelOffset has cyclomatic complexity 26 and cognitive complexity 44; 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":13309}}}],"partialFingerprints":{"codehealthFindingId/v1":"a82a1507bbd7e992dd0897b3a6509d1e2246c8d1e83f6f94a16b8e4a56a3be46"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function importFile (cyclomatic 26, cognitive 43): importFile has cyclomatic complexity 26 and cognitive complexity 43; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":17474}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee40f93f7a25928ebf0b83e2f2232c527aa82a2dd3df6812b3e1ecb49ed86d91"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 26, cognitive 42): (anonymous) has cyclomatic complexity 26 and cognitive complexity 42; 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/webapp/js/diagramly/App.js"},"region":{"startLine":4415}}}],"partialFingerprints":{"codehealthFindingId/v1":"66a733fb51df67703342a761687caed233d40509e8a93c2d2899832564d80536"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function update (cyclomatic 26, cognitive 41): update has cyclomatic complexity 26 and cognitive complexity 41; 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/webapp/mxgraph/src/handler/mxConstraintHandler.js"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"b90ff2262fa3a24349f74c356367af3c4d33c2046778e364a2f34f500d35bc43"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function redrawPreviewHandles (cyclomatic 26, cognitive 37): redrawPreviewHandles has cyclomatic complexity 26 and cognitive complexity 37; 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/webapp/mxgraph/src/handler/mxEdgeHandler.js"},"region":{"startLine":1764}}}],"partialFingerprints":{"codehealthFindingId/v1":"c023ab3da4d341e6bdba90ebafe64595066f8d7512544a1f45fbf23d9aad3671"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paintVertexShape (cyclomatic 26, cognitive 36): paintVertexShape has cyclomatic complexity 26 and cognitive complexity 36; 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/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":5787}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d08b18c41f026cfd504275484ba5e8b86ec5f17eecbd2e0064ac8cbcf71b86e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function itemClicked (cyclomatic 26, cognitive 35): itemClicked has cyclomatic complexity 26 and cognitive complexity 35; 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/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":7306}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ab44baa69a06b60d7c27b7e55375ffbc4e35a8098971726802cfde9fc569793"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addTable (cyclomatic 26, cognitive 34): addTable has cyclomatic complexity 26 and cognitive complexity 34; 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/webapp/js/grapheditor/Format.js"},"region":{"startLine":2460}}}],"partialFingerprints":{"codehealthFindingId/v1":"674043dc0cffcfb640002e8c86f9ded1ceacfafdc9d33b77c24c255725673dd7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateParentHighlight (cyclomatic 26, cognitive 34): updateParentHighlight has cyclomatic complexity 26 and cognitive complexity 34; 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/webapp/mxgraph/src/handler/mxVertexHandler.js"},"region":{"startLine":2206}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc22511d333d9c426d6ae9b0c4dc41d17bf4b829b062b5c95dad4c39adc1839b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function strictDrawShape (cyclomatic 26, cognitive 33): strictDrawShape has cyclomatic complexity 26 and cognitive complexity 33; 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/webapp/shapes/bpmn/mxBpmnShape2.js"},"region":{"startLine":903}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d3d97ee3dc879d7fc1b4c534d908678b8c0a544e049777fd22e5aed9cd8129b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderPolygon (cyclomatic 26, cognitive 32): renderPolygon has cyclomatic complexity 26 and cognitive complexity 32; 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":26244}}}],"partialFingerprints":{"codehealthFindingId/v1":"614793eab223ddf16ec7b3b9852f1b27fc1e130e2d13321c36c86bd509d36f40"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getStyleFromShape (cyclomatic 26, cognitive 30): getStyleFromShape has cyclomatic complexity 26 and cognitive complexity 30; 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":12830}}}],"partialFingerprints":{"codehealthFindingId/v1":"e00db1d04fad49585c43d9b7967ef86df0f70b1cd5435b12c5e8eccb1e46d9b0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getGraphXml (cyclomatic 26, cognitive 29): getGraphXml has cyclomatic complexity 26 and cognitive complexity 29; 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/webapp/js/grapheditor/Editor.js"},"region":{"startLine":1977}}}],"partialFingerprints":{"codehealthFindingId/v1":"91ca8a0aaa20e2a793e05d8adad19b52db15c1eaa7d78e5f60d1d2d08edb6bab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getFillColor$com_mxgraph_io_vsdx_theme_QuickStyleVals$boolean (cyclomatic 26, cognitive 27): getFillColor$com_mxgraph_io_vsdx_theme_QuickStyleVals$boolean has cyclomatic complexity 26 and cognitive complexity 27; 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":5993}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba845bae06373a3efcf05b56b60bd525c8f05d6bb0cac2f5fbd4012217ba8e80"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getResizedBounds (cyclomatic 26, cognitive 26): getResizedBounds has cyclomatic complexity 26 and cognitive complexity 26; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":54261}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1da56000fccd6d6a4a6874ac553264f640086135e9b769690004d1717074d6c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 26, cognitive 23): (anonymous) has cyclomatic complexity 26 and cognitive complexity 23; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/Menus.js"},"region":{"startLine":3576}}}],"partialFingerprints":{"codehealthFindingId/v1":"a62a1d27939cd17c71cd391fac5a45c175fef347d0ff51a866021d073f2fbeee"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 26, cognitive 19): (anonymous) has cyclomatic complexity 26 and cognitive complexity 19; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":24957}}}],"partialFingerprints":{"codehealthFindingId/v1":"73b35ceae0965948d8a5489352de293dc1ae9cd7c52d3f37515e3498ccc67b47"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paintFolds (cyclomatic 26, cognitive 18): paintFolds has cyclomatic complexity 26 and cognitive complexity 18; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":7461}}}],"partialFingerprints":{"codehealthFindingId/v1":"bff0fc5fb0de58b459b05fafff99fa26823021f1cb3dc34c629073825da8d8ab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function importNode (cyclomatic 25, cognitive 72): importNode has cyclomatic complexity 25 and cognitive complexity 72; 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/webapp/js/diagramly/graphml/mxGraphMlCodec.js"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa23c74d0c659578e8eca81098dd35b3405408017592edcf8b4068a51117d773"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 25, cognitive 57): (anonymous) has cyclomatic complexity 25 and cognitive complexity 57; 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/webapp/js/diagramly/DriveClient.js"},"region":{"startLine":1986}}}],"partialFingerprints":{"codehealthFindingId/v1":"42ecf0acfdf5fc914a39533c20d1dfd9543780716926795dcaff8bcf0bfc2875"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateBoundingBox (cyclomatic 25, cognitive 55): updateBoundingBox has cyclomatic complexity 25 and cognitive complexity 55; 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/webapp/mxgraph/src/shape/mxText.js"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b8f53f137bd385f923d396a760431ec6f3b94ecc5f125cdf8cd7726d95e5080"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 25, cognitive 52): (anonymous) has cyclomatic complexity 25 and cognitive complexity 52; 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/webapp/js/diagramly/SimpleClassic.js"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd794574caa53172fa1f59c86cae34d59f4c4df04af5cd9bf8fde699be1dee1a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MoreShapesDialog (cyclomatic 25, cognitive 51): MoreShapesDialog has cyclomatic complexity 25 and cognitive complexity 51; 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":18275}}}],"partialFingerprints":{"codehealthFindingId/v1":"57d11850c2fa29822c9954c556e2a82b65e9bab9df669eb71e1463ee8c48cd03"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createPerimeterOutline (cyclomatic 25, cognitive 50): createPerimeterOutline has cyclomatic complexity 25 and cognitive complexity 50; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":43218}}}],"partialFingerprints":{"codehealthFindingId/v1":"5660b9f1e77e8bb2c78cfde6da46f4f26c6fab6f971d88da35b9fb31d81035e1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paintCollapsedOutline (cyclomatic 25, cognitive 48): paintCollapsedOutline has cyclomatic complexity 25 and cognitive complexity 48; 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/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a2f5b420c4adcb6e87ff243f763344f06ba73fbc4729e65364bf81cb45e145c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pasteXml (cyclomatic 25, cognitive 47): pasteXml has cyclomatic complexity 25 and cognitive complexity 47; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":28576}}}],"partialFingerprints":{"codehealthFindingId/v1":"5746ebe40d4b3ba9ae5174869881c78c44d0438c9e92a55cefdfea38e9d8d580"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyDataStyles (cyclomatic 25, cognitive 47): applyDataStyles has cyclomatic complexity 25 and cognitive complexity 47; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":18471}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b899ea215f2395322f95b492fb0bd55564d9b4027abc1a2e5bf206d95ad0b55"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function showBanner (cyclomatic 25, cognitive 45): showBanner has cyclomatic complexity 25 and cognitive complexity 45; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":8042}}}],"partialFingerprints":{"codehealthFindingId/v1":"5590dc68e3269c4bfc7e444a8720f0980de6e0b53591e66c88651032f98cec61"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function text (cyclomatic 25, cognitive 44): text has cyclomatic complexity 25 and cognitive complexity 44; 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/webapp/js/diagramly/util/mxJsCanvas.js"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"67cc0333060761abde975bbb736cecc11628c9d89d910775df27990f941e2dab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function withOutsideLabels (cyclomatic 25, cognitive 42): withOutsideLabels has cyclomatic complexity 25 and cognitive complexity 42; 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/webapp/js/libavoid-js/libavoid-routing.js"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"14139c251c026debbdd6650116d8850d17d8a36d77607e5bb78084837f765ae3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveColor (cyclomatic 25, cognitive 42): resolveColor has cyclomatic complexity 25 and cognitive complexity 42; 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/webapp/mxgraph/src/view/mxCellRenderer.js"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"47c3c676a4f1b653412739ef042486f4e01685545260e9fb59f58b0c74df0988"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function lazyZoom (cyclomatic 25, cognitive 40): lazyZoom has cyclomatic complexity 25 and cognitive complexity 40; 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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":6945}}}],"partialFingerprints":{"codehealthFindingId/v1":"562a7307deb379494eb9ef2e21ce8f0d778a7dcb5378310c7d763bfc786a8811"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function computeShapeInsideSpacer (cyclomatic 25, cognitive 39): computeShapeInsideSpacer has cyclomatic complexity 25 and cognitive complexity 39; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":7669}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9bbf2d49d3229d953e57155ffe6c22be2f88db008fa0b664532b369da456b8e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getRoundedPolygonOutline (cyclomatic 25, cognitive 38): getRoundedPolygonOutline has cyclomatic complexity 25 and cognitive complexity 38; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":42279}}}],"partialFingerprints":{"codehealthFindingId/v1":"f005fc98c9a52daee9e1e0d7dd2e01084e0439af94d28ed327da686777b3c3ca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SplashDialog (cyclomatic 25, cognitive 35): SplashDialog has cyclomatic complexity 25 and cognitive complexity 35; 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e0b730c0c165b7058155b0daefc21f7ff71a6bbf4b6a7b2627149f5fd8f452b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processChange (cyclomatic 25, cognitive 35): processChange has cyclomatic complexity 25 and cognitive complexity 35; 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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":2071}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d3485750c61f52e439bcb2e9fa0552f16e5fcb37d817d19acff20b045ce6705"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getEdgeValidationError (cyclomatic 25, cognitive 34): getEdgeValidationError has cyclomatic complexity 25 and cognitive complexity 34; 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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":9286}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3c9bee41ef380306a64b959f9b8e080b8aaed3b6be3dbe16ee834d60d4e5bf1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function showLocalLightbox (cyclomatic 25, cognitive 32): showLocalLightbox has cyclomatic complexity 25 and cognitive complexity 32; 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/webapp/js/diagramly/GraphViewer.js"},"region":{"startLine":2733}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9b08e04833802b70f4fd0ce602a9c2b2e90a994e6e2af9bba21ae23d906ffa3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateDiagramData (cyclomatic 25, cognitive 32): updateDiagramData has cyclomatic complexity 25 and cognitive complexity 32; 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/webapp/js/diagramly/Pages.js"},"region":{"startLine":2076}}}],"partialFingerprints":{"codehealthFindingId/v1":"97c199fe60406fe7f74ce4d5da376272420c37381c9bf5a9d8f095cc19ec54f6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function redrawShape (cyclomatic 25, cognitive 32): redrawShape has cyclomatic complexity 25 and cognitive complexity 32; 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/webapp/mxgraph/src/view/mxCellRenderer.js"},"region":{"startLine":1788}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd53116500a3ffb7843cab37ad25b0656f5c15133e815446eec12cd3d92fa63e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function showPublishLinkDialog (cyclomatic 25, cognitive 29): showPublishLinkDialog has cyclomatic complexity 25 and cognitive complexity 29; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":11056}}}],"partialFingerprints":{"codehealthFindingId/v1":"1055a2c9601ddae7816327a581d1ea8a21332edec163e19457e2645bd72953ad"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function insertCellEditorDrop (cyclomatic 25, cognitive 29): insertCellEditorDrop has cyclomatic complexity 25 and cognitive complexity 29; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":29230}}}],"partialFingerprints":{"codehealthFindingId/v1":"de3e6402dfb0193c27f4524a89deef12108b9bec0e11400af994aa33b5930fff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getOptions (cyclomatic 25, cognitive 28): getOptions has cyclomatic complexity 25 and cognitive complexity 28; 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/webapp/js/grapheditor/InlineToolbar.js"},"region":{"startLine":5015}}}],"partialFingerprints":{"codehealthFindingId/v1":"f19c60d46f21c4e3a0da1b8b9e10f5bb098b9c993baae656172c0cfcd318c9db"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function edgeRouteBounds (cyclomatic 25, cognitive 27): edgeRouteBounds has cyclomatic complexity 25 and cognitive complexity 27; 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/webapp/js/diagramly/LibavoidRouting.js"},"region":{"startLine":2813}}}],"partialFingerprints":{"codehealthFindingId/v1":"8587152fbedddd541c7867a4b19b099c4995550335e46bf76f765826a543342b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addLineMarkerItems (cyclomatic 25, cognitive 27): addLineMarkerItems has cyclomatic complexity 25 and cognitive complexity 27; 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/webapp/js/grapheditor/Format.js"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6544035c94f9010882ad4be0717d310a69f1b0f7e73cdd9a00a23c965f2d564"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function startTag (cyclomatic 25, cognitive 25): startTag has cyclomatic complexity 25 and cognitive complexity 25; 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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":4292}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c6adf35187a87a9b47ba9f682b9b8d64289c6d2215c891c5469d35f9687402c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateCellState (cyclomatic 25, cognitive 24): validateCellState has cyclomatic complexity 25 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":30676}}}],"partialFingerprints":{"codehealthFindingId/v1":"777f5aeb3aced2f157ed7154cdffb2c7aaa87eb684954a17a9c692b4a3d65c78"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function equals (cyclomatic 25, cognitive 24): equals has cyclomatic complexity 25 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/mxgraph/src/model/mxGeometry.js"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"db05d19432eb416ca660e0aa507eb2d77dcec22b0eccd2daa0a84ea98f58cad5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 25, cognitive 19): (anonymous) has cyclomatic complexity 25 and cognitive complexity 19; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":7834}}}],"partialFingerprints":{"codehealthFindingId/v1":"d63098d4edf539757067657ec78a56ceed44d6b3631b31139e55010bffd9b362"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cellSizeUpdated (cyclomatic 24, cognitive 87): cellSizeUpdated has cyclomatic complexity 24 and cognitive complexity 87; 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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":5878}}}],"partialFingerprints":{"codehealthFindingId/v1":"d98571f48b298d4466e01a70f92ab5530492275293acf81bee759c761b6f9f66"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function moveCells (cyclomatic 24, cognitive 66): moveCells has cyclomatic complexity 24 and cognitive complexity 66; 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/webapp/plugins/trees/trees.js"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea9a90c064b8d4cef7c98cb49cb99eb0e013ce8514807cbc2a60895f0da4d69f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function filterTemplates (cyclomatic 24, cognitive 64): filterTemplates has cyclomatic complexity 24 and cognitive complexity 64; 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":3723}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ac8145847305439af218c5fee1af771c7608fb43a2b61b83bea2c3ed397fb5b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createContainerChildLayout (cyclomatic 24, cognitive 64): createContainerChildLayout has cyclomatic complexity 24 and cognitive complexity 64; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":31886}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b7bc25be97d132ad38b4eae6651eb503b9d6eeed5c9a1413676fb9b36f6b67f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paintLine (cyclomatic 24, cognitive 59): paintLine has cyclomatic complexity 24 and cognitive complexity 59; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":32335}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d59219fd7d4023a1f33f948be7b7dfe55c522f4b7ac87be06d51c9558f2de32"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function replaceFileData (cyclomatic 24, cognitive 58): replaceFileData has cyclomatic complexity 24 and cognitive complexity 58; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":2875}}}],"partialFingerprints":{"codehealthFindingId/v1":"7082759a8508ff9db2e91990593419eee679c3977a63043f0a51fca859ed4ba0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stopDrawing (cyclomatic 24, cognitive 58): stopDrawing has cyclomatic complexity 24 and cognitive complexity 58; 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/webapp/js/diagramly/mxFreehand.js"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"761bb0e5471797269616301578b791a7a0b4a8de3f1073ab0a62da5be0de17cb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resizeVertex (cyclomatic 24, cognitive 47): resizeVertex has cyclomatic complexity 24 and cognitive complexity 47; 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/webapp/mxgraph/src/handler/mxVertexHandler.js"},"region":{"startLine":1029}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e17dfe2cd3c3594174a525d361a355681cc6933ac4b51e146e9da4107c10a3f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 24, cognitive 43): (anonymous) has cyclomatic complexity 24 and cognitive complexity 43; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":31228}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7f0dfb64e25018c55ee96d61d92660de513fc86d55cf0b4596516a9892f6e8d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseTableRows (cyclomatic 24, cognitive 42): parseTableRows has cyclomatic complexity 24 and cognitive complexity 42; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":37089}}}],"partialFingerprints":{"codehealthFindingId/v1":"b92e2cdaf33435b5c1a79a10f779d5ed1aaae67e96c5bdcefa46aaaedf06ad6d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function showEntries (cyclomatic 24, cognitive 40): showEntries has cyclomatic complexity 24 and cognitive complexity 40; 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/webapp/js/diagramly/sidebar/Sidebar.js"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"99842a17a80b5a78b4acf7d894aeddc74a31bca5a7e7b7e517eb96e2c32ca2c2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function exportFile (cyclomatic 24, cognitive 38): exportFile has cyclomatic complexity 24 and cognitive complexity 38; 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/webapp/js/diagramly/App.js"},"region":{"startLine":8664}}}],"partialFingerprints":{"codehealthFindingId/v1":"78be6a0ded5e34283327afd2f7cd30142547aa0d60ffc0f78cde49acf5056759"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parse (cyclomatic 24, cognitive 38): parse has cyclomatic complexity 24 and cognitive complexity 38; 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/webapp/js/diagramly/Settings.js"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"e702cdaefd12e54132815870baaf1cc25e79cfeac82aed4b0889d8cd9a28e2cd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function emitTextOut (cyclomatic 24, cognitive 38): emitTextOut has cyclomatic complexity 24 and cognitive complexity 38; 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/webapp/js/diagramly/emf/emf-svg.js"},"region":{"startLine":2877}}}],"partialFingerprints":{"codehealthFindingId/v1":"791d2642d687f0ffb310755a2a1762861a2f1e7f3de08468a44a6a0775b72c31"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateAutoLabelPlacements (cyclomatic 24, cognitive 38): updateAutoLabelPlacements has cyclomatic complexity 24 and cognitive complexity 38; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":30328}}}],"partialFingerprints":{"codehealthFindingId/v1":"a44ff0e8db0c6ff65dc92a66006f8d2c512ae60616dd34005a59c6b6b120c952"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getBorderContainer (cyclomatic 24, cognitive 36): getBorderContainer has cyclomatic complexity 24 and cognitive complexity 36; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":20055}}}],"partialFingerprints":{"codehealthFindingId/v1":"794fcb3856f55dc87b4e945bf99b30bc684b73615ad08bf220c957149ac10b14"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function dragOver (cyclomatic 24, cognitive 36): dragOver has cyclomatic complexity 24 and cognitive complexity 36; 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/webapp/mxgraph/src/util/mxDragSource.js"},"region":{"startLine":654}}}],"partialFingerprints":{"codehealthFindingId/v1":"5398ca2c037c06678a84ed08015d4d864ba068b61047115027cbda64c7659ae8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TopToBottom (cyclomatic 24, cognitive 34): TopToBottom has cyclomatic complexity 24 and cognitive complexity 34; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":32776}}}],"partialFingerprints":{"codehealthFindingId/v1":"14beaaebdb6dca61f1fe1327c651df9ba97cd878f57c3129af102a5e24c47fd9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TopToBottom (cyclomatic 24, cognitive 34): TopToBottom has cyclomatic complexity 24 and cognitive complexity 34; 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/webapp/mxgraph/src/view/mxEdgeStyle.js"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"9afc823b67fb36410cac682ee642ffd9b816f6192e0609f8b30c4803bece8054"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateFixedPointSpacing (cyclomatic 24, cognitive 31): updateFixedPointSpacing has cyclomatic complexity 24 and cognitive complexity 31; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":32573}}}],"partialFingerprints":{"codehealthFindingId/v1":"d50b8a0dd81745f17d8ac141fc4467f48da55e0c86dd0710252fdd0c5eb86bf0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function VsdxShape (cyclomatic 24, cognitive 30): VsdxShape has cyclomatic complexity 24 and cognitive complexity 30; 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":11624}}}],"partialFingerprints":{"codehealthFindingId/v1":"104b5cbc948d142501b725c01b9241a359ce44b5b80bd6b8a107370c246950c0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handle (cyclomatic 24, cognitive 29): handle has cyclomatic complexity 24 and cognitive complexity 29; 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":9068}}}],"partialFingerprints":{"codehealthFindingId/v1":"814f9cf083e6bb6d546010f075096803fac6d18387e0cdb9edd93bd0bfb43dfd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paintCollapsedTable (cyclomatic 24, cognitive 29): paintCollapsedTable has cyclomatic complexity 24 and cognitive complexity 29; 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/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0511ae88ed29b63ef489db237c444520e151fc2d3fcd3d5ff222ceac79aba34"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fillFolderFiles (cyclomatic 24, cognitive 29): fillFolderFiles has cyclomatic complexity 24 and cognitive complexity 29; 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/webapp/js/onedrive/mxODPicker.js"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"98cd693c5ff659e8c87deb6c6d3d95629399484625d8d8184ad4e773dec6377c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getLabelBox (cyclomatic 24, cognitive 27): getLabelBox has cyclomatic complexity 24 and cognitive complexity 27; 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/webapp/js/diagramly/LibavoidRouting.js"},"region":{"startLine":2671}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0755d3c181ac5c05ab69d637dead6bf17a9ee80cbcd07bb7b83238d458765f1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classify (cyclomatic 24, cognitive 24): classify has cyclomatic complexity 24 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/webapp/js/diagramly/tidy/Tidy.js"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"04428961e6453e9001478a56cccde1cafecad6ab2a235718e38dca02b29ad792"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getSizeForString (cyclomatic 24, cognitive 24): getSizeForString has cyclomatic complexity 24 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/webapp/mxgraph/src/util/mxUtils.js"},"region":{"startLine":5135}}}],"partialFingerprints":{"codehealthFindingId/v1":"f284f73d5ed225b0887aeb59927eaeeb0401eeef83290c2e8e3efec4493bcfd3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paintVertexShape (cyclomatic 24, cognitive 24): paintVertexShape has cyclomatic complexity 24 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/webapp/shapes/mxBasic.js"},"region":{"startLine":2642}}}],"partialFingerprints":{"codehealthFindingId/v1":"3383c497699842dcd088c5fba321346f8025aa2900df9f36fb9748030140be07"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mouseUp (cyclomatic 23, cognitive 75): mouseUp has cyclomatic complexity 23 and cognitive complexity 75; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":50532}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0f45e53a457c872d6e406a393b5d657b93e63d305f9e62ae3039bef68743c5c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function patchRealtime (cyclomatic 23, cognitive 73): patchRealtime has cyclomatic complexity 23 and cognitive complexity 73; 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/webapp/js/diagramly/DrawioFileSync.js"},"region":{"startLine":2240}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ad50a2099e3fad1b3fd4d21ad018a0e53dfa9d6963809ef3a6102abffa62ca5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateDataSourceCells (cyclomatic 23, cognitive 59): updateDataSourceCells has cyclomatic complexity 23 and cognitive complexity 59; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":39452}}}],"partialFingerprints":{"codehealthFindingId/v1":"d72c5122bc91654bae9654e224d40af16b1ae1164573000145d80278d208dbcf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addShape (cyclomatic 23, cognitive 57): addShape has cyclomatic complexity 23 and cognitive complexity 57; 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":881}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e583883b5e546e7487cd89ffb8ccb4b36ff517d2c41b5472afe233c4265ea85"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toggleViewMode (cyclomatic 23, cognitive 56): toggleViewMode has cyclomatic complexity 23 and cognitive complexity 56; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":46661}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a26af0bcd3447cce3583659f369b29f6495b15ceb54be3878389842f453e2e4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getFontStyleString (cyclomatic 23, cognitive 53): getFontStyleString has cyclomatic complexity 23 and cognitive complexity 53; 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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":5060}}}],"partialFingerprints":{"codehealthFindingId/v1":"b682b2e2d81e2d5047de8a94345292dece575d85961303f7f425a2a0226158bf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 23, cognitive 50): (anonymous) has cyclomatic complexity 23 and cognitive complexity 50; 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/webapp/js/diagramly/App.js"},"region":{"startLine":7020}}}],"partialFingerprints":{"codehealthFindingId/v1":"669276a71cc764a6d79a2d8d0cc26a4fcbd205393192bae178d6b10fb2843f15"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setGraphXml (cyclomatic 23, cognitive 49): setGraphXml has cyclomatic complexity 23 and cognitive complexity 49; 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/webapp/js/diagramly/Editor.js"},"region":{"startLine":5098}}}],"partialFingerprints":{"codehealthFindingId/v1":"02e8206d385193a8a0e3da5dbc92fe9e1381cc988300c83e4f8d44cc9bceab0d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 23, cognitive 49): (anonymous) has cyclomatic complexity 23 and cognitive complexity 49; 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/webapp/js/diagramly/ElectronApp.js"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"2869b36a7aed99cb1a30461359e06ce9562dc99a6a8351500c95d6b7cb725eb0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function keepFixedRoleColors (cyclomatic 23, cognitive 49): keepFixedRoleColors has cyclomatic complexity 23 and cognitive complexity 49; 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/webapp/js/diagramly/tidy/TidyStyle.js"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"c935b15e527675f537d5c6e092686333060b3d92b1dbc4f64a3b6cba6b93080a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createLegend (cyclomatic 23, cognitive 48): createLegend has cyclomatic complexity 23 and cognitive complexity 48; 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":22624}}}],"partialFingerprints":{"codehealthFindingId/v1":"50f5437e9308967a6bff16a06a85f39a7eeb7ad2d7ef11692ff874dd00695ad7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sendLocalChanges (cyclomatic 23, cognitive 48): sendLocalChanges has cyclomatic complexity 23 and cognitive complexity 48; 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/webapp/js/diagramly/DrawioFileSync.js"},"region":{"startLine":3042}}}],"partialFingerprints":{"codehealthFindingId/v1":"29f6aaa566597d9cf8a5b9fee54d2efc1ab131bc2d2e79f9fccc153768d95311"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cellConnected (cyclomatic 23, cognitive 43): cellConnected has cyclomatic complexity 23 and cognitive complexity 43; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":36415}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4f811f28f8c425006dc1c6c1dbaa54853aa3e824a63e0b7e14a834e3c6c484b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onKeyDown (cyclomatic 23, cognitive 42): onKeyDown has cyclomatic complexity 23 and cognitive complexity 42; 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/webapp/plugins/trees/trees.js"},"region":{"startLine":852}}}],"partialFingerprints":{"codehealthFindingId/v1":"baa57bac142164bc469eed3e5a6d402705ee88b2988a35f193ddee0c11605447"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function create (cyclomatic 23, cognitive 37): create has cyclomatic complexity 23 and cognitive complexity 37; 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":2783}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6ec6392bcbcd5f349c518969d15038713988d1c28bdc326cbf3e9f335a82347"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function doSaveLocalFile (cyclomatic 23, cognitive 37): doSaveLocalFile has cyclomatic complexity 23 and cognitive complexity 37; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":8751}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d7898f21c13c11852c81d7463769ce9ce042b1c9faa46a1a6d0600cc6987293"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updatePreviewState (cyclomatic 23, cognitive 36): updatePreviewState has cyclomatic complexity 23 and cognitive complexity 36; 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/webapp/mxgraph/src/handler/mxEdgeSegmentHandler.js"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2a6584ef1e7354ad7e9d26bba5287c80ab685b2648d013304816fda22544f06"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collect (cyclomatic 23, cognitive 35): collect has cyclomatic complexity 23 and cognitive complexity 35; 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/webapp/js/diagramly/ElkLayout.js"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"09cf23d454d3cf2c93862895867328e7c5e234253167f467c8f87fdaf21fdb2e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getCellElement$java_lang_String (cyclomatic 23, cognitive 34): getCellElement$java_lang_String has cyclomatic complexity 23 and cognitive complexity 34; 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":9690}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b8aacd4bbd13eec8882394bb12c93a3e72154963b3953e370c212d5e039a5ab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getPageIdForChange (cyclomatic 23, cognitive 33): getPageIdForChange has cyclomatic complexity 23 and cognitive complexity 33; 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/webapp/js/diagramly/DrawioFileSync.js"},"region":{"startLine":2555}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1a73335c382d6f548f96acb29ba7b5885d4bbd9eaf8164e6964074fdd72d65b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function zoomGraph (cyclomatic 23, cognitive 33): zoomGraph has cyclomatic complexity 23 and cognitive complexity 33; 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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":7326}}}],"partialFingerprints":{"codehealthFindingId/v1":"5406fab06b3a75b524cdf32debee7a3e8bb3e9727f6ede5980164ee55933e73a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getCellDescription (cyclomatic 23, cognitive 33): getCellDescription has cyclomatic complexity 23 and cognitive complexity 33; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":22857}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b5e8dd617bcb2c18d4336adc6a20bb309ec05de9dbba8525c404b3ab71012ee"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function downloadFile (cyclomatic 23, cognitive 32): downloadFile has cyclomatic complexity 23 and cognitive complexity 32; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":4244}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed265b65935a9829741453da05e2556a0dfd32349600be40e40cbbeddb98dec9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getSvg (cyclomatic 23, cognitive 31): getSvg has cyclomatic complexity 23 and cognitive complexity 31; 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/webapp/js/diagramly/Editor.js"},"region":{"startLine":11732}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5ed65ce87223a6a426600a909ec8194d495bcf5e9d2009f93cb4d270966cfb4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function windowResized (cyclomatic 23, cognitive 31): windowResized has cyclomatic complexity 23 and cognitive complexity 31; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":24673}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef7a35442dbadc49b5d70195c84eb49d3c183f834b2adeb627b5b43dbd3c777d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mouseUp (cyclomatic 23, cognitive 29): mouseUp has cyclomatic complexity 23 and cognitive complexity 29; 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/webapp/mxgraph/src/handler/mxGraphHandler.js"},"region":{"startLine":1880}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff3b6b2270424626012375938bd9fb2fd3990ed1dfa69c7db5e1a9cdd6a35c66"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addStorageEntries (cyclomatic 23, cognitive 28): addStorageEntries has cyclomatic complexity 23 and cognitive complexity 28; 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":4792}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5a17c7501079a7c558b9d7db986e5c72af673dda9343711257234377d9a9457"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mayIntersect (cyclomatic 23, cognitive 28): mayIntersect has cyclomatic complexity 23 and cognitive complexity 28; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":12011}}}],"partialFingerprints":{"codehealthFindingId/v1":"9937c88711b67fb89e427763a18409eea702254a3687b6e3b78562c345a88b77"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function keyDown (cyclomatic 23, cognitive 23): keyDown has cyclomatic complexity 23 and cognitive complexity 23; 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/webapp/js/diagramly/ForceExplorer.js"},"region":{"startLine":1150}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a1513ff62657c1d904d0b1b5d73bbe4c9e638081305ceb826f515350b9771f9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function jettyStub (cyclomatic 23, cognitive 22): jettyStub has cyclomatic complexity 23 and cognitive complexity 22; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/libavoid-js/libavoid-routing.js"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"a63d7a563a5e886aaa5c364e82f9fdac961752cbf2d702a39051d62a5da80c7e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function formatDate (cyclomatic 23, cognitive 20): formatDate has cyclomatic complexity 23 and cognitive complexity 20; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":16127}}}],"partialFingerprints":{"codehealthFindingId/v1":"83d84e2a73673681522d4a040e04bad2750880c774275c9d5f7bd2d438eda790"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function messageListener (cyclomatic 23, cognitive 19): messageListener has cyclomatic complexity 23 and cognitive complexity 19; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/P2PCollab.js"},"region":{"startLine":1277}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea7e351a4467daee474617705690482d4f8b1e7d0c5a0ae4ada7fd9346514061"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyFn (cyclomatic 23, cognitive 18): applyFn has cyclomatic complexity 23 and cognitive complexity 18; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/grapheditor/Editor.js"},"region":{"startLine":3959}}}],"partialFingerprints":{"codehealthFindingId/v1":"83a0526e024c614a64b9fc44ddc8071b47bd13ac6521cb30b77eada639501480"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 23, cognitive 16): (anonymous) has cyclomatic complexity 23 and cognitive complexity 16; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaf43008bb7616d2953c381cd5327b023ae50dbfc66665f34f7d14dc29d1731e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateLivePreview (cyclomatic 22, cognitive 88): updateLivePreview has cyclomatic complexity 22 and cognitive complexity 88; 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/webapp/mxgraph/src/handler/mxGraphHandler.js"},"region":{"startLine":1490}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9594169c1dae61dc48fe6399206fc8ef29d67829a9546d6647ecd0185a664ee"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decode (cyclomatic 22, cognitive 66): decode has cyclomatic complexity 22 and cognitive complexity 66; 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/webapp/mxgraph/src/io/mxStylesheetCodec.js"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"78f8623c76699eaa0a20b42f721e5fe92443e2873535b29803d3012943c451dd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findAnimatedPaths (cyclomatic 22, cognitive 60): findAnimatedPaths has cyclomatic complexity 22 and cognitive complexity 60; 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/webapp/js/diagramly/gif/AnimatedExport.js"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"a89cec8b5ac39d875bf0c67000bf1d288f3bc35838346147d29d0aecffa138cf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getTreeDirection (cyclomatic 22, cognitive 54): getTreeDirection has cyclomatic complexity 22 and cognitive complexity 54; 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/webapp/js/diagramly/Trees.js"},"region":{"startLine":1031}}}],"partialFingerprints":{"codehealthFindingId/v1":"c46731ba9430f7a456ee15a6698a81adce4deaf60da8b297f1015c33ff9114f1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processExtras (cyclomatic 22, cognitive 54): processExtras has cyclomatic complexity 22 and cognitive complexity 54; 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":5679}}}],"partialFingerprints":{"codehealthFindingId/v1":"16a27f9ffc5f6afa80ede466d3018ca0ba24d4a64f746ca91de965597cffbb3e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateListItems (cyclomatic 22, cognitive 51): updateListItems has cyclomatic complexity 22 and cognitive complexity 51; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":40297}}}],"partialFingerprints":{"codehealthFindingId/v1":"5632a2cccebff396f2aea7454d04ec09cf3e4592fc9dfb15d27cb22f3bcef6f9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getSuggestedLayout (cyclomatic 22, cognitive 51): getSuggestedLayout has cyclomatic complexity 22 and cognitive complexity 51; 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/webapp/js/diagramly/LayoutPicker.js"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"de6f1b237b6325e77f0c7f845cf2b4b7929da355102d00fad90e9c7985007884"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getPrettyXml (cyclomatic 22, cognitive 51): getPrettyXml has cyclomatic complexity 22 and cognitive complexity 51; 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/webapp/mxgraph/src/util/mxUtils.js"},"region":{"startLine":1282}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a963cc2f2f7730a26c83d6507c7ce29d168c56b91617cc66aba94b7ec99440e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isTokenAllowed (cyclomatic 22, cognitive 48): isTokenAllowed has cyclomatic complexity 22 and cognitive complexity 48; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":4954}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0c588004ad4a07e10f7dff17fd94678e1095cdd4ba795c0baf7851d43397485"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function execute (cyclomatic 22, cognitive 47): execute has cyclomatic complexity 22 and cognitive complexity 47; 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/webapp/js/diagramly/Editor.js"},"region":{"startLine":15322}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d418cad937695a3fc3866aba7ccdaf7bb7312aeb295e6d2bf792d5a598f6010"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getTooltipForCell (cyclomatic 22, cognitive 46): getTooltipForCell has cyclomatic complexity 22 and cognitive complexity 46; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":22474}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2e5b5a8cb32cd11bb6f05f05e0dbb044fc7ed24430bc82a865db9f4b5b9b495"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paintSwimlane (cyclomatic 22, cognitive 46): paintSwimlane has cyclomatic complexity 22 and cognitive complexity 46; 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/webapp/mxgraph/src/shape/mxSwimlane.js"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeff1ca08e6399ce2f10c9b86cc412940a25e729502981ffedcf6e5419a3cba6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paintRoundedSwimlane (cyclomatic 22, cognitive 46): paintRoundedSwimlane has cyclomatic complexity 22 and cognitive complexity 46; 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/webapp/mxgraph/src/shape/mxSwimlane.js"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"0872d3b249b0c47f9226cb602ded3724fef8e41fa4fb20a1ded271ef17d2479d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 44): (anonymous) has cyclomatic complexity 22 and cognitive complexity 44; 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/webapp/js/grapheditor/Format.js"},"region":{"startLine":9249}}}],"partialFingerprints":{"codehealthFindingId/v1":"13795441eb119ab826ed993a89ab5f05dabad067fc0d9469deec2e406553ab77"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prefixSvgIds (cyclomatic 22, cognitive 43): prefixSvgIds has cyclomatic complexity 22 and cognitive complexity 43; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":5474}}}],"partialFingerprints":{"codehealthFindingId/v1":"870cee1705d62ea7c0eced79dcbee1b554c67510a772739eed27a5714a224898"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function styleTheme (cyclomatic 22, cognitive 40): styleTheme has cyclomatic complexity 22 and cognitive complexity 40; 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/webapp/js/diagramly/tidy/TidyStyle.js"},"region":{"startLine":1599}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7e976f22ec15e5874b9323f58e7e868c5d488473a44ebee5354e43aa6c6d571"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildFinalColor (cyclomatic 22, cognitive 40): buildFinalColor has cyclomatic complexity 22 and cognitive complexity 40; 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/webapp/js/grapheditor/Dialogs.js"},"region":{"startLine":798}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8c5efc64571b0dba5c78c7224b269616649d1fbdfd55ff7ffb634d25f742c24"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function repaint (cyclomatic 22, cognitive 40): repaint has cyclomatic complexity 22 and cognitive complexity 40; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":24638}}}],"partialFingerprints":{"codehealthFindingId/v1":"09aac4e1ca995a37e646b22c22ed10ecb7112f8d20b6ccf3e253db92b42e2126"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function openFileHandle (cyclomatic 22, cognitive 39): openFileHandle has cyclomatic complexity 22 and cognitive complexity 39; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":30752}}}],"partialFingerprints":{"codehealthFindingId/v1":"c497c44c9e26aaa69a9d9049018c9230d16700a6d0da13b20dad4209cb73ea7c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 39): (anonymous) has cyclomatic complexity 22 and cognitive complexity 39; 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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":6799}}}],"partialFingerprints":{"codehealthFindingId/v1":"424d0b08dd702cdd9f6bbce695141ab0355d77b7283f732aafda0405b3b387f5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function formatSelectorText (cyclomatic 22, cognitive 38): formatSelectorText has cyclomatic complexity 22 and cognitive complexity 38; 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":14697}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fa2b2c9d97089bd95c6ada8d3ef22d094ca3ea85f7acc659d84acb0fac5d9c5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 38): (anonymous) has cyclomatic complexity 22 and cognitive complexity 38; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":9077}}}],"partialFingerprints":{"codehealthFindingId/v1":"64863a04860e25f3d3eba274d067d712b9c6d966031f5e3b1edc5104b1853f34"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function wrapSvgBlockElements (cyclomatic 22, cognitive 38): wrapSvgBlockElements has cyclomatic complexity 22 and cognitive complexity 38; 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/webapp/mxgraph/src/util/mxSvgCanvas2D.js"},"region":{"startLine":3215}}}],"partialFingerprints":{"codehealthFindingId/v1":"663454188f9e7b686e7b594c47707eb1f73639ea80c2b1511637222e9db37bcb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function replacePlaceholderMatch (cyclomatic 22, cognitive 37): replacePlaceholderMatch has cyclomatic complexity 22 and cognitive complexity 37; 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":10752}}}],"partialFingerprints":{"codehealthFindingId/v1":"591bd072267e70bb74e422fbfb150f86e297c3ababc511fbf5c43f11e9c713e1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 36): (anonymous) has cyclomatic complexity 22 and cognitive complexity 36; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":29591}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1490ff9dbba07fa710e3d4cf0dc0baf97d5bb71f28a0483c3934296d94ae102"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SideToSide (cyclomatic 22, cognitive 36): SideToSide has cyclomatic complexity 22 and cognitive complexity 36; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":32686}}}],"partialFingerprints":{"codehealthFindingId/v1":"8822af25010dbfd2560140160a846b1a33c58de3a961916f4dbb7cf52abd58fe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SideToSide (cyclomatic 22, cognitive 36): SideToSide has cyclomatic complexity 22 and cognitive complexity 36; 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/webapp/mxgraph/src/view/mxEdgeStyle.js"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"c04d20f7fe25cfb4242bd3c6262535ed2cc6075dad12fbb8018012da33f4a62f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sanityCheck (cyclomatic 22, cognitive 35): sanityCheck has cyclomatic complexity 22 and cognitive complexity 35; 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/webapp/js/diagramly/App.js"},"region":{"startLine":2519}}}],"partialFingerprints":{"codehealthFindingId/v1":"82a4cb86e088a7a2878d36e89c81b85e472469cf472c3b56d4c342150d4abb13"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cleanup (cyclomatic 22, cognitive 35): cleanup has cyclomatic complexity 22 and cognitive complexity 35; 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/webapp/js/diagramly/DrawioFileSync.js"},"region":{"startLine":1573}}}],"partialFingerprints":{"codehealthFindingId/v1":"d303a9860fef7f8d159425bc90f2e0b1afa6697085647cf332d631bbf5a51276"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function selectParentOrPreviousCell (cyclomatic 22, cognitive 34): selectParentOrPreviousCell has cyclomatic complexity 22 and cognitive complexity 34; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":35268}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f361ad89c9cfc58bb091554b7863a13b399ffbbd6421340af416f60661b9161"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getHandlePadding (cyclomatic 22, cognitive 33): getHandlePadding has cyclomatic complexity 22 and cognitive complexity 33; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":49299}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f0655d1456b2d7fac74134620d7919ba2d026516f0d0056c6a2a0ea82fe3bf0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getClosestKeys (cyclomatic 22, cognitive 32): getClosestKeys has cyclomatic complexity 22 and cognitive complexity 32; 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/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":1426}}}],"partialFingerprints":{"codehealthFindingId/v1":"d073e8a31930f58c059236f3c901b3ab33cfa34192e922587edb75fa6090656f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addButton (cyclomatic 22, cognitive 31): addButton has cyclomatic complexity 22 and cognitive complexity 31; 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":3325}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5da01f0f0c3080b91b96b3a4ef9fcdd83415755c5b0fbb9b5259a2c96809961"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateDefaultStyles (cyclomatic 22, cognitive 31): updateDefaultStyles has cyclomatic complexity 22 and cognitive complexity 31; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":27719}}}],"partialFingerprints":{"codehealthFindingId/v1":"007864a34841dc30de879d178b3016d31abbe2c0a56ac19b71df8c3cbdaef12c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createPropertyRow (cyclomatic 22, cognitive 30): createPropertyRow has cyclomatic complexity 22 and cognitive complexity 30; 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/webapp/js/diagramly/Editor.js"},"region":{"startLine":9534}}}],"partialFingerprints":{"codehealthFindingId/v1":"01bf8f392003c07a89c896c6c40bcb617232f569e9791ad1ba9a751a28bbe51f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateFixedPointSpacing (cyclomatic 22, cognitive 29): updateFixedPointSpacing has cyclomatic complexity 22 and cognitive complexity 29; 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/webapp/mxgraph/src/view/mxGraphView.js"},"region":{"startLine":3353}}}],"partialFingerprints":{"codehealthFindingId/v1":"7df9ae622004585fd0be06170031a14febe1bc8ef2fca48b992aae8f5b7f28ea"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function render (cyclomatic 22, cognitive 28): render has cyclomatic complexity 22 and cognitive complexity 28; 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/webapp/js/diagramly/HomeDialog.js"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ef26d69760c61d7c4f33a4792fac1459845fdf721de7c5656fb0b3677d999f4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function importEdge (cyclomatic 22, cognitive 28): importEdge has cyclomatic complexity 22 and cognitive complexity 28; 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/webapp/js/diagramly/graphml/mxGraphMlCodec.js"},"region":{"startLine":2050}}}],"partialFingerprints":{"codehealthFindingId/v1":"00a2d1a42ade5a8b9ab6b526abbbee1ca93e5cd43fe262f28a599010b08a834e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function panTo (cyclomatic 22, cognitive 28): panTo has cyclomatic complexity 22 and cognitive complexity 28; 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/webapp/mxgraph/src/util/mxPanningManager.js"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"844f60d41a42c6924850024cd1bd913ee67865045e48584f5ecb0cad99bc6178"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function EmbedDialog (cyclomatic 22, cognitive 26): EmbedDialog has cyclomatic complexity 22 and cognitive complexity 26; 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ac1011c19fbe70618aa682e2a435bfbe510b18ee06381d647c4c31a3fb3469d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function moveCells (cyclomatic 22, cognitive 26): moveCells has cyclomatic complexity 22 and cognitive complexity 26; 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/webapp/mxgraph/src/handler/mxGraphHandler.js"},"region":{"startLine":2010}}}],"partialFingerprints":{"codehealthFindingId/v1":"42495e89dbdd3305cd01639e23beb4e7a31bca367a16d88ae2aa9bdc44167b17"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getThumbnail (cyclomatic 22, cognitive 25): getThumbnail has cyclomatic complexity 22 and cognitive complexity 25; 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/webapp/js/diagramly/App.js"},"region":{"startLine":3638}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d100a3e2fc0aa73a9b485bd9fb2ca2544cf2a71ebb06a918196d89ebffb25d7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setSharedState (cyclomatic 22, cognitive 25): setSharedState has cyclomatic complexity 22 and cognitive complexity 25; 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/webapp/js/diagramly/Menus.js"},"region":{"startLine":5082}}}],"partialFingerprints":{"codehealthFindingId/v1":"78f5ac6c0d36cd05682c400b9b6493b9b61a498d238a99cb1d1f66422a52069c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function showConfigurationEditorDialog (cyclomatic 22, cognitive 24): showConfigurationEditorDialog has cyclomatic complexity 22 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":6918}}}],"partialFingerprints":{"codehealthFindingId/v1":"81dfd5725c1d7af581b61ab24e56868c423330fbcb312c9c0915aa45ff07e17e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 24): (anonymous) has cyclomatic complexity 22 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/webapp/js/diagramly/GraphViewer.js"},"region":{"startLine":1515}}}],"partialFingerprints":{"codehealthFindingId/v1":"d98dc55d7483688438200cd1f3ef4df210f8a213810c4f7595a30ebe0df6d323"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getFontColor$com_mxgraph_io_vsdx_theme_QuickStyleVals$java_util_ArrayList (cyclomatic 22, cognitive 23): getFontColor$com_mxgraph_io_vsdx_theme_QuickStyleVals$java_util_ArrayList has cyclomatic complexity 22 and cognitive complexity 23; 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":6263}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef5dad49af0a2c6371525788d6ca56dd73fb32023d9e56134a836ed9622f58b8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getEdges (cyclomatic 22, cognitive 22): getEdges has cyclomatic complexity 22 and cognitive complexity 22; 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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":12915}}}],"partialFingerprints":{"codehealthFindingId/v1":"465e9c3309d6934e60d8bb22f1bcf645245c86b04643372936576327b741c2c8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getPaintedLabelBox (cyclomatic 22, cognitive 20): getPaintedLabelBox has cyclomatic complexity 22 and cognitive complexity 20; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":28522}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b138b1ef592fff8be079a7b7f8730b7fb7b0165f8eb1baa0d2dfc7419b64d38"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function moveNWInner (cyclomatic 22, cognitive 19): moveNWInner has cyclomatic complexity 22 and cognitive complexity 19; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":7401}}}],"partialFingerprints":{"codehealthFindingId/v1":"8de361f419b1c544b2a9b9ad43bd2361dcff4fdbb8756a4a9a37183131d4d9f7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function lineNWInner (cyclomatic 22, cognitive 19): lineNWInner has cyclomatic complexity 22 and cognitive complexity 19; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":7431}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6577f032bf112d451286968be2b6d0ff05391daf9fdd671ee453f4b39db4f0a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 19): (anonymous) has cyclomatic complexity 22 and cognitive complexity 19; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/onedrive/mxODPicker.js"},"region":{"startLine":810}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ae0db3fc8a57ba24d7904348b98891f84f9c7393177ab9eb9e532d18e7690d8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function elkConfigToOptions (cyclomatic 22, cognitive 13): elkConfigToOptions has cyclomatic complexity 22 and cognitive complexity 13; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":14874}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf0b0416a1c22f085af4e0ca59bf339463beab7b207334759c8f268f41da6845"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 84): (anonymous) has cyclomatic complexity 21 and cognitive complexity 84; 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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":5247}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe28ea5fa3cb5afe491a59afbaf03132b8c5a8bddc68788f5999adc23b18b227"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setStyle (cyclomatic 21, cognitive 58): setStyle has cyclomatic complexity 21 and cognitive complexity 58; 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/webapp/mxgraph/src/util/mxUtils.js"},"region":{"startLine":4867}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8e79e6807e511155aa784f8a3dae098a645d01afa8e625667c5f22f8bbbc983"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getPendingPageUpdates (cyclomatic 21, cognitive 55): getPendingPageUpdates has cyclomatic complexity 21 and cognitive complexity 55; 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/webapp/js/diagramly/DrawioFileSync.js"},"region":{"startLine":2162}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e1564eb0d47e7c7faabe504a3d23d6dbdb6c24dbfc03d93517e06cc579e67c3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateOutlines (cyclomatic 21, cognitive 54): updateOutlines has cyclomatic complexity 21 and cognitive complexity 54; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":54775}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed74c38ef4e77b5bc963e89685679f54011e66d41b3e58f4631ff65d1b793abc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function click (cyclomatic 21, cognitive 53): click has cyclomatic complexity 21 and cognitive complexity 53; 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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":2644}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ad9857ff88c04cbdca2b19cc83b3262be7b041ff176ace836ac72814720a0df"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function foldCells (cyclomatic 21, cognitive 49): foldCells has cyclomatic complexity 21 and cognitive complexity 49; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":19851}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eded4132257e00847ffe2871adb2fb8c6f519dd25ee24ccbd38bb86b2f3e892"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function insertStateAfter (cyclomatic 21, cognitive 49): insertStateAfter has cyclomatic complexity 21 and cognitive complexity 49; 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/webapp/mxgraph/src/view/mxCellRenderer.js"},"region":{"startLine":1666}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe9af26dcc2ee3fd466ec19da4d8055ddfecb85cff8517642bcfc3a31ac236f9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onKeyDown (cyclomatic 21, cognitive 47): onKeyDown has cyclomatic complexity 21 and cognitive complexity 47; 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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":3556}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba6a68298a0f34b746d2caf817355658a0a2d3a5de94e9c0d83f5b12beba5d68"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getMultiplePerimeterPoint (cyclomatic 21, cognitive 44): getMultiplePerimeterPoint has cyclomatic complexity 21 and cognitive complexity 44; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":31020}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9e17dafc2c305ed977f16024e54a7650dcd72a27fc59a5861c4de6d2c1834e9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 43): (anonymous) has cyclomatic complexity 21 and cognitive complexity 43; 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/webapp/js/diagramly/Init.js"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"84f22c0f77cdc6e756662d15b41b68fe55494a0a8a11c982c2ee7daa3e3cd9d8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateValue (cyclomatic 21, cognitive 43): updateValue has cyclomatic complexity 21 and cognitive complexity 43; 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/webapp/mxgraph/src/shape/mxText.js"},"region":{"startLine":1033}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bbffba1d9fb2a6274dbdae94805d810c29200d6c88fbf63fa367db1d4f7505b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function patchCellRecursive (cyclomatic 21, cognitive 39): patchCellRecursive has cyclomatic complexity 21 and cognitive complexity 39; 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/webapp/js/diagramly/DiffSync.js"},"region":{"startLine":1527}}}],"partialFingerprints":{"codehealthFindingId/v1":"60d809f57d99191fe881f49041850f1aa453867f0ec1fb96dc19672c8d3007b8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collect (cyclomatic 21, cognitive 39): collect has cyclomatic complexity 21 and cognitive complexity 39; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":22347}}}],"partialFingerprints":{"codehealthFindingId/v1":"94df63cdffadf7d8648220ce422b6920376fdbc8f5de8e68e0721436cd094406"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function installSettings (cyclomatic 21, cognitive 39): installSettings has cyclomatic complexity 21 and cognitive complexity 39; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":28009}}}],"partialFingerprints":{"codehealthFindingId/v1":"c76bd84da24f7ca381ac4a26663c030006025a056c3bd89e96bda292dffe9dc8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 38): (anonymous) has cyclomatic complexity 21 and cognitive complexity 38; 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/webapp/js/diagramly/Editor.js"},"region":{"startLine":6527}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a7706473f808300b5ad880f322cdc5d74f8b04b3fde1c2cfe0fcaf06ba30923"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getDiagramLanguages (cyclomatic 21, cognitive 38): getDiagramLanguages has cyclomatic complexity 21 and cognitive complexity 38; 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/webapp/js/diagramly/ViewerModern.js"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"8185b7bfc03805eccf0891caa921d20792f089da95d8d28fc2f117f2afc3af89"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addEdgeSublabel (cyclomatic 21, cognitive 37): addEdgeSublabel has cyclomatic complexity 21 and cognitive complexity 37; 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":2165}}}],"partialFingerprints":{"codehealthFindingId/v1":"31d611b317393eaf7c5eba7764559e448166bbb308b74134c46a6231cca2aafb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function placeRestoredEdgeLabels (cyclomatic 21, cognitive 36): placeRestoredEdgeLabels has cyclomatic complexity 21 and cognitive complexity 36; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":28993}}}],"partialFingerprints":{"codehealthFindingId/v1":"0617f767dff9419a1e70e0368e7ea37ddbb46df2d65989e491efdfd7f109cf38"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Loop (cyclomatic 21, cognitive 36): Loop has cyclomatic complexity 21 and cognitive complexity 36; 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/webapp/mxgraph/src/view/mxEdgeStyle.js"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"674e37149be79cee3f0815d095c4e8ccd77a0c8ef6789e54fbda4d37921b6f0c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CustomActionDialog (cyclomatic 21, cognitive 32): CustomActionDialog has cyclomatic complexity 21 and cognitive complexity 32; 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":8082}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c366d8b4eddb25662f3f6371b48c69a20bbb95a9ff89a0b1223394167357215"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function drawSvgWithHtmlInCanvas (cyclomatic 21, cognitive 32): drawSvgWithHtmlInCanvas has cyclomatic complexity 21 and cognitive complexity 32; 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/webapp/js/diagramly/Editor.js"},"region":{"startLine":7735}}}],"partialFingerprints":{"codehealthFindingId/v1":"234186d3a24ad31e65f14be0fd7031ec662f205ec28b01563ce872205635f358"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 31): (anonymous) has cyclomatic complexity 21 and cognitive complexity 31; 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/webapp/mxgraph/src/handler/mxConnectionHandler.js"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"c734d870016313f0f9c5804bbb44ef8c9cf7fd5090beebc47e985367596545d4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateTextNodes (cyclomatic 21, cognitive 31): updateTextNodes has cyclomatic complexity 21 and cognitive complexity 31; 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/webapp/mxgraph/src/util/mxSvgCanvas2D.js"},"region":{"startLine":2204}}}],"partialFingerprints":{"codehealthFindingId/v1":"95a55dc8672209c422be9084297ae6b405b4ec6315cc33131ade7585668dd955"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function render (cyclomatic 21, cognitive 29): render has cyclomatic complexity 21 and cognitive complexity 29; 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/webapp/js/diagramly/SpringMove.js"},"region":{"startLine":1216}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9654abef1bf20efc72bce6ecd40eb05107cac62297d3f8c40cf17c20ca8f8d1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createItem (cyclomatic 21, cognitive 29): createItem has cyclomatic complexity 21 and cognitive complexity 29; 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/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":5244}}}],"partialFingerprints":{"codehealthFindingId/v1":"284b16c6d34a73233ec9f11e74f518d0d39d6f80eabca21a0952a69bfd357fc6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mouseUp (cyclomatic 21, cognitive 29): mouseUp has cyclomatic complexity 21 and cognitive complexity 29; 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/webapp/mxgraph/src/handler/mxConnectionHandler.js"},"region":{"startLine":1738}}}],"partialFingerprints":{"codehealthFindingId/v1":"66bfaa63820fd02eb3bb3dc507d8c0daa4b6324687e21560548be50575bf3efd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateCells (cyclomatic 21, cognitive 29): validateCells has cyclomatic complexity 21 and cognitive complexity 29; 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/webapp/mxgraph/src/view/mxGraphView.js"},"region":{"startLine":1174}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d35de8e423dbb273d5626524a1048ec87ada59f9eb90cbbfe80ecc8beac98cc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function showSearchWindow (cyclomatic 21, cognitive 28): showSearchWindow has cyclomatic complexity 21 and cognitive complexity 28; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":6093}}}],"partialFingerprints":{"codehealthFindingId/v1":"d414004291a9f281ceef8a144deefccded839bb6e988a6e15c72bb7303143708"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mouseDown (cyclomatic 21, cognitive 28): mouseDown has cyclomatic complexity 21 and cognitive complexity 28; 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/webapp/mxgraph/src/handler/mxGraphHandler.js"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0ee40361c0e3537c4c5c0582b9af76f64f7f265f44fa446935f82169d7eb82d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addCurrentToRecent (cyclomatic 21, cognitive 27): addCurrentToRecent has cyclomatic complexity 21 and cognitive complexity 27; 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/webapp/js/grapheditor/Dialogs.js"},"region":{"startLine":862}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0ffaddc1a4c1202c81ee41a398f4d4db967707a2fc2366fc6c9102e3e8322ab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getHtml (cyclomatic 21, cognitive 26): getHtml has cyclomatic complexity 21 and cognitive complexity 26; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":3750}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7e2e22288f7dd3eb8522dca0745f2447e279358b8d46389ec95819acfe6eec0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createControls (cyclomatic 21, cognitive 26): createControls has cyclomatic complexity 21 and cognitive complexity 26; 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/webapp/js/diagramly/ViewerModern.js"},"region":{"startLine":1143}}}],"partialFingerprints":{"codehealthFindingId/v1":"3639ab5b1d92e13b5603fa81b6c4fbc30e5f041c4bdc907e1bef85a136061143"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyChange (cyclomatic 21, cognitive 26): applyChange has cyclomatic complexity 21 and cognitive complexity 26; 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/webapp/js/diagramly/tidy/Tidy.js"},"region":{"startLine":3335}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ee252a87e747f06428720e99252278c484f3838e9a2e85d31b0b8341c1e2cfa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function insertTextForEvent (cyclomatic 21, cognitive 24): insertTextForEvent has cyclomatic complexity 21 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":39666}}}],"partialFingerprints":{"codehealthFindingId/v1":"95bd84516b4a714c1ac1ab678b68a45298aae6c669088bfc704b2edf7b98432b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isArrowKeyEvent (cyclomatic 21, cognitive 23): isArrowKeyEvent has cyclomatic complexity 21 and cognitive complexity 23; 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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":4410}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f0b6e1d622205c40b0475b2ba120b43d201420f0ee236860de9120cc349f654"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paintTaperedLine (cyclomatic 21, cognitive 23): paintTaperedLine has cyclomatic complexity 21 and cognitive complexity 23; 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/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":7717}}}],"partialFingerprints":{"codehealthFindingId/v1":"3206fc3afa42edd1233fbbb89526dca18ac14776b53da6401370a7ae89f4a9f4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addCollapsedRegionPath (cyclomatic 21, cognitive 20): addCollapsedRegionPath has cyclomatic complexity 21 and cognitive complexity 20; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"a789c27a9f76749ed700775559935dcb7bde8d1434fdd01f3bbe7e6ec9378ca8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 18): (anonymous) has cyclomatic complexity 21 and cognitive complexity 18; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":16946}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d63cf15b8a4b4cd8cdec0e538e74aa6b859f5d7d17a8359f8a471775b8c0801"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function documentKeyDown (cyclomatic 21, cognitive 18): documentKeyDown has cyclomatic complexity 21 and cognitive complexity 18; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/mxgraph/src/util/mxPopupMenu.js"},"region":{"startLine":960}}}],"partialFingerprints":{"codehealthFindingId/v1":"85e859e93517c50398086ee316fe002e57fe5d16ca23b2b3d45779e2af2307bf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pickFolder (cyclomatic 21, cognitive 15): pickFolder has cyclomatic complexity 21 and cognitive complexity 15; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/App.js"},"region":{"startLine":8574}}}],"partialFingerprints":{"codehealthFindingId/v1":"85c34661dea73b7e5fd92cb607a4bf369692c94d989eeab1a77cb717bb6939e6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function disconnectGraph (cyclomatic 20, cognitive 64): disconnectGraph has cyclomatic complexity 20 and cognitive complexity 64; 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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":7671}}}],"partialFingerprints":{"codehealthFindingId/v1":"609e0d9d7c6a2c5d54178e3ea5583e87a9b1e032b329b809d53d5ccd2f70e8f5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getTransparentChildBounds (cyclomatic 20, cognitive 58): getTransparentChildBounds has cyclomatic complexity 20 and cognitive complexity 58; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":21400}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba3200a95e34019d21ce64f1c1c6bac0014a7a41cc62254a3ef1be5e265c0789"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 57): (anonymous) has cyclomatic complexity 20 and cognitive complexity 57; 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/webapp/js/diagramly/DriveClient.js"},"region":{"startLine":2485}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4cff801a89b52141fe9676d8f577ed770ba75f67085435aac36350113579682"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 56): (anonymous) has cyclomatic complexity 20 and cognitive complexity 56; 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/webapp/js/diagramly/Menus.js"},"region":{"startLine":7522}}}],"partialFingerprints":{"codehealthFindingId/v1":"61daf8d025d939926a8580b136c5456a3868c4da3ce89804780995b2aab7da1f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function measureShapeInsideFlow (cyclomatic 20, cognitive 56): measureShapeInsideFlow has cyclomatic complexity 20 and cognitive complexity 56; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":7559}}}],"partialFingerprints":{"codehealthFindingId/v1":"513de1f99e5e60981d57b0e2075a16a5d898a75e3d78341f6571446ec1d2516a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getCellsForTags (cyclomatic 20, cognitive 52): getCellsForTags has cyclomatic complexity 20 and cognitive complexity 52; 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/webapp/js/diagramly/Editor.js"},"region":{"startLine":14032}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f8f85d864872e563d4967c38d82f0418fc44a1e35e96a71397fd24da15d7f27"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseNodes (cyclomatic 20, cognitive 46): parseNodes has cyclomatic complexity 20 and cognitive complexity 46; 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":5044}}}],"partialFingerprints":{"codehealthFindingId/v1":"9addd8cb62de36b5dcf7d96b36216ac6d2064137ee844467015eb662b522bac4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function markLocalChanges (cyclomatic 20, cognitive 45): markLocalChanges has cyclomatic complexity 20 and cognitive complexity 45; 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/webapp/js/diagramly/DrawioFileSync.js"},"region":{"startLine":2403}}}],"partialFingerprints":{"codehealthFindingId/v1":"aba3f166d5e7b3ffa62c6be779f1b15e12388d0a1f7b4531940f9327f311d722"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toggleUserPanel (cyclomatic 20, cognitive 44): toggleUserPanel has cyclomatic complexity 20 and cognitive complexity 44; 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/webapp/js/diagramly/App.js"},"region":{"startLine":9379}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1fe2ce6b055ebc2ee9846741da8e0966a484a14e220057741c5933d52829575"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildStepObject (cyclomatic 20, cognitive 44): buildStepObject has cyclomatic complexity 20 and cognitive complexity 44; 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":17015}}}],"partialFingerprints":{"codehealthFindingId/v1":"1171cf2fbea0b71c675d3f4b3236ce2a38839152cf2be2b91412673108e71277"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addFont (cyclomatic 20, cognitive 43): addFont has cyclomatic complexity 20 and cognitive complexity 43; 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/webapp/js/diagramly/Editor.js"},"region":{"startLine":10723}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0eb7f64a0c1c70a677268560bfee722e6df179b4a46872c124950aeee69603e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addResizePreviewRoutes (cyclomatic 20, cognitive 43): addResizePreviewRoutes has cyclomatic complexity 20 and cognitive complexity 43; 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/webapp/js/diagramly/LibavoidRouting.js"},"region":{"startLine":4191}}}],"partialFingerprints":{"codehealthFindingId/v1":"82f4aec9ac1ba8c0f00c88467fe946b796dbce753e488c3d4e651d306533de90"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 41): (anonymous) has cyclomatic complexity 20 and cognitive complexity 41; 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/webapp/js/diagramly/GitHubClient.js"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"d18f0549957d466eac8d934c4b80e7f0027cae0dd5b82b8b9310799edd6c3ff7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findTreeRoots (cyclomatic 20, cognitive 41): findTreeRoots has cyclomatic complexity 20 and cognitive complexity 41; 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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":13259}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f22cb267835cf95712b989c64c6733dc74f446a55f55ade2cdac049f8d45e75"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 40): (anonymous) has cyclomatic complexity 20 and cognitive complexity 40; 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/webapp/js/diagramly/Pages.js"},"region":{"startLine":3648}}}],"partialFingerprints":{"codehealthFindingId/v1":"3801f523dcdcbac2d2f096d4660aabee034b227e4b92b09c55a1dd81f6f3d3db"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function matchTermEntries (cyclomatic 20, cognitive 40): matchTermEntries has cyclomatic complexity 20 and cognitive complexity 40; 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/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":2440}}}],"partialFingerprints":{"codehealthFindingId/v1":"51256ee3caec3fa687573a0bbb3692ae62b8fb33756a3a12f77191d66d5cb619"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createAlternateContent (cyclomatic 20, cognitive 40): createAlternateContent has cyclomatic complexity 20 and cognitive complexity 40; 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/webapp/mxgraph/src/util/mxSvgCanvas2D.js"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bcd0b443c3a43352ba45f524ca0190491d9df59d7f649f6fe8a513077e31508"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pingVersion (cyclomatic 20, cognitive 39): pingVersion has cyclomatic complexity 20 and cognitive complexity 39; 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/webapp/js/diagramly/App.js"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"58960f21561fa3cea300f05437702e7b8d96d2974bc65ec522857cfdc7dc841b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isJsonEqual (cyclomatic 20, cognitive 38): isJsonEqual has cyclomatic complexity 20 and cognitive complexity 38; 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/webapp/js/diagramly/DiffSync.js"},"region":{"startLine":3211}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b75bcd3bf023d53b5e055c4a22e2b227d2298cb96f26b4267876c01c794f4fe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scrollPointToVisible (cyclomatic 20, cognitive 38): scrollPointToVisible has cyclomatic complexity 20 and cognitive complexity 38; 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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":2859}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5278c443725e8bcae166386a2b0e084e93c8f9381ed5709cb174e1d4ac06c4d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function styleMindmap (cyclomatic 20, cognitive 36): styleMindmap has cyclomatic complexity 20 and cognitive complexity 36; 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/webapp/js/diagramly/tidy/TidyStyle.js"},"region":{"startLine":1145}}}],"partialFingerprints":{"codehealthFindingId/v1":"d68cbc8b3e5994a12e8e032535bb8106e22740e98ab534e2d047a6558fe86568"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function refreshBrowserTranslateMirror (cyclomatic 20, cognitive 36): refreshBrowserTranslateMirror has cyclomatic complexity 20 and cognitive complexity 36; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":9513}}}],"partialFingerprints":{"codehealthFindingId/v1":"a272bbff5d6b5811d86d83decbba578c48a738ef24ae8e6533da33e5b5f49a18"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setViewState (cyclomatic 20, cognitive 35): setViewState has cyclomatic complexity 20 and cognitive complexity 35; 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/webapp/js/diagramly/Pages.js"},"region":{"startLine":1805}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3a02afd596d245f25b1906bbf19f7beb66d3f12e9812237df29bb3ca03778a0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseBoxNames (cyclomatic 20, cognitive 34): parseBoxNames has cyclomatic complexity 20 and cognitive complexity 34; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":36119}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b59318a35e0bafbea82f213f89978bf5b9aa55cf2d1efebc4a2123be31585f0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 34): (anonymous) has cyclomatic complexity 20 and cognitive complexity 34; 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/webapp/js/grapheditor/Format.js"},"region":{"startLine":9147}}}],"partialFingerprints":{"codehealthFindingId/v1":"a931edc468a8508d65edaed7182a2aa97057f85c2ba6121378f1277bb834e1a3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function execute (cyclomatic 20, cognitive 34): execute has cyclomatic complexity 20 and cognitive complexity 34; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":12938}}}],"partialFingerprints":{"codehealthFindingId/v1":"048d5e923f7d0f08ed2312aad02d0f6f7dacb3f6b4df241e2d3979a00ede8e47"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function diffOwnCellProperties (cyclomatic 20, cognitive 32): diffOwnCellProperties has cyclomatic complexity 20 and cognitive complexity 32; 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/webapp/js/diagramly/DiffSync.js"},"region":{"startLine":2675}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2c252abde20fe3ffa6355c97df0748febd3b2e3a7be86ab7513af2bf567eb23"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function init (cyclomatic 20, cognitive 32): init has cyclomatic complexity 20 and cognitive complexity 32; 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/webapp/js/diagramly/SpringMove.js"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"f84b73553f5d4a1ce60bb462fe11a0a8a69e99cebce227468ac8f5de247e1a27"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 32): (anonymous) has cyclomatic complexity 20 and cognitive complexity 32; 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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":5878}}}],"partialFingerprints":{"codehealthFindingId/v1":"d00d60f5f8db2c0c31eb3e45c3374826cf4ececc17dfe3c11b6f6a503a7aa589"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getStyle (cyclomatic 20, cognitive 31): getStyle has cyclomatic complexity 20 and cognitive complexity 31; 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/webapp/js/diagramly/Editor.js"},"region":{"startLine":2215}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bd1b6ff0c04f1f1428dcf1e12300db3b1b8a81494498dae500ce03fc2715c79"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getCustomLinkTitle (cyclomatic 20, cognitive 31): getCustomLinkTitle has cyclomatic complexity 20 and cognitive complexity 31; 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/webapp/js/diagramly/Editor.js"},"region":{"startLine":12039}}}],"partialFingerprints":{"codehealthFindingId/v1":"df188b87504ca2b4ec2cec0a55d1db971a944a6080540558d7e2103ffb3e474d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function redrawText (cyclomatic 20, cognitive 31): redrawText has cyclomatic complexity 20 and cognitive complexity 31; 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/webapp/mxgraph/src/shape/mxText.js"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c62382d9a233fee8b36f8125a32b4ed3d96d0eb7b7b7d6d411a8ab4c4fdf1dc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function replaceLightDarkFunctions (cyclomatic 20, cognitive 30): replaceLightDarkFunctions has cyclomatic complexity 20 and cognitive complexity 30; 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/webapp/js/diagramly/Editor.js"},"region":{"startLine":1742}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff01f4144efee9817982f31f81f458ebeee81a290db1dbc36ded8cf8858bd9bf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createCustomHandles (cyclomatic 20, cognitive 30): createCustomHandles has cyclomatic complexity 20 and cognitive complexity 30; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":48127}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb235f11cfc3e761b9297c26ca7ff0005c30855404557827ad776bb7fdd6d79a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function snapToAngles (cyclomatic 20, cognitive 30): snapToAngles has cyclomatic complexity 20 and cognitive complexity 30; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":52842}}}],"partialFingerprints":{"codehealthFindingId/v1":"842b0a605d8db74a1b6c3979e8c13cb7299ec02944bbfe5d2ac7386c02e67a11"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderList (cyclomatic 20, cognitive 30): renderList has cyclomatic complexity 20 and cognitive complexity 30; 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/webapp/js/onedrive/mxODPicker.js"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"78bb75eda2a23bae9f7f0d885934f56c69955532133145ac788fa149ac7064b3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getMultiSelectionCells (cyclomatic 20, cognitive 29): getMultiSelectionCells has cyclomatic complexity 20 and cognitive complexity 29; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":37698}}}],"partialFingerprints":{"codehealthFindingId/v1":"8289500b4ac4f799a86253ae7b4481a4ae1c52aaab1d13505367c7eb461ff5e2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sanitiseCell (cyclomatic 20, cognitive 27): sanitiseCell has cyclomatic complexity 20 and cognitive complexity 27; 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":2717}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d35a984f95b859a15daba46b1107e7a561949efac43ce4e8d52001ee79d605b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getTransformedRoutingPoints (cyclomatic 20, cognitive 27): getTransformedRoutingPoints has cyclomatic complexity 20 and cognitive complexity 27; 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":4177}}}],"partialFingerprints":{"codehealthFindingId/v1":"4120e68231022dbccbcb54dcdb0d758ae16d61bef308382c7b9a437f927459cf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function keyChanged (cyclomatic 20, cognitive 26): keyChanged has cyclomatic complexity 20 and cognitive complexity 26; 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":27563}}}],"partialFingerprints":{"codehealthFindingId/v1":"43a51c3b7911513b4d83906665d27187628e7c40b3a52586d6dcd07eafef297d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function doShowLayoutSettings (cyclomatic 20, cognitive 25): doShowLayoutSettings has cyclomatic complexity 20 and cognitive complexity 25; 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/webapp/js/diagramly/LayoutPicker.js"},"region":{"startLine":3601}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec946af54a0797208eb1b1a07b470f587a8db57dae34b465a6230db1e375e028"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function previewStyles (cyclomatic 20, cognitive 25): previewStyles has cyclomatic complexity 20 and cognitive complexity 25; 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/webapp/js/diagramly/tidy/TidyWindow.js"},"region":{"startLine":1206}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9a99f2a8cdd36358659947605920a4be5b758d993bb917719c25e4175aa1349"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isDisplacedLabel (cyclomatic 20, cognitive 23): isDisplacedLabel has cyclomatic complexity 20 and cognitive complexity 23; 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":13666}}}],"partialFingerprints":{"codehealthFindingId/v1":"a68d9c4f0f21af28ba67a8a37f50042106fdee0abb46cf598bd1eeb91e4a07ca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getChangedGraphBounds (cyclomatic 20, cognitive 23): getChangedGraphBounds has cyclomatic complexity 20 and cognitive complexity 23; 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/webapp/mxgraph/src/view/mxGraphView.js"},"region":{"startLine":2055}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6abc0305161ff49fd51b839644a3b96ddc0029ba12ec37356fe4b9cba180891"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getJsonForCell (cyclomatic 20, cognitive 22): getJsonForCell has cyclomatic complexity 20 and cognitive complexity 22; 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/webapp/js/diagramly/DiffSync.js"},"region":{"startLine":2451}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3387866332afd4e13d617fcfbf8dc3ace478476e2c73a2e9e8b9e1e99ccf345"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function saveFile (cyclomatic 20, cognitive 22): saveFile has cyclomatic complexity 20 and cognitive complexity 22; 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/webapp/js/diagramly/DriveClient.js"},"region":{"startLine":2183}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c8779c3e08bdcbb845155bdbd3752550e59ffccd21db6154bc1d839813242e0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createThumbnail (cyclomatic 20, cognitive 22): createThumbnail has cyclomatic complexity 20 and cognitive complexity 22; 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/webapp/js/diagramly/tidy/TidyWindow.js"},"region":{"startLine":1518}}}],"partialFingerprints":{"codehealthFindingId/v1":"75fc9ef0d170363ed86d76201cda77f36e7d7e267a3067a03a915f3260d7aee7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 21): (anonymous) has cyclomatic complexity 20 and cognitive complexity 21; 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/webapp/js/diagramly/sidebar/Sidebar.js"},"region":{"startLine":824}}}],"partialFingerprints":{"codehealthFindingId/v1":"f480807f2028ff96d9f35dbe572a5ed9c7d4db01d2e1395e0c9d0729adb65c06"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rank (cyclomatic 20, cognitive 21): rank has cyclomatic complexity 20 and cognitive complexity 21; 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/webapp/js/diagramly/tidy/TidyFeatures.js"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"eca5c39ebfb223249ca09719900489ae0765774b8d16d95dd3778de1c87a6c50"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paintTableCellLines (cyclomatic 20, cognitive 21): paintTableCellLines has cyclomatic complexity 20 and cognitive complexity 21; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":25343}}}],"partialFingerprints":{"codehealthFindingId/v1":"2132f506e16aba489aba32cc297adcf63ea0fce8980029594bfd26d1c2cc389a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function probe (cyclomatic 20, cognitive 20): probe has cyclomatic complexity 20 and cognitive complexity 20; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":7738}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbb1543233deb979f399cb569bff38d174e051efcc3c6d4d5794e95ff11287f7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PolygonDialog (cyclomatic 20, cognitive 19): PolygonDialog has cyclomatic complexity 20 and cognitive complexity 19; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":25702}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b0d3bbe61f1b73c2f9be2265bcdc8af510a93fad231160d4c30f9211a102f58"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isValidDropTarget (cyclomatic 20, cognitive 18): isValidDropTarget has cyclomatic complexity 20 and cognitive complexity 18; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":36333}}}],"partialFingerprints":{"codehealthFindingId/v1":"20fcd58113ad151175bbcaf14c8769937a4ff340b3aa6107262ca74a7787ec07"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isChildPreviewEnabled (cyclomatic 20, cognitive 16): isChildPreviewEnabled has cyclomatic complexity 20 and cognitive complexity 16; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":52443}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9a60cf08cfa03841c15ed0b6402df9b8aecd3e055f6dfa750cc7fe96388bac3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 16): (anonymous) has cyclomatic complexity 20 and cognitive complexity 16; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/mxgraph/src/util/mxUtils.js"},"region":{"startLine":1027}}}],"partialFingerprints":{"codehealthFindingId/v1":"289ec7e048ba305c47c1ddd6c22fbbda4c5125f394047d960b4ff90690fb02ef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isContainment (cyclomatic 20, cognitive 13): isContainment has cyclomatic complexity 20 and cognitive complexity 13; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/tidy/Tidy.js"},"region":{"startLine":971}}}],"partialFingerprints":{"codehealthFindingId/v1":"55af500ad9d43d7074efcb1b47475e6c9b37abc92b4d728365636df8571b6e12"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function matchStyleRule (cyclomatic 20, cognitive 10): matchStyleRule has cyclomatic complexity 20 and cognitive complexity 10; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":18223}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9d294d299b85a513ec6822cbd9b426d07eae97a0477c8c322f64a5c2070f0d8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function limitFill (cyclomatic 19, cognitive 67): limitFill has cyclomatic complexity 19 and cognitive complexity 67; 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/webapp/js/diagramly/Editor.js"},"region":{"startLine":2355}}}],"partialFingerprints":{"codehealthFindingId/v1":"b46bd16a7aabcc95ef8f62b4123d235bc062d07d52633d07fb8fae5685ae74fe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 19, cognitive 56): (anonymous) has cyclomatic complexity 19 and cognitive complexity 56; 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/webapp/js/diagramly/DiffSync.js"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"909d10fa2898e6780a1e407fa3b479e001693a8700a384d8b8d12a9e2e085ed9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getFastForwardSteps (cyclomatic 19, cognitive 55): getFastForwardSteps has cyclomatic complexity 19 and cognitive complexity 55; 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":17831}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aa16b3c3beece962f0ae780d305ab1b0d4645998090deb9dc9fcbe01759e1fa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function initThemes (cyclomatic 19, cognitive 53): initThemes has cyclomatic complexity 19 and cognitive complexity 53; 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":4663}}}],"partialFingerprints":{"codehealthFindingId/v1":"f426fe8f86586cbeed4379ed154419a3e1655b97c2d507c41e8fc1d4d72c86e5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getResults (cyclomatic 19, cognitive 52): getResults has cyclomatic complexity 19 and cognitive complexity 52; 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/webapp/js/grapheditor/Omnibox.js"},"region":{"startLine":2316}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c1f858fa53ae801e257fd948de299aa7d46e878397b0d2e199c60a7313f13fe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sanitizePageTerminals (cyclomatic 19, cognitive 51): sanitizePageTerminals has cyclomatic complexity 19 and cognitive complexity 51; 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/webapp/js/diagramly/DrawioFileSync.js"},"region":{"startLine":2831}}}],"partialFingerprints":{"codehealthFindingId/v1":"080258b10b5d316c8c9d6bf6d7d8b2628a5646306e0bac4cc944bc046f6897f9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 19, cognitive 51): (anonymous) has cyclomatic complexity 19 and cognitive complexity 51; 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/webapp/js/grapheditor/Actions.js"},"region":{"startLine":2131}}}],"partialFingerprints":{"codehealthFindingId/v1":"98f23734720407f9b4cfeda247b640e98b4e7e76ddd7d4e374b19a1e4f38f618"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function beforeDecode (cyclomatic 19, cognitive 43): beforeDecode has cyclomatic complexity 19 and cognitive complexity 43; 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/webapp/mxgraph/src/io/mxCellCodec.js"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a787d8228bc4c000b50ff8cc9a68fbf222341145c26fbc0e9091a6bc6d74e49"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 19, cognitive 42): (anonymous) has cyclomatic complexity 19 and cognitive complexity 42; 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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":2778}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a5828d0677e89bf012b0dbc3b5b567ef9f8bda83fc255de5e7bd812561ff2e4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getMatchConnectorChanges (cyclomatic 19, cognitive 42): getMatchConnectorChanges has cyclomatic complexity 19 and cognitive complexity 42; 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/webapp/js/grapheditor/Format.js"},"region":{"startLine":4944}}}],"partialFingerprints":{"codehealthFindingId/v1":"2447236849a0bb7c35d47e29331f7fb7209f28af6fa07d0bad462cfd87f988a5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function visitTableCells (cyclomatic 19, cognitive 42): visitTableCells has cyclomatic complexity 19 and cognitive complexity 42; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":25204}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e281da5037815a4b1e9324bd84958671bb1a4a488b78d3ba54e46df23b21ee2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paintVertexShape (cyclomatic 19, cognitive 42): paintVertexShape has cyclomatic complexity 19 and cognitive complexity 42; 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/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":1018}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf3b85afdf017af1316ec6aa84ff9784d0cef2f5c629728ae09ae9dc9a43a847"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function convertValueToString (cyclomatic 19, cognitive 41): convertValueToString has cyclomatic complexity 19 and cognitive complexity 41; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":17848}}}],"partialFingerprints":{"codehealthFindingId/v1":"718e3422f417eb009f0cd12da3ba48df32df58d0194782fb65f36e874aec17e6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseSection (cyclomatic 19, cognitive 35): parseSection has cyclomatic complexity 19 and cognitive complexity 35; 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":10942}}}],"partialFingerprints":{"codehealthFindingId/v1":"36ed8db7aa2d66b961924eadb9d867e44acccefd1ec9478b39d4fecd65916211"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processMasterShape (cyclomatic 19, cognitive 33): processMasterShape has cyclomatic complexity 19 and cognitive complexity 33; 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":4458}}}],"partialFingerprints":{"codehealthFindingId/v1":"45345f8b1ded7f7b48b4f03a46cdb9d7e65afe7015b76f70504f90c7cef613e1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 19, cognitive 32): (anonymous) has cyclomatic complexity 19 and cognitive complexity 32; 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/webapp/js/diagramly/SimpleClassic.js"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b2b9a2cd6ae76ba25662008e4cbc2d690d84f801f3c9db6bc505dd82bedbd3e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function replaceFontElements (cyclomatic 19, cognitive 32): replaceFontElements has cyclomatic complexity 19 and cognitive complexity 32; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":6297}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec2ffd53b9d678c88af3015100c8a4b5c405145f6a1fa8f8a8008081abd2e50e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function bundleEdges (cyclomatic 19, cognitive 30): bundleEdges has cyclomatic complexity 19 and cognitive complexity 30; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":20853}}}],"partialFingerprints":{"codehealthFindingId/v1":"c777f10754903bd98281c7c29149ad351c52e212a714b7e0512bf0f571d8a710"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 19, cognitive 28): (anonymous) has cyclomatic complexity 19 and cognitive complexity 28; 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/webapp/js/diagramly/App.js"},"region":{"startLine":7272}}}],"partialFingerprints":{"codehealthFindingId/v1":"d67e18c2c7348202fb6158ee47c03e89a43d47dce9d4c16ac5fecb5fac43c2bc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function render (cyclomatic 19, cognitive 28): render has cyclomatic complexity 19 and cognitive complexity 28; 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/webapp/js/grapheditor/Omnibox.js"},"region":{"startLine":2465}}}],"partialFingerprints":{"codehealthFindingId/v1":"b74027e7d4b4643b8573b02f91652eabd451d4472022a3db9e04c324873e001f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 19, cognitive 27): (anonymous) has cyclomatic complexity 19 and cognitive complexity 27; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":8492}}}],"partialFingerprints":{"codehealthFindingId/v1":"83857ab39e1be06fa5580d9ffabfa8cbc506a2a2d79f985ea8b9c97d2a7290e9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function installKeyboardShortcut (cyclomatic 19, cognitive 27): installKeyboardShortcut has cyclomatic complexity 19 and cognitive complexity 27; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":32289}}}],"partialFingerprints":{"codehealthFindingId/v1":"88588ad301811a71039078252c7c2591571134001115a23b5c2a453f3e91216a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getResults (cyclomatic 19, cognitive 27): getResults has cyclomatic complexity 19 and cognitive complexity 27; 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/webapp/js/diagramly/Omnibox.js"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"62eab9ca8471d8020c26d46799af8db5d63b823168d87fe13ae93d82f7259a04"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateRealtime (cyclomatic 19, cognitive 25): updateRealtime has cyclomatic complexity 19 and cognitive complexity 25; 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/webapp/js/diagramly/DrawioFileSync.js"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bd86b73a1f79658c2f1fe57c9ddeb9066b9873b2584b68b04f4857a2c3e169b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getFileData (cyclomatic 19, cognitive 25): getFileData has cyclomatic complexity 19 and cognitive complexity 25; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":3673}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e21747cf839abb480c77034334972c03a37e3fd19645992ce7bbb03f84fbbba"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getScaledCellAt (cyclomatic 19, cognitive 25): getScaledCellAt has cyclomatic complexity 19 and cognitive complexity 25; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":11859}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ea2e0d54b7641fcd3cecdf147a1cad83d568b3621bb8143c1ba624fede3b2bd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateFollowingEdges (cyclomatic 19, cognitive 25): updateFollowingEdges has cyclomatic complexity 19 and cognitive complexity 25; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":13636}}}],"partialFingerprints":{"codehealthFindingId/v1":"123b68a136c5dbd989e6cd76430e37b09295a6d3db531448b48b4ab13e3fb3e3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function zapGremlins (cyclomatic 19, cognitive 25): zapGremlins has cyclomatic complexity 19 and cognitive complexity 25; 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/webapp/mxgraph/src/util/mxUtils.js"},"region":{"startLine":3840}}}],"partialFingerprints":{"codehealthFindingId/v1":"0346e3e768dfc85b09c7b5b1061bac99d9f14c110a132f1a87cbb05a26c2a3c5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getDropTarget (cyclomatic 19, cognitive 24): getDropTarget has cyclomatic complexity 19 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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":12003}}}],"partialFingerprints":{"codehealthFindingId/v1":"8be1b608bc8543484dd7c168bcec79ed41409225307940d86d127e690bdbb348"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getCsvStyle (cyclomatic 19, cognitive 23): getCsvStyle has cyclomatic complexity 19 and cognitive complexity 23; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":39307}}}],"partialFingerprints":{"codehealthFindingId/v1":"98ba976eb6d1dda4cc3bcfe20ee4ea0e99ddf30785bab8cf0bafe282f5731a06"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getPalettes (cyclomatic 19, cognitive 23): getPalettes has cyclomatic complexity 19 and cognitive complexity 23; 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/webapp/js/diagramly/tidy/TidyStyle.js"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5b2f4d45d9133e4cebf9c5a5ad46c71ff8e6aa26592034aaf21c5d2a641ccf0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addItem (cyclomatic 19, cognitive 23): addItem has cyclomatic complexity 19 and cognitive complexity 23; 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/webapp/mxgraph/src/util/mxPopupMenu.js"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"b971944f4c084d7d749075ddb12b35ddc0a520409a5d3f8f534913e647b8ece7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateMermaidAltText (cyclomatic 19, cognitive 21): updateMermaidAltText has cyclomatic complexity 19 and cognitive complexity 21; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":16665}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab802f37e4610aae1fd41b93c59673722707ea4ba08afcb6821442f314f47945"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 19, cognitive 21): (anonymous) has cyclomatic complexity 19 and cognitive complexity 21; 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/webapp/js/diagramly/LibavoidRouting.js"},"region":{"startLine":1018}}}],"partialFingerprints":{"codehealthFindingId/v1":"e49472e194614ce87d46e18eb0e4b2f9d6b93aab6a2ecc62b379552cfccadce3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function equalPoints (cyclomatic 19, cognitive 21): equalPoints has cyclomatic complexity 19 and cognitive complexity 21; 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/webapp/mxgraph/src/util/mxUtils.js"},"region":{"startLine":2755}}}],"partialFingerprints":{"codehealthFindingId/v1":"1213901c2af9a9ee7d08557b0db7fa428d42a7d05895591c9ed5b786e3e73313"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setInputVal (cyclomatic 19, cognitive 20): setInputVal has cyclomatic complexity 19 and cognitive complexity 20; 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/webapp/js/diagramly/Editor.js"},"region":{"startLine":9778}}}],"partialFingerprints":{"codehealthFindingId/v1":"73fd7a246a074b673724457840cf1a44685921a60af2bd6c13a163c9eae072eb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TextareaDialog (cyclomatic 19, cognitive 20): TextareaDialog has cyclomatic complexity 19 and cognitive complexity 20; 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/webapp/js/grapheditor/Dialogs.js"},"region":{"startLine":2404}}}],"partialFingerprints":{"codehealthFindingId/v1":"03b188fb91b391c9fd54dd1789a64efc55a7c53ba29c66966565a8b0cf3e8739"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function add (cyclomatic 19, cognitive 20): add has cyclomatic complexity 19 and cognitive complexity 20; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":29570}}}],"partialFingerprints":{"codehealthFindingId/v1":"7384ed7f15904bae5c67cad3d0645d472515e56542be2f2407439144a268f05d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function computeRoutes (cyclomatic 19, cognitive 20): computeRoutes has cyclomatic complexity 19 and cognitive complexity 20; 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/webapp/js/libavoid-js/libavoid-routing.js"},"region":{"startLine":1055}}}],"partialFingerprints":{"codehealthFindingId/v1":"c41bb6e1213a6fca3341eda71306b92b4a35bd15c9ff16d40a3468ae37b83bb0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paint (cyclomatic 19, cognitive 20): paint has cyclomatic complexity 19 and cognitive complexity 20; 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/webapp/mxgraph/src/shape/mxShape.js"},"region":{"startLine":1094}}}],"partialFingerprints":{"codehealthFindingId/v1":"f184ee8ddd9dfce89f24332356e1951b9cb1a74e17ad68136d807a2c8ba0637d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paintVertexShape (cyclomatic 19, cognitive 20): paintVertexShape has cyclomatic complexity 19 and cognitive complexity 20; 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/webapp/shapes/mxCisco19.js"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff5eca0f01e8a49e9d80d9020e1432b47eff010acdd75501f07c275012af3a76"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getPresetValues (cyclomatic 19, cognitive 19): getPresetValues has cyclomatic complexity 19 and cognitive complexity 19; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":12537}}}],"partialFingerprints":{"codehealthFindingId/v1":"81ad160b091125f5a8edc4391d774e48fac33c5e5616932fd07a855ec00307bc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function frame (cyclomatic 19, cognitive 19): frame has cyclomatic complexity 19 and cognitive complexity 19; 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/webapp/js/diagramly/ForceExplorer.js"},"region":{"startLine":3689}}}],"partialFingerprints":{"codehealthFindingId/v1":"1de7fe9b9a4fb6000d7a30cf4ed3df94ce4fb58a3924fa9a688a5dd5f2620b69"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Dialog (cyclomatic 19, cognitive 19): Dialog has cyclomatic complexity 19 and cognitive complexity 19; 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/webapp/js/grapheditor/Editor.js"},"region":{"startLine":2220}}}],"partialFingerprints":{"codehealthFindingId/v1":"db947b04446698b80f881e916478926817550b152a7b534e6f0cf66ee079450e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolve (cyclomatic 19, cognitive 19): resolve has cyclomatic complexity 19 and cognitive complexity 19; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":26315}}}],"partialFingerprints":{"codehealthFindingId/v1":"0caf6711c4ba80d8126d2d60e2d656bcec820455b6b78127e8b63a0de932f7ea"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateButtons (cyclomatic 19, cognitive 19): updateButtons has cyclomatic complexity 19 and cognitive complexity 19; 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/webapp/js/grapheditor/InlineToolbar.js"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"287ab052e8351648d7350f6bd8cbdd2a958d96ce14e2ca5144365d159ed1d935"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (top-level) (cyclomatic 19, cognitive 18): (top-level) has cyclomatic complexity 19 and cognitive complexity 18; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/grapheditor/Init.js"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ba91930fd43a22a2b6bbe833dc34979b7bb006c07fdd73ad6a86549902f3135"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 19, cognitive 17): (anonymous) has cyclomatic complexity 19 and cognitive complexity 17; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/ConfigEditor.js"},"region":{"startLine":1187}}}],"partialFingerprints":{"codehealthFindingId/v1":"f649672ae1bb117e1801386e7a9f4bb7139524fd10bc9062ba6342a86c260d06"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function init (cyclomatic 19, cognitive 17): init has cyclomatic complexity 19 and cognitive complexity 17; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/Minimal.js"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"265ec0a84a0a25457818e095b3fdd0d731c09ba2f4a128db0b54e31cff9f1df3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function anonymizeNode (cyclomatic 19, cognitive 16): anonymizeNode has cyclomatic complexity 19 and cognitive complexity 16; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":3402}}}],"partialFingerprints":{"codehealthFindingId/v1":"784b7ea7a5ad7886143efebc8a81e72aacc40137b468b166e0a69bf2725c168c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mouseMove (cyclomatic 18, cognitive 59): mouseMove has cyclomatic complexity 18 and cognitive complexity 59; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":50664}}}],"partialFingerprints":{"codehealthFindingId/v1":"d56e9d6e0e8847f004f88f9ec5856e79b4d2d4859c9742c5522950683cafbe5c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function canonicalizeSvgCssRules (cyclomatic 18, cognitive 53): canonicalizeSvgCssRules has cyclomatic complexity 18 and cognitive complexity 53; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":6141}}}],"partialFingerprints":{"codehealthFindingId/v1":"389d62e68e808e63fdcda61b33d9258ae1cfba0bdbb460c4cf01fe47bb941273"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onload (cyclomatic 18, cognitive 47): onload has cyclomatic complexity 18 and cognitive complexity 47; 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/webapp/js/diagramly/Editor.js"},"region":{"startLine":6709}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cd47bd80ec1d2b8858bd496794746c44c70417955342a55684166ffb2b339c5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function invalidate (cyclomatic 18, cognitive 45): invalidate has cyclomatic complexity 18 and cognitive complexity 45; 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/webapp/mxgraph/src/view/mxGraphView.js"},"region":{"startLine":1032}}}],"partialFingerprints":{"codehealthFindingId/v1":"59c162d15173f9f7b7f2adecb69e5c9844cc6fa68fc5045fd4a50c4172920f75"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getTabGroups (cyclomatic 18, cognitive 43): getTabGroups has cyclomatic complexity 18 and cognitive complexity 43; 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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":3967}}}],"partialFingerprints":{"codehealthFindingId/v1":"3707b779fc82f2036e888b946569b9b6a29a110274297877c4ab88465f2c4b75"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isPointNearPolyline (cyclomatic 18, cognitive 42): isPointNearPolyline has cyclomatic complexity 18 and cognitive complexity 42; 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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":12328}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1c9e322ea6c0ccacfa8b04a633e2abb76907a96f754eb4ed3a45b3a59c90a0f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getAllConnectionConstraints (cyclomatic 18, cognitive 41): getAllConnectionConstraints has cyclomatic complexity 18 and cognitive complexity 41; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":35826}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ca91d070b739c6d77edd44b4666220e3094c0a6b3b7ac5681f198c94f91dc3c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function load (cyclomatic 18, cognitive 40): load has cyclomatic complexity 18 and cognitive complexity 40; 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/webapp/js/diagramly/App.js"},"region":{"startLine":4079}}}],"partialFingerprints":{"codehealthFindingId/v1":"53a13aebd9a0cce1cac475cc265b8d3614b48a7e6c5fc25522fa53024ca7303b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function showLayers (cyclomatic 18, cognitive 40): showLayers has cyclomatic complexity 18 and cognitive complexity 40; 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/webapp/js/diagramly/GraphViewer.js"},"region":{"startLine":1761}}}],"partialFingerprints":{"codehealthFindingId/v1":"c14d3bb85d37ec031cedb7042abf4f1deb971fe31c3648bf2e5e5adbdd8245ca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function initStates (cyclomatic 18, cognitive 40): initStates has cyclomatic complexity 18 and cognitive complexity 40; 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/webapp/js/diagramly/SpringMove.js"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"59c365645df88f62347a92afe145cf0df5a31249ce6ff2086a6675a4ddf5f1c9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addPopupMenuEditItems (cyclomatic 18, cognitive 38): addPopupMenuEditItems has cyclomatic complexity 18 and cognitive complexity 38; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":23768}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c3d6e8bc3024e14b3a2c2a903efdec61cd380347d8328b1b05fdd865a138bde"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function dataElem2Obj (cyclomatic 18, cognitive 38): dataElem2Obj has cyclomatic complexity 18 and cognitive complexity 38; 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/webapp/js/diagramly/graphml/mxGraphMlCodec.js"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"402262a5b160aa91cf70cb7198a2a9355a2e47e35183e5fa850fd5d6bc44a139"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function invalidateTracedOutlines (cyclomatic 18, cognitive 38): invalidateTracedOutlines has cyclomatic complexity 18 and cognitive complexity 38; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":44258}}}],"partialFingerprints":{"codehealthFindingId/v1":"c66bf673f975d270647cfa24823be78960ea77a04fc4d6ba8e472a97349f4eb8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getHandleForEvent (cyclomatic 18, cognitive 38): getHandleForEvent has cyclomatic complexity 18 and cognitive complexity 38; 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/webapp/mxgraph/src/handler/mxEdgeHandler.js"},"region":{"startLine":847}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a611998251c809dbc92e791a20ef893d4772f66577b4065e469b5c27187c071"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 36): (anonymous) has cyclomatic complexity 18 and cognitive complexity 36; 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/webapp/js/diagramly/App.js"},"region":{"startLine":1350}}}],"partialFingerprints":{"codehealthFindingId/v1":"ece826c3fd5ac9ee9eb0da1c1723ce42671c9ab232634dd77cf5e0f57bc2696d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateCount (cyclomatic 18, cognitive 36): updateCount has cyclomatic complexity 18 and cognitive complexity 36; 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":10409}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5139d48142353337ba446e6ce71f21d9f84bfb3c5043cad1cf50599e4e969d1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getEndLabelPoint (cyclomatic 18, cognitive 36): getEndLabelPoint has cyclomatic complexity 18 and cognitive complexity 36; 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/webapp/js/diagramly/ForceExplorer.js"},"region":{"startLine":2966}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ec1fef4c9625ff7e29eb728c171b5571ab50f4945c26bf2cce8e6471cad9780"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function hashValue (cyclomatic 18, cognitive 34): hashValue has cyclomatic complexity 18 and cognitive complexity 34; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":5715}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb2f8bf9c63a1608dd6656d0a97a312197af9f757f4563d91a18e586c66cf7cd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addEditOps (cyclomatic 18, cognitive 33): addEditOps has cyclomatic complexity 18 and cognitive complexity 33; 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/webapp/js/grapheditor/Format.js"},"region":{"startLine":7309}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f69845a3a95860c00bd64b77959789a0ba85783ad800d6d335780394e236a0c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function authorizeStep2 (cyclomatic 18, cognitive 32): authorizeStep2 has cyclomatic complexity 18 and cognitive complexity 32; 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/webapp/js/diagramly/DriveClient.js"},"region":{"startLine":1010}}}],"partialFingerprints":{"codehealthFindingId/v1":"f69a16ac0561922df737208697ede6df90ee1b67af0ed57e8275cdeb2b6b94bd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getStencilBounds (cyclomatic 18, cognitive 31): getStencilBounds has cyclomatic complexity 18 and cognitive complexity 31; 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":1707}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ca63e7e0eae55f129be6fa0bf4708866fe94b47fd76cf8e873039ec353ba8fd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scaleCellsToBounds (cyclomatic 18, cognitive 31): scaleCellsToBounds has cyclomatic complexity 18 and cognitive complexity 31; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":37913}}}],"partialFingerprints":{"codehealthFindingId/v1":"317f1cd8ed109b299dddea9aef9c05a994883d4947baf7a0fc055cb8145aca0a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addPoints (cyclomatic 18, cognitive 31): addPoints has cyclomatic complexity 18 and cognitive complexity 31; 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/webapp/mxgraph/src/shape/mxShape.js"},"region":{"startLine":1483}}}],"partialFingerprints":{"codehealthFindingId/v1":"2375a2d5e618fcc8d9147dcfbb86a4cd4f1b7be1446bc1cc431a1c080b9d9083"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function doMain (cyclomatic 18, cognitive 30): doMain has cyclomatic complexity 18 and cognitive complexity 30; 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/webapp/js/diagramly/App.js"},"region":{"startLine":1643}}}],"partialFingerprints":{"codehealthFindingId/v1":"484c78ec020e32f0766046cb8d6e5e90c24192707cd05da98d64f1c81f6ac92d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getTableRange (cyclomatic 18, cognitive 30): getTableRange has cyclomatic complexity 18 and cognitive complexity 30; 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/webapp/js/grapheditor/InlineToolbar.js"},"region":{"startLine":3979}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6ea6e261f73c83262ef93d3a678ec49c0695d337187a86ea7024b8988be19d7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createLabelSubShape (cyclomatic 18, cognitive 29): createLabelSubShape has cyclomatic complexity 18 and cognitive complexity 29; 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":14657}}}],"partialFingerprints":{"codehealthFindingId/v1":"568691aa901ee430c84a1cd876371497dae8522718fab402400d1c6057bc3920"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getDataStyleValue (cyclomatic 18, cognitive 29): getDataStyleValue has cyclomatic complexity 18 and cognitive complexity 29; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":18021}}}],"partialFingerprints":{"codehealthFindingId/v1":"17025e35c3c0e095ed62b0fdd052c12e1743d9e5a5884498c57a097eb4c09dde"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addConnectionConstraint (cyclomatic 18, cognitive 29): addConnectionConstraint has cyclomatic complexity 18 and cognitive complexity 29; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":35942}}}],"partialFingerprints":{"codehealthFindingId/v1":"3887c2cae6ac6d15182494e5b8590ce88c33822a57aecdd7167c306694dc51a8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 28): (anonymous) has cyclomatic complexity 18 and cognitive complexity 28; 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/webapp/js/diagramly/DiffSync.js"},"region":{"startLine":1615}}}],"partialFingerprints":{"codehealthFindingId/v1":"60cfc531c62d934470ebe9c4b7c18869a4a330148d3fa39f36d118c47bf485c5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createPalette (cyclomatic 18, cognitive 28): createPalette has cyclomatic complexity 18 and cognitive complexity 28; 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/webapp/js/diagramly/gif/GifEncoder.js"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"96d40bccb3ef8bc801825578a18019053a055d21bc6df68e1dfc6d110d801819"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function importPage (cyclomatic 18, cognitive 28): importPage has cyclomatic complexity 18 and cognitive complexity 28; 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"363b38b1054d27fd6f506ec2c9f21e1ac5279808802a05a8ac18adb44dab1842"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getPreviewTerminalState (cyclomatic 18, cognitive 28): getPreviewTerminalState has cyclomatic complexity 18 and cognitive complexity 28; 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/webapp/mxgraph/src/handler/mxEdgeHandler.js"},"region":{"startLine":1231}}}],"partialFingerprints":{"codehealthFindingId/v1":"84128b90b08655a6c919b08a411442c67e2c478a50477393cd40742a9bb15fd1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reset (cyclomatic 18, cognitive 28): reset has cyclomatic complexity 18 and cognitive complexity 28; 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/webapp/mxgraph/src/handler/mxVertexHandler.js"},"region":{"startLine":1481}}}],"partialFingerprints":{"codehealthFindingId/v1":"786f17cc250a8295db91a8746bbbde1146d4791073ab47633ec6b35b47446d10"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderOptions (cyclomatic 18, cognitive 27): renderOptions has cyclomatic complexity 18 and cognitive complexity 27; 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/webapp/js/diagramly/LayoutPicker.js"},"region":{"startLine":3789}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c843ac0b525fb28b80a578371e1671c840f6220ca25a67398c99ae96cf4ae5a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function computeRoutes (cyclomatic 18, cognitive 26): computeRoutes has cyclomatic complexity 18 and cognitive complexity 26; 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/webapp/js/diagramly/LibavoidRouting.js"},"region":{"startLine":4320}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb665853c57f227dd63c15faaf0aee64a960315a28e3ee3bfd81ee280d3758c9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function keepRoleColors (cyclomatic 18, cognitive 26): keepRoleColors has cyclomatic complexity 18 and cognitive complexity 26; 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/webapp/js/diagramly/tidy/TidyStyle.js"},"region":{"startLine":1439}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb2f915df035380c53512288502a74db1c2ce000b638343e0da8c74b24cd0c0d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 25): (anonymous) has cyclomatic complexity 18 and cognitive complexity 25; 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/webapp/js/diagramly/Editor.js"},"region":{"startLine":11144}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2e0c0a480d143c160d085ffe600fe97bc564c04998620ae57c78a9ce1dfdbdd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function filterEnclosing (cyclomatic 18, cognitive 25): filterEnclosing has cyclomatic complexity 18 and cognitive complexity 25; 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/webapp/js/libavoid-js/libavoid-routing.js"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0f57c064a76aa334ff4d3468266e6fcb3c59dd39829b347793d64673e1bac69"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mouseDown (cyclomatic 18, cognitive 25): mouseDown has cyclomatic complexity 18 and cognitive complexity 25; 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/webapp/mxgraph/src/handler/mxEdgeHandler.js"},"region":{"startLine":955}}}],"partialFingerprints":{"codehealthFindingId/v1":"6afdaf22a096f89604528015c910b143282039d4bffbd64550c356ec9f55c334"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RevisionDialog (cyclomatic 18, cognitive 24): RevisionDialog has cyclomatic complexity 18 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":8653}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8b035f684052985936107c427608b050fbba559974f67e4446b08194d719ae3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeEdge (cyclomatic 18, cognitive 24): normalizeEdge has cyclomatic complexity 18 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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":6971}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e869cb11ab18ff0daf3184ff983f94e168d9688fbfe6afe70bc7efacb28e765"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AnimationDialog (cyclomatic 18, cognitive 23): AnimationDialog has cyclomatic complexity 18 and cognitive complexity 23; 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":14088}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdc9a2f61a5ee1ea29047ddb0f89b209b7d9b8fd9d809dc7a345f72b5604afdc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addAllStyles (cyclomatic 18, cognitive 23): addAllStyles has cyclomatic complexity 18 and cognitive complexity 23; 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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":4760}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e873bf662ca864c2f6198a77a46c06d51ab69bc38af4149f4253062a95d598c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function init (cyclomatic 18, cognitive 23): init has cyclomatic complexity 18 and cognitive complexity 23; 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/webapp/js/grapheditor/Format.js"},"region":{"startLine":6919}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c8fb17bf206b22f290e214c530af3accf8a52cf64e3b71c71790353f0d66bd7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function doExtract (cyclomatic 18, cognitive 23): doExtract has cyclomatic complexity 18 and cognitive complexity 23; 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/webapp/mxgraph/src/util/mxUtils.js"},"region":{"startLine":1405}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ab30f039edd8c5588241a6562948d6d36c4140030ece12517ed1e94ea3bc819"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createGroup (cyclomatic 18, cognitive 22): createGroup has cyclomatic complexity 18 and cognitive complexity 22; 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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":6507}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd2915268a19111eec4ee898260c615aea58f2c38545df084a302b2025f95b83"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateEdgeParent (cyclomatic 18, cognitive 22): updateEdgeParent has cyclomatic complexity 18 and cognitive complexity 22; 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/webapp/mxgraph/src/model/mxGraphModel.js"},"region":{"startLine":835}}}],"partialFingerprints":{"codehealthFindingId/v1":"99cbd180cefb1e24d1a3fc9190a4a4d95160bfd6beff0ff816d8dc3eaa473f47"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function expandElement (cyclomatic 18, cognitive 21): expandElement has cyclomatic complexity 18 and cognitive complexity 21; 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/webapp/js/diagramly/Editor.js"},"region":{"startLine":4679}}}],"partialFingerprints":{"codehealthFindingId/v1":"103cd68be461df50ec5ba209f56bce24b0cf3b862a475888083be4645033d837"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 21): (anonymous) has cyclomatic complexity 18 and cognitive complexity 21; 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/webapp/js/grapheditor/Format.js"},"region":{"startLine":7572}}}],"partialFingerprints":{"codehealthFindingId/v1":"9013db249bf0dc064fd4130aa396d1cf787bd540273548cac2f2963150bfb568"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function destroyWindows (cyclomatic 18, cognitive 20): destroyWindows has cyclomatic complexity 18 and cognitive complexity 20; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":25545}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d52c71ae0772b4e08be5bb6f8f18a05c1497116d2a614551b3346ca8da0f371"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseEMF (cyclomatic 18, cognitive 20): parseEMF has cyclomatic complexity 18 and cognitive complexity 20; 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/webapp/js/diagramly/emf/emf-svg.js"},"region":{"startLine":826}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6dfdecc4e681c1fa843e3c5c9a7da0ba73502e79dae0661a1402795e5764e8a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function preview (cyclomatic 18, cognitive 20): preview has cyclomatic complexity 18 and cognitive complexity 20; 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/webapp/js/diagramly/tidy/TidyWindow.js"},"region":{"startLine":1058}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccaf38e58d164a6afb2b29e2c5e5ab326ec5385ba8091e28bb918ab07610388f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function LibraryDialog (cyclomatic 18, cognitive 19): LibraryDialog has cyclomatic complexity 18 and cognitive complexity 19; 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":19852}}}],"partialFingerprints":{"codehealthFindingId/v1":"831d22359673b4a7216d581f837ec0b00644286c879f5284e7df3da94b196aa8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getScrollOrigin (cyclomatic 18, cognitive 19): getScrollOrigin has cyclomatic complexity 18 and cognitive complexity 19; 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/webapp/mxgraph/src/util/mxUtils.js"},"region":{"startLine":3731}}}],"partialFingerprints":{"codehealthFindingId/v1":"e28f3dd8c70c3d34c6ab3e9398e921254a2043a12f08b0bc2941feaeee1de1ef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getExportFormats (cyclomatic 18, cognitive 18): getExportFormats has cyclomatic complexity 18 and cognitive complexity 18; 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/webapp/js/diagramly/ViewerModern.js"},"region":{"startLine":1429}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cc1ff2f5a260bfe941664c91211c15a47e073cbca0e184c8b6d5cc8c8c8495c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isRoundedPolygonPerimeter (cyclomatic 18, cognitive 17): isRoundedPolygonPerimeter has cyclomatic complexity 18 and cognitive complexity 17; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":42219}}}],"partialFingerprints":{"codehealthFindingId/v1":"88354bf51f7af5ed786fde5334d995361fe844c2f2cb5a3796581350af78b1fc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getCellTypeName (cyclomatic 18, cognitive 16): getCellTypeName has cyclomatic complexity 18 and cognitive complexity 16; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":22755}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ac8b9799509462c4b34366b67b57d8c029132e3f1195758046b0c689e571ee7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function update (cyclomatic 18, cognitive 16): update has cyclomatic complexity 18 and cognitive complexity 16; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/grapheditor/InlineToolbar.js"},"region":{"startLine":2829}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fa9ad816bd3f5d75ddb0685ebbdf241a0ec68bb160501b156fc71ee5d4c038f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function moveNEInner (cyclomatic 18, cognitive 15): moveNEInner has cyclomatic complexity 18 and cognitive complexity 15; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":7357}}}],"partialFingerprints":{"codehealthFindingId/v1":"35193e08945a35dcb42ecccd89b2ea4aba98abcc4367ebaf6849fdb786b54951"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function lineNEInner (cyclomatic 18, cognitive 15): lineNEInner has cyclomatic complexity 18 and cognitive complexity 15; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":7379}}}],"partialFingerprints":{"codehealthFindingId/v1":"35e47d68f782e6e0285f0c79d78ee51ab6877ce83834937a388fbe4f35f7a892"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getCell (cyclomatic 18, cognitive 15): getCell has cyclomatic complexity 18 and cognitive complexity 15; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/mxgraph/src/handler/mxEdgeHandler.js"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2f98691a93c535ef4a05ad6c190778c7cb63af82f7b90891ef851ba8088168f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getDirectedBounds (cyclomatic 18, cognitive 15): getDirectedBounds has cyclomatic complexity 18 and cognitive complexity 15; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/mxgraph/src/util/mxUtils.js"},"region":{"startLine":3320}}}],"partialFingerprints":{"codehealthFindingId/v1":"368c035ef338f59ca6554a80612d702b5ca086b50bb6ff4ce42bc603af61f4f0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getFieldValue (cyclomatic 18, cognitive 14): getFieldValue has cyclomatic complexity 18 and cognitive complexity 14; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":12182}}}],"partialFingerprints":{"codehealthFindingId/v1":"3126ce8cb2d298cf57145e264273d089585ca761a7af770e337dade6b17b1be5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isOutlineConnectEvent (cyclomatic 18, cognitive 13): isOutlineConnectEvent has cyclomatic complexity 18 and cognitive complexity 13; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/mxgraph/src/handler/mxConnectionHandler.js"},"region":{"startLine":1040}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc960b4f8a26527a83f5c45141b5192407c781282c5bfd309c2ee9b67e998cf3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isOutlineConnectEvent (cyclomatic 18, cognitive 13): isOutlineConnectEvent has cyclomatic complexity 18 and cognitive complexity 13; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/mxgraph/src/handler/mxEdgeHandler.js"},"region":{"startLine":1430}}}],"partialFingerprints":{"codehealthFindingId/v1":"c43c506ad817f641f034db6aab86343b02cbb1ba47fd969c5ecf152b9f5defb3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 10): (anonymous) has cyclomatic complexity 18 and cognitive complexity 10; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/ElectronApp.js"},"region":{"startLine":2918}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a5a1829823c5c8bfd424d5bfd363aa2c333d04d09a713a98da549e4373a6d40"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function typeIntoShapePicker (cyclomatic 18, cognitive 10): typeIntoShapePicker has cyclomatic complexity 18 and cognitive complexity 10; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":4784}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dd4ed487978926cdce394ba87d165959d019a4f79f0cebd8d109964117ceb56"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isDataSourceColumn (cyclomatic 18, cognitive 9): isDataSourceColumn has cyclomatic complexity 18 and cognitive complexity 9; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":18789}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae349e76555155ba07b32fac8117d191a60665ec17574d45f296f848ad44b79d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getStencil (cyclomatic 17, cognitive 68): getStencil has cyclomatic complexity 17 and cognitive complexity 68; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":34135}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0f7e84c3c6a0d82dd556401a983e2abdaa17aa527b150e35d285cbaa095ecfc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function panGraph (cyclomatic 17, cognitive 54): panGraph has cyclomatic complexity 17 and cognitive complexity 54; 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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":8453}}}],"partialFingerprints":{"codehealthFindingId/v1":"adad06d8b205c282176f4c51e0cc1e4bb7e6c84fdf949bce551b9ebc87d46940"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function matchPartialEntries (cyclomatic 17, cognitive 53): matchPartialEntries has cyclomatic complexity 17 and cognitive complexity 53; 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/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":2380}}}],"partialFingerprints":{"codehealthFindingId/v1":"0efcabbd9c83c10242435f73d3214ac7eaa64a767c702b46ea699ab9e1cfec76"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleTemplates (cyclomatic 17, cognitive 52): handleTemplates has cyclomatic complexity 17 and cognitive complexity 52; 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/webapp/js/diagramly/graphml/mxGraphMlCodec.js"},"region":{"startLine":1169}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b81671ae982bb039daa73d9867c4210d53189dc0ef7f64e1b624133b55b4dc4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fileStats (cyclomatic 17, cognitive 50): fileStats has cyclomatic complexity 17 and cognitive complexity 50; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":4083}}}],"partialFingerprints":{"codehealthFindingId/v1":"e18222e2e0ce3740cc1407cbb9168afaec641219cb84c144d81c644c50c92c41"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateGraph (cyclomatic 17, cognitive 47): updateGraph has cyclomatic complexity 17 and cognitive complexity 47; 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":9071}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0183ccd97cc962519eaf245d02eb1c1b3754717bc0ec3328659e673865b8fcb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createParentLookup (cyclomatic 17, cognitive 47): createParentLookup has cyclomatic complexity 17 and cognitive complexity 47; 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/webapp/js/diagramly/DiffSync.js"},"region":{"startLine":1008}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cd6cfa230aa3e866f006992a208f878fb29b7efe665e5cf43c96c9b318a9dcb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getPerimeterPoint (cyclomatic 17, cognitive 46): getPerimeterPoint has cyclomatic complexity 17 and cognitive complexity 46; 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/webapp/mxgraph/src/view/mxGraphView.js"},"region":{"startLine":3559}}}],"partialFingerprints":{"codehealthFindingId/v1":"73ae79f60c03eb83ded75a0b309fcbd178ae95d776b03b564ef824785edd8d42"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getPreferredSizeForCell (cyclomatic 17, cognitive 44): getPreferredSizeForCell has cyclomatic complexity 17 and cognitive complexity 44; 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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":6047}}}],"partialFingerprints":{"codehealthFindingId/v1":"b64780e3297a4cb1fcfcfeefab08910426e0d40353d054d3a6020195be9b5eac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setConnectionConstraint (cyclomatic 17, cognitive 44): setConnectionConstraint has cyclomatic complexity 17 and cognitive complexity 44; 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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":7375}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6d4914d7b106b1c9795ffac5d87077cdf6711449fbe9025b8f7a26687172df6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processTheme (cyclomatic 17, cognitive 40): processTheme has cyclomatic complexity 17 and cognitive complexity 40; 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":5551}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfd20158512a6ee2f920152ec8cd74ceadbdf65095d5cc306164d71f823ecec1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 40): (anonymous) has cyclomatic complexity 17 and cognitive complexity 40; 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/webapp/mxgraph/src/handler/mxGraphHandler.js"},"region":{"startLine":1498}}}],"partialFingerprints":{"codehealthFindingId/v1":"836ae3b0b5b38a8a4adf188a84a48f135984af65bd8e878039df7658eb65121f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 39): (anonymous) has cyclomatic complexity 17 and cognitive complexity 39; 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/webapp/js/diagramly/DiffSync.js"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f93097ddb9d74265ce58975472924542f7f0e5f0b94a44de5e5384026fd0339"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createMarker (cyclomatic 17, cognitive 38): createMarker has cyclomatic complexity 17 and cognitive complexity 38; 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/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":7849}}}],"partialFingerprints":{"codehealthFindingId/v1":"251151db42fac48c7645d6f8bb56c1c90954e04e3b4e9cb82f25c0b4740b7d04"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collideLabels (cyclomatic 17, cognitive 35): collideLabels has cyclomatic complexity 17 and cognitive complexity 35; 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/webapp/js/diagramly/ForceExplorer.js"},"region":{"startLine":3023}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8d0f072d3d9e80ccab373e57cd744a274a6c4359c28a6947e6ba66b66c7827b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseShapeElem (cyclomatic 17, cognitive 34): parseShapeElem has cyclomatic complexity 17 and cognitive complexity 34; 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":10756}}}],"partialFingerprints":{"codehealthFindingId/v1":"65e1b632a2fc08d0b9d13f4a016d75df8dc41fe0f5302fa27f381cf28dbcd917"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getImageDataUri (cyclomatic 17, cognitive 34): getImageDataUri has cyclomatic complexity 17 and cognitive complexity 34; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"472be0c77cd01a1a5ad52ba878918ee25289ff8721d2c7e32f6d546c35eb1e50"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paintForeground (cyclomatic 17, cognitive 34): paintForeground has cyclomatic complexity 17 and cognitive complexity 34; 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/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":3339}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e1bd647e66d7e05bbdf69faabe19dd7d728cdc95efde754bf5a326e66cf47f1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getPreviousNode (cyclomatic 17, cognitive 34): getPreviousNode has cyclomatic complexity 17 and cognitive complexity 34; 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/webapp/mxgraph/src/view/mxGraphView.js"},"region":{"startLine":1702}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf73a69dedc722e92d28f3e2751f4cde918851abfde1676e098d6014bb01e7b8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getLayoutFormConfig (cyclomatic 17, cognitive 33): getLayoutFormConfig has cyclomatic complexity 17 and cognitive complexity 33; 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/webapp/js/diagramly/LayoutPicker.js"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ea7f61f75db1de7f5fef18d038c33360bd8695d473194f7aca5bfbc8eb05ce7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateSelectionStateForTableCells (cyclomatic 17, cognitive 33): updateSelectionStateForTableCells has cyclomatic complexity 17 and cognitive complexity 33; 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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":1788}}}],"partialFingerprints":{"codehealthFindingId/v1":"48bcb6928ada69834d77cad387a9941b82a538db6ebb0e68788ccddf6a65ef55"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function refresh (cyclomatic 17, cognitive 33): refresh has cyclomatic complexity 17 and cognitive complexity 33; 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/webapp/mxgraph/src/handler/mxSelectionCellsHandler.js"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"d19e75b67da084df6e353f51a7ca0da88643859a92a242e433c8dc38e9bc654c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function redraw (cyclomatic 17, cognitive 32): redraw has cyclomatic complexity 17 and cognitive complexity 32; 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/webapp/js/export.js"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"9378343d7baf8e7c8b2921f47ecff5264f423ebf42e715e3a18db1e0bd29bc43"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updatePreview (cyclomatic 17, cognitive 31): updatePreview has cyclomatic complexity 17 and cognitive complexity 31; 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":28116}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8932e4a314d29e94f725fd255e27aceb498fdd12a285f62e98d8e194b15b307"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function spin (cyclomatic 17, cognitive 31): spin has cyclomatic complexity 17 and cognitive complexity 31; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":2229}}}],"partialFingerprints":{"codehealthFindingId/v1":"643df3052d4f6f960fba4f7eb042bfaf2a71c8418b1d1516aa7c56959fd8c800"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getCellsForShapePicker (cyclomatic 17, cognitive 31): getCellsForShapePicker has cyclomatic complexity 17 and cognitive complexity 31; 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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":2975}}}],"partialFingerprints":{"codehealthFindingId/v1":"842a7b1c738162a2bdd827c00d25b00efbeca4d75a4f4fc140c8e422211a5f8f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function removePasteFormatting (cyclomatic 17, cognitive 31): removePasteFormatting has cyclomatic complexity 17 and cognitive complexity 31; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":4363}}}],"partialFingerprints":{"codehealthFindingId/v1":"66235bdd41090d42f4ad0effe6eaa0b48d1045bc3b94db2a3163d5e79ccebb3b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mergeShapeInsideWrappers (cyclomatic 17, cognitive 31): mergeShapeInsideWrappers has cyclomatic complexity 17 and cognitive complexity 31; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":46015}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2a158eab42675206a19567716b11cc3a78166f65785faaebe3d2aa84329d62b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 30): (anonymous) has cyclomatic complexity 17 and cognitive complexity 30; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":6593}}}],"partialFingerprints":{"codehealthFindingId/v1":"839c20ee357327fa817a6ff58a05b1e20624c6c6656589f5113811b9e5170e33"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getCellContainmentArea (cyclomatic 17, cognitive 30): getCellContainmentArea has cyclomatic complexity 17 and cognitive complexity 30; 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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":6904}}}],"partialFingerprints":{"codehealthFindingId/v1":"0805964cb35db32dda21ba02ba9a2cd116f49ddd619078c6bb1fe2011f153dac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 29): (anonymous) has cyclomatic complexity 17 and cognitive complexity 29; 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":26986}}}],"partialFingerprints":{"codehealthFindingId/v1":"dec0e097406278c32070ca8d8d8fa300249e24e17ced7f8e95c9ba255eb9f15d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function drainRepairParents (cyclomatic 17, cognitive 29): drainRepairParents has cyclomatic complexity 17 and cognitive complexity 29; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":22528}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f2a5decabbf1da876dff3a54836c6af7e1529c9910f27c41325c6b0862ccee0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function flattenPath (cyclomatic 17, cognitive 29): flattenPath has cyclomatic complexity 17 and cognitive complexity 29; 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/webapp/js/diagramly/ForceExplorer.js"},"region":{"startLine":4500}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef629c8c4c4b83f22f0221258239ee0145d2cd3eaa371c8ca67d14e5003d6b3d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateGroupBounds (cyclomatic 17, cognitive 29): updateGroupBounds has cyclomatic complexity 17 and cognitive complexity 29; 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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":4453}}}],"partialFingerprints":{"codehealthFindingId/v1":"aef8859a7f173fff4de6146a1a283a24b5777b6efe00d8c8ed20a614e757bef6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isAdditiveOnly (cyclomatic 17, cognitive 27): isAdditiveOnly has cyclomatic complexity 17 and cognitive complexity 27; 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/webapp/js/diagramly/DrawioFileSync.js"},"region":{"startLine":1766}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4a0165192d15cc320fea5c768820564f52e41230d5604a6efb7170f2ef0a27f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateAnimations (cyclomatic 17, cognitive 27): updateAnimations has cyclomatic complexity 17 and cognitive complexity 27; 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/webapp/js/diagramly/ForceExplorer.js"},"region":{"startLine":4018}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c79c2e2cc1ad2c06ca8eeea5bc1260ebcc1e9d845f97ecbe93f06fa6128fb3c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getMatchingLibraryChips (cyclomatic 17, cognitive 27): getMatchingLibraryChips has cyclomatic complexity 17 and cognitive complexity 27; 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/webapp/js/diagramly/sidebar/Sidebar.js"},"region":{"startLine":2021}}}],"partialFingerprints":{"codehealthFindingId/v1":"2141438599b7a07714814313758a2ed8fdb13c74e445f7498ad4fb60fcfe39fb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function attachTexts (cyclomatic 17, cognitive 27): attachTexts has cyclomatic complexity 17 and cognitive complexity 27; 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/webapp/js/diagramly/tidy/Tidy.js"},"region":{"startLine":1631}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b15492940fbc38075653b7128156a07402a14a16532f4b60102870c071c15d1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getOpposites (cyclomatic 17, cognitive 27): getOpposites has cyclomatic complexity 17 and cognitive complexity 27; 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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":12994}}}],"partialFingerprints":{"codehealthFindingId/v1":"a11ab0f0de075841a45e1b2c2ef9f29b67d39d47213dafd2a4e4d8799c32e41e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 26): (anonymous) has cyclomatic complexity 17 and cognitive complexity 26; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":32890}}}],"partialFingerprints":{"codehealthFindingId/v1":"e652513be4bd6e494ac57026e21ae1390ea8b3a379b6d109fa41a298fd871766"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 26): (anonymous) has cyclomatic complexity 17 and cognitive complexity 26; 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/webapp/js/diagramly/Menus.js"},"region":{"startLine":5649}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe8d11c3f6eefcb1b639260676a46222c68843831e184ccdc9e4114aab836329"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 26): (anonymous) has cyclomatic complexity 17 and cognitive complexity 26; 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/webapp/js/diagramly/Pages.js"},"region":{"startLine":3575}}}],"partialFingerprints":{"codehealthFindingId/v1":"445da4b5a23fb67b38866448070885848597edb2fcc67b3aab15b2d866f7ab44"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function elkOptionsToConfig (cyclomatic 17, cognitive 26): elkOptionsToConfig has cyclomatic complexity 17 and cognitive complexity 26; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":15152}}}],"partialFingerprints":{"codehealthFindingId/v1":"65ad6fba57eff0ee57798abab4b94dbcb412e31f48dfb583d42d2b323525b081"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fileSaved (cyclomatic 17, cognitive 25): fileSaved has cyclomatic complexity 17 and cognitive complexity 25; 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/webapp/js/diagramly/DrawioFile.js"},"region":{"startLine":4122}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bd849e1e4dd12b4808540292dc91bd24dc589ae18faa3e92acf76705927a20d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createShapesWindow (cyclomatic 17, cognitive 25): createShapesWindow has cyclomatic complexity 17 and cognitive complexity 25; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":27018}}}],"partialFingerprints":{"codehealthFindingId/v1":"b113c427fb0cd86fcca9f3f32b96cd2f082daf3d024db72067ef649b074ce802"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyLayoutList (cyclomatic 17, cognitive 25): applyLayoutList has cyclomatic complexity 17 and cognitive complexity 25; 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/webapp/js/diagramly/LayoutPicker.js"},"region":{"startLine":941}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e456f9db181cdcd98a1194d3c631dc820f6b6b14f4d62dca0099df0a1ee716b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 25): (anonymous) has cyclomatic complexity 17 and cognitive complexity 25; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":10758}}}],"partialFingerprints":{"codehealthFindingId/v1":"77d9fa236c23fa2f0a8c2cf1d6a21a763999f6c422922c4fddb42960a02240a4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addActionEntries (cyclomatic 17, cognitive 25): addActionEntries has cyclomatic complexity 17 and cognitive complexity 25; 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/webapp/js/grapheditor/Omnibox.js"},"region":{"startLine":1214}}}],"partialFingerprints":{"codehealthFindingId/v1":"c14631afae5ea60a6129509bc86a75ffe76a921d501038ee52f2696c2c58de85"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toObject (cyclomatic 17, cognitive 24): toObject has cyclomatic complexity 17 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":22516}}}],"partialFingerprints":{"codehealthFindingId/v1":"3930c95779464ce4f9326c175a568ea43e69f81c4bfc3d1b927f7183f11548a0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function showTypingShim (cyclomatic 17, cognitive 24): showTypingShim has cyclomatic complexity 17 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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":5083}}}],"partialFingerprints":{"codehealthFindingId/v1":"f13355adbf9f4953dd53c5ec2655d62bd6c0c17664375556f3d593dc35fba88e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateLinkHint (cyclomatic 17, cognitive 24): updateLinkHint has cyclomatic complexity 17 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":53222}}}],"partialFingerprints":{"codehealthFindingId/v1":"aec2e4880c9e3cf83f59f44ffae834299e7470814e4869b95332f5e2dcc86eb7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function start (cyclomatic 17, cognitive 24): start has cyclomatic complexity 17 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/webapp/mxgraph/src/handler/mxGraphHandler.js"},"region":{"startLine":1010}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4a45ddfc2f8ed38dc4bdccc5bc371f642d560100a1537564535e3f240c83368"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addSizeHandler (cyclomatic 17, cognitive 23): addSizeHandler has cyclomatic complexity 17 and cognitive complexity 23; 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/webapp/js/diagramly/GraphViewer.js"},"region":{"startLine":1317}}}],"partialFingerprints":{"codehealthFindingId/v1":"5831735a6a61967254ac909a9c8c4b9db4f77ca39b8df2caa7e0ab8eada48474"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateEdgeState (cyclomatic 17, cognitive 23): updateEdgeState has cyclomatic complexity 17 and cognitive complexity 23; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":1252}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8e56ea8950eb7a17055ba5956f3d58bd7272bfd383b4aba489db3e1f4ec303d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateMultipleTerminalPoint (cyclomatic 17, cognitive 23): updateMultipleTerminalPoint has cyclomatic complexity 17 and cognitive complexity 23; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":30962}}}],"partialFingerprints":{"codehealthFindingId/v1":"64992293912463dbc5273695e82cfe6787464f3076ad1b2f5db88acd40b80498"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function start (cyclomatic 17, cognitive 23): start has cyclomatic complexity 17 and cognitive complexity 23; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":48798}}}],"partialFingerprints":{"codehealthFindingId/v1":"23d891f09c6f1f7224a3edf747bfcf0368268ac253589c5eddbe866f2393ed83"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addInsertTableCellItem (cyclomatic 17, cognitive 23): addInsertTableCellItem has cyclomatic complexity 17 and cognitive complexity 23; 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/webapp/js/grapheditor/Menus.js"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"96614a8094b671e1a221c82f5030e60fff0361e1a4d3e95547480f8b17ed8cc5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getWidthHandleFrame (cyclomatic 17, cognitive 23): getWidthHandleFrame has cyclomatic complexity 17 and cognitive complexity 23; 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/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":7666}}}],"partialFingerprints":{"codehealthFindingId/v1":"2557ba47b19b666a989117bf4854d7fb9092777dcc14caf8404aa421ad291b33"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pickLibrary (cyclomatic 17, cognitive 22): pickLibrary has cyclomatic complexity 17 and cognitive complexity 22; 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/webapp/js/diagramly/App.js"},"region":{"startLine":5996}}}],"partialFingerprints":{"codehealthFindingId/v1":"576281ec4b1c6f6507fb454413c0686c45f196889db1962ebb9a6dedf64df0e1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateMenu (cyclomatic 17, cognitive 22): updateMenu has cyclomatic complexity 17 and cognitive complexity 22; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":45050}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8fb4357068759327df1fd1c75e8e41d500c0f5a2cb9be3da6a61feed36423c5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getCellAt (cyclomatic 17, cognitive 22): getCellAt has cyclomatic complexity 17 and cognitive complexity 22; 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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":12204}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa7b238cc48276ac6645e973184ec8ba67a0dd782340551b9571079bf31c3793"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function intersectsEdgeShape (cyclomatic 17, cognitive 22): intersectsEdgeShape has cyclomatic complexity 17 and cognitive complexity 22; 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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":12661}}}],"partialFingerprints":{"codehealthFindingId/v1":"edc9b838aa7db1ed3a8ea4c6d7d53adb56a1d72bd748dd3b70a786612218d475"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function selectCell (cyclomatic 17, cognitive 22): selectCell has cyclomatic complexity 17 and cognitive complexity 22; 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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":13636}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0486ce058076177b738144450313514b78214af03ddba7d05691380a7401603"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updatePreviewStyles (cyclomatic 17, cognitive 21): updatePreviewStyles has cyclomatic complexity 17 and cognitive complexity 21; 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/webapp/js/diagramly/LayoutPicker.js"},"region":{"startLine":2920}}}],"partialFingerprints":{"codehealthFindingId/v1":"662e6fcf89cf0c97d62dae6c0f8d8da712e8b39ce152cbee1c4dc3a70a34e021"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getStyleFromEdgeShape (cyclomatic 17, cognitive 21): getStyleFromEdgeShape has cyclomatic complexity 17 and cognitive complexity 21; 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":14468}}}],"partialFingerprints":{"codehealthFindingId/v1":"c28c399246d05519f8891dbbeb4ee5505df585fdc0fad5da293349fb0e83393c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isPropagateSelectionCell (cyclomatic 17, cognitive 21): isPropagateSelectionCell has cyclomatic complexity 17 and cognitive complexity 21; 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/webapp/js/grapheditor/Editor.js"},"region":{"startLine":5333}}}],"partialFingerprints":{"codehealthFindingId/v1":"f784e9be6a6c2b3eec983b202cdf68a663573b1602e15db482c72510f601143f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paintEdgeShape (cyclomatic 17, cognitive 21): paintEdgeShape has cyclomatic complexity 17 and cognitive complexity 21; 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/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":9678}}}],"partialFingerprints":{"codehealthFindingId/v1":"48f7dcc3e3a26d4c6887d552ced5605c84d9c206b6f6c26853b25164cffbba4b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 21): (anonymous) has cyclomatic complexity 17 and cognitive complexity 21; 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/webapp/mxgraph/src/util/mxSvgCanvas2D.js"},"region":{"startLine":2242}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c706ec925017fdada68627ddc9c3631e579adfe504de78ea606dd47603b5d5d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function convertFile (cyclomatic 17, cognitive 20): convertFile has cyclomatic complexity 17 and cognitive complexity 20; 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/webapp/js/diagramly/App.js"},"region":{"startLine":8893}}}],"partialFingerprints":{"codehealthFindingId/v1":"23760a090edf644cbf1d537abd5aef0e047b07c6312c166cf92da6d42cb3ea32"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isMatch (cyclomatic 17, cognitive 20): isMatch has cyclomatic complexity 17 and cognitive complexity 20; 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":10377}}}],"partialFingerprints":{"codehealthFindingId/v1":"9410a3f531e590202410c6230e1d0267c172af68eff786ae1c5a73dc62a2a89e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function unbundleCells (cyclomatic 17, cognitive 20): unbundleCells has cyclomatic complexity 17 and cognitive complexity 20; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":20986}}}],"partialFingerprints":{"codehealthFindingId/v1":"4808a0e6bc19d0d274883a3b46a08f9b9ab89799eb7d06e42fa391dd728740f5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function coversEdge (cyclomatic 17, cognitive 20): coversEdge has cyclomatic complexity 17 and cognitive complexity 20; 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/webapp/js/grapheditor/InlineToolbar.js"},"region":{"startLine":1345}}}],"partialFingerprints":{"codehealthFindingId/v1":"a55c82c6e4f7061fd5733934d398999e730af416f4588da19509ee1e7fbb62a4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function showTableMenu (cyclomatic 17, cognitive 20): showTableMenu has cyclomatic complexity 17 and cognitive complexity 20; 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/webapp/js/grapheditor/InlineToolbar.js"},"region":{"startLine":4103}}}],"partialFingerprints":{"codehealthFindingId/v1":"03cba6fb3821f4e03428221cc7acbbb425641df2814b0f69b9f1f5351632ef41"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateGraph (cyclomatic 17, cognitive 20): validateGraph has cyclomatic complexity 17 and cognitive complexity 20; 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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":9397}}}],"partialFingerprints":{"codehealthFindingId/v1":"dabdd9b0f8440c2a49b59d3fa8f0f6920d24a6b585b21336356e1a9137f4b0cf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function check (cyclomatic 17, cognitive 20): check has cyclomatic complexity 17 and cognitive complexity 20; 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/webapp/mxgraph/src/view/mxMultiplicity.js"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a5a0cbe39077b024f09faa447c58176b52fb133f70cbea80fb44d30b95e550b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 19): (anonymous) has cyclomatic complexity 17 and cognitive complexity 19; 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/webapp/js/diagramly/DrawioFile.js"},"region":{"startLine":938}}}],"partialFingerprints":{"codehealthFindingId/v1":"2558cabe9feceea0d63a6fd7c23fa23fbddae98118f816be4b4013a762b6a5ef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function convertLegacyAnimationStep (cyclomatic 17, cognitive 19): convertLegacyAnimationStep has cyclomatic complexity 17 and cognitive complexity 19; 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/webapp/js/diagramly/Editor.js"},"region":{"startLine":15573}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9b60023b28cb82dbb8a98fa0986ce8b95f0a9e11ab671e44298a6fee78c47a8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 19): (anonymous) has cyclomatic complexity 17 and cognitive complexity 19; 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/webapp/js/diagramly/GraphViewer.js"},"region":{"startLine":2547}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cd90a0fbc62b5f2635b479c82f674b7ae8121544cb922858880a5ca17c6ace2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getDataSources (cyclomatic 17, cognitive 19): getDataSources has cyclomatic complexity 17 and cognitive complexity 19; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":18907}}}],"partialFingerprints":{"codehealthFindingId/v1":"452c3f3520718957c36b2b347c6a2a21987850d6f57875cb8060d98d632cb5e0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createItem (cyclomatic 17, cognitive 19): createItem has cyclomatic complexity 17 and cognitive complexity 19; 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/webapp/js/grapheditor/Omnibox.js"},"region":{"startLine":2574}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bdc87629dfa0c4e0435989e59aba99afc7f58b27f8ed014be50fcd9ab8eb0fd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 18): (anonymous) has cyclomatic complexity 17 and cognitive complexity 18; 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/webapp/js/diagramly/Init.js"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4c7fbc259997d3f7ff7914e6bc6f1d46b520828483cb7feb420bdecbf172bd9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createHandleShape (cyclomatic 17, cognitive 18): createHandleShape has cyclomatic complexity 17 and cognitive complexity 18; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":51003}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b4c65c70eeb68b2a2339a934332ed1a679c4982c95b86b0e81d559e5c193d01"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createSizers (cyclomatic 17, cognitive 18): createSizers has cyclomatic complexity 17 and cognitive complexity 18; 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/webapp/mxgraph/src/handler/mxVertexHandler.js"},"region":{"startLine":2303}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceba5a1e8cd1ee55b72def3a6ee6162ce566138744d948a0939b47652f3ec257"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 17): (anonymous) has cyclomatic complexity 17 and cognitive complexity 17; 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/webapp/js/diagramly/App.js"},"region":{"startLine":6179}}}],"partialFingerprints":{"codehealthFindingId/v1":"3258855ac48c1c63851354b6c29e3d8107ca302a6cba33a93a66d3497c0fe7bf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getEdgeLabel (cyclomatic 17, cognitive 17): getEdgeLabel has cyclomatic complexity 17 and cognitive complexity 17; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":40916}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4fbe540f0f5f65be6dc7673c3775b1af628a203db3fd67ee1a7d137f7411c42"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function doExport (cyclomatic 17, cognitive 17): doExport has cyclomatic complexity 17 and cognitive complexity 17; 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/webapp/js/diagramly/gif/AnimatedExport.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"f131f8bd2a99e6efe448a58473c98f5b646e6e5249a40c2969f1b048f6fe3848"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 17): (anonymous) has cyclomatic complexity 17 and cognitive complexity 17; 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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":11702}}}],"partialFingerprints":{"codehealthFindingId/v1":"97b93a0fb0b142104a869fb67d3d91805be1c633b00409d87e8a9ac549701210"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function blockedAncestorFrames (cyclomatic 17, cognitive 16): blockedAncestorFrames has cyclomatic complexity 17 and cognitive complexity 16; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/GraphViewer.js"},"region":{"startLine":3607}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d30b30c4437b289751d86457fc40c80652c1d41cd8897910ce22e17132befb6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PageSetupDialog (cyclomatic 17, cognitive 16): PageSetupDialog has cyclomatic complexity 17 and cognitive complexity 16; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/grapheditor/Editor.js"},"region":{"startLine":3471}}}],"partialFingerprints":{"codehealthFindingId/v1":"22de49fb5318e8aa7d856285efffeb3856306d1bd119c7706f03089094a59db6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paintTopInner (cyclomatic 17, cognitive 16): paintTopInner has cyclomatic complexity 17 and cognitive complexity 16; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":7070}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e41f2671a5609c69f0a01e57f4b0cf12aee97d4ffa3db111c8e4290a73a2a0c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paintRightInner (cyclomatic 17, cognitive 16): paintRightInner has cyclomatic complexity 17 and cognitive complexity 16; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":7124}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9b9682e259479f5fde81886f4cd0a62fbef2c94247f71b66ce82ab427201bd0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paintLeftInner (cyclomatic 17, cognitive 16): paintLeftInner has cyclomatic complexity 17 and cognitive complexity 16; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":7157}}}],"partialFingerprints":{"codehealthFindingId/v1":"2754d51817de63702772a431ca68073c0872c1cc05c9043744b5e3e7e9736ba3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paintBottomInner (cyclomatic 17, cognitive 16): paintBottomInner has cyclomatic complexity 17 and cognitive complexity 16; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":7211}}}],"partialFingerprints":{"codehealthFindingId/v1":"07a2fbe0f3321309eb65d36df6192c24dde061a79cd6e3f0583970f868a92c15"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paintSWInner (cyclomatic 17, cognitive 16): paintSWInner has cyclomatic complexity 17 and cognitive complexity 16; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":7240}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc051136732837680e2bdeded36071e5f3cac2ee59157b8faeaf418747a8741c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mxText (cyclomatic 17, cognitive 16): mxText has cyclomatic complexity 17 and cognitive complexity 16; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/mxgraph/src/shape/mxText.js"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad307100804acc000eaae0d14c3e97db3ae7101c764703f3263f3d308861adcd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isTextShapeInvalid (cyclomatic 17, cognitive 16): isTextShapeInvalid has cyclomatic complexity 17 and cognitive complexity 16; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/mxgraph/src/view/mxCellRenderer.js"},"region":{"startLine":1242}}}],"partialFingerprints":{"codehealthFindingId/v1":"291d39fe26bcff05ef41e88cdc9d7ec28d5318305770e0d1a1bd3a580b5f6a04"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paintNW (cyclomatic 17, cognitive 15): paintNW has cyclomatic complexity 17 and cognitive complexity 15; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":6901}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1615a4cf0c26a6dfe4c90e063e90a0f57869ebb42b3ef87ec3e640a3629650d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paintNE (cyclomatic 17, cognitive 15): paintNE has cyclomatic complexity 17 and cognitive complexity 15; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":6938}}}],"partialFingerprints":{"codehealthFindingId/v1":"c80e9733a9886bd483f5862c9cf8bc7f7207cc8ecfe2f9ee9ef9c74217ea2b20"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paintSE (cyclomatic 17, cognitive 15): paintSE has cyclomatic complexity 17 and cognitive complexity 15; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":6987}}}],"partialFingerprints":{"codehealthFindingId/v1":"8272037450f33d121b038f12a5be81f8b33d99b260df484cb0a2527d98c192e2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paintSW (cyclomatic 17, cognitive 15): paintSW has cyclomatic complexity 17 and cognitive complexity 15; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":7024}}}],"partialFingerprints":{"codehealthFindingId/v1":"2648758f0acb94bbb36249a3d1fda748348ffcb4afef30310005b7a878c8d23c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createDragSource (cyclomatic 17, cognitive 15): createDragSource has cyclomatic complexity 17 and cognitive complexity 15; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":6440}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3a02ae8867de4bfe8a4404b56d828de6bd4ef330b4edaad7b70433fd9682b1b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getDockZone (cyclomatic 17, cognitive 14): getDockZone has cyclomatic complexity 17 and cognitive complexity 14; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":25840}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfdb8112cb2ce727cf6c76d3ffc90068c351a36a495c43709f554c68f4d08c50"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function moveSWInner (cyclomatic 17, cognitive 14): moveSWInner has cyclomatic complexity 17 and cognitive complexity 14; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":7269}}}],"partialFingerprints":{"codehealthFindingId/v1":"86ce9b2cb08dfe2c5c01fb6daf0d47fa8456509af1baf95a3bcbf32de7b7d87b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function lineSWInner (cyclomatic 17, cognitive 14): lineSWInner has cyclomatic complexity 17 and cognitive complexity 14; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":7291}}}],"partialFingerprints":{"codehealthFindingId/v1":"a71b63a2260c42e967eb70e00021c79fa2ca636ee3d3bd4adbfdf1a8f2b66cd3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function moveSEInner (cyclomatic 17, cognitive 14): moveSEInner has cyclomatic complexity 17 and cognitive complexity 14; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":7313}}}],"partialFingerprints":{"codehealthFindingId/v1":"606c75ace465c86a82cfcdd0ce05bb0beb5f50545d77aad4ce8fbf82e2dfaf98"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function lineSEInner (cyclomatic 17, cognitive 14): lineSEInner has cyclomatic complexity 17 and cognitive complexity 14; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":7335}}}],"partialFingerprints":{"codehealthFindingId/v1":"527b624f828e9cffd42d3662c6ae66e7b4dd47832ec7bd6cc1d989b959135d24"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setGeometry (cyclomatic 17, cognitive 13): setGeometry has cyclomatic complexity 17 and cognitive complexity 13; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/LayoutPicker.js"},"region":{"startLine":854}}}],"partialFingerprints":{"codehealthFindingId/v1":"cce69b51b54c7a13ff1a1cf940989994a15d2ecfb0e3741ad72ba8a4ee4aa906"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 12): (anonymous) has cyclomatic complexity 17 and cognitive complexity 12; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/Pages.js"},"region":{"startLine":4537}}}],"partialFingerprints":{"codehealthFindingId/v1":"45d8351213cdc23e84c7906eb937d58337919f513952afda1fde643b8551d111"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function liftLegacyLayers (cyclomatic 16, cognitive 45): liftLegacyLayers has cyclomatic complexity 16 and cognitive complexity 45; 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":8198}}}],"partialFingerprints":{"codehealthFindingId/v1":"95c73b2dc424a59676f3f7685cfc120dc0df724b3e9415c68a48e257cd70de0c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scrollRectToVisible (cyclomatic 16, cognitive 44): scrollRectToVisible has cyclomatic complexity 16 and cognitive complexity 44; 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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":8911}}}],"partialFingerprints":{"codehealthFindingId/v1":"01b59277216e643284c936b32b7985c7ff0e2b9b4bda3f1e54847a754ae5ce02"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateInheritedLabelValues (cyclomatic 16, cognitive 42): updateInheritedLabelValues has cyclomatic complexity 16 and cognitive complexity 42; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":19094}}}],"partialFingerprints":{"codehealthFindingId/v1":"337a804b38ee7212d5a06c21170c6baecd89cbe724ad4cc4b9470eaae143d694"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getRoutingPoints (cyclomatic 16, cognitive 41): getRoutingPoints has cyclomatic complexity 16 and cognitive complexity 41; 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":4117}}}],"partialFingerprints":{"codehealthFindingId/v1":"83cc5f0dfdc91026377136f9e001f93e84b70cf0d218c0d6f18ad44aa49e8ca6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renameSvgPageIds (cyclomatic 16, cognitive 41): renameSvgPageIds has cyclomatic complexity 16 and cognitive complexity 41; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":2634}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4249d93a07a5c773397770c5d5abf1d29d231a0fb8709898885e757c72710c3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getXmlFileData (cyclomatic 16, cognitive 40): getXmlFileData has cyclomatic complexity 16 and cognitive complexity 40; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":3173}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6359d3a25a3dcad0985a6d5848f9619878a51fa2dbf829faed6a59a0b1343c7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 37): (anonymous) has cyclomatic complexity 16 and cognitive complexity 37; 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/webapp/js/diagramly/DriveClient.js"},"region":{"startLine":2594}}}],"partialFingerprints":{"codehealthFindingId/v1":"675320ef97fb0a428854c2dccee8a61a9771a3c5de51b0cd637a64359e77d570"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getShapeMatches (cyclomatic 16, cognitive 36): getShapeMatches has cyclomatic complexity 16 and cognitive complexity 36; 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/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":1314}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4dfa1d9e2f4abd097b312b865c25144f517cbb9bc75263bbb632e69da694cb9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderTransform (cyclomatic 16, cognitive 35): renderTransform has cyclomatic complexity 16 and cognitive complexity 35; 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/webapp/js/diagramly/ForceExplorer.js"},"region":{"startLine":4146}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f76a5193566e337024ef3e3ee702154cd7cb763f91bc6cbd6395f553c6f5c96"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyStyleRules (cyclomatic 16, cognitive 35): applyStyleRules has cyclomatic complexity 16 and cognitive complexity 35; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":18654}}}],"partialFingerprints":{"codehealthFindingId/v1":"f33e1fecdfe175ade503dd3883796be6ed5d7cb3d15c7c9fa803611d1fd8f0ca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isDiagramDataEmpty (cyclomatic 16, cognitive 34): isDiagramDataEmpty has cyclomatic complexity 16 and cognitive complexity 34; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":1183}}}],"partialFingerprints":{"codehealthFindingId/v1":"48a829a545915ab893f68b2e6c20d29f7c928541c23a6e59b9a60ad29376ab7b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function saveBase (cyclomatic 16, cognitive 34): saveBase has cyclomatic complexity 16 and cognitive complexity 34; 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/webapp/js/diagramly/tidy/TidyWindow.js"},"region":{"startLine":929}}}],"partialFingerprints":{"codehealthFindingId/v1":"62b4e51c36f6fd885f7b282ba8087ee557aa729ef4d3f152aee8aeee7504da18"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function removeUserDefinedDarkColors (cyclomatic 16, cognitive 33): removeUserDefinedDarkColors has cyclomatic complexity 16 and cognitive complexity 33; 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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":1947}}}],"partialFingerprints":{"codehealthFindingId/v1":"7829ba5aa491284b61ce8ee94a8d91327d386edf2a8849eabd74d308facd50bb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addFlowAnimationToNode (cyclomatic 16, cognitive 32): addFlowAnimationToNode has cyclomatic complexity 16 and cognitive complexity 32; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":23581}}}],"partialFingerprints":{"codehealthFindingId/v1":"1614e54ee5a8755bef94c31a243e00e65a8d0c985513b9a6ba01cb9f8a2a2d08"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cellsRemoved (cyclomatic 16, cognitive 32): cellsRemoved has cyclomatic complexity 16 and cognitive complexity 32; 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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":5177}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5b519cff29fe1a27aa6585b65c661db521f55e943d7189f0db1003ef738238e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getPoint (cyclomatic 16, cognitive 32): getPoint has cyclomatic complexity 16 and cognitive complexity 32; 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/webapp/mxgraph/src/view/mxGraphView.js"},"region":{"startLine":4093}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f17be1cdc2240c7c8ed7380ab24379d07ceb53c815f65e1d371e9e48908721b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function selectCell (cyclomatic 16, cognitive 31): selectCell has cyclomatic complexity 16 and cognitive complexity 31; 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/webapp/js/diagramly/Trees.js"},"region":{"startLine":1492}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ff4d36c840316ac58d8d6a434a438a8d61a49e8e9cd5df80f6181149d5cfffa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getState (cyclomatic 16, cognitive 31): getState has cyclomatic complexity 16 and cognitive complexity 31; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":24849}}}],"partialFingerprints":{"codehealthFindingId/v1":"e18d076514035821107a8a89e373a483adf4d7ae50d93e178f858cf08068cd29"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function selectCell (cyclomatic 16, cognitive 31): selectCell has cyclomatic complexity 16 and cognitive complexity 31; 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/webapp/plugins/trees/trees.js"},"region":{"startLine":798}}}],"partialFingerprints":{"codehealthFindingId/v1":"993e2124a8b025ac9cd03ccbd2eb1bdb863b4361b7fff623465087426323d0fa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateEndpoint (cyclomatic 16, cognitive 30): updateEndpoint has cyclomatic complexity 16 and cognitive complexity 30; 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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":6476}}}],"partialFingerprints":{"codehealthFindingId/v1":"0863f328f289f461a954bbf0633870d9aebb6b6acab0e8eed4ed9641972fa829"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 30): (anonymous) has cyclomatic complexity 16 and cognitive complexity 30; 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/webapp/js/diagramly/OneDriveClient.js"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"8190f6527ae285570baa4e7f19ac53d571f1d324a562f9cea8362f63efbfacc4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function openLink (cyclomatic 16, cognitive 29): openLink has cyclomatic complexity 16 and cognitive complexity 29; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":12522}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec316f3b16e083f075e3674d717a70d4d098fae3b29c70c9ea158756e486f1ed"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setTieClones (cyclomatic 16, cognitive 29): setTieClones has cyclomatic complexity 16 and cognitive complexity 29; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":33267}}}],"partialFingerprints":{"codehealthFindingId/v1":"e998a3a7460995a8a44dd96b5a02de9372c82a178c8bdb73cf53c28fcab0bae0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 29): (anonymous) has cyclomatic complexity 16 and cognitive complexity 29; 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/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":2958}}}],"partialFingerprints":{"codehealthFindingId/v1":"30609c2649026e9e0128cf95cbcecbb19c41d43032b3d3baf0192f1f641ad1cc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseAnimationScript (cyclomatic 16, cognitive 28): parseAnimationScript has cyclomatic complexity 16 and cognitive complexity 28; 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/webapp/js/diagramly/Editor.js"},"region":{"startLine":15440}}}],"partialFingerprints":{"codehealthFindingId/v1":"da1c50650eeb2949535f33a037abf8e44df05423ca4d59fda99b34b1c45fb4d1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectTreeRemoval (cyclomatic 16, cognitive 28): collectTreeRemoval has cyclomatic complexity 16 and cognitive complexity 28; 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/webapp/js/diagramly/Trees.js"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"847440dda4633b0f5b17d1b3e7919bc7e93d270f42bcdf47643a379a05cb8566"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getOutlineConstraint (cyclomatic 16, cognitive 28): getOutlineConstraint has cyclomatic complexity 16 and cognitive complexity 28; 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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":7216}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc69d62f53b4a4e856df0911483a5f85a5061ee994bca19596b17226873c3d5d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collect (cyclomatic 16, cognitive 27): collect has cyclomatic complexity 16 and cognitive complexity 27; 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/webapp/js/diagramly/tidy/Tidy.js"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbed6716819c45bf4e2ec778babf3be1714852eb4b9475a4583f47fd79660bcb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getCellElement$java_lang_String$java_lang_String$java_lang_String (cyclomatic 16, cognitive 27): getCellElement$java_lang_String$java_lang_String$java_lang_String has cyclomatic complexity 16 and cognitive complexity 27; 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":9619}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d05fcb55498179ffcfb79352cb80cbaa961e735b37b1251bd25bcd948dfcc5e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getZoomSteps (cyclomatic 16, cognitive 27): getZoomSteps has cyclomatic complexity 16 and cognitive complexity 27; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":22149}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ae77b34ff7acff1ffb0ad45d252c1186253e3e1c94dbeda3349f09368377b6d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getLabelBoxSize (cyclomatic 16, cognitive 27): getLabelBoxSize has cyclomatic complexity 16 and cognitive complexity 27; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":30198}}}],"partialFingerprints":{"codehealthFindingId/v1":"ede9e970c62e4674ad81eedc43ced61c8a366a32120bda19e500c6d471ac1d02"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function refresh (cyclomatic 16, cognitive 27): refresh has cyclomatic complexity 16 and cognitive complexity 27; 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/webapp/mxgraph/src/handler/mxEdgeHandler.js"},"region":{"startLine":2981}}}],"partialFingerprints":{"codehealthFindingId/v1":"94b658ca5e7dcdc2f2120028b0042a65f2694e6422c64d7983a90cbce3b49aba"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function catchup (cyclomatic 16, cognitive 26): catchup has cyclomatic complexity 16 and cognitive complexity 26; 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/webapp/js/diagramly/DrawioFileSync.js"},"region":{"startLine":3614}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fd36343715385c914d581ad4808e1cb7c0172ec3324c6f351a6f2f00c31f64b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getClassicStyleEntries (cyclomatic 16, cognitive 26): getClassicStyleEntries has cyclomatic complexity 16 and cognitive complexity 26; 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/webapp/js/diagramly/Editor.js"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7c2ade2ad3ec1f248b978f77ee845efea66b2614228dd5805b51db8d761202f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function moveDraggedTabsOutsideGroups (cyclomatic 16, cognitive 26): moveDraggedTabsOutsideGroups has cyclomatic complexity 16 and cognitive complexity 26; 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/webapp/js/diagramly/Pages.js"},"region":{"startLine":3775}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed22c113a80c04fef412819cdc2a9b5919c5721256b4de87825ae71625337a54"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paintVertexShape (cyclomatic 16, cognitive 26): paintVertexShape has cyclomatic complexity 16 and cognitive complexity 26; 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/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":8157}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ba11cee5f5c880ba088b47cad80871c75a1a2696054b9cb9b9f3e4dd86f1adc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseCsvList (cyclomatic 16, cognitive 25): parseCsvList has cyclomatic complexity 16 and cognitive complexity 25; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":39512}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a6f9db618d52d22f1b960619de90a607a3395deb0c64f13bbec36b2d1a6ec24"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function importState (cyclomatic 16, cognitive 25): importState has cyclomatic complexity 16 and cognitive complexity 25; 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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":7300}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c29088947a7812f7555e03abc68fabaf6856ecadaf58fc75fe95f35d9c5cafe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processAnonymousInlineRun (cyclomatic 16, cognitive 25): processAnonymousInlineRun has cyclomatic complexity 16 and cognitive complexity 25; 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/webapp/mxgraph/src/util/mxUtils.js"},"region":{"startLine":6366}}}],"partialFingerprints":{"codehealthFindingId/v1":"209e806a9747c3f298b9a3470ed4cc6cd6f82ad37b7f98f0731b5197b283cdc6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function App (cyclomatic 16, cognitive 24): App has cyclomatic complexity 16 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/webapp/js/diagramly/App.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"caabd4d54313fc8da39d596e011b48841551859461036bd4945428672f21b5c3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 24): (anonymous) has cyclomatic complexity 16 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":27123}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5b848f672c44aa9ffb0dbc567736828e73048e63c15fee068e35803e17863a0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toggleFlowAnimation (cyclomatic 16, cognitive 24): toggleFlowAnimation has cyclomatic complexity 16 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/webapp/js/diagramly/Editor.js"},"region":{"startLine":16200}}}],"partialFingerprints":{"codehealthFindingId/v1":"98870504bb4451cff10a09099b162aa268336fd0000f94f1a7c229c10f9bdd3c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mergeMermaidStyleDelta (cyclomatic 16, cognitive 24): mergeMermaidStyleDelta has cyclomatic complexity 16 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":15151}}}],"partialFingerprints":{"codehealthFindingId/v1":"3395bc43256aa42ea941c82a228b9cb2746e2ccfaaca9606404968418ade1e02"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getOrigin (cyclomatic 16, cognitive 24): getOrigin has cyclomatic complexity 16 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/webapp/js/diagramly/GraphViewer.js"},"region":{"startLine":3483}}}],"partialFingerprints":{"codehealthFindingId/v1":"317d0169037cdb0299f94ab12b8d98255d9ee9616e83ca9797286e9d74296d02"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getLayoutScope (cyclomatic 16, cognitive 24): getLayoutScope has cyclomatic complexity 16 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/webapp/js/diagramly/LayoutPicker.js"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb1006a62386de05abc9ace0b0a215b48f0d90c6d6ed70f9180d25266102d396"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getPaletteStyle (cyclomatic 16, cognitive 24): getPaletteStyle has cyclomatic complexity 16 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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":3356}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ae85939b552a7560eb3cd0e08c2acb50af0ed4a0b1de1b51779cb5cc7547cd4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadFromContext (cyclomatic 16, cognitive 23): loadFromContext has cyclomatic complexity 16 and cognitive complexity 23; 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":14411}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a60d9365c8c01e0c14f6f5936300ea6af876b08daa7052863875485dee353e9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 23): (anonymous) has cyclomatic complexity 16 and cognitive complexity 23; 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/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":6487}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3fe7762617693e9b2d0c1a56d383471169f3de1d8c4ef9c545cd159bfe7234c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function start (cyclomatic 16, cognitive 23): start has cyclomatic complexity 16 and cognitive complexity 23; 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/webapp/mxgraph/src/handler/mxEdgeHandler.js"},"region":{"startLine":1008}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c91073d29949d3dee0936c89608461bb16517f84618250c0318cc0b0d153ad3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paintVertexShape (cyclomatic 16, cognitive 23): paintVertexShape has cyclomatic complexity 16 and cognitive complexity 23; 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/webapp/shapes/mxCiscoSafe.js"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"872c6d70cea0023daf0b184a3eec0fa78df094c662a8ebe152ad9c37bfcfa441"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 22): (anonymous) has cyclomatic complexity 16 and cognitive complexity 22; 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/webapp/js/diagramly/Editor.js"},"region":{"startLine":10202}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ecc3e878d015f245bf812b8064621a20b29f7048d227da5a93435ca6f8691fc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 22): (anonymous) has cyclomatic complexity 16 and cognitive complexity 22; 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/webapp/js/diagramly/OneDriveClient.js"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a6bdef5dfb0ec52e767e9ddfc273f458f34730da692d6ff009fcc1149a93783"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getPlainTextGroup (cyclomatic 16, cognitive 22): getPlainTextGroup has cyclomatic complexity 16 and cognitive complexity 22; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":30129}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fcb158d7780bbca4a42df02501851a4e9add682582bd3c1aa81dc3084943db7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getCurrentValue (cyclomatic 16, cognitive 22): getCurrentValue has cyclomatic complexity 16 and cognitive complexity 22; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":47154}}}],"partialFingerprints":{"codehealthFindingId/v1":"d25c3c969ee6c509a8071344889110787186525d49e1edf091d6a7cf529d4bec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 21): (anonymous) has cyclomatic complexity 16 and cognitive complexity 21; 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/webapp/js/diagramly/GraphViewer.js"},"region":{"startLine":1413}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3c6f606e5536f58cca439672dc7661f5881d5e275b64438287f915ce9abf9cf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createCssRuleMatcher (cyclomatic 16, cognitive 21): createCssRuleMatcher has cyclomatic complexity 16 and cognitive complexity 21; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":6040}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a8dd2825ef9b423344e7a6c317c053abdd96de89f595198e12617331e6b8e8f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getFormatControls (cyclomatic 16, cognitive 21): getFormatControls has cyclomatic complexity 16 and cognitive complexity 21; 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/webapp/js/grapheditor/Omnibox.js"},"region":{"startLine":1463}}}],"partialFingerprints":{"codehealthFindingId/v1":"34b76ed6c0b491b8c3877ce09375bdb9a08961b8600acedac3eeafd42c170d88"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateInvalidCell (cyclomatic 16, cognitive 21): validateInvalidCell has cyclomatic complexity 16 and cognitive complexity 21; 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/webapp/mxgraph/src/view/mxGraphView.js"},"region":{"startLine":1589}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd4edf30b8c356906774f3c09769275ba7219d9db00c5065f52d20e5c3cd33e5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function EllipsePerimeter (cyclomatic 16, cognitive 21): EllipsePerimeter has cyclomatic complexity 16 and cognitive complexity 21; 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/webapp/mxgraph/src/view/mxPerimeter.js"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf49db4b97dfc175ce5fd7d9f3a82e19bec4937cd22595f36498d746dd9acf60"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function focusInDirection (cyclomatic 16, cognitive 20): focusInDirection has cyclomatic complexity 16 and cognitive complexity 20; 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/webapp/js/diagramly/ForceExplorer.js"},"region":{"startLine":1350}}}],"partialFingerprints":{"codehealthFindingId/v1":"214988fb05ba1cf947d686c4858153251ec450f205ebcf53abe4e92069a2f1a2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateFill (cyclomatic 16, cognitive 20): updateFill has cyclomatic complexity 16 and cognitive complexity 20; 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/webapp/mxgraph/src/util/mxSvgCanvas2D.js"},"region":{"startLine":1309}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b32dc433ce5969b8ac2966f27105c43a2dba0521ab40b7cd3b153aef0960078"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addLine (cyclomatic 16, cognitive 19): addLine has cyclomatic complexity 16 and cognitive complexity 19; 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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":6805}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2ce1c23d608929a06b9d90806b30c696511d9ecb06b9f38b37c76d7052c183d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function refreshMenu (cyclomatic 16, cognitive 19): refreshMenu has cyclomatic complexity 16 and cognitive complexity 19; 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/webapp/js/diagramly/Minimal.js"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"5077e462008cc80f9693551910d76edff7313c04d35a99a96f220dfe877a9d64"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function absorbUnconfirmedRepairs (cyclomatic 16, cognitive 18): absorbUnconfirmedRepairs has cyclomatic complexity 16 and cognitive complexity 18; 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/webapp/js/diagramly/DrawioFile.js"},"region":{"startLine":1274}}}],"partialFingerprints":{"codehealthFindingId/v1":"659624ae6027c90667edfb0af474eb372460c32e3fa663b90b91962071ed2bdd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decodeFast$char_A (cyclomatic 16, cognitive 18): decodeFast$char_A has cyclomatic complexity 16 and cognitive complexity 18; 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":15040}}}],"partialFingerprints":{"codehealthFindingId/v1":"495fa31793a9b2ebdc94d89928961243f696c7156b52a2bed548a06e2e46fc6d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decodeFast$byte_A (cyclomatic 16, cognitive 18): decodeFast$byte_A has cyclomatic complexity 16 and cognitive complexity 18; 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":15177}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdfa7255cedb75a1ba34dbafdc01d9e1cd82d4caeb4f4a1bb1cbfc066a94f87b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decodeFast$java_lang_String (cyclomatic 16, cognitive 18): decodeFast$java_lang_String has cyclomatic complexity 16 and cognitive complexity 18; 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":15264}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e3f2d2d7ed4242d11609aed6b5a4d8ed5cb7f02caebdd212dd90315ca9553fa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setDefaultStyle (cyclomatic 16, cognitive 18): setDefaultStyle has cyclomatic complexity 16 and cognitive complexity 18; 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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5447334bc100bc1fe61ae27565df0a39a3faba0697e5ffaa3d425f380113b97"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fitGroupToChildren (cyclomatic 16, cognitive 18): fitGroupToChildren has cyclomatic complexity 16 and cognitive complexity 18; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":21354}}}],"partialFingerprints":{"codehealthFindingId/v1":"17e8c5797a926882dbc4ad9529d8a2203a9f4141d1ee7645fe15346ae1606a20"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addHandleBounds (cyclomatic 16, cognitive 18): addHandleBounds has cyclomatic complexity 16 and cognitive complexity 18; 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/webapp/js/grapheditor/InlineToolbar.js"},"region":{"startLine":978}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f9d4325d040a2349639117579cfb132669a838da255facb9122b136f6361613"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ChatWindow (cyclomatic 16, cognitive 17): ChatWindow has cyclomatic complexity 16 and cognitive complexity 17; 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":11644}}}],"partialFingerprints":{"codehealthFindingId/v1":"21d6b975cb35a3b6adba5e58e3304d1653147301fe85a1dc103c8eb679dc8deb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 17): (anonymous) has cyclomatic complexity 16 and cognitive complexity 17; 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":23675}}}],"partialFingerprints":{"codehealthFindingId/v1":"252cad45fcea116e0a96b5d517f5f6c34c0bd0f97ea5cb61e708fc37f0668a7c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getPosition (cyclomatic 16, cognitive 17): getPosition has cyclomatic complexity 16 and cognitive complexity 17; 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/webapp/js/grapheditor/InlineToolbar.js"},"region":{"startLine":1238}}}],"partialFingerprints":{"codehealthFindingId/v1":"555438a45e1ed5c420d8a05f8d8c07af755e900f8b21c64608063b3354eea638"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rotateLabelBounds (cyclomatic 16, cognitive 17): rotateLabelBounds has cyclomatic complexity 16 and cognitive complexity 17; 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/webapp/mxgraph/src/view/mxCellRenderer.js"},"region":{"startLine":1462}}}],"partialFingerprints":{"codehealthFindingId/v1":"231ee5bc60a34c73ed49c1bfce33adc57e2e9d5cacc81b2302724e28e89baee1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateEdgeState (cyclomatic 16, cognitive 17): updateEdgeState has cyclomatic complexity 16 and cognitive complexity 17; 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/webapp/mxgraph/src/view/mxGraphView.js"},"region":{"startLine":2767}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f183c36cf21edf13d6c8d3f881e23f0c00f4df57e45d0b97fdd596ebe5a445c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 16): (anonymous) has cyclomatic complexity 16 and cognitive complexity 16; 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":4714}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb50b0a0e84cc092a8cbe000f945aa7e0977c58150e6e4497d8096ebeb8685de"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isSelfContainedSvg (cyclomatic 16, cognitive 16): isSelfContainedSvg has cyclomatic complexity 16 and cognitive complexity 16; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":20669}}}],"partialFingerprints":{"codehealthFindingId/v1":"53b32c54d18b0d2450f3f3069e16dbc81765404de9ec1fcf1bf9b442073d2fa2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 16): (anonymous) has cyclomatic complexity 16 and cognitive complexity 16; 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/webapp/js/diagramly/Menus.js"},"region":{"startLine":6023}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4ffe13d2b4a650ec8e2ee6b4000559e1f0539654ef7927a92ad7b292c477e2b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveColor (cyclomatic 16, cognitive 16): resolveColor has cyclomatic complexity 16 and cognitive complexity 16; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":28198}}}],"partialFingerprints":{"codehealthFindingId/v1":"b44bda0be49a0c8185987ecd6f5986a7e6e0c733382dda273a8d93606bc25810"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getCellBounds (cyclomatic 16, cognitive 16): getCellBounds has cyclomatic complexity 16 and cognitive complexity 16; 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/webapp/js/grapheditor/InlineToolbar.js"},"region":{"startLine":1081}}}],"partialFingerprints":{"codehealthFindingId/v1":"90fe3f3b55bc48ce15776f80e5e96966246c7e37834a7cdc7f6e02d9ca3d3673"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DataSourceDialog (cyclomatic 16, cognitive 15): DataSourceDialog has cyclomatic complexity 16 and cognitive complexity 15; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":23065}}}],"partialFingerprints":{"codehealthFindingId/v1":"6175e42a480ef38d150229f7207dd53a21e3eaf59efa3f06ddbe5b0b4c50659f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 15): (anonymous) has cyclomatic complexity 16 and cognitive complexity 15; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/Editor.js"},"region":{"startLine":7153}}}],"partialFingerprints":{"codehealthFindingId/v1":"06ffc2750618b317828302ea67620dea82665c31d38eddcdbb76ac35751df145"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractMermaidDeclaration (cyclomatic 16, cognitive 15): extractMermaidDeclaration has cyclomatic complexity 16 and cognitive complexity 15; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":15588}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0d1dddb7cc6c9370e4ee986a88dc8a4b4cce386d248bad70f5068a84c07d728"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pinToEdge (cyclomatic 16, cognitive 15): pinToEdge has cyclomatic complexity 16 and cognitive complexity 15; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":25973}}}],"partialFingerprints":{"codehealthFindingId/v1":"b261ace051852fdd5c61044d02dacda93cc01124b0e4950b82b1f6eb6f71b8f0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function funct (cyclomatic 16, cognitive 15): funct has cyclomatic complexity 16 and cognitive complexity 15; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/Menus.js"},"region":{"startLine":3488}}}],"partialFingerprints":{"codehealthFindingId/v1":"7966bea3a36ed4321fc5e3139e40081ec7786af5bb251080729a692db7c78a5f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 15): (anonymous) has cyclomatic complexity 16 and cognitive complexity 15; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":35213}}}],"partialFingerprints":{"codehealthFindingId/v1":"641aeb42fbb0791a099a64ad2b10dc9f7ea7add856c1bd724a17e123223ed9ed"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paintVertexShape (cyclomatic 16, cognitive 15): paintVertexShape has cyclomatic complexity 16 and cognitive complexity 15; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d952ee7ccd3949ec18b7b478c1658a2b0458505b5f8b2a2e53071ad1941cc1e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function growContainers (cyclomatic 16, cognitive 14): growContainers has cyclomatic complexity 16 and cognitive complexity 14; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":21752}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6e6d48be15a49e10772b09877466b532494a04854c27dc6f22f4ce09650ba5f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 14): (anonymous) has cyclomatic complexity 16 and cognitive complexity 14; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":45586}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb1b167104d33e28852b69f2547ce82f0ef266b32cbb3a11a2fa5fd3f7b7c5dc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateVisibility (cyclomatic 16, cognitive 13): updateVisibility has cyclomatic complexity 16 and cognitive complexity 13; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":54016}}}],"partialFingerprints":{"codehealthFindingId/v1":"beef9f80676ed6fd104bb8da489f991ab89e56c7762e852cede40fba5c287ecc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function shapeFrame (cyclomatic 16, cognitive 13): shapeFrame has cyclomatic complexity 16 and cognitive complexity 13; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/libavoid-js/libavoid-routing.js"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"a08a39f6d2f882d946592d51b8f31cda24981c7e1c9612dc63af801e3eb7e0ee"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseViewBox (cyclomatic 16, cognitive 12): parseViewBox has cyclomatic complexity 16 and cognitive complexity 12; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":31409}}}],"partialFingerprints":{"codehealthFindingId/v1":"b57e16a6135ddb80c830cf67fdbd634e0186fe9073552f6aba1661dac967424d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getConnectionConstraintForPoint (cyclomatic 16, cognitive 12): getConnectionConstraintForPoint has cyclomatic complexity 16 and cognitive complexity 12; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":35903}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e4a48dbc10b8b2f73fb642c189c2a4404f09821825b898f5c6f9601777a63ae"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getStateBounds (cyclomatic 15, cognitive 58): getStateBounds has cyclomatic complexity 15 and cognitive complexity 58; 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/webapp/mxgraph/src/handler/mxGraphHandler.js"},"region":{"startLine":839}}}],"partialFingerprints":{"codehealthFindingId/v1":"59f5734ff7349997a046efe84dd606f2204a39b38d5f89c3b031b936137fb0df"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectLeaves (cyclomatic 15, cognitive 47): collectLeaves has cyclomatic complexity 15 and cognitive complexity 47; 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/webapp/mxgraph/src/util/mxSvgCanvas2D.js"},"region":{"startLine":2603}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccea5fe0b818e83fe04db2ffbd4f346e5f4f0f87f048976753230d757891f419"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resetScrollbars (cyclomatic 15, cognitive 42): resetScrollbars has cyclomatic complexity 15 and cognitive complexity 42; 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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":8448}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fbf3c8ccc3afce2807cf79ec2047c94eb6b7614910f649524301121474dc7e3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyStyleVal (cyclomatic 15, cognitive 41): applyStyleVal has cyclomatic complexity 15 and cognitive complexity 41; 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/webapp/js/diagramly/Editor.js"},"region":{"startLine":9276}}}],"partialFingerprints":{"codehealthFindingId/v1":"bed39db5d7a20855c8fe48906fbc692aa0cd88dab0967f864bb229756824fda4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isEntryVisible (cyclomatic 15, cognitive 41): isEntryVisible has cyclomatic complexity 15 and cognitive complexity 41; 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/webapp/js/diagramly/sidebar/Sidebar.js"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"919b93d187af099e9241f3a75084977936614444eda8817ae60806e5a4e7a50e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectAnnotRects (cyclomatic 15, cognitive 41): collectAnnotRects has cyclomatic complexity 15 and cognitive complexity 41; 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/webapp/js/export.js"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a7b23d528fdb04cf2e83ac6f897ca8919112aa36073e3f2dfbad64e81668127"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resizeRotatedGroupChildren (cyclomatic 15, cognitive 39): resizeRotatedGroupChildren has cyclomatic complexity 15 and cognitive complexity 39; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":37323}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0e029d3b3f8e8b42ca62da055de69e53b93b834cd4bbd0d3c83567f55fc6c16"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findCommonProperties (cyclomatic 15, cognitive 33): findCommonProperties has cyclomatic complexity 15 and cognitive complexity 33; 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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":1614}}}],"partialFingerprints":{"codehealthFindingId/v1":"da1ed8ff061a39b563e8e5bae7efd3ee6a00487c9bda6fad13898d100fe9f5d6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rotateCell (cyclomatic 15, cognitive 33): rotateCell has cyclomatic complexity 15 and cognitive complexity 33; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":37211}}}],"partialFingerprints":{"codehealthFindingId/v1":"06c4c1f096b94159037e5f02b829a160a9a18a812aa0880aac00c7ee0597f3b8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 31): (anonymous) has cyclomatic complexity 15 and cognitive complexity 31; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":19467}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf172ea8d2d09e061d404ad9a14161ddb4ec6a7f70b8440007b8c4919f42fdda"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 15, cognitive 31): main has cyclomatic complexity 15 and cognitive complexity 31; 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/webapp/js/diagramly/ElectronApp.js"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"8714c3e05076b5182cde38b05ea45b782fffdf032e5c6e8b5d95c4b3a6e2cdaa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getNestedCornerIconOffset (cyclomatic 15, cognitive 31): getNestedCornerIconOffset has cyclomatic complexity 15 and cognitive complexity 31; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":20175}}}],"partialFingerprints":{"codehealthFindingId/v1":"203c39b1275232afc53aba469a63e0e6a57261fddb434b716f5a12040ed069c3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getVisibleCells (cyclomatic 15, cognitive 30): getVisibleCells has cyclomatic complexity 15 and cognitive complexity 30; 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/webapp/js/diagramly/ForceExplorer.js"},"region":{"startLine":2388}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e0283a97514535ceebdb54062cf13651919978596e4a875c7a72d64a2e01298"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getLayoutVertices (cyclomatic 15, cognitive 30): getLayoutVertices has cyclomatic complexity 15 and cognitive complexity 30; 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/webapp/js/diagramly/tidy/Tidy.js"},"region":{"startLine":1558}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf853d03cfea308539c8a7c6270863f74118d578289cb3798a2eec3af326b4b4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getHtmlTextContent (cyclomatic 15, cognitive 30): getHtmlTextContent has cyclomatic complexity 15 and cognitive complexity 30; 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":12310}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc21bc273084774bbb8008277f545662f0f3f57bd5941cf0ac4a4fc7c31e44f9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inlineSingleUseImages (cyclomatic 15, cognitive 29): inlineSingleUseImages has cyclomatic complexity 15 and cognitive complexity 29; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":6231}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8b369b4d992f46cde67c9ec6afe90b5217a08cc63d108fb6b9eaeb4a5cc0eef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mouseUp (cyclomatic 15, cognitive 29): mouseUp has cyclomatic complexity 15 and cognitive complexity 29; 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/webapp/mxgraph/src/handler/mxVertexHandler.js"},"region":{"startLine":1305}}}],"partialFingerprints":{"codehealthFindingId/v1":"1022f9cd0afc54e0506070f77d58bb235ff9224ef867ceb21d3cf1d4fe10b583"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addUnconnectedEdge (cyclomatic 15, cognitive 28): addUnconnectedEdge has cyclomatic complexity 15 and cognitive complexity 28; 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":2472}}}],"partialFingerprints":{"codehealthFindingId/v1":"42cd99a712a4f6002c81a7fa280df1e98c670f4609a83bc3c4d323a7f28e9e83"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getOutlineConstraint (cyclomatic 15, cognitive 28): getOutlineConstraint has cyclomatic complexity 15 and cognitive complexity 28; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":42434}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e23d673c9d45a8c79d5e1216d041a2bfefb3924ca5f68285d638312dd4e4e50"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function disconnectTerminal (cyclomatic 15, cognitive 27): disconnectTerminal has cyclomatic complexity 15 and cognitive complexity 27; 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/webapp/js/diagramly/DiffSync.js"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"bce592963060454c83a43a33b87344aad768f82d909e1b112320a0642e4bce16"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paintStripes (cyclomatic 15, cognitive 27): paintStripes has cyclomatic complexity 15 and cognitive complexity 27; 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/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a17ab1107903b9a293fcbb29f4f7c8800c502223838809ce538d5f5cc93c6ef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseCssSpacing (cyclomatic 15, cognitive 27): parseCssSpacing has cyclomatic complexity 15 and cognitive complexity 27; 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/webapp/mxgraph/src/util/mxUtils.js"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce19ed59673746046bb0a3441b91ed38f1d17f761339dfd1ef9bd97213b86ab3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addGraphFragment (cyclomatic 15, cognitive 27): addGraphFragment has cyclomatic complexity 15 and cognitive complexity 27; 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/webapp/mxgraph/src/view/mxPrintPreview.js"},"region":{"startLine":963}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eba52ac07e7991860920226d0523e76fb895e3f623ff50e9606f7cb27fc2822"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function diffCellRecursive (cyclomatic 15, cognitive 26): diffCellRecursive has cyclomatic complexity 15 and cognitive complexity 26; 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/webapp/js/diagramly/DiffSync.js"},"region":{"startLine":2211}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4079208512919a3ebfeaabc6ea7e1b73176b76b31559570afa6d643773c11ef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processMasterShapes (cyclomatic 15, cognitive 26): processMasterShapes has cyclomatic complexity 15 and cognitive complexity 26; 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":4403}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8cb950f7ad400fd43fe8efccb30aa86c0146c12b5e1149d1e0592dbdff2bfc5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function load (cyclomatic 15, cognitive 26): load has cyclomatic complexity 15 and cognitive complexity 26; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":4101}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0b351760f2426589d5a463bae2c398f4eb41d08a021e9d1d992b27c57ba6b47"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getFlowAnimationPath (cyclomatic 15, cognitive 26): getFlowAnimationPath has cyclomatic complexity 15 and cognitive complexity 26; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":30760}}}],"partialFingerprints":{"codehealthFindingId/v1":"922ccb4ecbbe174585969ab122f347e8312449e2afd2a537bc0f825a10a9892d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function animate (cyclomatic 15, cognitive 26): animate has cyclomatic complexity 15 and cognitive complexity 26; 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/webapp/mxgraph/src/util/mxEffects.js"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d01e5c70c1f7c14c27f62efdc0abe6ff49de115c0b3248b31b6feb9d28a7317"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rotate (cyclomatic 15, cognitive 26): rotate has cyclomatic complexity 15 and cognitive complexity 26; 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/webapp/mxgraph/src/util/mxSvgCanvas2D.js"},"region":{"startLine":1621}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bac23f8204eed70d3af136a064eb23089f143162e528ea3e96aa54f8c3bd6ed"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function descriptorChanged (cyclomatic 15, cognitive 25): descriptorChanged has cyclomatic complexity 15 and cognitive complexity 25; 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/webapp/js/diagramly/App.js"},"region":{"startLine":8783}}}],"partialFingerprints":{"codehealthFindingId/v1":"14f9b9aeac67b1de38edba5b46f755c2b21a7cb5fecf4f4452237e99449be9c7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function drawEmbedImage (cyclomatic 15, cognitive 25): drawEmbedImage has cyclomatic complexity 15 and cognitive complexity 25; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":19626}}}],"partialFingerprints":{"codehealthFindingId/v1":"09a40140224d67647d5c8f73e7bdf8391cf5852f38faeadb4a94850ed5a9fbcb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 25): (anonymous) has cyclomatic complexity 15 and cognitive complexity 25; 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/webapp/js/diagramly/GitLabClient.js"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4ece06cee963d13e471a9d76f1382601bed44a8fa73f6b34787179426aef247"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addAdaptiveColors (cyclomatic 15, cognitive 25): addAdaptiveColors has cyclomatic complexity 15 and cognitive complexity 25; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":2802}}}],"partialFingerprints":{"codehealthFindingId/v1":"d28e922ba80e0f24b843d44334cb8085b6822316887e73d8ac8e81753509dc5c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mouseMove (cyclomatic 15, cognitive 25): mouseMove has cyclomatic complexity 15 and cognitive complexity 25; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":40252}}}],"partialFingerprints":{"codehealthFindingId/v1":"92faa32412775e3da0df7ba064926f379582ea56a9c5a87ebd6d237f8c36ac69"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 24): (anonymous) has cyclomatic complexity 15 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":25369}}}],"partialFingerprints":{"codehealthFindingId/v1":"a895122eb01e46b0b51a719f2d00a6d2e4fc8258064096ed1ecd7117d1ae9b81"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getContinuousPathData (cyclomatic 15, cognitive 24): getContinuousPathData has cyclomatic complexity 15 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":23905}}}],"partialFingerprints":{"codehealthFindingId/v1":"694c536f1844d65ac240298a3a9eca0f8b0edf860527ab6ca539fd2f3ec94568"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addExchange (cyclomatic 15, cognitive 23): addExchange has cyclomatic complexity 15 and cognitive complexity 23; 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":13323}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f125e6ffffe7379e7412f56da10fc2c81f6b86f482305e2130cbe97782ff693"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getCrossReferenceSkip (cyclomatic 15, cognitive 23): getCrossReferenceSkip has cyclomatic complexity 15 and cognitive complexity 23; 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/webapp/js/diagramly/DiffSync.js"},"region":{"startLine":2772}}}],"partialFingerprints":{"codehealthFindingId/v1":"d039ee44b8c35b5707da64bfa665ce9376c46be3f09353342ac2f63c838146fa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleFileError (cyclomatic 15, cognitive 23): handleFileError has cyclomatic complexity 15 and cognitive complexity 23; 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/webapp/js/diagramly/DrawioFile.js"},"region":{"startLine":3680}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1040b4c2f298d294ce75bb91a2da9436a7ac76db52e7b2b976e3883f2827161"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function execute (cyclomatic 15, cognitive 23): execute has cyclomatic complexity 15 and cognitive complexity 23; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":21639}}}],"partialFingerprints":{"codehealthFindingId/v1":"291bd5bcdac628009299bbea1e9a499aa3fef1764fb2225b08f1741f50cfc41c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderAnchorRow (cyclomatic 15, cognitive 23): renderAnchorRow has cyclomatic complexity 15 and cognitive complexity 23; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":44646}}}],"partialFingerprints":{"codehealthFindingId/v1":"46ec4acbfd859a587d5ee688d996b1965bdc3768513aab8a35473b7efb8aedd2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getTrees (cyclomatic 15, cognitive 23): getTrees has cyclomatic complexity 15 and cognitive complexity 23; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":27480}}}],"partialFingerprints":{"codehealthFindingId/v1":"b88c8ab04a3f746ffab7c494ba2fd67e85d568d67b827c9f9417ad6b42ef16e1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getLabelGap (cyclomatic 15, cognitive 23): getLabelGap has cyclomatic complexity 15 and cognitive complexity 23; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":28436}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5788ce58aa7e94ff5607cfdc7d8805638c42add1df52e4e8f1ee1a3cec1a156"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function render (cyclomatic 15, cognitive 22): render has cyclomatic complexity 15 and cognitive complexity 22; 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":22012}}}],"partialFingerprints":{"codehealthFindingId/v1":"37a170f312b6bd627a5e0e3eceea3955192c29f8695b69754f151f70ef130461"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createFormatWindow (cyclomatic 15, cognitive 22): createFormatWindow has cyclomatic complexity 15 and cognitive complexity 22; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":26727}}}],"partialFingerprints":{"codehealthFindingId/v1":"544646b0b039e93d5f1f1260862420bce1c13a80934574a9262aab936bccfc4c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function removeNodes (cyclomatic 15, cognitive 22): removeNodes has cyclomatic complexity 15 and cognitive complexity 22; 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/webapp/js/diagramly/ForceExplorer.js"},"region":{"startLine":3580}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce1ccb66510f33972b24552532802ccef1704979fe5d34a050802c0149b829ad"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addDefaultVariants (cyclomatic 15, cognitive 22): addDefaultVariants has cyclomatic complexity 15 and cognitive complexity 22; 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":5648}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9637ba83f8348723613053c92ac8e5a470b33776b5bcf3905f55a28e8833909"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function hideDialog (cyclomatic 15, cognitive 22): hideDialog has cyclomatic complexity 15 and cognitive complexity 22; 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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":9873}}}],"partialFingerprints":{"codehealthFindingId/v1":"f76211deeccee33163cccd5116121588358ffab4fd0747e4befd2736e861e5fd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mouseUp (cyclomatic 15, cognitive 22): mouseUp has cyclomatic complexity 15 and cognitive complexity 22; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":54427}}}],"partialFingerprints":{"codehealthFindingId/v1":"14ed646dd176880d03801bf4f2e828e86bf35d053f92f31d333137dce1d6d0f0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateInvalidCells (cyclomatic 15, cognitive 22): validateInvalidCells has cyclomatic complexity 15 and cognitive complexity 22; 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/webapp/mxgraph/src/view/mxGraphView.js"},"region":{"startLine":1349}}}],"partialFingerprints":{"codehealthFindingId/v1":"85113a72a1f17c30d8f35de9f7a948ccd2652b41b478391c4524f9728591e494"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function testMeta (cyclomatic 15, cognitive 21): testMeta has cyclomatic complexity 15 and cognitive complexity 21; 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":10001}}}],"partialFingerprints":{"codehealthFindingId/v1":"569fd5ae00f1dad51d657d01be7915469da8c8e7c5433707984bd7f6a0723647"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getJsonForExportCell (cyclomatic 15, cognitive 21): getJsonForExportCell has cyclomatic complexity 15 and cognitive complexity 21; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":42172}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcebc5ad8604637221a00e98d32390338b0640f8af5fd74fc7422947106cc51b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gotoCommentAnchor (cyclomatic 15, cognitive 21): gotoCommentAnchor has cyclomatic complexity 15 and cognitive complexity 21; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":43557}}}],"partialFingerprints":{"codehealthFindingId/v1":"b568ea6ee5a44d044482573c663eebbe6350ebeec51fc79049fd1cf0cdf07eaf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function installSimpleModern (cyclomatic 15, cognitive 21): installSimpleModern has cyclomatic complexity 15 and cognitive complexity 21; 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/webapp/js/diagramly/FusionTheme.js"},"region":{"startLine":1009}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e4907d5a1c73360666cfedd5897f334635763dc07e0f84b00061987c7d4a885"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function enableLibraryEntry (cyclomatic 15, cognitive 21): enableLibraryEntry has cyclomatic complexity 15 and cognitive complexity 21; 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/webapp/js/diagramly/sidebar/Sidebar.js"},"region":{"startLine":2099}}}],"partialFingerprints":{"codehealthFindingId/v1":"679d9e5586146763aa9bf50cdcf24dc17ad0db8fcad6554a71f6538bb162a60f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createShapePicker (cyclomatic 15, cognitive 21): createShapePicker has cyclomatic complexity 15 and cognitive complexity 21; 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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":2675}}}],"partialFingerprints":{"codehealthFindingId/v1":"407083718311b949d54dfc72000df0dcf30c6ce16fd703d77298e337ed418d37"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pickColor (cyclomatic 15, cognitive 21): pickColor has cyclomatic complexity 15 and cognitive complexity 21; 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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":10120}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dbc374b1128a2680b42bda54761e960d14284c67e5bb87b7bab5ea3832a2fd5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getTextOutline (cyclomatic 15, cognitive 21): getTextOutline has cyclomatic complexity 15 and cognitive complexity 21; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":23064}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f224a748a5b3d70c805f07c68736479242f0914568652930bcc2a414e801b4e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addGestureListeners (cyclomatic 15, cognitive 21): addGestureListeners has cyclomatic complexity 15 and cognitive complexity 21; 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/webapp/mxgraph/src/util/mxEvent.js"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"782560cd58c316736711f32c975a73d234fe8fc10f88340cd6179f1cd5c337c8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function removeGestureListeners (cyclomatic 15, cognitive 21): removeGestureListeners has cyclomatic complexity 15 and cognitive complexity 21; 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/webapp/mxgraph/src/util/mxEvent.js"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"b773d221dc435280e811b8bfaf3ce5434de9ad12bd59c5b3e953faa5062761a9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getNetworkStatus (cyclomatic 15, cognitive 20): getNetworkStatus has cyclomatic complexity 15 and cognitive complexity 20; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":26542}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3111d7bf85f1fbf7ab51c72b31fca73fc9c07390c878942f60292865ff98996"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getForm (cyclomatic 15, cognitive 20): getForm has cyclomatic complexity 15 and cognitive complexity 20; 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":13465}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1a1840899da4ca1121253b02490c4907e6024fd120cdec875effb0eab4d2857"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updatePreviewState (cyclomatic 15, cognitive 20): updatePreviewState has cyclomatic complexity 15 and cognitive complexity 20; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":36245}}}],"partialFingerprints":{"codehealthFindingId/v1":"01ea69bf669e15dfd313a987d3b5d94fffbc4ae1b6e959199329a0a545cdeebb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function showConnStyleMenu (cyclomatic 15, cognitive 20): showConnStyleMenu has cyclomatic complexity 15 and cognitive complexity 20; 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/webapp/js/grapheditor/InlineToolbar.js"},"region":{"startLine":3608}}}],"partialFingerprints":{"codehealthFindingId/v1":"5221be38f7317811a2250ceed1170f60c71e2d6afb40b22d1b20d49f6e3eb596"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getSpacing (cyclomatic 15, cognitive 20): getSpacing has cyclomatic complexity 15 and cognitive complexity 20; 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/webapp/mxgraph/src/shape/mxText.js"},"region":{"startLine":1284}}}],"partialFingerprints":{"codehealthFindingId/v1":"be83a78c07d4f55e23f0f559a1e14fe312c83efece502cfab09e0cc1e93db34b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getLabelPerimeterSide (cyclomatic 15, cognitive 20): getLabelPerimeterSide has cyclomatic complexity 15 and cognitive complexity 20; 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/webapp/mxgraph/src/view/mxGraphView.js"},"region":{"startLine":3642}}}],"partialFingerprints":{"codehealthFindingId/v1":"4773fd8d60b27d529a287a55998204051efbe1876612a78e1dc7cbd51627b560"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function importFiles (cyclomatic 15, cognitive 19): importFiles has cyclomatic complexity 15 and cognitive complexity 19; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":17625}}}],"partialFingerprints":{"codehealthFindingId/v1":"9522f92029fb5cd6caf4ebf866f4268e614b590e1fe95f872beb802ed5ccd66c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function openLocalFile (cyclomatic 15, cognitive 19): openLocalFile has cyclomatic complexity 15 and cognitive complexity 19; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":30960}}}],"partialFingerprints":{"codehealthFindingId/v1":"9247df120fd1e5c409ae7e8fe60958bc36650152ab959431884179a29c192cf1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function matchBoxItems (cyclomatic 15, cognitive 19): matchBoxItems has cyclomatic complexity 15 and cognitive complexity 19; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":36715}}}],"partialFingerprints":{"codehealthFindingId/v1":"18d17abd4d4b3da56043574f115312571a5e77493ff8578410afc8a5cbdef483"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getValidationVisibility (cyclomatic 15, cognitive 19): getValidationVisibility has cyclomatic complexity 15 and cognitive complexity 19; 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/webapp/mxgraph/src/view/mxGraphView.js"},"region":{"startLine":1468}}}],"partialFingerprints":{"codehealthFindingId/v1":"c545196dca147f32fe3ba33a69150a7db4b638ad58d44646228e8aaa86648026"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getConstraints (cyclomatic 15, cognitive 19): getConstraints has cyclomatic complexity 15 and cognitive complexity 19; 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/webapp/shapes/mxBasic.js"},"region":{"startLine":3379}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5ba0a359dc83d722c07fe11c77a9f44b3e98263dde208e0ce19e431e6733ff8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processDrawioFile (cyclomatic 15, cognitive 18): processDrawioFile has cyclomatic complexity 15 and cognitive complexity 18; 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":"etc/imageResize/drawImageResize.js"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ac297bdbf5711dee3150150e542ed222c2c9ebfb9947d8b489a61d1ebd9d06e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function FontDialog (cyclomatic 15, cognitive 18): FontDialog has cyclomatic complexity 15 and cognitive complexity 18; 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":23963}}}],"partialFingerprints":{"codehealthFindingId/v1":"6663a650707afdd18b27248b844f3d6975fa0aac7aa9295985539b4198afd207"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getFormatControl (cyclomatic 15, cognitive 18): getFormatControl has cyclomatic complexity 15 and cognitive complexity 18; 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/webapp/js/diagramly/Omnibox.js"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3e81d294f3e4f8f428cd46f1905539427e83ab2f74577b3586c51f66d584309"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addFromCell (cyclomatic 15, cognitive 18): addFromCell has cyclomatic complexity 15 and cognitive complexity 18; 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":3552}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd010ecc3278276e5df59be5135acee93223450c308d43138079052510d50004"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getGlobalVariable (cyclomatic 15, cognitive 18): getGlobalVariable has cyclomatic complexity 15 and cognitive complexity 18; 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/webapp/js/export.js"},"region":{"startLine":2271}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddad7bc70236c5c832207f5eccb7cbedeb275f416fbee6882eece1853e807254"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function update (cyclomatic 15, cognitive 18): update has cyclomatic complexity 15 and cognitive complexity 18; 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/webapp/js/grapheditor/Editor.js"},"region":{"startLine":4272}}}],"partialFingerprints":{"codehealthFindingId/v1":"69bf935a4a56b37f70b891ed072253cba1f7256ef02ca2a678f8e59324f1b613"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 18): (anonymous) has cyclomatic complexity 15 and cognitive complexity 18; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bac1de8fd45dd2a170cd87ac537739ccbb80fc0c553f46c3ed3fcc7f4e44263"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getTextColor (cyclomatic 15, cognitive 18): getTextColor has cyclomatic complexity 15 and cognitive complexity 18; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":9805}}}],"partialFingerprints":{"codehealthFindingId/v1":"000836791557e2a0ea9f0cdc41a29d369dbc14177e1369b864bcc9ae0f3badc8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function showSizeGuides (cyclomatic 15, cognitive 18): showSizeGuides has cyclomatic complexity 15 and cognitive complexity 18; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":52323}}}],"partialFingerprints":{"codehealthFindingId/v1":"48d04491f85d79d96b81ce360d3f4582a94bd8938f59021f8030caf2cc487ac5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function equalEntries (cyclomatic 15, cognitive 18): equalEntries has cyclomatic complexity 15 and cognitive complexity 18; 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/webapp/mxgraph/src/util/mxUtils.js"},"region":{"startLine":2790}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d6b18a896602c4020396cf662ac2fbf316289173b38a22fa1b1c33510e349f0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 17): (anonymous) has cyclomatic complexity 15 and cognitive complexity 17; 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/webapp/js/diagramly/App.js"},"region":{"startLine":7384}}}],"partialFingerprints":{"codehealthFindingId/v1":"3282e45eda415153b87f264ade93a0f95d6d168dd9aaf6dddbbfc640da841bd3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function execute (cyclomatic 15, cognitive 17): execute has cyclomatic complexity 15 and cognitive complexity 17; 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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":8714}}}],"partialFingerprints":{"codehealthFindingId/v1":"b051a5130280990fdd57e1d6b207fe68d3f83bb302a7aa5f1c5c15858706fead"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reportDriveUse (cyclomatic 15, cognitive 16): reportDriveUse has cyclomatic complexity 15 and cognitive complexity 16; 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/webapp/js/diagramly/App.js"},"region":{"startLine":3088}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bffc6712da8f0cbee23e304e9910b19ce11b5e995143389eb6895236663d0f6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function moveHighlight (cyclomatic 15, cognitive 16): moveHighlight has cyclomatic complexity 15 and cognitive complexity 16; 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/webapp/js/diagramly/ForceExplorer.js"},"region":{"startLine":1292}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa0ade5b6b75f6efc968144f1f0ba9853aa60feb10f08eb6cb9fee144492da07"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function keydownHandler (cyclomatic 15, cognitive 16): keydownHandler has cyclomatic complexity 15 and cognitive complexity 16; 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/webapp/js/diagramly/Menus.js"},"region":{"startLine":5214}}}],"partialFingerprints":{"codehealthFindingId/v1":"e746119e750e944661c006b2ecc051ede2eb6abb51d1dfcea24f8f75ad64a0f4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getAutoLabelSize (cyclomatic 15, cognitive 16): getAutoLabelSize has cyclomatic complexity 15 and cognitive complexity 16; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":29201}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0c1d274ed1cfcaa97339bb5a943d5df975fcccd262870cb7b25522fd0161075"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function connectVertex (cyclomatic 15, cognitive 16): connectVertex has cyclomatic complexity 15 and cognitive complexity 16; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":36569}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a71bc563bf90bf978918529d9f79aa2ec7a5365fd4abd694f39deca47d3f896"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function arcToCurves (cyclomatic 15, cognitive 16): arcToCurves has cyclomatic complexity 15 and cognitive complexity 16; 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/webapp/mxgraph/src/util/mxUtils.js"},"region":{"startLine":2955}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccea3e855e404175a0896157ab89f4bd5f2c808607ceb22491d31d921ab64a9b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 15): (anonymous) has cyclomatic complexity 15 and cognitive complexity 15; 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/webapp/js/diagramly/Menus.js"},"region":{"startLine":3655}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d8b0736bc07592ccfc35ec3f6825af9cd1d3c780bfdceaf41c3f01993333d59"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decode (cyclomatic 15, cognitive 15): decode has cyclomatic complexity 15 and cognitive complexity 15; 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":15027}}}],"partialFingerprints":{"codehealthFindingId/v1":"381e0b04a827f9d65f30838cb3769d1d7b1db5a79862f7ee9cdae0b1f742d233"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decodeFast (cyclomatic 15, cognitive 15): decodeFast has cyclomatic complexity 15 and cognitive complexity 15; 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":15087}}}],"partialFingerprints":{"codehealthFindingId/v1":"19f75c328dfa2a5589de0a2934db18a2a117f86c179cb9b1f83ff2a4e9cfa16a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function FilenameDialog (cyclomatic 15, cognitive 15): FilenameDialog has cyclomatic complexity 15 and cognitive complexity 15; 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/webapp/js/grapheditor/Editor.js"},"region":{"startLine":4410}}}],"partialFingerprints":{"codehealthFindingId/v1":"434c1fee9e82bcf6f060713855ba2341c3a4e4a7289fb60487b6fef389cf38e3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getPlainLabel (cyclomatic 15, cognitive 15): getPlainLabel has cyclomatic complexity 15 and cognitive complexity 15; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":22655}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c1835e302a23bf887a3395ade4cc2260509d46cc8a748b2ab3b3786ed019975"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createThumb (cyclomatic 15, cognitive 15): createThumb has cyclomatic complexity 15 and cognitive complexity 15; 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/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":4729}}}],"partialFingerprints":{"codehealthFindingId/v1":"0247ed30fa82d57a2640b1df52b209a36ba9c631e54f973672fd413b6f933269"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function install (cyclomatic 15, cognitive 14): install has cyclomatic complexity 15 and cognitive complexity 14; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/ConfigEditor.js"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"6189e8b9f5a6fffe81873561b038185a3f660448eb81cac98047aaebf31317b0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isBlockingStep (cyclomatic 15, cognitive 14): isBlockingStep has cyclomatic complexity 15 and cognitive complexity 14; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":15697}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b3720f4da89bf2707204d39fd9a3f81776f9020fec5060e3f18ca48e8030dd9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function init (cyclomatic 15, cognitive 14): init has cyclomatic complexity 15 and cognitive complexity 14; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":24972}}}],"partialFingerprints":{"codehealthFindingId/v1":"168cb2deb1a95df7c3b0ac01c2e9189975200a922a18bf221144e6c353b7b508"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 14): (anonymous) has cyclomatic complexity 15 and cognitive complexity 14; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/Menus.js"},"region":{"startLine":5806}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c27deb9fbd7217887f416a2837397a2981ce1d108ed6d053fc88a95086eafc0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isLineDashed (cyclomatic 15, cognitive 14): isLineDashed has cyclomatic complexity 15 and cognitive complexity 14; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":6199}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2842890afac08f9e62e56f3ed4475a02cc7f4253ccf7c9c8b6ab1885d24f272"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getLineDashPattern (cyclomatic 15, cognitive 14): getLineDashPattern has cyclomatic complexity 15 and cognitive complexity 14; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":6225}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c1cca256c7ab5f4895ba799be65cb3e5c6864918e4bf6ed21b9efc26f961422"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getNewEdgeStyleForEdge (cyclomatic 15, cognitive 14): getNewEdgeStyleForEdge has cyclomatic complexity 15 and cognitive complexity 14; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":10147}}}],"partialFingerprints":{"codehealthFindingId/v1":"df0ed2526807b80842f4c183d4fe2e20454ac959846542c76236596b27c5cc33"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reset (cyclomatic 15, cognitive 14): reset has cyclomatic complexity 15 and cognitive complexity 14; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/mxgraph/src/handler/mxTooltipHandler.js"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"e084f3d5a1772a3fbf7e162c3d0277712181c197dee78f0b88a24d1f583c12ee"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function foreground (cyclomatic 15, cognitive 14): foreground has cyclomatic complexity 15 and cognitive complexity 14; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/shapes/mxArchiMate.js"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"550016c4d3db53496004e8a7f0ad89d8ffe3282742c22127696da3414f9b529d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 13): (anonymous) has cyclomatic complexity 15 and cognitive complexity 13; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/App.js"},"region":{"startLine":1164}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8ede5d128877bb605ee979f23d634149821e16a9a5aaca734ca37ee6ec31b75"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getShapeFamily (cyclomatic 15, cognitive 13): getShapeFamily has cyclomatic complexity 15 and cognitive complexity 13; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/tidy/TidyFeatures.js"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"941eb71a8e34ee25f84e7fd895b31f585b31f79a5d9c66d2a288fd98b90207fc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onKeyPress (cyclomatic 15, cognitive 13): onKeyPress has cyclomatic complexity 15 and cognitive complexity 13; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":4811}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bbf3cdcd765d14cd2977ab66022cd6a8b59d0900df5e555c625588daf6e3f7a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mouseDown (cyclomatic 15, cognitive 13): mouseDown has cyclomatic complexity 15 and cognitive complexity 13; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":51339}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1f37b8d4b4eb1aec98958cdddea0e79fa91573c6be48372c7198171c2aaa1b5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getBaseFilename (cyclomatic 15, cognitive 11): getBaseFilename has cyclomatic complexity 15 and cognitive complexity 11; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/ElectronApp.js"},"region":{"startLine":1346}}}],"partialFingerprints":{"codehealthFindingId/v1":"046e7629f35cd0b472eaec72b7e5aaacc4640721fde53a475fb90ee57a742c0b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 11): (anonymous) has cyclomatic complexity 15 and cognitive complexity 11; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/grapheditor/Dialogs.js"},"region":{"startLine":2134}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c33bbc902284b3a025a1190219800668a59403ca523feb10274403258d11350"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getRoutableEdges (cyclomatic 15, cognitive 10): getRoutableEdges has cyclomatic complexity 15 and cognitive complexity 10; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/tidy/Tidy.js"},"region":{"startLine":2201}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c36ef9fc6e775cfae86ff9b728a3f769df6b3d8acc755bd523aea60eb2a52d2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyFn (cyclomatic 14, cognitive 45): applyFn has cyclomatic complexity 14 and cognitive complexity 45; 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":19752}}}],"partialFingerprints":{"codehealthFindingId/v1":"35fd297fed07bf2817c2298c66da2dc8b97ec531997791b431b3c98451afdb7c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cellsOrdered (cyclomatic 14, cognitive 42): cellsOrdered has cyclomatic complexity 14 and cognitive complexity 42; 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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":4043}}}],"partialFingerprints":{"codehealthFindingId/v1":"9781be63d9376f00c02065836fa336825429a59c04c536adbaeda6ea6db37c64"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 39): (anonymous) has cyclomatic complexity 14 and cognitive complexity 39; 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":4185}}}],"partialFingerprints":{"codehealthFindingId/v1":"62e9de702adbcbef556c99b4dab3fdf8d0889225ecd86288b4f09a4723102419"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mouseMove (cyclomatic 14, cognitive 39): mouseMove has cyclomatic complexity 14 and cognitive complexity 39; 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/webapp/mxgraph/src/handler/mxVertexHandler.js"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"073c961483ec72703a95ed52556609c4a2c34c9c8c793540f86f45a4e254a979"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateCellState (cyclomatic 14, cognitive 39): updateCellState has cyclomatic complexity 14 and cognitive complexity 39; 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/webapp/mxgraph/src/view/mxGraphView.js"},"region":{"startLine":2636}}}],"partialFingerprints":{"codehealthFindingId/v1":"f57eb8fb56db7f6e295c2f668e98e7c85cd415287b42b5f68ce38b496656e42b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateCellState (cyclomatic 14, cognitive 36): validateCellState has cyclomatic complexity 14 and cognitive complexity 36; 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/webapp/mxgraph/src/view/mxGraphView.js"},"region":{"startLine":2389}}}],"partialFingerprints":{"codehealthFindingId/v1":"62315624fbc40d5c91f11e816f247ef0701f2af4ca77cb3908f8aab6b4e129b4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function removeSvgMetadata (cyclomatic 14, cognitive 35): removeSvgMetadata has cyclomatic complexity 14 and cognitive complexity 35; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":20617}}}],"partialFingerprints":{"codehealthFindingId/v1":"1089c3d562d219a87b0bc16a1bbf7ed8e306f6089478afd2731e9f3b37f27a1e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getBoundsForGroup (cyclomatic 14, cognitive 35): getBoundsForGroup has cyclomatic complexity 14 and cognitive complexity 35; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":21561}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb6773d0b73f0733e2fb3fdd6b8bea67b373f3f8537c96de2d95630b64b33cb5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getMaxInlineFontSize (cyclomatic 14, cognitive 35): getMaxInlineFontSize has cyclomatic complexity 14 and cognitive complexity 35; 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/webapp/mxgraph/src/util/mxUtils.js"},"region":{"startLine":6089}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d2583bdee838826464fcd99e0e26032b79ff461c834f17fd6a9954b90adc359"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getOrderKept (cyclomatic 14, cognitive 34): getOrderKept has cyclomatic complexity 14 and cognitive complexity 34; 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/webapp/js/diagramly/tidy/Tidy.js"},"region":{"startLine":1349}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c9283dc659a4f468660c85189988d66c7c5d5cd2623e59973a5890a0bc8fc41"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function initUi (cyclomatic 14, cognitive 33): initUi has cyclomatic complexity 14 and cognitive complexity 33; 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":3860}}}],"partialFingerprints":{"codehealthFindingId/v1":"832b4d39f5563b3a6cc4756eac70dbf2478109ca0cd695e6f38347867c1cdc50"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rotateEdges (cyclomatic 14, cognitive 33): rotateEdges has cyclomatic complexity 14 and cognitive complexity 33; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":37622}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c4f3d74c7ebaa4183d5beb68abf9f98d06ff6163c4554b303b9c288c424998d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getCellStyle (cyclomatic 14, cognitive 33): getCellStyle has cyclomatic complexity 14 and cognitive complexity 33; 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/webapp/mxgraph/src/view/mxStylesheet.js"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5e568a15093e78072eed5d7ab72cad70902e265d0a8b44e1a26c43dac2bdb84"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function diffSavedPages (cyclomatic 14, cognitive 32): diffSavedPages has cyclomatic complexity 14 and cognitive complexity 32; 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/webapp/js/diagramly/DiffSync.js"},"region":{"startLine":2100}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c317d4f930830845d95c4a7a9dd77cb6eaead3b436ca697dc9609ba54410745"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function saveFile (cyclomatic 14, cognitive 32): saveFile has cyclomatic complexity 14 and cognitive complexity 32; 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/webapp/js/diagramly/ElectronApp.js"},"region":{"startLine":2019}}}],"partialFingerprints":{"codehealthFindingId/v1":"5357ecc6273b01ac4a5d80cef6566ad4541c24b114e6b92961d75a0514a854a4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function importNodes (cyclomatic 14, cognitive 32): importNodes has cyclomatic complexity 14 and cognitive complexity 32; 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf2d7d29425907e3c27b8c58ca71fc0ef61551f5c122159b0e802061224160ad"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseDataSourceRows (cyclomatic 14, cognitive 31): parseDataSourceRows has cyclomatic complexity 14 and cognitive complexity 31; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":38340}}}],"partialFingerprints":{"codehealthFindingId/v1":"17da783573d12c7e6f8550f6a2898e76f389b11d6afa5e6512652703802f5831"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addCurvedPath (cyclomatic 14, cognitive 31): addCurvedPath has cyclomatic complexity 14 and cognitive complexity 31; 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/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":2058}}}],"partialFingerprints":{"codehealthFindingId/v1":"51344291f2278c9e078d57237e64a501ae1c5155f5f0105654de3876b0e53639"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setStyleFlag (cyclomatic 14, cognitive 31): setStyleFlag has cyclomatic complexity 14 and cognitive complexity 31; 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/webapp/mxgraph/src/util/mxUtils.js"},"region":{"startLine":5001}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ec3cb7afbd2c3edbed8ff6f6a1839fa7716fc1d66b5eced8ea18de48c991637"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateTweens (cyclomatic 14, cognitive 30): updateTweens has cyclomatic complexity 14 and cognitive complexity 30; 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/webapp/js/diagramly/ForceExplorer.js"},"region":{"startLine":3755}}}],"partialFingerprints":{"codehealthFindingId/v1":"b250dd51e0b929ff2736f6d57a699573203cfa38ffe6cf7919916595e660a1c7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function traverse (cyclomatic 14, cognitive 30): traverse has cyclomatic complexity 14 and cognitive complexity 30; 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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":13354}}}],"partialFingerprints":{"codehealthFindingId/v1":"61d4a7a37b937875283216cc56152fd42597bcda060a1e84cf1f9837a2e8e684"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decode (cyclomatic 14, cognitive 29): decode has cyclomatic complexity 14 and cognitive complexity 29; 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/webapp/js/diagramly/graphml/mxGraphMlCodec.js"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"88926dd2f46ee7ed6d02cc195d2558dcfb6f063c8458105f9f812fa438d6d63a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 29): (anonymous) has cyclomatic complexity 14 and cognitive complexity 29; 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/webapp/js/grapheditor/Actions.js"},"region":{"startLine":951}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c7b08809a32aa2f9cab153c45d4cf8ca1dc634ac1486e6aca30d298c5e05d8b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function invalidateDataStyles (cyclomatic 14, cognitive 29): invalidateDataStyles has cyclomatic complexity 14 and cognitive complexity 29; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":38362}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4ad06b61712e3747e55621a801a9abd016d06476f77fde991f3d78fe91accae"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function solve (cyclomatic 14, cognitive 29): solve has cyclomatic complexity 14 and cognitive complexity 29; 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/webapp/js/libavoid-js/libavoid-routing.js"},"region":{"startLine":1563}}}],"partialFingerprints":{"codehealthFindingId/v1":"79f261a2a18eced91a33470c02eae2ba3fa318957b3fa8ad48b7dcdad778f3b8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mxVsdxPage (cyclomatic 14, cognitive 28): mxVsdxPage has cyclomatic complexity 14 and cognitive complexity 28; 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":4957}}}],"partialFingerprints":{"codehealthFindingId/v1":"7637cea6a83fc9ceed0dfd809c85654381fceea3048c53dc544dff6e1fd5553b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseShapes (cyclomatic 14, cognitive 28): parseShapes has cyclomatic complexity 14 and cognitive complexity 28; 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":5161}}}],"partialFingerprints":{"codehealthFindingId/v1":"70a83f9a5b973949242b2defd70a6ff403cc4d7586d65a3862d7cd145a66a008"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectReferencedCells (cyclomatic 14, cognitive 27): collectReferencedCells has cyclomatic complexity 14 and cognitive complexity 27; 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/webapp/js/diagramly/Editor.js"},"region":{"startLine":15866}}}],"partialFingerprints":{"codehealthFindingId/v1":"a218502ef7b0762ee75e9f85a737696dfa108236c8c311ba4a0a37eabe8c70e3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 27): (anonymous) has cyclomatic complexity 14 and cognitive complexity 27; 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/webapp/js/grapheditor/Editor.js"},"region":{"startLine":5169}}}],"partialFingerprints":{"codehealthFindingId/v1":"baa58de5777d9c150a6a941edfea689dbb5e5c800f89909c086ac62746124c8d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyCustomResources (cyclomatic 14, cognitive 26): applyCustomResources has cyclomatic complexity 14 and cognitive complexity 26; 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/webapp/js/diagramly/Editor.js"},"region":{"startLine":4500}}}],"partialFingerprints":{"codehealthFindingId/v1":"e118f39c4dfe55d4118591bb1f6edcc24c4941e7e81527f1ec8ff1f134fb66dc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateIconOverlay (cyclomatic 14, cognitive 26): updateIconOverlay has cyclomatic complexity 14 and cognitive complexity 26; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":30618}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca373ae9e27049f91423ade574fcda60b3e1da5b2d9e76ef0c0a0a3e3406e871"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 25): (anonymous) has cyclomatic complexity 14 and cognitive complexity 25; 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/webapp/js/diagramly/App.js"},"region":{"startLine":6363}}}],"partialFingerprints":{"codehealthFindingId/v1":"45ea22870373c34e1f565f83a428cf86c65ee978afce44ead25fd97dc25f7d7f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 25): (anonymous) has cyclomatic complexity 14 and cognitive complexity 25; 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/webapp/js/diagramly/App.js"},"region":{"startLine":6529}}}],"partialFingerprints":{"codehealthFindingId/v1":"afbc9ba7127dc1e8122d0c7b90538b3649117a743e846979962a55f3524cf360"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateSegment (cyclomatic 14, cognitive 25): updateSegment has cyclomatic complexity 14 and cognitive complexity 25; 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/webapp/js/diagramly/gif/AnimationExport.js"},"region":{"startLine":1338}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcb4fd2a847b0ab5061790d44fa1764392413955e84329674118cb1896906ed4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function initializeKeys (cyclomatic 14, cognitive 25): initializeKeys has cyclomatic complexity 14 and cognitive complexity 25; 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/webapp/js/diagramly/graphml/mxGraphMlCodec.js"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ce33603171fb1f9f41809f59e139655ee753f3f149cb11909914cd9a4c31054"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function listener (cyclomatic 14, cognitive 25): listener has cyclomatic complexity 14 and cognitive complexity 25; 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/webapp/js/grapheditor/Editor.js"},"region":{"startLine":4185}}}],"partialFingerprints":{"codehealthFindingId/v1":"71a74a9c6b04b945a4f2eac3023dca2b9c28489ccf2d11b007809882280d48fd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 25): (anonymous) has cyclomatic complexity 14 and cognitive complexity 25; 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/webapp/js/grapheditor/Format.js"},"region":{"startLine":6064}}}],"partialFingerprints":{"codehealthFindingId/v1":"064637b1061d659d51293d713f8f2beb9dce4ff9d1ee1fbd42f72546c33e76e2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prefixRule (cyclomatic 14, cognitive 25): prefixRule has cyclomatic complexity 14 and cognitive complexity 25; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":5706}}}],"partialFingerprints":{"codehealthFindingId/v1":"a05eb77fb44ed271c42b684470c41e99aaff29536ba4453a0fb4ed7f7e1659c0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paintBackground (cyclomatic 14, cognitive 25): paintBackground has cyclomatic complexity 14 and cognitive complexity 25; 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/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":2705}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec66aca0fbf1fe8177904af9d26e63d7f8bce0154403ade977b85b471515981e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updatePoints (cyclomatic 14, cognitive 25): updatePoints has cyclomatic complexity 14 and cognitive complexity 25; 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/webapp/mxgraph/src/view/mxGraphView.js"},"region":{"startLine":3041}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b2a6066742105ec24cfd4e820a9179a43ab840de505696a6aad7be255ffdceb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateActionSummary (cyclomatic 14, cognitive 24): updateActionSummary has cyclomatic complexity 14 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":6281}}}],"partialFingerprints":{"codehealthFindingId/v1":"753298fefa08b93733aac5ee0a74b140ddddf84c0a4d09c6c3d463c324110552"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addUnsavedStatus (cyclomatic 14, cognitive 24): addUnsavedStatus has cyclomatic complexity 14 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/webapp/js/diagramly/DrawioFile.js"},"region":{"startLine":3256}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ddf40564cf825c95c8117e41bbe4c8e1f6c77f29138c65eceb94b7e7c8e6787"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function exportSvg (cyclomatic 14, cognitive 24): exportSvg has cyclomatic complexity 14 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":9661}}}],"partialFingerprints":{"codehealthFindingId/v1":"407727534e9d828e5990b07882e562942d9770330cf9007e8d8f95d3d1232c3c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addLinks (cyclomatic 14, cognitive 24): addLinks has cyclomatic complexity 14 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/webapp/js/diagramly/ForceExplorer.js"},"region":{"startLine":3401}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bdb9b2a036c79f1153b8cf1e3f1dac7982d3bc7275fb22e65a4e7f3358cf55c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function showPreview (cyclomatic 14, cognitive 24): showPreview has cyclomatic complexity 14 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/webapp/js/diagramly/LayoutPicker.js"},"region":{"startLine":2854}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfa64e28ada2b3de8f11e29580926e9897a6b1214dc38815030c61f26dfda2aa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validate (cyclomatic 14, cognitive 24): validate has cyclomatic complexity 14 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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":6612}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d98b82e7da4f3b41ab34f4df470793c8c5b17327bbd7341f21784dcb3b1e221"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scopeStyleElements (cyclomatic 14, cognitive 24): scopeStyleElements has cyclomatic complexity 14 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":5915}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e6ee8d20d46bc66332936bae81ec54cdfedba2d6f856b38efb33db67c09a199"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateSize (cyclomatic 14, cognitive 24): updateSize has cyclomatic complexity 14 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/webapp/mxgraph/src/shape/mxText.js"},"region":{"startLine":1189}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc8697657eec89fe4105b3a3597b122cd1bdf5653a26b1760a2df21a0f899a5d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getAllTextM (cyclomatic 14, cognitive 23): getAllTextM has cyclomatic complexity 14 and cognitive complexity 23; 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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":4685}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb024517082d9a9b22af6a2055654a4ec46898d0ed50d42ff4a5dbc11dab1fa5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getLabelBounds (cyclomatic 14, cognitive 23): getLabelBounds has cyclomatic complexity 14 and cognitive complexity 23; 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/webapp/shapes/mxArrows.js"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"72a3695a164fac02b41083cf1a116314c62d20e2994f6ff07157655279a2e1b2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decode$char_A (cyclomatic 14, cognitive 22): decode$char_A has cyclomatic complexity 14 and cognitive complexity 22; 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":14981}}}],"partialFingerprints":{"codehealthFindingId/v1":"96a5ec861acd5ad4d13a06ca47fb3464fef05781efa3dc18f83bb42d5e332de8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decode$java_lang_String (cyclomatic 14, cognitive 22): decode$java_lang_String has cyclomatic complexity 14 and cognitive complexity 22; 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":15225}}}],"partialFingerprints":{"codehealthFindingId/v1":"eadf651bc51dfe1b85c7c041512ec3e71c2f8d96a2a450f085addf2ad92c84fa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 22): (anonymous) has cyclomatic complexity 14 and cognitive complexity 22; 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/webapp/js/grapheditor/Actions.js"},"region":{"startLine":2360}}}],"partialFingerprints":{"codehealthFindingId/v1":"3210962bd92ccca53ee969f6a0989fceb845e32c018c8ecb128ff6aa8510c475"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function computeAutosizeTextFontSize (cyclomatic 14, cognitive 22): computeAutosizeTextFontSize has cyclomatic complexity 14 and cognitive complexity 22; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":37008}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b2bf2149c046986d31917c89223ee8b6f2195f2e42cc50913d73240a4d1a2de"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getResourceKeys (cyclomatic 14, cognitive 22): getResourceKeys has cyclomatic complexity 14 and cognitive complexity 22; 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/webapp/js/grapheditor/Omnibox.js"},"region":{"startLine":1891}}}],"partialFingerprints":{"codehealthFindingId/v1":"80a63374fd3814f77c1ce8d368f412aa2ada09452c86b6f0c6c184c7a74746fd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rasterizeThumbImage (cyclomatic 14, cognitive 22): rasterizeThumbImage has cyclomatic complexity 14 and cognitive complexity 22; 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/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":4839}}}],"partialFingerprints":{"codehealthFindingId/v1":"39987242388e19430cd8d626b1c4339e9ad18021e3920224078d1f9744b6f1e4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function contractParent (cyclomatic 14, cognitive 22): contractParent has cyclomatic complexity 14 and cognitive complexity 22; 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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":6559}}}],"partialFingerprints":{"codehealthFindingId/v1":"e34353939a679971a1b678f8801449948e0b69d5aa8f02781554de0d8e5e1800"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fileCreated (cyclomatic 14, cognitive 21): fileCreated has cyclomatic complexity 14 and cognitive complexity 21; 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/webapp/js/diagramly/App.js"},"region":{"startLine":6832}}}],"partialFingerprints":{"codehealthFindingId/v1":"911f057cd0375f5c745348ba29e47dfce099aaf550b21555a526abcd45d30d1e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 21): (anonymous) has cyclomatic complexity 14 and cognitive complexity 21; 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/webapp/js/diagramly/DriveClient.js"},"region":{"startLine":2308}}}],"partialFingerprints":{"codehealthFindingId/v1":"326f5736ee5f6965b213db131715db6b977041e87bbdde916b91526642c2750e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 21): (anonymous) has cyclomatic complexity 14 and cognitive complexity 21; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":9331}}}],"partialFingerprints":{"codehealthFindingId/v1":"454c101dc2b29d6007543c1a3de6aa7425043918803943fc1d909d140dbb36a2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateCommentOverlays (cyclomatic 14, cognitive 21): updateCommentOverlays has cyclomatic complexity 14 and cognitive complexity 21; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":43735}}}],"partialFingerprints":{"codehealthFindingId/v1":"40d6816a96a239c8bb0a450b7a3332b895497f0808b74b4381334556687b963d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 21): (anonymous) has cyclomatic complexity 14 and cognitive complexity 21; 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/webapp/js/grapheditor/Editor.js"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"6671d0a9bfbef370d5074fe55737737519140e88f3eac995b4d163e094088568"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cellLabelChanged (cyclomatic 14, cognitive 21): cellLabelChanged has cyclomatic complexity 14 and cognitive complexity 21; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":38677}}}],"partialFingerprints":{"codehealthFindingId/v1":"82cebca46d271027d9d5150c85e9b952a81c3a5797ef93235d3879bebbe9551c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function start (cyclomatic 14, cognitive 21): start has cyclomatic complexity 14 and cognitive complexity 21; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":52659}}}],"partialFingerprints":{"codehealthFindingId/v1":"67e4644751335e620a9d1a766e774162e876d2ea9a19d0513926a8e8a3a8d4de"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pickFile (cyclomatic 14, cognitive 20): pickFile has cyclomatic complexity 14 and cognitive complexity 20; 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/webapp/js/diagramly/App.js"},"region":{"startLine":5834}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e15813dfa90d60167861bd48c25fb9be6ee40179110c3f1fe417bfb7c069050"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function replaceSvgImage (cyclomatic 14, cognitive 20): replaceSvgImage has cyclomatic complexity 14 and cognitive complexity 20; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":991}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae7cb3aca2a83247f23b49441436c4ac17c58f7944358bfa76884c9eb5a118e6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getDataSourceConnectionCount (cyclomatic 14, cognitive 20): getDataSourceConnectionCount has cyclomatic complexity 14 and cognitive complexity 20; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":38542}}}],"partialFingerprints":{"codehealthFindingId/v1":"376d89e309c55a861086a711d0ca7e1991df085dfee5049ce4a7c2bf3621abb2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeGroup (cyclomatic 14, cognitive 20): normalizeGroup has cyclomatic complexity 14 and cognitive complexity 20; 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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":7048}}}],"partialFingerprints":{"codehealthFindingId/v1":"e70c1b1f154f909307171cc241a63993d4d48a88278c94cccab96d08184cf335"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function repaintStyles (cyclomatic 14, cognitive 20): repaintStyles has cyclomatic complexity 14 and cognitive complexity 20; 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/webapp/js/diagramly/tidy/TidyWindow.js"},"region":{"startLine":1279}}}],"partialFingerprints":{"codehealthFindingId/v1":"8acb941460082eddd0bcca9924dd1cb5be65a294222da5527be55b13d3179ee0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processEdgeGeo (cyclomatic 14, cognitive 20): processEdgeGeo has cyclomatic complexity 14 and cognitive complexity 20; 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":2095}}}],"partialFingerprints":{"codehealthFindingId/v1":"daddeff1b41d23f487edc022d1a49df2a0639998d560056b5ef2f10c531c2629"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getUsedShapeStyles (cyclomatic 14, cognitive 20): getUsedShapeStyles has cyclomatic complexity 14 and cognitive complexity 20; 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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":3286}}}],"partialFingerprints":{"codehealthFindingId/v1":"95f7d684120290445b5e9758fe4bffbe3b9e9cbd7838ad29e9aa077131a4ba99"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getZoomStep (cyclomatic 14, cognitive 20): getZoomStep has cyclomatic complexity 14 and cognitive complexity 20; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":22240}}}],"partialFingerprints":{"codehealthFindingId/v1":"596363bf7cca6484602ab888d7af3cd4169c62819c061f6e76655dfd075869fd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 20): (anonymous) has cyclomatic complexity 14 and cognitive complexity 20; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":49107}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b84c6e72b2c7bc37c67a696f7e137e9a5333de38fb347f8ef5631210e240fbd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DraftDialog (cyclomatic 14, cognitive 19): DraftDialog has cyclomatic complexity 14 and cognitive complexity 19; 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":9516}}}],"partialFingerprints":{"codehealthFindingId/v1":"c403e0e2a75f31eb042a61a0bad3d22ae0dcc20acaf898ab33375c3c316941d4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getPageLinkWarning (cyclomatic 14, cognitive 19): getPageLinkWarning has cyclomatic complexity 14 and cognitive complexity 19; 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":17974}}}],"partialFingerprints":{"codehealthFindingId/v1":"429975e58cbe92cc28311b58e755cac65a2fca77c389d69340f7a05292d948c1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function diffAllCellProperties (cyclomatic 14, cognitive 19): diffAllCellProperties has cyclomatic complexity 14 and cognitive complexity 19; 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/webapp/js/diagramly/DiffSync.js"},"region":{"startLine":2737}}}],"partialFingerprints":{"codehealthFindingId/v1":"955557799d67474e73cc0866d69423a0ddba59929f7780327b3d9fec9e5eb75f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 19): (anonymous) has cyclomatic complexity 14 and cognitive complexity 19; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":8867}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d30086a25a7abdd14eb9127eb9971487d6f3f0c5ddea7fdb026d04635d3f1a4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inlineSizeChanged (cyclomatic 14, cognitive 19): inlineSizeChanged has cyclomatic complexity 14 and cognitive complexity 19; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":27599}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea28ec5a328dc0404b942ef374ecc0ee5827ba2f29c0b086cc4144907b25e7d1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 19): (anonymous) has cyclomatic complexity 14 and cognitive complexity 19; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":42853}}}],"partialFingerprints":{"codehealthFindingId/v1":"43967763e8fcd38b443edd7d5e7860b4939e04f85bb5c26471e7580b323f72d6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createMp4 (cyclomatic 14, cognitive 19): createMp4 has cyclomatic complexity 14 and cognitive complexity 19; 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/webapp/js/diagramly/gif/Mp4Encoder.js"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"8061bb59e61766fb7dd726f46a530373440e744e6190b46086e311423ab6da1d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getGivenColor (cyclomatic 14, cognitive 19): getGivenColor has cyclomatic complexity 14 and cognitive complexity 19; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":3150}}}],"partialFingerprints":{"codehealthFindingId/v1":"73250413489f7ce6824987602e80c4280ee6b9da3e07d0d0a85baa9f49e7f96d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getHandleForEvent (cyclomatic 14, cognitive 19): getHandleForEvent has cyclomatic complexity 14 and cognitive complexity 19; 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/webapp/mxgraph/src/handler/mxVertexHandler.js"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5648d31bdf001731baac06766d85f6d9d68ab2400a6fa9fb11e3d3d0527a956"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function restoresUnconfirmedRemoves (cyclomatic 14, cognitive 18): restoresUnconfirmedRemoves has cyclomatic complexity 14 and cognitive complexity 18; 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/webapp/js/diagramly/DrawioFileSync.js"},"region":{"startLine":1879}}}],"partialFingerprints":{"codehealthFindingId/v1":"acc837f320639b404671875147790a0a3e8c52dd61ac5b2810bead7ad704df40"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 18): (anonymous) has cyclomatic complexity 14 and cognitive complexity 18; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":23000}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e30e3a0fcfa7ffc7e93fe4800e25e47365a7d26b546c4e8629b7aff76a2f3b3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 18): (anonymous) has cyclomatic complexity 14 and cognitive complexity 18; 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/webapp/js/diagramly/Menus.js"},"region":{"startLine":6188}}}],"partialFingerprints":{"codehealthFindingId/v1":"48103868c4830a3a6d1986bea3423bb5bcb4ede99f8fee5f7e19fd26263000ce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function listLocalStorageFiles (cyclomatic 14, cognitive 18): listLocalStorageFiles has cyclomatic complexity 14 and cognitive complexity 18; 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/webapp/js/diagramly/StorageFile.js"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"24d702706d1c734b5fc93c56f570324b16fb992a4887777cbd47ba879f8cc68d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getChannelBounds (cyclomatic 14, cognitive 18): getChannelBounds has cyclomatic complexity 14 and cognitive complexity 18; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":42730}}}],"partialFingerprints":{"codehealthFindingId/v1":"e010194920228ccbf90cd800a758d9e9d0497947701543f327878ae032d0e8d8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getCellForEvent (cyclomatic 14, cognitive 18): getCellForEvent has cyclomatic complexity 14 and cognitive complexity 18; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":47419}}}],"partialFingerprints":{"codehealthFindingId/v1":"203b50089d8441edaba294b02dc485299a0cc6d3f251f6405f186dbd1ecb25e6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function destroy (cyclomatic 14, cognitive 18): destroy has cyclomatic complexity 14 and cognitive complexity 18; 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/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":8105}}}],"partialFingerprints":{"codehealthFindingId/v1":"86658a208a7ecf73be2ed587bd2a64ab2ef64253dbc568d78b994d0644932b55"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mouseDown (cyclomatic 14, cognitive 18): mouseDown has cyclomatic complexity 14 and cognitive complexity 18; 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/webapp/mxgraph/src/handler/mxConnectionHandler.js"},"region":{"startLine":949}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7e0a2ca9091d61ee5098d7c73ccf3112ea2d297ca3abc889027897f7953af33"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function configureCanvas (cyclomatic 14, cognitive 18): configureCanvas has cyclomatic complexity 14 and cognitive complexity 18; 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/webapp/mxgraph/src/shape/mxShape.js"},"region":{"startLine":1274}}}],"partialFingerprints":{"codehealthFindingId/v1":"63b3aefeb6664201e2c4d52fbbd65a8214d426415f2320e0a055fa39ca4971dc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getLabelBounds (cyclomatic 14, cognitive 18): getLabelBounds has cyclomatic complexity 14 and cognitive complexity 18; 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/webapp/mxgraph/src/view/mxCellRenderer.js"},"region":{"startLine":1320}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4b5ebde415bf637d3e8fe69524a36e4a405ecf21c493324b79468346227d70c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cellResized (cyclomatic 14, cognitive 18): cellResized has cyclomatic complexity 14 and cognitive complexity 18; 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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":6300}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffcbb13680b514c6a83a120c13b7c4b82bd58080d4df97307db105d2f1d2dcff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleButtonKeys (cyclomatic 14, cognitive 17): handleButtonKeys has cyclomatic complexity 14 and cognitive complexity 17; 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/webapp/js/diagramly/ForceExplorer.js"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"1349cacd5386186a885111f2977ec7d38dd20c1ef8fd555ad63b3d5eb7b3e030"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function refresh (cyclomatic 14, cognitive 17): refresh has cyclomatic complexity 14 and cognitive complexity 17; 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/webapp/js/diagramly/LayoutPicker.js"},"region":{"startLine":2470}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dd4186908ed42ed90256d7ea6803235967b31c995b7aafda47ef1298d856dc0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setRoleRules (cyclomatic 14, cognitive 17): setRoleRules has cyclomatic complexity 14 and cognitive complexity 17; 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/webapp/js/diagramly/tidy/TidyStyle.js"},"region":{"startLine":1939}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4f1adbf12b0bc04ffcc1b012e1ecee992b1d87e31bb80e2a14fbe4303eb688d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function showMarkerSubPanel (cyclomatic 14, cognitive 17): showMarkerSubPanel has cyclomatic complexity 14 and cognitive complexity 17; 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/webapp/js/grapheditor/InlineToolbar.js"},"region":{"startLine":3432}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b952582911f8843bf1d98a20a0be04794bcba2110a3824964e3284849467a41"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RectanglePerimeter (cyclomatic 14, cognitive 17): RectanglePerimeter has cyclomatic complexity 14 and cognitive complexity 17; 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/webapp/mxgraph/src/view/mxPerimeter.js"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"02273416055bc560177ca3518d5f4c2ddb2de36791ae773a70118fc76ba2d9ff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function finish (cyclomatic 14, cognitive 16): finish has cyclomatic complexity 14 and cognitive complexity 16; 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":27942}}}],"partialFingerprints":{"codehealthFindingId/v1":"03289dfec14498fb4f192bdba7bb43d3629cbc12e2bc3991b432764cc7c27cde"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function generateDataSourceCells (cyclomatic 14, cognitive 16): generateDataSourceCells has cyclomatic complexity 14 and cognitive complexity 16; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":38437}}}],"partialFingerprints":{"codehealthFindingId/v1":"98fd31672a38609f49b1c384470cec26396ef21cc5cd99657409c28ed102cea9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createSegment (cyclomatic 14, cognitive 16): createSegment has cyclomatic complexity 14 and cognitive complexity 16; 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/webapp/js/diagramly/gif/AnimationExport.js"},"region":{"startLine":1189}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c73ea562e6d5c5681d16a09cf01b6ff7c2b454e8862a9df6eabb6fcdb5cd3aa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addVertex (cyclomatic 14, cognitive 16): addVertex has cyclomatic complexity 14 and cognitive complexity 16; 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":1317}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4c81d8cd0083a10c3dbe3a9221c5bd41745d93b9f7df41c68483dd8b19b80d5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isSafeCssColor (cyclomatic 14, cognitive 16): isSafeCssColor has cyclomatic complexity 14 and cognitive complexity 16; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":19520}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f62a403be97ef23f5c49b86442461e7b793da3e760205dacb5678fb5f6196f5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getAngleGuideAnchors (cyclomatic 14, cognitive 16): getAngleGuideAnchors has cyclomatic complexity 14 and cognitive complexity 16; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":53023}}}],"partialFingerprints":{"codehealthFindingId/v1":"36358fbba2b29f6828fda3bbd83605d4d8330a0e7dc84720ba46c59b4bfa1e2d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getPlaceholderAttribute (cyclomatic 14, cognitive 15): getPlaceholderAttribute has cyclomatic complexity 14 and cognitive complexity 15; 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":10667}}}],"partialFingerprints":{"codehealthFindingId/v1":"1deb4836925b738e9acd25547144716db17384268d8467dc9f334778fd76e6dc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleRemoteMessage (cyclomatic 14, cognitive 15): handleRemoteMessage has cyclomatic complexity 14 and cognitive complexity 15; 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/webapp/js/diagramly/DrawioFileSync.js"},"region":{"startLine":937}}}],"partialFingerprints":{"codehealthFindingId/v1":"02db569bf1edb976fe8753182d842872690cba93f3750f188a52862c993180c8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function run (cyclomatic 14, cognitive 15): run has cyclomatic complexity 14 and cognitive complexity 15; 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/webapp/js/diagramly/ElkLayout.js"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d6bf2d0ffd1f9dcea45a6b4b32e544e4705b8db20d6d44c067855e6ac4aaaae"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getLineTxtStyle (cyclomatic 14, cognitive 15): getLineTxtStyle has cyclomatic complexity 14 and cognitive complexity 15; 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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":14080}}}],"partialFingerprints":{"codehealthFindingId/v1":"efec009318e7879879b1781bd7400df3d97412f857168c1009d8425c9452bd44"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 15): (anonymous) has cyclomatic complexity 14 and cognitive complexity 15; 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/webapp/js/diagramly/ForceExplorer.js"},"region":{"startLine":1008}}}],"partialFingerprints":{"codehealthFindingId/v1":"42358e538bd1466e5fe77d92207f0466f66881ecc6c073bf55019195c0219a6e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function OneDriveClient (cyclomatic 14, cognitive 15): OneDriveClient has cyclomatic complexity 14 and cognitive complexity 15; 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/webapp/js/diagramly/OneDriveClient.js"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"931d6184c35ccbc88051f0342640007c75cd5c38f1c48fa719235ffbd37a5863"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function tryCandidate (cyclomatic 14, cognitive 15): tryCandidate has cyclomatic complexity 14 and cognitive complexity 15; 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/webapp/js/diagramly/tidy/Tidy.js"},"region":{"startLine":2871}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2953779645ee9bbf9ec6a29c62897aab58cc5448b51f8ccedeb26f461f5c526"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function writeTrees (cyclomatic 14, cognitive 15): writeTrees has cyclomatic complexity 14 and cognitive complexity 15; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":27887}}}],"partialFingerprints":{"codehealthFindingId/v1":"df6794d8444b1c6ea7bc6d764b68bd96f2a4e9091eec2a6d49e8f91ed2da37ae"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 15): (anonymous) has cyclomatic complexity 14 and cognitive complexity 15; 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/webapp/js/grapheditor/InlineToolbar.js"},"region":{"startLine":1280}}}],"partialFingerprints":{"codehealthFindingId/v1":"37c06281fe2b3885574c177d33a88eb28239f5f0d6b67c146ec106c2586257a5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 15): (anonymous) has cyclomatic complexity 14 and cognitive complexity 15; 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/webapp/mxgraph/src/shape/mxText.js"},"region":{"startLine":901}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed85dddc5066a3376461a4dbe3e1ded35fdd97451a9380a0f5ab6c2c5d480e04"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mouseMove (cyclomatic 14, cognitive 15): mouseMove has cyclomatic complexity 14 and cognitive complexity 15; 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/webapp/plugins/trees/trees.js"},"region":{"startLine":1141}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff948779f419c61d3b631aa4d247a4a1ee95080c48b332f09e8c2478f4f3c2cb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleLegacyMessage (cyclomatic 14, cognitive 14): handleLegacyMessage has cyclomatic complexity 14 and cognitive complexity 14; 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/webapp/js/diagramly/DrawioFileSync.js"},"region":{"startLine":3995}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cfaa169b9c09b6bf2ae2bad8c0148b9a45afccbec1781582ea52d1d366ee870"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateDepth (cyclomatic 14, cognitive 14): updateDepth has cyclomatic complexity 14 and cognitive complexity 14; 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/webapp/js/diagramly/ForceExplorer.js"},"region":{"startLine":1949}}}],"partialFingerprints":{"codehealthFindingId/v1":"230709611113dc8a09b5ddd52b47fafef4902df65ba09a81b0fbff73fc039a8f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 14): (anonymous) has cyclomatic complexity 14 and cognitive complexity 14; 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/webapp/js/diagramly/Menus.js"},"region":{"startLine":5935}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bc027ecaf24d6c8723db9994ba97f310427fa127a5c7635ff48e869bd1aa185"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 14): (anonymous) has cyclomatic complexity 14 and cognitive complexity 14; 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/webapp/js/diagramly/mxFreehand.js"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"fab95540c3b7d15b88be1d4477eee80e653a31092252d9333285b74cae614069"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getIntAttr (cyclomatic 14, cognitive 14): getIntAttr has cyclomatic complexity 14 and cognitive complexity 14; 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":6485}}}],"partialFingerprints":{"codehealthFindingId/v1":"a34db3bd2da02b439f0f54d2ed83bead5f84a4ab7d0ded6e45081dcae599c75f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getImageForEdgeStyle (cyclomatic 14, cognitive 14): getImageForEdgeStyle has cyclomatic complexity 14 and cognitive complexity 14; 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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":5431}}}],"partialFingerprints":{"codehealthFindingId/v1":"c827997dfb689570ee3dd249b0795011f805e3cffd61d9c669f447bd702f613c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function redraw (cyclomatic 14, cognitive 14): redraw has cyclomatic complexity 14 and cognitive complexity 14; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":8277}}}],"partialFingerprints":{"codehealthFindingId/v1":"c80534e5063c54c8eb5cf16132c4b978db6657b0f18b8ac0113596cab5ea0f4d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function showTextMenu (cyclomatic 14, cognitive 14): showTextMenu has cyclomatic complexity 14 and cognitive complexity 14; 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/webapp/js/grapheditor/InlineToolbar.js"},"region":{"startLine":2863}}}],"partialFingerprints":{"codehealthFindingId/v1":"06b254decb45a31b08ae6dbf787efa6e68e78c0874b70e50015b22f53980f354"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getFont (cyclomatic 14, cognitive 14): getFont has cyclomatic complexity 14 and cognitive complexity 14; 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/webapp/mxgraph/src/util/mxSvgCanvas2D.js"},"region":{"startLine":2732}}}],"partialFingerprints":{"codehealthFindingId/v1":"06fcb969e8238eb4989692610fc879286be724c90c2b575b7faaefb323ae5370"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function changeKeys (cyclomatic 14, cognitive 13): changeKeys has cyclomatic complexity 14 and cognitive complexity 13; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":23813}}}],"partialFingerprints":{"codehealthFindingId/v1":"9de8dd5374e7645a77575789c4853c2db5b4ce0f433f90c2b308c05d91fa7701"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getJsonValue (cyclomatic 14, cognitive 13): getJsonValue has cyclomatic complexity 14 and cognitive complexity 13; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/DiffSync.js"},"region":{"startLine":3181}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d2c6904f7bdd879db326b25befdb5483cbb17df29d3cfbcf5ee666615f7d32f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function update (cyclomatic 14, cognitive 13): update has cyclomatic complexity 14 and cognitive complexity 13; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":8453}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c1a05e817b6857759d5c1a6fd9a4f6bbbcd2f8d0d28d94156589c0146a516f5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getRotation (cyclomatic 14, cognitive 13): getRotation has cyclomatic complexity 14 and cognitive complexity 13; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":5433}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee87afba85ecc75d1feee57d6282dfe91a1a92f3516a6f422bdb3ea6d83a2089"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function previewRouteToCell (cyclomatic 14, cognitive 13): previewRouteToCell has cyclomatic complexity 14 and cognitive complexity 13; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/LibavoidRouting.js"},"region":{"startLine":2900}}}],"partialFingerprints":{"codehealthFindingId/v1":"079d08b905f1f76c2cbb8942ca848e73971bec027c4308d7264dc310d7b56fc2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function previewRouteToPoint (cyclomatic 14, cognitive 13): previewRouteToPoint has cyclomatic complexity 14 and cognitive complexity 13; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/LibavoidRouting.js"},"region":{"startLine":2933}}}],"partialFingerprints":{"codehealthFindingId/v1":"804f3d27d21dd23dc1cdeab3afaa80a875266ec411b4a7f3fc2af402da447e75"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateSwatch (cyclomatic 14, cognitive 12): updateSwatch has cyclomatic complexity 14 and cognitive complexity 12; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":16271}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ef2e1fd1eebb5599fa189b825238d88dda393d6e74977df9ea37f918fa1bc62"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addPopupMenuItems (cyclomatic 14, cognitive 12): addPopupMenuItems has cyclomatic complexity 14 and cognitive complexity 12; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":23721}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4e87fcfa70d7eac4d2d63f72efc981e96c061ce5b9c42c31e0706b5e7dfdefa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updatePageBreaks (cyclomatic 14, cognitive 12): updatePageBreaks has cyclomatic complexity 14 and cognitive complexity 12; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/grapheditor/Editor.js"},"region":{"startLine":5108}}}],"partialFingerprints":{"codehealthFindingId/v1":"704ee25cb3e3ce98c97e6f06e57765ca53962ba2839cb5bbb985a9aa8eb42e2a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 12): (anonymous) has cyclomatic complexity 14 and cognitive complexity 12; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":7424}}}],"partialFingerprints":{"codehealthFindingId/v1":"03fb557ae4bc5fa8639261a6000b1ce045ff7e50802999194081cd63951c3348"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createColorOption (cyclomatic 14, cognitive 12): createColorOption has cyclomatic complexity 14 and cognitive complexity 12; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/grapheditor/Format.js"},"region":{"startLine":1454}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5decc2874f6bab2d3bb444cd65b6d05ae9ac63bdd362d06c082f98bae6c722e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getBaseFilename (cyclomatic 14, cognitive 11): getBaseFilename has cyclomatic complexity 14 and cognitive complexity 11; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":4188}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f5ded64f630315cb564cdf769e2e300a1bfde6e521f5299dfd69536a4196f1f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sampleArc (cyclomatic 14, cognitive 11): sampleArc has cyclomatic complexity 14 and cognitive complexity 11; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":1371}}}],"partialFingerprints":{"codehealthFindingId/v1":"a21a351b707900fd6b8a11aca401c30f68729403b8e1990b6e6e3b220de2c702"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isEscapeHandled (cyclomatic 14, cognitive 11): isEscapeHandled has cyclomatic complexity 14 and cognitive complexity 11; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":10906}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c932a2951e685f6d14dce40b940477cf23e34da9f4130d203029a2fc51704bd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 46): (anonymous) has cyclomatic complexity 13 and cognitive complexity 46; 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/webapp/js/open.js"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7190e348a9f9bc8c5290270f2c922b1c47bf436c9fd47fd9e655812dab52e60"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function initPages (cyclomatic 13, cognitive 43): initPages has cyclomatic complexity 13 and cognitive complexity 43; 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":4805}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a5c416d81bdb6a748dbf4050ed7b2a08b0a34758d4b04e63ddfb493c7b520cf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseStencilSet (cyclomatic 13, cognitive 42): parseStencilSet has cyclomatic complexity 13 and cognitive complexity 42; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":34319}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc7982391c752882c4fb7f4ea9b539b8577a740f9f1358c1efd6de54e39e459a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadPlugins (cyclomatic 13, cognitive 40): loadPlugins has cyclomatic complexity 13 and cognitive complexity 40; 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/webapp/js/diagramly/App.js"},"region":{"startLine":1924}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7f260bf8a1ffd8ad4d842dd69a89e0b66dd2d6aa9978f318a98d2980aec28ce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function absoluteCssFonts (cyclomatic 13, cognitive 40): absoluteCssFonts has cyclomatic complexity 13 and cognitive complexity 40; 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/webapp/js/diagramly/Editor.js"},"region":{"startLine":7030}}}],"partialFingerprints":{"codehealthFindingId/v1":"c34ed3ce339cc5f4f1ad1a995abede1ab10130dfe8f11f086572cab0279161d9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function removeCells (cyclomatic 13, cognitive 38): removeCells has cyclomatic complexity 13 and cognitive complexity 38; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":35527}}}],"partialFingerprints":{"codehealthFindingId/v1":"000a45f63f3f64a2be6165b8a40c72ac2243468b78df8706f7919e668daf1aa9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getResizePreviewCache (cyclomatic 13, cognitive 37): getResizePreviewCache has cyclomatic complexity 13 and cognitive complexity 37; 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/webapp/js/diagramly/LibavoidRouting.js"},"region":{"startLine":4090}}}],"partialFingerprints":{"codehealthFindingId/v1":"950b680a8321a9962ad940aa137c94dd38899dab57a0dab6cedcfa92c2086984"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function update (cyclomatic 13, cognitive 35): update has cyclomatic complexity 13 and cognitive complexity 35; 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/webapp/js/grapheditor/Format.js"},"region":{"startLine":4131}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7e61ddc7ad2b5dcc11b352e4635188eadc352b6ce63263cdd83d4d88e59cf97"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function measureTextBackgrounds (cyclomatic 13, cognitive 34): measureTextBackgrounds has cyclomatic complexity 13 and cognitive complexity 34; 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/webapp/mxgraph/src/util/mxSvgCanvas2D.js"},"region":{"startLine":4399}}}],"partialFingerprints":{"codehealthFindingId/v1":"590ba90645b0fc47f583350a6f9e642e397713722a53cf2f96f06822b17acefc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function flush (cyclomatic 13, cognitive 32): flush has cyclomatic complexity 13 and cognitive complexity 32; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":43407}}}],"partialFingerprints":{"codehealthFindingId/v1":"33bddf739324e06e1be1943327268d1ee089fb98e4e1a660b58ce4524a312907"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addTemplateEntry (cyclomatic 13, cognitive 31): addTemplateEntry has cyclomatic complexity 13 and cognitive complexity 31; 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":4111}}}],"partialFingerprints":{"codehealthFindingId/v1":"34626f29f99bb722404d0b0ff64dbebc6faf3b54975c05617af4ad75f364b523"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function importGraphModel (cyclomatic 13, cognitive 31): importGraphModel has cyclomatic complexity 13 and cognitive complexity 31; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":34701}}}],"partialFingerprints":{"codehealthFindingId/v1":"a50a713e4b23d4a3e7240ec3eb46f4b612b2f2ca650ca67c033d15766da8a1bc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function moveCell (cyclomatic 13, cognitive 31): moveCell has cyclomatic complexity 13 and cognitive complexity 31; 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/webapp/mxgraph/src/layout/mxStackLayout.js"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ee96dd750410ae97a95c3bb5e72f568df836617813222f8946e7df9200644ff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function compressionChanged (cyclomatic 13, cognitive 30): compressionChanged has cyclomatic complexity 13 and cognitive complexity 30; 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/webapp/js/diagramly/DrawioFile.js"},"region":{"startLine":3872}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f9e30497947bf2df691917962ca0bb8fec984cdd595c940cb96cfdb64671b64"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getBoundingBoxFromGeometry (cyclomatic 13, cognitive 29): getBoundingBoxFromGeometry has cyclomatic complexity 13 and cognitive complexity 29; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":21842}}}],"partialFingerprints":{"codehealthFindingId/v1":"5246ea1a448ffc67e2ee38a191e5a14661f1dfcd247fd8a946a9be9e24e13d48"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createDemoResponse (cyclomatic 13, cognitive 29): createDemoResponse has cyclomatic complexity 13 and cognitive complexity 29; 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/webapp/plugins/update.js"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"9077c31314d479040727220aec01f479e67b2d455aef7fc04e90968c0a731fc8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addHtmlInCanvasFonts (cyclomatic 13, cognitive 28): addHtmlInCanvasFonts has cyclomatic complexity 13 and cognitive complexity 28; 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/webapp/js/diagramly/Editor.js"},"region":{"startLine":7640}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1749597f4809876a658c7d00a022a550d7fed5d49e2c259e6c92e173bdd09c5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addLibraryEntries (cyclomatic 13, cognitive 28): addLibraryEntries has cyclomatic complexity 13 and cognitive complexity 28; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":6748}}}],"partialFingerprints":{"codehealthFindingId/v1":"844311dfa41fe4a4a028b1268d9f1da84aceb81cc00d7f3cf410952c1e429250"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 28): (anonymous) has cyclomatic complexity 13 and cognitive complexity 28; 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/webapp/js/diagramly/GraphViewer.js"},"region":{"startLine":1332}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef36911393c49077f80faf3c0838cb5bdf761ff47ad3f6680b9b62f86a68a333"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function restoreKeptRoleValues (cyclomatic 13, cognitive 28): restoreKeptRoleValues has cyclomatic complexity 13 and cognitive complexity 28; 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/webapp/js/diagramly/tidy/TidyStyle.js"},"region":{"startLine":909}}}],"partialFingerprints":{"codehealthFindingId/v1":"41cba88ae61cee8b89294769e295073b362cff21262f2f0f3001347ee4885cbe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getGradient (cyclomatic 13, cognitive 28): getGradient has cyclomatic complexity 13 and cognitive complexity 28; 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":12593}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a218c9b13b4e1fe7b1a2ff4fc5736d9799a8907777d7fbfc5ff1362cf531a51"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateChangedTies (cyclomatic 13, cognitive 28): updateChangedTies has cyclomatic complexity 13 and cognitive complexity 28; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":33948}}}],"partialFingerprints":{"codehealthFindingId/v1":"07c93325c2d1f12622d7ce825b76e722048296ad8b48cb933290b032ac8bdb13"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function repaint (cyclomatic 13, cognitive 28): repaint has cyclomatic complexity 13 and cognitive complexity 28; 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/webapp/js/grapheditor/InlineToolbar.js"},"region":{"startLine":1180}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c0cd51ea6597c587b06a8228c426336ded00d813034ee1104d8f61fca3edc87"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paintForeground (cyclomatic 13, cognitive 28): paintForeground has cyclomatic complexity 13 and cognitive complexity 28; 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/webapp/shapes/mxSysML.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"eea3f571f4736d871062f0fdf4e94dfacca31a2cde069e7384f6015761c6e7cc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 27): (anonymous) has cyclomatic complexity 13 and cognitive complexity 27; 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"e960f8322ca477ce697d4c7b724bec3adfbe5366880526fcb9b3af31a316a18c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function makeSequenceMessages (cyclomatic 13, cognitive 27): makeSequenceMessages has cyclomatic complexity 13 and cognitive complexity 27; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":10634}}}],"partialFingerprints":{"codehealthFindingId/v1":"caac8516df99a2a1e46e8b0f76b0ff863f36a7efc72abbca7b4a24d0d42ee419"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getPickerShapes (cyclomatic 13, cognitive 27): getPickerShapes has cyclomatic complexity 13 and cognitive complexity 27; 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/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":2016}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3ef37b311a6623ceb4cbb76f76f9ebb3e028d65361f60373e03d994631859ff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getPreviewPoints (cyclomatic 13, cognitive 27): getPreviewPoints has cyclomatic complexity 13 and cognitive complexity 27; 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/webapp/mxgraph/src/handler/mxEdgeSegmentHandler.js"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"6265e12c7d4e596a925f5a6d0bbc47fe64e8f529821f02ed953668ad374ca108"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rotateCell (cyclomatic 13, cognitive 27): rotateCell has cyclomatic complexity 13 and cognitive complexity 27; 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/webapp/mxgraph/src/handler/mxVertexHandler.js"},"region":{"startLine":1433}}}],"partialFingerprints":{"codehealthFindingId/v1":"92a532c36276ce24017d1529a3c11b3d61ff07bee2f94135f7903d69a7c679aa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setTableColumnWidth (cyclomatic 13, cognitive 26): setTableColumnWidth has cyclomatic complexity 13 and cognitive complexity 26; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":26637}}}],"partialFingerprints":{"codehealthFindingId/v1":"a307acb2aff04d84886824f7db26964fd32716a9574cf5a4b54758ca52e8058b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setHandlesVisible (cyclomatic 13, cognitive 26): setHandlesVisible has cyclomatic complexity 13 and cognitive complexity 26; 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/webapp/mxgraph/src/handler/mxEdgeHandler.js"},"region":{"startLine":2782}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5aac033efe69e557cd1b3800e5282f8c100345d1b5bdec975d2ec4cba2fb046"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isSourceValue (cyclomatic 13, cognitive 25): isSourceValue has cyclomatic complexity 13 and cognitive complexity 25; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":39327}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ac05947675e520d163cd7bee5602c132e37622dbddeb8503efbe5f51829939e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 25): (anonymous) has cyclomatic complexity 13 and cognitive complexity 25; 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/webapp/js/diagramly/Menus.js"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d8b4e605fc30c92ef7eb72963e0ca055b0dde59fc7e40566ca1c630463897fb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeGraph (cyclomatic 13, cognitive 25): normalizeGraph has cyclomatic complexity 13 and cognitive complexity 25; 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":2976}}}],"partialFingerprints":{"codehealthFindingId/v1":"8578b5afe4fcda4c541c427e8a3177bfec333f8ba473a44b9592623b99736041"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getDoubleClickTerminalForEvent (cyclomatic 13, cognitive 25): getDoubleClickTerminalForEvent has cyclomatic complexity 13 and cognitive complexity 25; 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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":2484}}}],"partialFingerprints":{"codehealthFindingId/v1":"1410bff5b284a0e4293c9e6fa920e57789af01bc8ebafae592aace6fc697e6b2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deleteCells (cyclomatic 13, cognitive 25): deleteCells has cyclomatic complexity 13 and cognitive complexity 25; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":44736}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b30a02f8690d93732ebe67bb1759d75f2f093ef5c0bbf0a1b0745ceed0f2967"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setVertexLocation (cyclomatic 13, cognitive 25): setVertexLocation has cyclomatic complexity 13 and cognitive complexity 25; 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/webapp/mxgraph/src/layout/mxGraphLayout.js"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"3daa94052ad2cc4ea9664948b1122e5d85cc616921d7fa4f5ce8ed7f8bbddb4e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function exportFile (cyclomatic 13, cognitive 24): exportFile has cyclomatic complexity 13 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":42028}}}],"partialFingerprints":{"codehealthFindingId/v1":"06c4106ac892fba68cac5c8faa8cf9a9ee368ef4679f21400c2ba52fd145a05f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setFlowStartTimes (cyclomatic 13, cognitive 24): setFlowStartTimes has cyclomatic complexity 13 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/webapp/js/diagramly/gif/AnimationExport.js"},"region":{"startLine":1428}}}],"partialFingerprints":{"codehealthFindingId/v1":"f478cb3e5f7794b43265581f0851cb45b9c093f23666f02389d3640bccb09c37"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getImageCssVars (cyclomatic 13, cognitive 24): getImageCssVars has cyclomatic complexity 13 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"170740c7f317cb5e46312298b89025beb9e727677079a97d83e3e6d0f3fa1859"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addUnconfirmedRemoves (cyclomatic 13, cognitive 23): addUnconfirmedRemoves has cyclomatic complexity 13 and cognitive complexity 23; 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/webapp/js/diagramly/DrawioFileSync.js"},"region":{"startLine":1829}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0ef55cf5dfa3887f603deb11f7f0ffdaeed2c1bb423ecd62c00b9c80f2c5390"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getCustomColors (cyclomatic 13, cognitive 23): getCustomColors has cyclomatic complexity 13 and cognitive complexity 23; 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/webapp/js/grapheditor/Format.js"},"region":{"startLine":7708}}}],"partialFingerprints":{"codehealthFindingId/v1":"da572612b9ded1d8356e5e765de03e3546f1b3ef6f223624f1b758dd5c0a476d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function text (cyclomatic 13, cognitive 23): text has cyclomatic complexity 13 and cognitive complexity 23; 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/webapp/mxgraph/src/util/mxXmlCanvas2D.js"},"region":{"startLine":1129}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f673a949d5544045f9a7a329621970fc10ddf59252fd62814d80cae107a7b25"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function splitCsvRecords (cyclomatic 13, cognitive 22): splitCsvRecords has cyclomatic complexity 13 and cognitive complexity 22; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":38187}}}],"partialFingerprints":{"codehealthFindingId/v1":"167f012a40858d77a735fff85e48fd705cb5807421c09d7a1ac70e4a2a394059"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function replacePlaceholders (cyclomatic 13, cognitive 22): replacePlaceholders has cyclomatic complexity 13 and cognitive complexity 22; 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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":5848}}}],"partialFingerprints":{"codehealthFindingId/v1":"40fe5e724f719800911cf5126b556dbaebec19e1d7c97f291b7d99914189484c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function transformShape (cyclomatic 13, cognitive 22): transformShape has cyclomatic complexity 13 and cognitive complexity 22; 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/webapp/js/diagramly/ForceExplorer.js"},"region":{"startLine":4284}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4f1a369a27c70faa1d28ae77eb244068b37f60cfdf4c0d96d6d06a2dfab90cc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 22): (anonymous) has cyclomatic complexity 13 and cognitive complexity 22; 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/webapp/js/diagramly/LayoutPicker.js"},"region":{"startLine":734}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c48df54ab6932ef7144fe2f7c975e1143f41e693960d66095bac5c61b59b7d0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveInheritedLabelStyles (cyclomatic 13, cognitive 22): resolveInheritedLabelStyles has cyclomatic complexity 13 and cognitive complexity 22; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":19015}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc0e0a93b2ebe423a96ca53d49c238747c3a76dead0354bacdab90ef1ee2b11b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function destroy (cyclomatic 13, cognitive 22): destroy has cyclomatic complexity 13 and cognitive complexity 22; 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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":14661}}}],"partialFingerprints":{"codehealthFindingId/v1":"9da7958d80e6795056719947435cfebda30eceeacdaced76160e2553feccf32f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function writeGraphModelToPng (cyclomatic 13, cognitive 21): writeGraphModelToPng has cyclomatic complexity 13 and cognitive complexity 21; 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/webapp/js/diagramly/Editor.js"},"region":{"startLine":8355}}}],"partialFingerprints":{"codehealthFindingId/v1":"26e2224b792c2191856c42919ed5264fa4d8efbe3a9cfb2aa65892f8e09f1ad3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createUrlParameters (cyclomatic 13, cognitive 21): createUrlParameters has cyclomatic complexity 13 and cognitive complexity 21; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":10528}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f4825a9dda05411efca12c50b398fb3055e24a3aafa4d01682b76ec7ba9e89e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createHybridLabel (cyclomatic 13, cognitive 21): createHybridLabel has cyclomatic complexity 13 and cognitive complexity 21; 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":12270}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbd8428705571ec8063cef4f15555c7d4568ebe0cce8c0568d3d83d7f64afb69"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getLblEdgeOffset (cyclomatic 13, cognitive 21): getLblEdgeOffset has cyclomatic complexity 13 and cognitive complexity 21; 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":14755}}}],"partialFingerprints":{"codehealthFindingId/v1":"9718b5e2e62d4519243291e2196a5ad162682ce0886c6892f85b7de5c40d949a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 21): (anonymous) has cyclomatic complexity 13 and cognitive complexity 21; 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/webapp/js/grapheditor/Actions.js"},"region":{"startLine":2253}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e42f4b6d66e9bac598314a8347e6a5eedf6d73deba827e9cba18819b2f4cc1a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 21): (anonymous) has cyclomatic complexity 13 and cognitive complexity 21; 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/webapp/js/grapheditor/Actions.js"},"region":{"startLine":2314}}}],"partialFingerprints":{"codehealthFindingId/v1":"d63e9897a38eb0989b71b6545959c4767939d74989546c8c586e6e7f303f3390"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateEdgeLabelShape (cyclomatic 13, cognitive 21): updateEdgeLabelShape has cyclomatic complexity 13 and cognitive complexity 21; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":17331}}}],"partialFingerprints":{"codehealthFindingId/v1":"98d5db66c84bb1b39a7a1b60cb3e40282459981c5a8e2ac37e0f08f97d4f7612"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resizeCell (cyclomatic 13, cognitive 21): resizeCell has cyclomatic complexity 13 and cognitive complexity 21; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":47628}}}],"partialFingerprints":{"codehealthFindingId/v1":"902c39f0a66ce8a4e61b7af13dd1e2a3e7de3f4bee876007352959feb28fed1f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getResourceReverseMap (cyclomatic 13, cognitive 21): getResourceReverseMap has cyclomatic complexity 13 and cognitive complexity 21; 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/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":2544}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0ff55d067546bf0c6a9bdd88c0067e216c59597ac8393dcf7da020673a1a8f8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stopEditing (cyclomatic 13, cognitive 21): stopEditing has cyclomatic complexity 13 and cognitive complexity 21; 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/webapp/mxgraph/src/view/mxCellEditor.js"},"region":{"startLine":1007}}}],"partialFingerprints":{"codehealthFindingId/v1":"290b2dbb6a42ccee069175d7221ec5240d4fae3de28e3cbcd81f04ebd26a7828"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paintVertexShape (cyclomatic 13, cognitive 21): paintVertexShape has cyclomatic complexity 13 and cognitive complexity 21; 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/webapp/shapes/mxBasic.js"},"region":{"startLine":3322}}}],"partialFingerprints":{"codehealthFindingId/v1":"d50d609a35f97ab7c9c84cb0943c5f0f94c002420986ea25269ba7191e2fc5a8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function executeCreateObject (cyclomatic 13, cognitive 20): executeCreateObject has cyclomatic complexity 13 and cognitive complexity 20; 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/webapp/js/diagramly/App.js"},"region":{"startLine":4794}}}],"partialFingerprints":{"codehealthFindingId/v1":"7586f7797496c10d0286fe683d8664bd7fefc1456913220940e21c27fbcb8711"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getEmbeddedSvg (cyclomatic 13, cognitive 20): getEmbeddedSvg has cyclomatic complexity 13 and cognitive complexity 20; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":13624}}}],"partialFingerprints":{"codehealthFindingId/v1":"f72bca3937079b686406e08845ca0d2fc567301a71bbc4a03131d57adea4bf0b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resizeImage (cyclomatic 13, cognitive 20): resizeImage has cyclomatic complexity 13 and cognitive complexity 20; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":18231}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7f2843f78e36d58f9030f2ffd9b2f5e09bcd0dd9627f9daf93b74768ce99571"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getDataSourceRecords (cyclomatic 13, cognitive 20): getDataSourceRecords has cyclomatic complexity 13 and cognitive complexity 20; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":38253}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb0e8951414c819ee16b7fc1c7da5afe7aeb4e81b52cb18db771303c3d69b696"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setPageGroup (cyclomatic 13, cognitive 20): setPageGroup has cyclomatic complexity 13 and cognitive complexity 20; 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/webapp/js/diagramly/Pages.js"},"region":{"startLine":2977}}}],"partialFingerprints":{"codehealthFindingId/v1":"03107adfa51083d5def63878091f62bc0d1624a285fda7071e77fa0a4a0a7b4f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getEdgesThroughShapes (cyclomatic 13, cognitive 20): getEdgesThroughShapes has cyclomatic complexity 13 and cognitive complexity 20; 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/webapp/js/diagramly/tidy/Tidy.js"},"region":{"startLine":2268}}}],"partialFingerprints":{"codehealthFindingId/v1":"29e43f1336f58592acc35520c5514c6fbfb3ba161e972b8dc46775a2540ef63d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _loop_1 (cyclomatic 13, cognitive 20): _loop_1 has cyclomatic complexity 13 and cognitive complexity 20; 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":2827}}}],"partialFingerprints":{"codehealthFindingId/v1":"97502c1cb72bad043d44f95f71e8e53ee93174d48d1e0e88e17b8df64bfc9d7e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function removeInheritedLabelKeys (cyclomatic 13, cognitive 20): removeInheritedLabelKeys has cyclomatic complexity 13 and cognitive complexity 20; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":19221}}}],"partialFingerprints":{"codehealthFindingId/v1":"c19d82fc123f5c2ac3eb55a5b398e472dbf8e6bdf9ebdb36168d99a4baf9d99d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getPointForEvent (cyclomatic 13, cognitive 20): getPointForEvent has cyclomatic complexity 13 and cognitive complexity 20; 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/webapp/mxgraph/src/handler/mxEdgeHandler.js"},"region":{"startLine":1141}}}],"partialFingerprints":{"codehealthFindingId/v1":"f08162629ffe169cded1077e5ce83bbc6dc8947af6b191e2fb5ce20bc53472e7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processChildren (cyclomatic 13, cognitive 20): processChildren has cyclomatic complexity 13 and cognitive complexity 20; 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/webapp/mxgraph/src/util/mxUtils.js"},"region":{"startLine":6477}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe399051e0141a50f07b6e498250c353d74cac39e54ae273a5b37f16587321a9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cellsMoved (cyclomatic 13, cognitive 20): cellsMoved has cyclomatic complexity 13 and cognitive complexity 20; 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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":6787}}}],"partialFingerprints":{"codehealthFindingId/v1":"bed3949a90c9ee1cb45bf9fc17e6e55bb26fabdfb5ddfc20494bb6c0d320970e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RhombusPerimeter (cyclomatic 13, cognitive 20): RhombusPerimeter has cyclomatic complexity 13 and cognitive complexity 20; 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/webapp/mxgraph/src/view/mxPerimeter.js"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd53472f52cb8ba2d01a4de99fbc1d68c957bf0af97ff2d81776865ce323a21c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function openGenerateDialog (cyclomatic 13, cognitive 19): openGenerateDialog has cyclomatic complexity 13 and cognitive complexity 19; 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/webapp/js/diagramly/App.js"},"region":{"startLine":5070}}}],"partialFingerprints":{"codehealthFindingId/v1":"3453461d28e83c46bfc3d4a231768cfe246234ffa93f476217ae0b2cc63a2971"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function change (cyclomatic 13, cognitive 19): change has cyclomatic complexity 13 and cognitive complexity 19; 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":5362}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0070bbb1e416444799911c205b78b9c2ce869fa0bd7f394c488353d3f977418"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isLayoutEdit (cyclomatic 13, cognitive 19): isLayoutEdit has cyclomatic complexity 13 and cognitive complexity 19; 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/webapp/js/diagramly/LayoutPicker.js"},"region":{"startLine":1947}}}],"partialFingerprints":{"codehealthFindingId/v1":"210587c1ebcaed0d572018758bb8ec76cfe996529e409fbaafe623c698c8ca7b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inputChanged (cyclomatic 13, cognitive 19): inputChanged has cyclomatic complexity 13 and cognitive complexity 19; 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/webapp/js/grapheditor/Dialogs.js"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"d569d517bba723e75301c99cb8a3c6bc27564fc4bbaff4d71f53e58356405156"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getEdgeMidpoint (cyclomatic 13, cognitive 19): getEdgeMidpoint has cyclomatic complexity 13 and cognitive complexity 19; 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/webapp/js/grapheditor/InlineToolbar.js"},"region":{"startLine":760}}}],"partialFingerprints":{"codehealthFindingId/v1":"72890ca4a3ce11e9a5d8a549e851bd5b333c6b35fb73fc42662b7532b7a33585"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toWorldFrame (cyclomatic 13, cognitive 19): toWorldFrame has cyclomatic complexity 13 and cognitive complexity 19; 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/webapp/js/libavoid-js/libavoid-routing.js"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"e462cae992f8175c11ab9bbfe9e59dd5f06486e6a4d765bd0b594e67d0f6bc82"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateCachedBounds (cyclomatic 13, cognitive 19): updateCachedBounds has cyclomatic complexity 13 and cognitive complexity 19; 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/webapp/mxgraph/src/view/mxCellState.js"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"8882dae96969b5165cf546042d04895fcdde7e084028e3f79e004d95e0c599ad"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 18): (anonymous) has cyclomatic complexity 13 and cognitive complexity 18; 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/webapp/js/diagramly/App.js"},"region":{"startLine":5210}}}],"partialFingerprints":{"codehealthFindingId/v1":"5852a3f78aa913b8073f7f0c7c8994f9c02d2e740165fd0559c1843e182d3d7a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function insertLabel (cyclomatic 13, cognitive 18): insertLabel has cyclomatic complexity 13 and cognitive complexity 18; 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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":6351}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e19850503a3d0f7f77ea752300178710aff3e1ef0ba9bcbf2dd49c67d709b7f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 18): (anonymous) has cyclomatic complexity 13 and cognitive complexity 18; 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/webapp/js/diagramly/LayoutPicker.js"},"region":{"startLine":1581}}}],"partialFingerprints":{"codehealthFindingId/v1":"715d3bee1d9d25a0d341300608d0db90d521e7270d0ce876db83c2622f2c30c7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getGroupOrder (cyclomatic 13, cognitive 18): getGroupOrder has cyclomatic complexity 13 and cognitive complexity 18; 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/webapp/js/diagramly/Omnibox.js"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"650debad7a742f9fbf75da1b7f38e26b8f41dacdee3f6796ac7136a8f30a233f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addChild (cyclomatic 13, cognitive 18): addChild has cyclomatic complexity 13 and cognitive complexity 18; 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/webapp/js/diagramly/Trees.js"},"region":{"startLine":1369}}}],"partialFingerprints":{"codehealthFindingId/v1":"4598b4d6b0cbd730f794a84ad7f6b11ea35a1a139d79c63e87c754b09745f87f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareStyle (cyclomatic 13, cognitive 18): prepareStyle has cyclomatic complexity 13 and cognitive complexity 18; 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/webapp/js/diagramly/tidy/TidyStyle.js"},"region":{"startLine":2013}}}],"partialFingerprints":{"codehealthFindingId/v1":"acd4b79ee853c5d59c221ee48a17afff75c0ef3a0194438787b61f7ff3236037"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stripImageMetadata (cyclomatic 13, cognitive 18): stripImageMetadata has cyclomatic complexity 13 and cognitive complexity 18; 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/webapp/js/grapheditor/Editor.js"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"e55f0c29c784564f9c40f79083fef42aee939d96387f6320ea7e205fa9298525"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getAutosizeTextAvailableSpace (cyclomatic 13, cognitive 18): getAutosizeTextAvailableSpace has cyclomatic complexity 13 and cognitive complexity 18; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":36950}}}],"partialFingerprints":{"codehealthFindingId/v1":"933344b34be21d42be1256e7fde87a78fd9dff5f104f39567e309d09ff1e9a81"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getShapeEntries (cyclomatic 13, cognitive 18): getShapeEntries has cyclomatic complexity 13 and cognitive complexity 18; 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/webapp/js/grapheditor/InlineToolbar.js"},"region":{"startLine":4559}}}],"partialFingerprints":{"codehealthFindingId/v1":"abda18ce5b6ff6b96978eb84bc328423a26c7594c821f3dc6bb4d253a3fd9fa7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getLabelMargins (cyclomatic 13, cognitive 18): getLabelMargins has cyclomatic complexity 13 and cognitive complexity 18; 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/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"2679b6427d20c7d0c2dfc31136c2cc8e0830635e006614cdc1624ad9b7c7f954"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function saveFile (cyclomatic 13, cognitive 17): saveFile has cyclomatic complexity 13 and cognitive complexity 17; 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/webapp/js/diagramly/App.js"},"region":{"startLine":6303}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1346f9b55c46ed6371ce8f5d2c4f5d7b19ac879330282ecbcd9eb46877d8820"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkOwnPage (cyclomatic 13, cognitive 17): checkOwnPage has cyclomatic complexity 13 and cognitive complexity 17; 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/webapp/js/diagramly/DrawioFileSync.js"},"region":{"startLine":2727}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf6cee8eaad3cab5edcbab3b1cb65aaad1b11c7175712a8c3a3c31d809bdeebf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 17): (anonymous) has cyclomatic complexity 13 and cognitive complexity 17; 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/webapp/js/diagramly/Editor.js"},"region":{"startLine":8060}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cd3c757114fea66c290ef34f79b7ef5287f9ba365bc2f7b024590b200b0eb31"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rasterizeEmbedImage (cyclomatic 13, cognitive 17): rasterizeEmbedImage has cyclomatic complexity 13 and cognitive complexity 17; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":19581}}}],"partialFingerprints":{"codehealthFindingId/v1":"302007e9a196b9c3268a45c4b0fbe0f3a0aa3d4575dd71d503cd2c063e0aa6bf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sendEmbeddedSvgExport (cyclomatic 13, cognitive 17): sendEmbeddedSvgExport has cyclomatic complexity 13 and cognitive complexity 17; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":31516}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3fbc6560abdef4317de96b1d36259b8fd12cb3f9e213546bb06fd77fc20e75b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function watchFile (cyclomatic 13, cognitive 17): watchFile has cyclomatic complexity 13 and cognitive complexity 17; 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/webapp/js/diagramly/ElectronApp.js"},"region":{"startLine":1074}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0e4a0776bde45b254fcabdb1e72cbebfa82b30d2c24620fd0243eb9115f0912"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateLevelDistance (cyclomatic 13, cognitive 17): updateLevelDistance has cyclomatic complexity 13 and cognitive complexity 17; 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/webapp/js/diagramly/ForceExplorer.js"},"region":{"startLine":2626}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc37c1243117bbedcc09dc930f18b18d51a9e7c24fcd22f8df48598a96d9f602"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function popoverKeyDown (cyclomatic 13, cognitive 17): popoverKeyDown has cyclomatic complexity 13 and cognitive complexity 17; 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/webapp/js/diagramly/LightboxModern.js"},"region":{"startLine":2499}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd6abf45e7f55ac38222be17f85a579ca19c412bd8f1cada9cf85134b09fd822"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resetEdges (cyclomatic 13, cognitive 17): resetEdges has cyclomatic complexity 13 and cognitive complexity 17; 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/webapp/js/diagramly/tidy/Tidy.js"},"region":{"startLine":1733}}}],"partialFingerprints":{"codehealthFindingId/v1":"24b4e626534897dd31a3447d0e2a4823fb10270bdfe333be39a3466b8a8f26b7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getLayoutSpec (cyclomatic 13, cognitive 17): getLayoutSpec has cyclomatic complexity 13 and cognitive complexity 17; 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/webapp/js/diagramly/tidy/Tidy.js"},"region":{"startLine":2336}}}],"partialFingerprints":{"codehealthFindingId/v1":"d048a2ce9b788acca2d4b28e61803dd25102125eeca34666c3c4a179ed35823a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function drawCellState (cyclomatic 13, cognitive 17): drawCellState has cyclomatic complexity 13 and cognitive complexity 17; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":41114}}}],"partialFingerprints":{"codehealthFindingId/v1":"aebd57118960cf6cbe84e3aa8d824835f5965a8833e8f6568b15aa9c30ef8ed1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getScaleForPageCount (cyclomatic 13, cognitive 17): getScaleForPageCount has cyclomatic complexity 13 and cognitive complexity 17; 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/webapp/mxgraph/src/util/mxUtils.js"},"region":{"startLine":5364}}}],"partialFingerprints":{"codehealthFindingId/v1":"a637ccf5e4ae884e85efcf63381cc74ab87345cfb841a37ecb49dfe328bd9339"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 16): (anonymous) has cyclomatic complexity 13 and cognitive complexity 16; 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":12834}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d4d1ce445b064d527d4db1e5dac5a38bb360cf1c695c1603bb826f7c89c51f8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stepLabel (cyclomatic 13, cognitive 16): stepLabel has cyclomatic complexity 13 and cognitive complexity 16; 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":14633}}}],"partialFingerprints":{"codehealthFindingId/v1":"3efcedc066eb185b038fbccfd694fdc552a138b2198801be8bcb5e2606356f48"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addGroupOps (cyclomatic 13, cognitive 16): addGroupOps has cyclomatic complexity 13 and cognitive complexity 16; 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/webapp/js/grapheditor/Format.js"},"region":{"startLine":2793}}}],"partialFingerprints":{"codehealthFindingId/v1":"70fdc8c96077001411203418e5a0522a2c6df1df1bac1f6ff2516a49c70c5b73"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getLockedGroupAncestor (cyclomatic 13, cognitive 16): getLockedGroupAncestor has cyclomatic complexity 13 and cognitive complexity 16; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":16881}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ce214de5d509f005c6418dfea6958e71370ac693551087d697b2eef452ba5c6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resizeParentStacks (cyclomatic 13, cognitive 16): resizeParentStacks has cyclomatic complexity 13 and cognitive complexity 16; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":19979}}}],"partialFingerprints":{"codehealthFindingId/v1":"9853b29f62cf7cbba982742b78d237635b702a94fddb98510ed98dbb873156b4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function focusItemInDirection (cyclomatic 13, cognitive 16): focusItemInDirection has cyclomatic complexity 13 and cognitive complexity 16; 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/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":7883}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed9c0fa34dc4ab028ecede0f80dfe53f795d754fdeedb2eb440d675701a7e868"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mouseMove (cyclomatic 13, cognitive 16): mouseMove has cyclomatic complexity 13 and cognitive complexity 16; 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/webapp/mxgraph/src/util/mxDragSource.js"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"171b47583ee82b196be8e1832c1c9709659fc4c06a68cf91f53cac5cb10cbfa3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paintVertexShape (cyclomatic 13, cognitive 16): paintVertexShape has cyclomatic complexity 13 and cognitive complexity 16; 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/webapp/shapes/mxBootstrap.js"},"region":{"startLine":1015}}}],"partialFingerprints":{"codehealthFindingId/v1":"45023ca0452a3d52509597c045f4192d35ddd0cbcaa789d2a5340bf359dcf771"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paintVertexShape (cyclomatic 13, cognitive 16): paintVertexShape has cyclomatic complexity 13 and cognitive complexity 16; 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/webapp/shapes/mxSysML.js"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab9249a982f9362ac91be89f8665d7143b922e9ffe09f359feec613b2e86addf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function dropHandler (cyclomatic 13, cognitive 15): dropHandler has cyclomatic complexity 13 and cognitive complexity 15; 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":20625}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a0454b0c1443f5833a43428a548ea977af36333224d7f5a4ace392bd845895c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function destroy (cyclomatic 13, cognitive 15): destroy has cyclomatic complexity 13 and cognitive complexity 15; 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/webapp/js/diagramly/DrawioFileSync.js"},"region":{"startLine":4644}}}],"partialFingerprints":{"codehealthFindingId/v1":"f84d034071e718fe1daec1a798bc0503d7388c0ff71702c5fe7610b471092e52"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 15): (anonymous) has cyclomatic complexity 13 and cognitive complexity 15; 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/webapp/js/diagramly/DriveClient.js"},"region":{"startLine":833}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfd65ed64f6ad46a93cb0e5466687113399f2020c652bb7bb1d57e46b1597a31"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isMermaidElkFlowchart (cyclomatic 13, cognitive 15): isMermaidElkFlowchart has cyclomatic complexity 13 and cognitive complexity 15; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":15716}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fa4b41fbf6aee2f4fa7ed7c5e590fdb24675bd7a1228b8f568d27fec6534ca1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveLayoutList (cyclomatic 13, cognitive 15): resolveLayoutList has cyclomatic complexity 13 and cognitive complexity 15; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":31650}}}],"partialFingerprints":{"codehealthFindingId/v1":"688355677a99fe809b0092cfed64f9ee7fc24d674c27895853e921f4e200237a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getEdgesItems (cyclomatic 13, cognitive 15): getEdgesItems has cyclomatic complexity 13 and cognitive complexity 15; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":36217}}}],"partialFingerprints":{"codehealthFindingId/v1":"d724b4837cf05cc8ac9606584f27ad67fd7eae190573f09e4a7ac08c1d301cd5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getMorphGeometries (cyclomatic 13, cognitive 15): getMorphGeometries has cyclomatic complexity 13 and cognitive complexity 15; 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/webapp/js/diagramly/LayoutPicker.js"},"region":{"startLine":2673}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca4103194dcfcad95736d24ae34a99729440c37abf1db148b8e8baa4f911c643"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addLayer (cyclomatic 13, cognitive 15): addLayer has cyclomatic complexity 13 and cognitive complexity 15; 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/webapp/js/grapheditor/Dialogs.js"},"region":{"startLine":5946}}}],"partialFingerprints":{"codehealthFindingId/v1":"dda039a2fe44d4ac21ef3105d8af6fe12a1fbfff0b28c53e403d6283a7964e5e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function replaceLegacyLayout (cyclomatic 13, cognitive 15): replaceLegacyLayout has cyclomatic complexity 13 and cognitive complexity 15; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":2242}}}],"partialFingerprints":{"codehealthFindingId/v1":"249b73567dc92c40d2b8ebef673830a21553fb5a22beb2340f0c7524a1541289"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getEdgeLabelAngle (cyclomatic 13, cognitive 15): getEdgeLabelAngle has cyclomatic complexity 13 and cognitive complexity 15; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":8483}}}],"partialFingerprints":{"codehealthFindingId/v1":"e46f06392193035b8b63f4712d70f8da427989d0a6588eed8e004f4ecf5463fa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getStartEditingCell (cyclomatic 13, cognitive 15): getStartEditingCell has cyclomatic complexity 13 and cognitive complexity 15; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":11251}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f91b482cfc641c5f722a8963c41e66e7415b13e02f4f5fc18889e9079ed6bdb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function selectCellForEvent (cyclomatic 13, cognitive 15): selectCellForEvent has cyclomatic complexity 13 and cognitive complexity 15; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":17027}}}],"partialFingerprints":{"codehealthFindingId/v1":"a54eaa9d9d4a469f48463d35af20e70f8bbf44b919f17eb65a97cf19d14ac94f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getEdgeLabelStateAt (cyclomatic 13, cognitive 15): getEdgeLabelStateAt has cyclomatic complexity 13 and cognitive complexity 15; 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/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":6224}}}],"partialFingerprints":{"codehealthFindingId/v1":"7872d97d133d9be98cd5e918bcd13db60de1993362032481e9de6a83645c1fd9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getLabelBounds (cyclomatic 13, cognitive 15): getLabelBounds has cyclomatic complexity 13 and cognitive complexity 15; 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/webapp/mxgraph/src/shape/mxSwimlane.js"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"549196294d302fb9939bc26a52f7527ef336f7a925f4752d4bc713ea04d40ad9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function layoutFlow (cyclomatic 13, cognitive 15): layoutFlow has cyclomatic complexity 13 and cognitive complexity 15; 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/webapp/mxgraph/src/util/mxSvgCanvas2D.js"},"region":{"startLine":2835}}}],"partialFingerprints":{"codehealthFindingId/v1":"200abe660f0ba2d8a67821f51943f3b38e063dfa951bd1deee7ad15c1b53af0f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function importNodeImplementation (cyclomatic 13, cognitive 15): importNodeImplementation has cyclomatic complexity 13 and cognitive complexity 15; 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/webapp/mxgraph/src/util/mxUtils.js"},"region":{"startLine":848}}}],"partialFingerprints":{"codehealthFindingId/v1":"51155f144a7277c45bd119e50206d02eaed2de77b5045eb9d5d8b53ade3401e0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function show (cyclomatic 13, cognitive 15): show has cyclomatic complexity 13 and cognitive complexity 15; 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/webapp/mxgraph/src/util/mxUtils.js"},"region":{"startLine":5507}}}],"partialFingerprints":{"codehealthFindingId/v1":"9360b65ce8d19de13bc82e052d34d4e83a03bc8e3a26bd00a6d56752d5833224"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onBeforeUnload (cyclomatic 13, cognitive 14): onBeforeUnload has cyclomatic complexity 13 and cognitive complexity 14; 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/webapp/js/diagramly/App.js"},"region":{"startLine":3568}}}],"partialFingerprints":{"codehealthFindingId/v1":"778dec2fd94a8a86e627b2af36840a1d554b4f572f1c508e519ca97de6400465"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function redrawEnumerationState (cyclomatic 13, cognitive 14): redrawEnumerationState has cyclomatic complexity 13 and cognitive complexity 14; 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/webapp/js/diagramly/Editor.js"},"region":{"startLine":11905}}}],"partialFingerprints":{"codehealthFindingId/v1":"398ef7bdedfb560f51cf0e58ea1cdab4ab5490b9bb83ab932d041fbbaa1af2cf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 14): (anonymous) has cyclomatic complexity 13 and cognitive complexity 14; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":4778}}}],"partialFingerprints":{"codehealthFindingId/v1":"db95ed38eb4bd5bbb7028bea2749d93176cdfba01e4a17ffd79be2f38c5e6d64"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getEmbedImageType (cyclomatic 13, cognitive 14): getEmbedImageType has cyclomatic complexity 13 and cognitive complexity 14; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":20735}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b276045702970c3a3b4dc97187be8ef592d551825cf6783173ebfd2e1652161"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 14): (anonymous) has cyclomatic complexity 13 and cognitive complexity 14; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":33879}}}],"partialFingerprints":{"codehealthFindingId/v1":"d95ae4aefade4fd9e1e4a61138cb1ba0ad7956f1596ed662719207c1da4b5fda"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isOrgChartCsv (cyclomatic 13, cognitive 14): isOrgChartCsv has cyclomatic complexity 13 and cognitive complexity 14; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":38135}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f04133ade37fcd5f1b93a6eda501ec424a8196b603a5de22057bd5d2f621e36"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getOutsideLabel (cyclomatic 13, cognitive 14): getOutsideLabel has cyclomatic complexity 13 and cognitive complexity 14; 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/webapp/js/diagramly/LibavoidRouting.js"},"region":{"startLine":2491}}}],"partialFingerprints":{"codehealthFindingId/v1":"c467734530e2ba0cce029b86ee7601bb1af26d78f91b1c0ced87846c59fee9b7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decodeMsg (cyclomatic 13, cognitive 14): decodeMsg has cyclomatic complexity 13 and cognitive complexity 14; 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/webapp/js/diagramly/P2PCollab.js"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"9acd9f9f81a975952a95cb0fe19d8a102b69e0b7b5c7d3a009714c0ec28580d4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getLineColor$com_mxgraph_io_vsdx_theme_QuickStyleVals$java_util_ArrayList (cyclomatic 13, cognitive 14): getLineColor$com_mxgraph_io_vsdx_theme_QuickStyleVals$java_util_ArrayList has cyclomatic complexity 13 and cognitive complexity 14; 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":6125}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a38ee0ed8dd51623b9038948a4d493aabe0818a0cae3d8a59499c7785f7f472"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateHint (cyclomatic 13, cognitive 14): updateHint has cyclomatic complexity 13 and cognitive complexity 14; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":49521}}}],"partialFingerprints":{"codehealthFindingId/v1":"87213d665c843b5dbfd5b482e28e48c0f075e070ebfcd074f3ade0648890244a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mouseUp (cyclomatic 13, cognitive 14): mouseUp has cyclomatic complexity 13 and cognitive complexity 14; 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/webapp/mxgraph/src/handler/mxPopupMenuHandler.js"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"cece08f3324e8532299e23c8d56406180c99a31e7866cabdce4f39dd97bcd610"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function moveToFront (cyclomatic 13, cognitive 14): moveToFront has cyclomatic complexity 13 and cognitive complexity 14; 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/webapp/mxgraph/src/handler/mxVertexHandler.js"},"region":{"startLine":1280}}}],"partialFingerprints":{"codehealthFindingId/v1":"693b1440be1d13ba585c8e1c2a0a8c4e0150cf6f84fbfa1c0134e53b9e4a0327"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function convertHtmlToSvg (cyclomatic 13, cognitive 14): convertHtmlToSvg has cyclomatic complexity 13 and cognitive complexity 14; 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/webapp/mxgraph/src/util/mxUtils.js"},"region":{"startLine":6011}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f5ef593e20c77cd3a556489359bb370ace10cce84b652efbb93ee5230e2c92e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paint (cyclomatic 13, cognitive 13): paint has cyclomatic complexity 13 and cognitive complexity 13; 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/webapp/js/diagramly/Editor.js"},"region":{"startLine":2781}}}],"partialFingerprints":{"codehealthFindingId/v1":"a115de0f2dd6a314c26ee17f8e312dda9eca21abdda27d1b777a5c462fa1752c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function exportToCanvas (cyclomatic 13, cognitive 13): exportToCanvas has cyclomatic complexity 13 and cognitive complexity 13; 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/webapp/js/diagramly/Editor.js"},"region":{"startLine":8005}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2293bc029068dae93e9caf36e4819cf51451a4b14790c4b7a2bb1cc2ca2bc4e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function playAnimationOnGraph (cyclomatic 13, cognitive 13): playAnimationOnGraph has cyclomatic complexity 13 and cognitive complexity 13; 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/webapp/js/diagramly/Editor.js"},"region":{"startLine":16270}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bd7feaad8b8b99d4da83ff81dbc41806b08305cca7dfa341d1f2dd9914a817e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateGlow (cyclomatic 13, cognitive 13): updateGlow has cyclomatic complexity 13 and cognitive complexity 13; 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/webapp/js/diagramly/Menus.js"},"region":{"startLine":4405}}}],"partialFingerprints":{"codehealthFindingId/v1":"57cf574959b6ba5b9698a6d7ffc66c482cce900ebf2a8464d959884682733b7a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createViewState (cyclomatic 13, cognitive 13): createViewState has cyclomatic complexity 13 and cognitive complexity 13; 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/webapp/js/diagramly/Pages.js"},"region":{"startLine":1601}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c3a260a9dfe7f766fea5f62fdd89f5387886354090323a4eafb7d3df1cc915a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 13): (anonymous) has cyclomatic complexity 13 and cognitive complexity 13; 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/webapp/js/grapheditor/Dialogs.js"},"region":{"startLine":5619}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f255689e11403c617299bb70c57fab7161b02fb2f5af092d46335babdce49e2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 13): (anonymous) has cyclomatic complexity 13 and cognitive complexity 13; 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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":4685}}}],"partialFingerprints":{"codehealthFindingId/v1":"79088c033517ec05742df5b4bf0c127fa9050fc244e6517df8ec31ec7e7e603f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 13): (anonymous) has cyclomatic complexity 13 and cognitive complexity 13; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":20691}}}],"partialFingerprints":{"codehealthFindingId/v1":"762ad3b6243aaceb1dcd20839ac6d918ae5a26dda1d94c215587ec7d6e710784"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateAutosizeTextFontSize (cyclomatic 13, cognitive 13): updateAutosizeTextFontSize has cyclomatic complexity 13 and cognitive complexity 13; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":37074}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b2ddb71bf4deb9e10883760b08f5a356f1548a6b2b3d6b231b6348c784df393"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function startEditing (cyclomatic 13, cognitive 13): startEditing has cyclomatic complexity 13 and cognitive complexity 13; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":46577}}}],"partialFingerprints":{"codehealthFindingId/v1":"265eaaa8f133d729735202cb5006c9b7533bfc5e270905283df3dcff23e09a9a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addAction (cyclomatic 13, cognitive 13): addAction has cyclomatic complexity 13 and cognitive complexity 13; 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/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":3149}}}],"partialFingerprints":{"codehealthFindingId/v1":"046813d0a5ca738441d5dc66e140b4c0a9a581912d1734b2348e0ef598a5743c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getOpposites (cyclomatic 13, cognitive 13): getOpposites has cyclomatic complexity 13 and cognitive complexity 13; 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/webapp/mxgraph/src/model/mxGraphModel.js"},"region":{"startLine":1514}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dbacdb2975f9a4b669c5c34edf2c9b54ac437e2e9a93607b67832928e898848"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function revalidateState (cyclomatic 13, cognitive 13): revalidateState has cyclomatic complexity 13 and cognitive complexity 13; 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/webapp/mxgraph/src/view/mxCellStatePreview.js"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"569d5c13f6b4e96f079177171065100c17fa70b8db555ef6f315ede5ec1d7756"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function EditGeometryDialog (cyclomatic 13, cognitive 12): EditGeometryDialog has cyclomatic complexity 13 and cognitive complexity 12; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":19615}}}],"partialFingerprints":{"codehealthFindingId/v1":"80aae031dddfe1b76d9cf4826bde9ee9ca20fd847980f11b1197b333c2b3e835"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sendErrorReport (cyclomatic 13, cognitive 12): sendErrorReport has cyclomatic complexity 13 and cognitive complexity 12; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/DrawioFile.js"},"region":{"startLine":1015}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f90f12b9dd439cce2520484fc94dcbd4fa2ebbf9e49dcb80c866ae826bcc70c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 12): (anonymous) has cyclomatic complexity 13 and cognitive complexity 12; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":9729}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b29ecb875f243a0e733b3738f08f1f81d586af231929026f78d80dd868a1bdd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getLayoutFormDefaults (cyclomatic 13, cognitive 12): getLayoutFormDefaults has cyclomatic complexity 13 and cognitive complexity 12; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/LayoutPicker.js"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"589199900e40bfad1d43e4d71372717359d9dca87ea83c3899209fc0b1bd4be8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isConnectorBigNameU (cyclomatic 13, cognitive 12): isConnectorBigNameU has cyclomatic complexity 13 and cognitive complexity 12; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":12441}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b2923d5c1f720c08cb01c207b4f31e5ba4dacf5125e5040bce3079b3d655b2a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getSvg (cyclomatic 13, cognitive 12): getSvg has cyclomatic complexity 13 and cognitive complexity 12; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/export.js"},"region":{"startLine":1103}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0455b804e451d332b81e2bfc19b81e4a41a93746bbfe9f9c9bbf99d4f1ac7b3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fromHSV (cyclomatic 13, cognitive 12): fromHSV has cyclomatic complexity 13 and cognitive complexity 12; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/grapheditor/Dialogs.js"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"f53fc669ada0244a2728e766b162a2768a768b65a4e2bcaac92724fe5e776e0f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createUi (cyclomatic 13, cognitive 12): createUi has cyclomatic complexity 13 and cognitive complexity 12; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":9138}}}],"partialFingerprints":{"codehealthFindingId/v1":"736664de9617f03dfa8530451d7315224412aeac6f1c52cf7538efb94baf2bc0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createLabelBackgroundOption (cyclomatic 13, cognitive 12): createLabelBackgroundOption has cyclomatic complexity 13 and cognitive complexity 12; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/grapheditor/Format.js"},"region":{"startLine":4839}}}],"partialFingerprints":{"codehealthFindingId/v1":"58ff88afcdebebf438e9d09b0c9e57a083cd7d06863d24bb5ad06162e0ba5e57"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getInheritedLabelParentStyle (cyclomatic 13, cognitive 12): getInheritedLabelParentStyle has cyclomatic complexity 13 and cognitive complexity 12; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":19383}}}],"partialFingerprints":{"codehealthFindingId/v1":"c106157bff2047bdf7619bb2f9670181dcdd47f08154ee6bed5fd36ed595ce9d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getCollapsedTableFillMode (cyclomatic 13, cognitive 12): getCollapsedTableFillMode has cyclomatic complexity 13 and cognitive complexity 12; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":26013}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bb51b1e3ac66312f5a2112ebb4e7a0ba6fdc3d2757e3f2b1511ffe2e5372525"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paintMirrorLabel (cyclomatic 13, cognitive 12): paintMirrorLabel has cyclomatic complexity 13 and cognitive complexity 12; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":3988}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d55d739c5a4d2ff6c8397bb942b42339ae994a14211c32657a658c73d2a7f4e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paintNWInner (cyclomatic 13, cognitive 12): paintNWInner has cyclomatic complexity 13 and cognitive complexity 12; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":7049}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a275e3caff289ee4780a0d8c43ded087065e272bcfc6cdd87b462c949f83f1b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paintNEInner (cyclomatic 13, cognitive 12): paintNEInner has cyclomatic complexity 13 and cognitive complexity 12; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":7103}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e7fa5e484a1f74b7c532fb719dcde126da363cb846724e865e8c93cc50aad5b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paintSEInner (cyclomatic 13, cognitive 12): paintSEInner has cyclomatic complexity 13 and cognitive complexity 12; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":7190}}}],"partialFingerprints":{"codehealthFindingId/v1":"a74f7e310002e549be82b20312fd7aba8c096d3b3cea380a50721ac758239db9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function drawActuatorBg (cyclomatic 13, cognitive 12): drawActuatorBg has cyclomatic complexity 13 and cognitive complexity 12; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/shapes/pid2/mxPidValves.js"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fe43d7785c05bfd28baf4090ea4794908e1a2422d7b7a3de32c3bc5ee6f6d5a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getOrgChartOptions (cyclomatic 13, cognitive 11): getOrgChartOptions has cyclomatic complexity 13 and cognitive complexity 11; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":34605}}}],"partialFingerprints":{"codehealthFindingId/v1":"65c3ba731d415d11582631819de440371dd3371a8f8810c5f973912b6abcc374"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 11): (anonymous) has cyclomatic complexity 13 and cognitive complexity 11; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/grapheditor/InlineToolbar.js"},"region":{"startLine":1821}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c3e417012dab330617af9c402a6d379990e67c894efe3742408718e48c1149a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getEmbedSvgSize (cyclomatic 13, cognitive 10): getEmbedSvgSize has cyclomatic complexity 13 and cognitive complexity 10; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":20530}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2eebf1bf95cd4e5aba997af06cd19555dbb67fde95fb9195341a738a683d67e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function dock (cyclomatic 13, cognitive 10): dock has cyclomatic complexity 13 and cognitive complexity 10; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":25875}}}],"partialFingerprints":{"codehealthFindingId/v1":"1adae9139c12948873e797da55eabc2bb298942f13cc8947ec16a2416f56cc91"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function simplify (cyclomatic 13, cognitive 10): simplify has cyclomatic complexity 13 and cognitive complexity 10; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":14692}}}],"partialFingerprints":{"codehealthFindingId/v1":"89bdbe7ddfff5d97a778d9cc559df7a37a8a1a43c1e2566853d5d7eabef075b3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function intersects (cyclomatic 13, cognitive 10): intersects has cyclomatic complexity 13 and cognitive complexity 10; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/mxgraph/src/util/mxUtils.js"},"region":{"startLine":3539}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f710032c3463d673985b092f9eb58a094e5a149c55934cef6d00e13ca0d8aaa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkReleaseChannel (cyclomatic 13, cognitive 9): checkReleaseChannel has cyclomatic complexity 13 and cognitive complexity 9; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/App.js"},"region":{"startLine":2796}}}],"partialFingerprints":{"codehealthFindingId/v1":"29dd33409cdbfaf83154b6147bbb3810e79c9872e958b264229c7ccd79d6be96"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getCommentAnchorCells (cyclomatic 12, cognitive 38): getCommentAnchorCells has cyclomatic complexity 12 and cognitive complexity 38; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":43475}}}],"partialFingerprints":{"codehealthFindingId/v1":"f064a0963b1a739da0c38a491293d0e2877f85bf1775fb7428d30983231db906"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseRules (cyclomatic 12, cognitive 37): parseRules has cyclomatic complexity 12 and cognitive complexity 37; 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":22434}}}],"partialFingerprints":{"codehealthFindingId/v1":"41ab6f357b804e5284786594ae5b0aa4569c24beff4044b1aa06449490ba3c5b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function insertLink (cyclomatic 12, cognitive 36): insertLink has cyclomatic complexity 12 and cognitive complexity 36; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":40542}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1bfa06e19d89b80cff4abd0535a1c9014787d8a8710c59b2096eeba1115812f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 35): (anonymous) has cyclomatic complexity 12 and cognitive complexity 35; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":14709}}}],"partialFingerprints":{"codehealthFindingId/v1":"562119d53098f79d9536653826ed4d2d0f90012a024b658470b2cd01863ad71b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processColors (cyclomatic 12, cognitive 34): processColors has cyclomatic complexity 12 and cognitive complexity 34; 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":5843}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ffb22802a8db762e5572f65b369a7ddf638503d5be512e87ceff0d5321a6a1c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function snapToAnchorPoint (cyclomatic 12, cognitive 33): snapToAnchorPoint has cyclomatic complexity 12 and cognitive complexity 33; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":32509}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d0845aa6ff748eb629bea8ea4ff610b4798b4be396c34ee19b8d16e9039be76"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function patchFileNode (cyclomatic 12, cognitive 32): patchFileNode has cyclomatic complexity 12 and cognitive complexity 32; 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/webapp/js/diagramly/DiffSync.js"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"29235a9d5278d8094bce1d47a27fdda0d73cfd3f4941b89c09d705a4c3682af4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ctrlEnter (cyclomatic 12, cognitive 31): ctrlEnter has cyclomatic complexity 12 and cognitive complexity 31; 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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":9963}}}],"partialFingerprints":{"codehealthFindingId/v1":"351478188dbb5e3c19149e3679f7a426bd402ed5beba1b99a1f8e3d79503ff2a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function redraw (cyclomatic 12, cognitive 31): redraw has cyclomatic complexity 12 and cognitive complexity 31; 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/webapp/mxgraph/src/handler/mxEdgeHandler.js"},"region":{"startLine":2599}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea0c7e047fb23b5742ca8e06409127dddec14c8eccf3dea82e17117a2b5ed673"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 30): (anonymous) has cyclomatic complexity 12 and cognitive complexity 30; 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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":965}}}],"partialFingerprints":{"codehealthFindingId/v1":"42a29fb74f837065df953f52468126e2ebedde6d0bd697e761e32438d039bec3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function compare (cyclomatic 12, cognitive 30): compare has cyclomatic complexity 12 and cognitive complexity 30; 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/webapp/mxgraph/src/model/mxCellPath.js"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"728d566f6d8d3fd10f4f0b7d045cd22e8e44e1faf821f1ea2788f645a45f7791"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function insertTableRow (cyclomatic 12, cognitive 29): insertTableRow has cyclomatic complexity 12 and cognitive complexity 29; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":44973}}}],"partialFingerprints":{"codehealthFindingId/v1":"67c5fd6078205addf21e2c9ac8fa6667946676d924c71bb5287e4bc0377afac1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function redrawInnerBends (cyclomatic 12, cognitive 29): redrawInnerBends has cyclomatic complexity 12 and cognitive complexity 29; 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/webapp/mxgraph/src/handler/mxEdgeSegmentHandler.js"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"981f790fe1ed0295cb6a252f396b632ecccc5d1446bd56dfb27f1e339bd98dc7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scaleCellStyles (cyclomatic 12, cognitive 28): scaleCellStyles has cyclomatic complexity 12 and cognitive complexity 28; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":38030}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcf61c9eba85b9e284f222f41d52acf0ebcf9393b15669330c6350cf1ca86c03"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cellClicked (cyclomatic 12, cognitive 28): cellClicked has cyclomatic complexity 12 and cognitive complexity 28; 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/webapp/plugins/props.js"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"56715dd185bfef7487617ffef5442822a9bdc8155cb59dd23e4e19f9909b14e3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function anonymizePatch (cyclomatic 12, cognitive 27): anonymizePatch has cyclomatic complexity 12 and cognitive complexity 27; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":3451}}}],"partialFingerprints":{"codehealthFindingId/v1":"b886ec1d897763244609cd1b9f69939e16023f324cfb9a38ec8cc824b0849842"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function traverse (cyclomatic 12, cognitive 27): traverse has cyclomatic complexity 12 and cognitive complexity 27; 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/webapp/mxgraph/src/layout/mxGraphLayout.js"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"db1b80e4437666c92814da955aa11fca414f8f7be9cf48d93b2ed2d251b14427"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ungroupCells (cyclomatic 12, cognitive 26): ungroupCells has cyclomatic complexity 12 and cognitive complexity 26; 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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":4300}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bdea7f5bea2e607ac9b0432c2d81f0c5ad0ba4519aebb905978ca7c12ac25d1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateDependencies (cyclomatic 12, cognitive 26): validateDependencies has cyclomatic complexity 12 and cognitive complexity 26; 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/webapp/mxgraph/src/view/mxGraphView.js"},"region":{"startLine":2558}}}],"partialFingerprints":{"codehealthFindingId/v1":"14b7a2aa85105923a9aecf550c564a914c0e82e98113f553c27b001063b82eaa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getTreeDirection (cyclomatic 12, cognitive 26): getTreeDirection has cyclomatic complexity 12 and cognitive complexity 26; 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/webapp/plugins/trees/trees.js"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"0642ee750b45fb9085ae6ec8be8053e2dc1cc055adc3cec9fe8485931e4b73d3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getTooltipForCell (cyclomatic 12, cognitive 25): getTooltipForCell has cyclomatic complexity 12 and cognitive complexity 25; 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/webapp/js/diagramly/DevTools.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6a5e7c7bbef2dc34b52cc37d3353c2e9f27133a235dff4e58a0211d99fc2111"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cloneSourceCells (cyclomatic 12, cognitive 25): cloneSourceCells has cyclomatic complexity 12 and cognitive complexity 25; 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/webapp/js/diagramly/ForceExplorer.js"},"region":{"startLine":3252}}}],"partialFingerprints":{"codehealthFindingId/v1":"147ffd438454f9ace6fe5d727dc4fef4a522e4dea06468447b0312d3ba342ac0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadScripts (cyclomatic 12, cognitive 25): loadScripts has cyclomatic complexity 12 and cognitive complexity 25; 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/webapp/js/diagramly/FusionTheme.js"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"39ed7e168eca4437c464957b0199feb83acef5da436dd2d1860e7fb72f3f00f8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createPickerMenuForTheme (cyclomatic 12, cognitive 25): createPickerMenuForTheme has cyclomatic complexity 12 and cognitive complexity 25; 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/webapp/js/diagramly/SimpleClassic.js"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"22cbd45233b070daa21516d636baf4670c4e14a512373dc953cdec63303b0022"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decodeChild (cyclomatic 12, cognitive 25): decodeChild has cyclomatic complexity 12 and cognitive complexity 25; 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/webapp/mxgraph/src/io/mxObjectCodec.js"},"region":{"startLine":1146}}}],"partialFingerprints":{"codehealthFindingId/v1":"4596f3b568640b2804c264b47f529c27f81f1956ed028084dc2bda022066e9e0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function clone (cyclomatic 12, cognitive 25): clone has cyclomatic complexity 12 and cognitive complexity 25; 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/webapp/mxgraph/src/util/mxUtils.js"},"region":{"startLine":2709}}}],"partialFingerprints":{"codehealthFindingId/v1":"31f2f7b04735fdd957da9c380634c2a1dabaf3f13e193c3cd0599686bb7be7bd"}},{"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/webapp/js/grapheditor/Omnibox.js"},"region":{"startLine":1693}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f8558121036e6b3077915a8235d505e1aef007d4e9940732130106cd886b3b8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paintVertexShape (cyclomatic 12, cognitive 24): paintVertexShape 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/webapp/mxgraph/src/shape/mxImageShape.js"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"30251ba6886f5c453b93cb97ccefb1ec1cade57a0db7cfd0256f641c4ea11e2e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleRemoteInvoke (cyclomatic 12, cognitive 23): handleRemoteInvoke has cyclomatic complexity 12 and cognitive complexity 23; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":42615}}}],"partialFingerprints":{"codehealthFindingId/v1":"203757fd394f49ba854053ebe23cd07f55c6219bbb89df2a1b3cd5a988f06e93"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getPaletteCellsForShapePicker (cyclomatic 12, cognitive 23): getPaletteCellsForShapePicker has cyclomatic complexity 12 and cognitive complexity 23; 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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":3149}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ee256c29ea06f756be097573b146c2b160727dc96364889d3cebe0dfafd4046"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function distributeColumns (cyclomatic 12, cognitive 23): distributeColumns has cyclomatic complexity 12 and cognitive complexity 23; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":26903}}}],"partialFingerprints":{"codehealthFindingId/v1":"5904a85f7ea0f0baf57ae85045bc5f81f157e52b437c5c36fc9be2529cc26899"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getOutlinePerimeterPoint (cyclomatic 12, cognitive 23): getOutlinePerimeterPoint has cyclomatic complexity 12 and cognitive complexity 23; 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/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":4555}}}],"partialFingerprints":{"codehealthFindingId/v1":"12fc468b965dbbaf6aec1eaee27ce3ad833dd9f9c0849d7206d1eca6ea1da236"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function zoom (cyclomatic 12, cognitive 23): zoom has cyclomatic complexity 12 and cognitive complexity 23; 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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":8685}}}],"partialFingerprints":{"codehealthFindingId/v1":"863fe44fb259a3e6b400948a8d1c21f9cf3203c7a3525023b0998d4f62b8f6a5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractGraphModelFromEvent (cyclomatic 12, cognitive 22): extractGraphModelFromEvent has cyclomatic complexity 12 and cognitive complexity 22; 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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":10335}}}],"partialFingerprints":{"codehealthFindingId/v1":"a048af95742a2e67670419c645ce542d66396fd853e16142abe38605ef4a8ec8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function OutlinePerimeter (cyclomatic 12, cognitive 22): OutlinePerimeter has cyclomatic complexity 12 and cognitive complexity 22; 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/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":4830}}}],"partialFingerprints":{"codehealthFindingId/v1":"d57e08a319768e5660256c40fe1ccf7797080705286158dc109c77c4610cfa60"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getCellsBeyond (cyclomatic 12, cognitive 22): getCellsBeyond has cyclomatic complexity 12 and cognitive complexity 22; 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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":13207}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b084b4079d27996092d865a8bdc76df22c73bac8b51f696a40c7be9ad5c156d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateTransientTerminalEdges (cyclomatic 12, cognitive 21): updateTransientTerminalEdges has cyclomatic complexity 12 and cognitive complexity 21; 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/webapp/js/diagramly/Editor.js"},"region":{"startLine":12757}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aa2a3dfe525bd29f267fdaab8e3a0cae75353b3299f3a86b026f62472daed41"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getTableText (cyclomatic 12, cognitive 21): getTableText has cyclomatic complexity 12 and cognitive complexity 21; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":37335}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa5e873286242259c5ad88f1df7bcb1c81e7841c390fff9dd3639f8ee67bfb96"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mouseMove (cyclomatic 12, cognitive 21): mouseMove has cyclomatic complexity 12 and cognitive complexity 21; 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/webapp/js/diagramly/Embed.js"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e5267b88da1ba607b1265aeb6312f94fa73cc8537bc4fc6a935888591d2cae0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mouseMove (cyclomatic 12, cognitive 21): mouseMove has cyclomatic complexity 12 and cognitive complexity 21; 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/webapp/js/embed.dev.js"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c81837005cc92a72a8f30626fc97dc048fbb54297091db40c91de29d5735ee8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setSvgDataUriCssVars (cyclomatic 12, cognitive 21): setSvgDataUriCssVars has cyclomatic complexity 12 and cognitive complexity 21; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":5391}}}],"partialFingerprints":{"codehealthFindingId/v1":"787f28cc8954fef3423d73ec3f9cfa7e64e03e5137615afb57c4b313c2e1f941"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 20): (anonymous) has cyclomatic complexity 12 and cognitive complexity 20; 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/webapp/js/diagramly/DriveClient.js"},"region":{"startLine":1663}}}],"partialFingerprints":{"codehealthFindingId/v1":"624dbba047bb199d759741ba3c7a76b4ab289952cba72c97c1d196ae208725b0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createEdge (cyclomatic 12, cognitive 20): createEdge has cyclomatic complexity 12 and cognitive complexity 20; 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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":6288}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea828b50f3d279eac4cdac9f5583fcd689254f33258cbe2ddfc6fcc51641705c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getThemeColors (cyclomatic 12, cognitive 20): getThemeColors has cyclomatic complexity 12 and cognitive complexity 20; 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/webapp/js/diagramly/tidy/TidyStyle.js"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"48b9f085d9b6064edd16340bfc4425b4540ea76965cf96c54b8d260f60e84f92"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decode$byte_A (cyclomatic 12, cognitive 20): decode$byte_A has cyclomatic complexity 12 and cognitive complexity 20; 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":15140}}}],"partialFingerprints":{"codehealthFindingId/v1":"922f9135f95516f6f947ce958637624350295b8ce56fcc97f5ed00137e9cb8d4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function moveLabel (cyclomatic 12, cognitive 20): moveLabel has cyclomatic complexity 12 and cognitive complexity 20; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":30558}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e4382fdba463048ff886d02f573e21425761071a58923f7c7d0b2e05dd08f3c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createCustomHandles (cyclomatic 12, cognitive 20): createCustomHandles has cyclomatic complexity 12 and cognitive complexity 20; 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/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":10844}}}],"partialFingerprints":{"codehealthFindingId/v1":"112a15575e8c7bbdddaec39ab3953241373f04459b10a1858f79fd3354976c35"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 20): (anonymous) has cyclomatic complexity 12 and cognitive complexity 20; 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/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":3394}}}],"partialFingerprints":{"codehealthFindingId/v1":"d54ca9b7c1e1515807b6c31aaf6cacd40ff5a47ab3f4325d6945234fb6915dfb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setFocus (cyclomatic 12, cognitive 20): setFocus has cyclomatic complexity 12 and cognitive complexity 20; 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/webapp/mxgraph/src/handler/mxConstraintHandler.js"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b43fda3a25708441323f909e1efaf8267bb6b1913f0bde70abcf446494088be"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function connectVertex (cyclomatic 12, cognitive 20): connectVertex has cyclomatic complexity 12 and cognitive complexity 20; 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/webapp/plugins/trees/trees.js"},"region":{"startLine":945}}}],"partialFingerprints":{"codehealthFindingId/v1":"28a45d81c7882ac2bc8040bdf4e40714f8495323f1dd3af7a82629410f68108e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function keepExploreLast (cyclomatic 12, cognitive 19): keepExploreLast has cyclomatic complexity 12 and cognitive complexity 19; 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":14808}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1102f56a57c2a738a96d2c6a834f0229a5e1960e5282eb3c950f6edf81e6ea1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getCellsForAction (cyclomatic 12, cognitive 19): getCellsForAction has cyclomatic complexity 12 and cognitive complexity 19; 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/webapp/js/diagramly/Editor.js"},"region":{"startLine":13775}}}],"partialFingerprints":{"codehealthFindingId/v1":"202470d2985dad85e53ead407464ba38e1494895ba768c4e1305900700719088"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 19): (anonymous) has cyclomatic complexity 12 and cognitive complexity 19; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":7223}}}],"partialFingerprints":{"codehealthFindingId/v1":"722eb2ae865e8a217201dcb8a1f347be9b9c330ac6e40ca94fe04a2e0af238dc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function restorePersistedEdgeStyle (cyclomatic 12, cognitive 19): restorePersistedEdgeStyle has cyclomatic complexity 12 and cognitive complexity 19; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":27874}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cdc6cecbc76a3a07ccb7274bdee6bc669ee1e1a84032e6768a40d7977fa4bee"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getTemplate (cyclomatic 12, cognitive 19): getTemplate has cyclomatic complexity 12 and cognitive complexity 19; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":35450}}}],"partialFingerprints":{"codehealthFindingId/v1":"e58ac5d31dd97a4c829d15be294c74f4159ca3e67153b7096571e6190647de38"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getLineGeometry (cyclomatic 12, cognitive 19): getLineGeometry has cyclomatic complexity 12 and cognitive complexity 19; 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/webapp/js/diagramly/ForceExplorer.js"},"region":{"startLine":4570}}}],"partialFingerprints":{"codehealthFindingId/v1":"788c18d27a484ef096c4923f958aa1cabe300dd02581bbc00684c78c5b153fee"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getConnections (cyclomatic 12, cognitive 19): getConnections has cyclomatic complexity 12 and cognitive complexity 19; 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":11548}}}],"partialFingerprints":{"codehealthFindingId/v1":"16626d90eb4e79af1b6cf14591f3980f1559c274d3856d548132b60e55058786"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 19): (anonymous) has cyclomatic complexity 12 and cognitive complexity 19; 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/webapp/js/grapheditor/Dialogs.js"},"region":{"startLine":4378}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d5bd9ca51576d8c61f3731fc5e14e77c2e9d289e5f0a1a003b673a4f52d3284"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function repairFileData (cyclomatic 12, cognitive 18): repairFileData has cyclomatic complexity 12 and cognitive complexity 18; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":2678}}}],"partialFingerprints":{"codehealthFindingId/v1":"00bb70cc9c1e52e4885a68a8740134cd8fe693a913b2a33af4c43a70238506db"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 18): (anonymous) has cyclomatic complexity 12 and cognitive complexity 18; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":34191}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e0c030f397fa84ee7f7a5ce5753b94857943c934e155943baaa437b8134c3b7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function styleDroppedConnection (cyclomatic 12, cognitive 18): styleDroppedConnection has cyclomatic complexity 12 and cognitive complexity 18; 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/webapp/js/diagramly/Trees.js"},"region":{"startLine":1715}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4e5283a0c5fb49d4be818cd0c846577c460285415258009942b51fdfe30ca58"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function colorRange (cyclomatic 12, cognitive 18): colorRange has cyclomatic complexity 12 and cognitive complexity 18; 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/webapp/js/diagramly/gif/GifEncoder.js"},"region":{"startLine":792}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ce973a39e720cf845890e060b7cdf74a3a7998a07e8721c54f30cc49c6e763e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function move (cyclomatic 12, cognitive 18): move has cyclomatic complexity 12 and cognitive complexity 18; 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/webapp/js/diagramly/mxRuler.js"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc3c9170745e6c74cabe7ade4065df57fd555e7c8b4fa578396620862cd39610"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getFillColor (cyclomatic 12, cognitive 18): getFillColor has cyclomatic complexity 12 and cognitive complexity 18; 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":9850}}}],"partialFingerprints":{"codehealthFindingId/v1":"00db9cb1b19315e578d7a4a54b45d77b6c67bcfdfc362fa7f630e44d5b090b7c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paintEdgeShape (cyclomatic 12, cognitive 18): paintEdgeShape has cyclomatic complexity 12 and cognitive complexity 18; 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/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":7988}}}],"partialFingerprints":{"codehealthFindingId/v1":"e31bd6e1bc0ef780e7a2e2459eddba0385f8edcbd5e3a485954c64b911f18da8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 17): (anonymous) has cyclomatic complexity 12 and cognitive complexity 17; 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/webapp/js/diagramly/App.js"},"region":{"startLine":4342}}}],"partialFingerprints":{"codehealthFindingId/v1":"954fc639a111a5b28d2e9b95598e6e80477d97c31174a186b5c16a68e119dd92"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 17): (anonymous) has cyclomatic complexity 12 and cognitive complexity 17; 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/webapp/js/diagramly/DriveClient.js"},"region":{"startLine":1868}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bad7ef95e8a58107d98946613be944329320b6697d9dbf775398e03a88b2248"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function refreshMermaidImage (cyclomatic 12, cognitive 17): refreshMermaidImage has cyclomatic complexity 12 and cognitive complexity 17; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":16813}}}],"partialFingerprints":{"codehealthFindingId/v1":"01ea0809b2a25a95cc8f38cd9342e706d94587a9249e4523d5d5a4a3ab88528d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 17): (anonymous) has cyclomatic complexity 12 and cognitive complexity 17; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":39119}}}],"partialFingerprints":{"codehealthFindingId/v1":"d96ec16f3070ce48b0c9b7f947f03460ebf1d1ce70aadbe1b2411ecb00156f07"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function routeCells (cyclomatic 12, cognitive 17): routeCells has cyclomatic complexity 12 and cognitive complexity 17; 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/webapp/js/diagramly/LibavoidRouting.js"},"region":{"startLine":1903}}}],"partialFingerprints":{"codehealthFindingId/v1":"693b74cb16f828b26ff5de3a417ef223f0858a394068ea6944ed25be69e02d55"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function itemClicked (cyclomatic 12, cognitive 17): itemClicked has cyclomatic complexity 12 and cognitive complexity 17; 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/webapp/js/diagramly/sidebar/Sidebar.js"},"region":{"startLine":2580}}}],"partialFingerprints":{"codehealthFindingId/v1":"d857666ea66edca5cd09cb9f87d571c0301ffc4045484c99994c76f1d6a00b0f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyNewEdgeStyle (cyclomatic 12, cognitive 17): applyNewEdgeStyle has cyclomatic complexity 12 and cognitive complexity 17; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":10061}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6a6e5ae0ab37987b174e4966eb2eabfdad59ba18667857454e005163ff232fc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getPlaceholderCell (cyclomatic 12, cognitive 17): getPlaceholderCell has cyclomatic complexity 12 and cognitive complexity 17; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":16522}}}],"partialFingerprints":{"codehealthFindingId/v1":"2052acf0a4e55eda89843388e4da123841d2435bc3e097cade9cf018de6aabe2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addIcon (cyclomatic 12, cognitive 17): addIcon has cyclomatic complexity 12 and cognitive complexity 17; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":41130}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f3faa1e8abd83762e57273819b98f1a0e4370f19304c8ad5facebb04aa6fd51"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareCellsForInsert (cyclomatic 12, cognitive 17): prepareCellsForInsert has cyclomatic complexity 12 and cognitive complexity 17; 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/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":5381}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca9a3ffeef0bb63a9ffaaa236ee69fb6e4513d6728ae28665c70eb8657ecf0fb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateScreenBounds (cyclomatic 12, cognitive 17): updateScreenBounds has cyclomatic complexity 12 and cognitive complexity 17; 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/webapp/mxgraph/src/view/mxCellState.js"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"fee9495603f65ee0a7e23d91ed8175dff6fa5b27cc70c17a8658ddb8b82d68ce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getTooltip (cyclomatic 12, cognitive 17): getTooltip has cyclomatic complexity 12 and cognitive complexity 17; 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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":9822}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f97ba46a935fa660004c1b7571306c716955e943e57235bda68d55ca607fc1a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 16): (anonymous) has cyclomatic complexity 12 and cognitive complexity 16; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":6572}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f4ea3e58d7b5a04a3bfa728b9793fa89117a43ec8a11a9ec138d5bb146a02ed"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 16): (anonymous) has cyclomatic complexity 12 and cognitive complexity 16; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":23336}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa9001bcc74f1a99195089947b20c897047e4e362bce15cae8f903cf4e3da191"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 16): (anonymous) has cyclomatic complexity 12 and cognitive complexity 16; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":32420}}}],"partialFingerprints":{"codehealthFindingId/v1":"794d97ce6dc1b7bbe9c056ff794f3f18dff4257bbe27b9152e834f26453d539d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function walk (cyclomatic 12, cognitive 16): walk has cyclomatic complexity 12 and cognitive complexity 16; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":44913}}}],"partialFingerprints":{"codehealthFindingId/v1":"fedd711abf10f32957b56d06c730e76d136bd7c571325f65d52d8eab9e7b3eec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function editAsNew (cyclomatic 12, cognitive 16): editAsNew has cyclomatic complexity 12 and cognitive complexity 16; 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/webapp/js/grapheditor/Editor.js"},"region":{"startLine":1678}}}],"partialFingerprints":{"codehealthFindingId/v1":"d54a660daecd16dc5249e42be988d6ee26c72ee1caef02baa15c26c2b21cfab2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 16): (anonymous) has cyclomatic complexity 12 and cognitive complexity 16; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":5106}}}],"partialFingerprints":{"codehealthFindingId/v1":"944ac6004f7084d3409d4db9bde4ff257593cbe5c93cbd82aaac11ccead819a0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function labelLinkClicked (cyclomatic 12, cognitive 16): labelLinkClicked has cyclomatic complexity 12 and cognitive complexity 16; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":12452}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9f9ee1003e81ad94b9a3f255b7cfcab3c0c5cb77a6fc605f04786d4ccc10e8e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ElbowConnector (cyclomatic 12, cognitive 16): ElbowConnector has cyclomatic complexity 12 and cognitive complexity 16; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":32873}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d166c406803b6e214215e9caa0a111d3cf69faedb20cf1bf61b2763d657edce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function roundedPolygonPerimeter (cyclomatic 12, cognitive 16): roundedPolygonPerimeter has cyclomatic complexity 12 and cognitive complexity 16; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":42783}}}],"partialFingerprints":{"codehealthFindingId/v1":"16caee9cb831b358f9bf0db469b8ece41b4024f7776750f04f3a121899ed024c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TrapezoidPerimeter (cyclomatic 12, cognitive 16): TrapezoidPerimeter has cyclomatic complexity 12 and cognitive complexity 16; 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/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":4643}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3657bc690bdb93f37c05111b71e10d96401994dd08442125b5d46bdd881c9ae"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function StepPerimeter (cyclomatic 12, cognitive 16): StepPerimeter has cyclomatic complexity 12 and cognitive complexity 16; 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/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":4699}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a382e992672ec8e284b02713c6e5326cb328f539fde619c831c7ae821edcdc7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paint (cyclomatic 12, cognitive 16): paint has cyclomatic complexity 12 and cognitive complexity 16; 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/webapp/mxgraph/src/shape/mxText.js"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"0955a9b84b8b02c2ba38a0485cb2830a4197f605e27647e710f9a5cdcd8a6bad"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ElbowConnector (cyclomatic 12, cognitive 16): ElbowConnector has cyclomatic complexity 12 and cognitive complexity 16; 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/webapp/mxgraph/src/view/mxEdgeStyle.js"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfee8971044ded04e7aa6a1a6115ec1a4092619b978e0ce3d1f5cfdfc7549b35"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function splitEdge (cyclomatic 12, cognitive 16): splitEdge has cyclomatic complexity 12 and cognitive complexity 16; 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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":5441}}}],"partialFingerprints":{"codehealthFindingId/v1":"94a3d9f5ea538c851b3ec36015a61605ad62ad45b57af1312b8a3d660a5c121a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paintVertexShape (cyclomatic 12, cognitive 16): paintVertexShape has cyclomatic complexity 12 and cognitive complexity 16; 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/webapp/shapes/mxElectrical.js"},"region":{"startLine":1567}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6e5a25db2a5820f88087f71e0138dcfe25283fa5aede9f472836e2e77735cd3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 15): (anonymous) has cyclomatic complexity 12 and cognitive complexity 15; 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":17074}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed681026ed4fe5df7d11cb803acaf94f82a6781acaf1bc5feefede611f0e134a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function hitTestPoint (cyclomatic 12, cognitive 15): hitTestPoint has cyclomatic complexity 12 and cognitive complexity 15; 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":26148}}}],"partialFingerprints":{"codehealthFindingId/v1":"259f1e27df0e7b57cd1aded62827b9a72c19db4658fb4c5cc17d319a7393b055"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fileChanged (cyclomatic 12, cognitive 15): fileChanged has cyclomatic complexity 12 and cognitive complexity 15; 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/webapp/js/diagramly/DrawioFile.js"},"region":{"startLine":4007}}}],"partialFingerprints":{"codehealthFindingId/v1":"d970f746220d926438bb41631495d003098871f7cb5a5c21c5869146b217a90b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isDataSvg (cyclomatic 12, cognitive 15): isDataSvg has cyclomatic complexity 12 and cognitive complexity 15; 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/webapp/js/diagramly/Editor.js"},"region":{"startLine":5254}}}],"partialFingerprints":{"codehealthFindingId/v1":"66440c3a293a8df5b97da06f1512a6b779476d404a52fbb8e344c469fc2622a7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 15): (anonymous) has cyclomatic complexity 12 and cognitive complexity 15; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":15446}}}],"partialFingerprints":{"codehealthFindingId/v1":"2098879e81f77a9f0d40197262fddfd294720dc973e7512e6a0dd8219a3e4599"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getGlobalVariable (cyclomatic 12, cognitive 15): getGlobalVariable has cyclomatic complexity 12 and cognitive complexity 15; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":23977}}}],"partialFingerprints":{"codehealthFindingId/v1":"33a15d09b8fcc76f6190e974c8d0df80d60937066818bf200223db80069d1f11"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function styleFlowchart (cyclomatic 12, cognitive 15): styleFlowchart has cyclomatic complexity 12 and cognitive complexity 15; 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/webapp/js/diagramly/tidy/TidyStyle.js"},"region":{"startLine":1377}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5592b02fa0b420943c6ce84361ee1208df976a24be498b6b23f35f80f7b5a50"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isGroup (cyclomatic 12, cognitive 15): isGroup has cyclomatic complexity 12 and cognitive complexity 15; 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":11746}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff93887f40459790691a23cb158a0690575f1d2b5ca13a9f8956c3b500550fe9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getDropTarget (cyclomatic 12, cognitive 15): getDropTarget has cyclomatic complexity 12 and cognitive complexity 15; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":39589}}}],"partialFingerprints":{"codehealthFindingId/v1":"e918a3d6d552ca419a1b4a7c93df15754585bce5c931cb3602aabb4974fdbe20"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getPreviewHandle (cyclomatic 12, cognitive 15): getPreviewHandle has cyclomatic complexity 12 and cognitive complexity 15; 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/webapp/mxgraph/src/handler/mxEdgeHandler.js"},"region":{"startLine":1728}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1b3a4163c201b5b889fcfe69bd8cb7e9502e1ecc8a51a7b21a92e2ddebedf72"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 15): (anonymous) has cyclomatic complexity 12 and cognitive complexity 15; 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/webapp/mxgraph/src/view/mxCellEditor.js"},"region":{"startLine":889}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5498da8afd58aa774172f3aad5019eb1ba92331c3c06b5bdf2aefc1dd936c78"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isPointerEventIgnored (cyclomatic 12, cognitive 15): isPointerEventIgnored has cyclomatic complexity 12 and cognitive complexity 15; 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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":14321}}}],"partialFingerprints":{"codehealthFindingId/v1":"225cbcc439d1da49c12e392a6699d8d70c7416a1b95377b501d944f6f9f29716"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 14): (anonymous) has cyclomatic complexity 12 and cognitive complexity 14; 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/webapp/js/diagramly/App.js"},"region":{"startLine":2826}}}],"partialFingerprints":{"codehealthFindingId/v1":"69dafcd7cc8f47b0d4935af6e9c0ac788c61a0c402ffcfad37d7a8bc9c5ea34c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function showSplash (cyclomatic 12, cognitive 14): showSplash has cyclomatic complexity 12 and cognitive complexity 14; 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/webapp/js/diagramly/App.js"},"region":{"startLine":5530}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b4c01c182a245f9aa5d49ac8f3f3f20a6ec20fa62c79ad3e43c6677c3d180fd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function populateFields (cyclomatic 12, cognitive 14): populateFields has cyclomatic complexity 12 and cognitive complexity 14; 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/webapp/js/diagramly/ConfigEditor.js"},"region":{"startLine":1232}}}],"partialFingerprints":{"codehealthFindingId/v1":"65f268998b7985416f1ea82f693cd3b00f86e25ae6ebd10e79ca30b5fe63ff07"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function canBatchAnimationSteps (cyclomatic 12, cognitive 14): canBatchAnimationSteps has cyclomatic complexity 12 and cognitive complexity 14; 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/webapp/js/diagramly/Editor.js"},"region":{"startLine":15549}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f56adc3e93700658910ab508464f0e481cd9803a6b4d46862cc309d9891a228"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getEmbedImageBounds (cyclomatic 12, cognitive 14): getEmbedImageBounds has cyclomatic complexity 12 and cognitive complexity 14; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":18810}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1989be6b495d1665f1490c47271f94f0e6a2bf168efd398c73d6fadd2ba6ac4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sanitizeEmbedSvg (cyclomatic 12, cognitive 14): sanitizeEmbedSvg has cyclomatic complexity 12 and cognitive complexity 14; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":20577}}}],"partialFingerprints":{"codehealthFindingId/v1":"48658b9242f952aec39fa74bc5ea97687c5a8416aa9f8f1ade4856ddb1d7ce59"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 14): (anonymous) has cyclomatic complexity 12 and cognitive complexity 14; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":34496}}}],"partialFingerprints":{"codehealthFindingId/v1":"813be9fd3322e010d8d44ef248f1fc3137f4cb1b84662cd214a9910b9bb66445"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getLocalStorageFileNames (cyclomatic 12, cognitive 14): getLocalStorageFileNames has cyclomatic complexity 12 and cognitive complexity 14; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":44159}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a108cb0dc5f22fd432296328e2060c71469f541f9815c65f4ad03aee30c3761"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sizeDidChange (cyclomatic 12, cognitive 14): sizeDidChange has cyclomatic complexity 12 and cognitive complexity 14; 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/webapp/js/diagramly/GraphViewer.js"},"region":{"startLine":1619}}}],"partialFingerprints":{"codehealthFindingId/v1":"15207e141c0e97a976c49a4c323a86006b8787f7b5b51cbf09eaceec03411cf7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 14): (anonymous) has cyclomatic complexity 12 and cognitive complexity 14; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":5048}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c32f48af42510066bf510970177a2bb7c2fb94b84bf20ef9bb76c77df98a5d1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getConnectionPoint (cyclomatic 12, cognitive 14): getConnectionPoint has cyclomatic complexity 12 and cognitive complexity 14; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":42151}}}],"partialFingerprints":{"codehealthFindingId/v1":"13f6763729d0f7436664ced08c5c72b266c1cb37d8054a913547f38e23721dc2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 14): (anonymous) has cyclomatic complexity 12 and cognitive complexity 14; 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/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":5085}}}],"partialFingerprints":{"codehealthFindingId/v1":"27f3031e407e4dd0661053c87170c7334af946af6b3e86f7147a08f8b2ac1501"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 14): (anonymous) has cyclomatic complexity 12 and cognitive complexity 14; 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/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":7416}}}],"partialFingerprints":{"codehealthFindingId/v1":"b66ffdc3a699e4e3f8558d9b7f270d15f8973b98c427f8e9a795a3460a460aa3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateHtmlFilters (cyclomatic 12, cognitive 14): updateHtmlFilters has cyclomatic complexity 12 and cognitive complexity 14; 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/webapp/mxgraph/src/shape/mxShape.js"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"c005337fd430570ae27b35a757dd6db1b17f20d078a27dbdfc6630779880dfe3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function init (cyclomatic 12, cognitive 14): init has cyclomatic complexity 12 and cognitive complexity 14; 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/webapp/mxgraph/src/util/mxLog.js"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"838d5fd282c2e4bd4ea3f5e8b1154685410e9fb3fcf9b8d139a8f4acc9798e1e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function initControl (cyclomatic 12, cognitive 14): initControl has cyclomatic complexity 12 and cognitive complexity 14; 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/webapp/mxgraph/src/view/mxCellRenderer.js"},"region":{"startLine":955}}}],"partialFingerprints":{"codehealthFindingId/v1":"a344a94bde863546de4c8d76cb524fc06f19c1c3ffe0e2b8e94d40f788b8fba3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getCellValidationError (cyclomatic 12, cognitive 14): getCellValidationError has cyclomatic complexity 12 and cognitive complexity 14; 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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":9481}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac0621439c6b963fb784c2adeee80b4f7273cb70f621f725ca6e399d2fb66dfb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function labelLinkClicked (cyclomatic 12, cognitive 13): labelLinkClicked has cyclomatic complexity 12 and cognitive complexity 13; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":24043}}}],"partialFingerprints":{"codehealthFindingId/v1":"12cb184592337085d219d9f4e1f7c8a01a2390c79bf0adf3e0b6838c7f9f9144"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function insertOutline (cyclomatic 12, cognitive 13): insertOutline has cyclomatic complexity 12 and cognitive complexity 13; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":35878}}}],"partialFingerprints":{"codehealthFindingId/v1":"08d73b5a87d4b938d2adbe26883a37d6b2494d7baa7b970ae5d3e696f0d10424"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 13): (anonymous) has cyclomatic complexity 12 and cognitive complexity 13; 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/webapp/js/diagramly/ElectronApp.js"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3f87f4687a0c61eed2b0bd02dc144bd5b59f5ed1540e35b7e7de9dc81bb1f6e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function formatTime (cyclomatic 12, cognitive 13): formatTime has cyclomatic complexity 12 and cognitive complexity 13; 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/webapp/js/diagramly/HomeDialog.js"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aeda4128d7a1408dd0d3e5825d97cf4e3a94e123e9a00a09f6c47d489c608f1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getOutsideLabelSide (cyclomatic 12, cognitive 13): getOutsideLabelSide has cyclomatic complexity 12 and cognitive complexity 13; 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/webapp/js/diagramly/LibavoidRouting.js"},"region":{"startLine":2580}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8780a7d3131611eb453b8aa1540ac1583c0c901bef8d859018b339740593a5b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getPreviewTargetCell (cyclomatic 12, cognitive 13): getPreviewTargetCell has cyclomatic complexity 12 and cognitive complexity 13; 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/webapp/js/diagramly/LibavoidRouting.js"},"region":{"startLine":3195}}}],"partialFingerprints":{"codehealthFindingId/v1":"722818cb2b52ef6b7cf255389b34a5fed1f6ad3f86d7bdde2f97f50d83ac92f5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function move (cyclomatic 12, cognitive 13): move has cyclomatic complexity 12 and cognitive complexity 13; 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/webapp/js/grapheditor/Editor.js"},"region":{"startLine":2638}}}],"partialFingerprints":{"codehealthFindingId/v1":"520aebd947113526847edd07e847526693ed3d6e794b78293860524851182c8c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addStyleRuleHint (cyclomatic 12, cognitive 13): addStyleRuleHint has cyclomatic complexity 12 and cognitive complexity 13; 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/webapp/js/grapheditor/Format.js"},"region":{"startLine":956}}}],"partialFingerprints":{"codehealthFindingId/v1":"577e11a39043c02a94b8f89b3327696b4303be6a7cf1f98060acd185cf522185"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addFontOps (cyclomatic 12, cognitive 13): addFontOps has cyclomatic complexity 12 and cognitive complexity 13; 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/webapp/js/grapheditor/Format.js"},"region":{"startLine":4774}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e4db6a74707e52979455d8100431f2ed2a5b839bd607e88791c4c05cd67fd0a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isOutlineConnectEvent (cyclomatic 12, cognitive 13): isOutlineConnectEvent has cyclomatic complexity 12 and cognitive complexity 13; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":1355}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f32a19f8ba0f012c09497d96903a88731e4889e118ed6defbbcca6efc8b53cc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getCellAtInOrder (cyclomatic 12, cognitive 13): getCellAtInOrder has cyclomatic complexity 12 and cognitive complexity 13; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":11960}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a8908b1a427e599b877aa879dd8a1ad0b67a635d7ed2b42bf375815a8c9025a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createCurrentEdgeStyle (cyclomatic 12, cognitive 13): createCurrentEdgeStyle has cyclomatic complexity 12 and cognitive complexity 13; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":34568}}}],"partialFingerprints":{"codehealthFindingId/v1":"92bc022a612a3ebc71b305e29fdc3da4c30f520a4cdd46560cae3ccfc6a1d188"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mouseUp (cyclomatic 12, cognitive 13): mouseUp has cyclomatic complexity 12 and cognitive complexity 13; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":50865}}}],"partialFingerprints":{"codehealthFindingId/v1":"67a56c5e56bbff20d8981953996129f8305378e4e025aa3aa68f20bfddfbbc9c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isOutlineConnectEvent (cyclomatic 12, cognitive 13): isOutlineConnectEvent has cyclomatic complexity 12 and cognitive complexity 13; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":50976}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bba95f80cc9b87f3a23ffe8f6d8b21d87780f42518c9466bdd71351113c80ad"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isPropagateSelectionCell (cyclomatic 12, cognitive 13): isPropagateSelectionCell has cyclomatic complexity 12 and cognitive complexity 13; 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/webapp/mxgraph/src/handler/mxGraphHandler.js"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a86a14da529f8879aaac93c1108de57697d8ffff2d5f13a3155c8cc11a895c0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function blockedAncestorFrames (cyclomatic 12, cognitive 12): blockedAncestorFrames has cyclomatic complexity 12 and cognitive complexity 12; 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/webapp/js/diagramly/App.js"},"region":{"startLine":2445}}}],"partialFingerprints":{"codehealthFindingId/v1":"01227b30283f621094ddde6e5af36198b0d114fd52c19b10fa333951145b9318"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CustomDialog (cyclomatic 12, cognitive 12): CustomDialog has cyclomatic complexity 12 and cognitive complexity 12; 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":21195}}}],"partialFingerprints":{"codehealthFindingId/v1":"41426c9755e1eec5df3172733b0392a5de48a6282a4072f14eb7209c26bae745"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function populateIconSearchSets (cyclomatic 12, cognitive 12): populateIconSearchSets has cyclomatic complexity 12 and cognitive complexity 12; 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/webapp/js/diagramly/sidebar/Sidebar.js"},"region":{"startLine":2193}}}],"partialFingerprints":{"codehealthFindingId/v1":"20966c80663bab7ebb81bec9bc3ac11a4772b3ee020d77b9a6b05de0d22a52db"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cleanup (cyclomatic 12, cognitive 12): cleanup has cyclomatic complexity 12 and cognitive complexity 12; 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/webapp/js/diagramly/tidy/TidyWindow.js"},"region":{"startLine":1723}}}],"partialFingerprints":{"codehealthFindingId/v1":"7529cbb61c475abc265fa0678dda332ab8b089b3cac2d4b50c2df2cd5d3e34a7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validate (cyclomatic 12, cognitive 12): validate has cyclomatic complexity 12 and cognitive complexity 12; 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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":5845}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7d4c7e2eb709cad5d7942e985cd84171c5b8433f9f67bded91062eed0814759"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getLoopDirection (cyclomatic 12, cognitive 12): getLoopDirection has cyclomatic complexity 12 and cognitive complexity 12; 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/webapp/js/grapheditor/Format.js"},"region":{"startLine":3018}}}],"partialFingerprints":{"codehealthFindingId/v1":"02d5281e9f76e3d29e2f03a76ddb14d64ebe666c9f7aec7d4c587f015a4787a4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 12): (anonymous) has cyclomatic complexity 12 and cognitive complexity 12; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":24311}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc91dbb8d35daf9530e3774bc94968d24ca9f2172da526feee163b39f98c9f0c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createLabelGapPath (cyclomatic 12, cognitive 12): createLabelGapPath has cyclomatic complexity 12 and cognitive complexity 12; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":28585}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa5a389b1a61fab3d1e854105297b147a82c527be1c258aa34d4a226b358f565"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getShapeInsideSelectionData (cyclomatic 12, cognitive 12): getShapeInsideSelectionData has cyclomatic complexity 12 and cognitive complexity 12; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":46212}}}],"partialFingerprints":{"codehealthFindingId/v1":"beaf71ad7e863b215b6c45e0f12ecfbcf9f734a3a62d3cbe40426752399430aa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getHandleForEvent (cyclomatic 12, cognitive 12): getHandleForEvent has cyclomatic complexity 12 and cognitive complexity 12; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":49377}}}],"partialFingerprints":{"codehealthFindingId/v1":"a750f70d26519dad4098916bea2a30985c73eaaf2d6f2f3b90600498482092fd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function move (cyclomatic 12, cognitive 12): move has cyclomatic complexity 12 and cognitive complexity 12; 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/webapp/js/libavoid-js/libavoid-routing.js"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"f944512ba5f4cbf43738e684355be654f040498fe5ca2e8c334f0d0a7e6a182c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function generateData (cyclomatic 12, cognitive 12): generateData has cyclomatic complexity 12 and cognitive complexity 12; 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/webapp/js/orgchart/mxOrgChartLayout.js"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"53175490faae9ae97d0667ff17846cb9734f46158a27e01ea3212c1f761e0b00"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getInitialCellForEvent (cyclomatic 12, cognitive 12): getInitialCellForEvent has cyclomatic complexity 12 and cognitive complexity 12; 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/webapp/mxgraph/src/handler/mxGraphHandler.js"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6bb01e2faf2baec01f6f33739ab1ad2ec1c77f168f735976eac18c0feb8cba0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyPointProp (cyclomatic 12, cognitive 11): applyPointProp has cyclomatic complexity 12 and cognitive complexity 11; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":25384}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ac70669d6a8ff6a430543cec20455db8213052fcd5e30716f9ed1bac5cbb22e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function showAnimatedGifExportDialog (cyclomatic 12, cognitive 11): showAnimatedGifExportDialog has cyclomatic complexity 12 and cognitive complexity 11; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":8300}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa15e006f96a40f88893d5392d85860f74a7fa862bdef0da7f838bb2b7c89a29"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function restoreWindowState (cyclomatic 12, cognitive 11): restoreWindowState has cyclomatic complexity 12 and cognitive complexity 11; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":25736}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a1189ea6de8b601c90549a3520c2e1671bf48f02504d2874682500554430e08"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getStrokeStyle (cyclomatic 12, cognitive 11): getStrokeStyle has cyclomatic complexity 12 and cognitive complexity 11; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":5696}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ce0cd972d38350bdd28eb07915aec4fcf9b922c3a53bd9c6480a66cbcfa6cd6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 11): (anonymous) has cyclomatic complexity 12 and cognitive complexity 11; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/Pages.js"},"region":{"startLine":1433}}}],"partialFingerprints":{"codehealthFindingId/v1":"20b468d73f8afec55545ca4902bb0a95088b9098350ef9144320104027978f5d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getCells (cyclomatic 12, cognitive 11): getCells has cyclomatic complexity 12 and cognitive complexity 11; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/SpringMove.js"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"21086ec546154fe6ab917638c63090b181cdf56861a9727387b84aec66d44dc6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processGeoElem (cyclomatic 12, cognitive 11): processGeoElem has cyclomatic complexity 12 and cognitive complexity 11; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":3858}}}],"partialFingerprints":{"codehealthFindingId/v1":"9956dc3e38e08c9ebfffbb3dc45048de758f7675e73f42e8e55efb90cfee6d08"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function EditDiagramDialog (cyclomatic 12, cognitive 11): EditDiagramDialog has cyclomatic complexity 12 and cognitive complexity 11; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/grapheditor/Dialogs.js"},"region":{"startLine":3062}}}],"partialFingerprints":{"codehealthFindingId/v1":"015566ff579a3f1359d1ea5b923ef7c1d4c93323cd2cce172bfaf4e8b7a886ce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function dblClick (cyclomatic 12, cognitive 11): dblClick has cyclomatic complexity 12 and cognitive complexity 11; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":2202}}}],"partialFingerprints":{"codehealthFindingId/v1":"7476e1e4bd5652606f52914fed8d81ab9381aa48bb1608af88edceb5cf47b6c8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getSequenceTerminal (cyclomatic 12, cognitive 11): getSequenceTerminal has cyclomatic complexity 12 and cognitive complexity 11; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":10443}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b1e541c4b720afaf67d370065ac64e38ea00b5a0d3fe6edb8b49713a771e19b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isEdgeNearPoint (cyclomatic 12, cognitive 11): isEdgeNearPoint has cyclomatic complexity 12 and cognitive complexity 11; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":15887}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d7d884adca839722d6678199c3569437d86be81ea8119ac63a86d1d14dac6b2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getEdges (cyclomatic 12, cognitive 11): getEdges has cyclomatic complexity 12 and cognitive complexity 11; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/mxgraph/src/model/mxGraphModel.js"},"region":{"startLine":1417}}}],"partialFingerprints":{"codehealthFindingId/v1":"82224f9e154a677304bdb49b46fd0c0b6da96a2f66a3c654c052479f35ec768e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function drawActuatorBg (cyclomatic 12, cognitive 11): drawActuatorBg has cyclomatic complexity 12 and cognitive complexity 11; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/shapes/pid2/mxPidValves.js"},"region":{"startLine":997}}}],"partialFingerprints":{"codehealthFindingId/v1":"05dae03f3354ccbcab873caee2ef50584e8433da845edc09b288ab2783d2f770"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 10): (anonymous) has cyclomatic complexity 12 and cognitive complexity 10; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":25547}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae7500dca75667bff778f7749bd2828389524f55f8314279ec7bef4d48b72743"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DriveClient (cyclomatic 12, cognitive 10): DriveClient has cyclomatic complexity 12 and cognitive complexity 10; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/DriveClient.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"6beded93cc1b48b708c6f3ee724483cdfd9522c5ac0877535edfa3e0f11afe5e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 10): (anonymous) has cyclomatic complexity 12 and cognitive complexity 10; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":25104}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5924d534150f972268e852d00ebe8d3df4d946190bb709f98272d5f413f56ca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateUi (cyclomatic 12, cognitive 10): updateUi has cyclomatic complexity 12 and cognitive complexity 10; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":41759}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ba1eab313db3ce3d2e3afba52cd484cc71d35519d498b1f8ed929b563a5e968"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateHint (cyclomatic 12, cognitive 10): updateHint has cyclomatic complexity 12 and cognitive complexity 10; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/LayoutPicker.js"},"region":{"startLine":2438}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f874573b161c332649d18c66caba88fa83b260cc4dd496e96ac1daf11b4c8cb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function showPopover (cyclomatic 12, cognitive 10): showPopover has cyclomatic complexity 12 and cognitive complexity 10; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/LightboxModern.js"},"region":{"startLine":2362}}}],"partialFingerprints":{"codehealthFindingId/v1":"80c117c8034f43aa785956e5b118f15c9b602d8a802984a5bea74a52580c5b14"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getViewBox (cyclomatic 12, cognitive 10): getViewBox has cyclomatic complexity 12 and cognitive complexity 10; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/Pages.js"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfe40e8225df8fd09ac0a8ad0e2b9dfc5850e9d1f74a92de012b8ed175b02997"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 10): (anonymous) has cyclomatic complexity 12 and cognitive complexity 10; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":4941}}}],"partialFingerprints":{"codehealthFindingId/v1":"49cb25345c58b6837942d6c3ffd12f9b25fdc981441b34a0bbd4891cbef805c4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setLocation (cyclomatic 12, cognitive 10): setLocation has cyclomatic complexity 12 and cognitive complexity 10; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":8616}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1fb4643656046ee1172c3f2cf7b827b090fe3d234587c1aa30bc633331cfef2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function restoreFocus (cyclomatic 12, cognitive 10): restoreFocus has cyclomatic complexity 12 and cognitive complexity 10; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/grapheditor/Format.js"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f980c97fdbdc4555558fc768765678e114ccb18cd3af8742bebcc2b672d01c8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getLoopFixedAxis (cyclomatic 12, cognitive 10): getLoopFixedAxis has cyclomatic complexity 12 and cognitive complexity 10; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":10842}}}],"partialFingerprints":{"codehealthFindingId/v1":"91f169f7f0eb7baed6d9110eb1ef14d6b22e4b0a54facea4f9a6141dcd30020c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runAsyncLayout (cyclomatic 12, cognitive 10): runAsyncLayout has cyclomatic complexity 12 and cognitive complexity 10; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":14147}}}],"partialFingerprints":{"codehealthFindingId/v1":"99e3d10649f9dd938d11b2f614a7fceab2279ebaaea129d06ba9537b138a6332"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function invalidateLabelGaps (cyclomatic 12, cognitive 10): invalidateLabelGaps has cyclomatic complexity 12 and cognitive complexity 10; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":28764}}}],"partialFingerprints":{"codehealthFindingId/v1":"6660f9fce9d29dd46abf6fc96fc6c11788c9c0a589d7be1e0702ce40e35b7120"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getSelectionBounds (cyclomatic 12, cognitive 10): getSelectionBounds has cyclomatic complexity 12 and cognitive complexity 10; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":51292}}}],"partialFingerprints":{"codehealthFindingId/v1":"bafdc110c7ffede6b222d0d1392e6e7aae8a29be84bf51dee6c58b53d6d9e48e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createPolygonHandles (cyclomatic 12, cognitive 10): createPolygonHandles has cyclomatic complexity 12 and cognitive complexity 10; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/shapes/mxBasic.js"},"region":{"startLine":3435}}}],"partialFingerprints":{"codehealthFindingId/v1":"050abf32aa3c381c9948ece75d2622ebe489d7e7b35e96899c7e922e4f96b595"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resizeCell (cyclomatic 12, cognitive 9): resizeCell has cyclomatic complexity 12 and cognitive complexity 9; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/mxgraph/src/layout/mxStackLayout.js"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"883d084e456a4a9474cf6ef1ca24b86d5be52b5b7ba68bacc643f4e7df754a32"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkModel (cyclomatic 11, cognitive 30): checkModel has cyclomatic complexity 11 and cognitive complexity 30; 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/webapp/js/diagramly/Menus.js"},"region":{"startLine":2501}}}],"partialFingerprints":{"codehealthFindingId/v1":"83829e060d3d348e377b141c4fede3c5dd7864165c65c236c3c10eea894dc77a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rotateChildEdge (cyclomatic 11, cognitive 29): rotateChildEdge has cyclomatic complexity 11 and cognitive complexity 29; 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":2617}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cebe6536efa0c6796643673029a4524eb2863c0f84ab8dc01930c7f26c7bb36"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function selectElement (cyclomatic 11, cognitive 28): selectElement has cyclomatic complexity 11 and cognitive complexity 28; 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":3011}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef2974e7da260a667ac67b8d50c0f8a11f0de6c885279aa0b36b76d02747d40a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function soundex (cyclomatic 11, cognitive 28): soundex has cyclomatic complexity 11 and cognitive complexity 28; 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/webapp/js/grapheditor/Editor.js"},"region":{"startLine":1041}}}],"partialFingerprints":{"codehealthFindingId/v1":"313b71401ee92db8cd2cb465ab6638bbb04699c15221a78dc3e66d971cb19a9f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function measure (cyclomatic 11, cognitive 27): measure has cyclomatic complexity 11 and cognitive complexity 27; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":27694}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdbf54687d803a8263a47540ba7dc2327d1d745d2f54816e83a76ba5d2746d11"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function snapDelta (cyclomatic 11, cognitive 27): snapDelta has cyclomatic complexity 11 and cognitive complexity 27; 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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":8368}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e729498ad8f469b38e80cc1ee7ca492b094082f237bfb2e92ef9b88dfc65e37"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 27): (anonymous) has cyclomatic complexity 11 and cognitive complexity 27; 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/webapp/plugins/replay.js"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd95e6f1662ed95d16554e7b02ddb611564ef68833cd8798020285a7d6b6f011"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateLivePreview (cyclomatic 11, cognitive 26): updateLivePreview has cyclomatic complexity 11 and cognitive complexity 26; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":51437}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb952ca7ece4cff8aa0891b7dc9578a80338b4e3e470ca7d4389e51683b18c4f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateAlternateBounds (cyclomatic 11, cognitive 26): updateAlternateBounds has cyclomatic complexity 11 and cognitive complexity 26; 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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":5731}}}],"partialFingerprints":{"codehealthFindingId/v1":"81de9fc6af70d48bcc8b591f0c2048bcdb5e5db8d7494c4a4d9f3e0864bb13bc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function finish (cyclomatic 11, cognitive 25): finish has cyclomatic complexity 11 and cognitive complexity 25; 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/webapp/js/diagramly/SpringMove.js"},"region":{"startLine":1342}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bc6321295c95922b5e381e0245667501f2ad848e8ce25376297a66457c11f71"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isEdge (cyclomatic 11, cognitive 25): isEdge has cyclomatic complexity 11 and cognitive complexity 25; 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":5212}}}],"partialFingerprints":{"codehealthFindingId/v1":"a722fbfc5b33574b508720a4ef71f54bc94bedd6dd78626968d05951abdd694e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setSides (cyclomatic 11, cognitive 25): setSides has cyclomatic complexity 11 and cognitive complexity 25; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":28025}}}],"partialFingerprints":{"codehealthFindingId/v1":"d81284ea690dd73ea8f814764475b7d5c70175e0520ad34ee2328bdf32e4b190"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getBoundingBox (cyclomatic 11, cognitive 25): getBoundingBox has cyclomatic complexity 11 and cognitive complexity 25; 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/webapp/mxgraph/src/handler/mxGraphHandler.js"},"region":{"startLine":929}}}],"partialFingerprints":{"codehealthFindingId/v1":"fae4dd65011600afae2b0e98b4fd5c14498c611033de5ddbd3ae36c64f5056d6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function intersects (cyclomatic 11, cognitive 25): intersects has cyclomatic complexity 11 and cognitive complexity 25; 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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":12263}}}],"partialFingerprints":{"codehealthFindingId/v1":"6720e20883cdbda83543449e44b897316f307cfef8692333c8adf8a04f79ae6c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 24): (anonymous) has cyclomatic complexity 11 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/webapp/js/diagramly/Init.js"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"33783c4f43e9d43190833194880a44ca23c91b1c1ceb056e079e48f5e19d2016"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 24): (anonymous) has cyclomatic complexity 11 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/webapp/js/grapheditor/Editor.js"},"region":{"startLine":1173}}}],"partialFingerprints":{"codehealthFindingId/v1":"18426a573c536dc89079b44224a81e15481d9fd3d9cfb90fd1eef183cd014fe4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getMovePreviewCache (cyclomatic 11, cognitive 23): getMovePreviewCache has cyclomatic complexity 11 and cognitive complexity 23; 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/webapp/js/diagramly/LibavoidRouting.js"},"region":{"startLine":3533}}}],"partialFingerprints":{"codehealthFindingId/v1":"f669de2f584837bfe1788cfbf303e07a7fc5a1e2b2d8b629469b1b4496e01e9b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function initMasters (cyclomatic 11, cognitive 23): initMasters has cyclomatic complexity 11 and cognitive complexity 23; 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":4766}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab5cbadb0d484f9df5eec3c7582296e40ec2f663aefae344304274b9f66660c7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function layout (cyclomatic 11, cognitive 23): layout has cyclomatic complexity 11 and cognitive complexity 23; 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/webapp/mxgraph/src/layout/mxParallelEdgeLayout.js"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecbdbf415dfbb53c7f6ff8b68d3d662ef40456a7166ad61e353b25b1757d233f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updatePageLink (cyclomatic 11, cognitive 22): updatePageLink has cyclomatic complexity 11 and cognitive complexity 22; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":14248}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4693d7fff4c71c735eb1723090fbd4bfeca7d44ce32cbbc6870fccdd5d31ec7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setCellStyles (cyclomatic 11, cognitive 22): setCellStyles has cyclomatic complexity 11 and cognitive complexity 22; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":18387}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff90047201574a8db9a80d9f0a1ee7e0fe981325ca0a99225f15ae125dbea5a3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getJsonForPage (cyclomatic 11, cognitive 22): getJsonForPage has cyclomatic complexity 11 and cognitive complexity 22; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":42241}}}],"partialFingerprints":{"codehealthFindingId/v1":"37587138b80b6322fb760b33f0156975c69598b5ad8304dd67e379de3dec8d56"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function expandFormatControl (cyclomatic 11, cognitive 22): expandFormatControl has cyclomatic complexity 11 and cognitive complexity 22; 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/webapp/js/diagramly/Omnibox.js"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf494234e1db5688450783bfbbceafceee8fddf038877e831b1d90773f0e85c7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getFollowingEdges (cyclomatic 11, cognitive 22): getFollowingEdges has cyclomatic complexity 11 and cognitive complexity 22; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":13498}}}],"partialFingerprints":{"codehealthFindingId/v1":"e362d061441aaffada809f745e9e983aa93fc648a9e678b2b791735bcfda6190"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cellAdded (cyclomatic 11, cognitive 22): cellAdded has cyclomatic complexity 11 and cognitive complexity 22; 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/webapp/mxgraph/src/model/mxGraphModel.js"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2db19af92de6c5a98fb239492d8711cd2f381a0242b4d6ff81b395a7763eef5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 21): (anonymous) has cyclomatic complexity 11 and cognitive complexity 21; 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":13613}}}],"partialFingerprints":{"codehealthFindingId/v1":"42ef9d926491540ab995747af1e99ff77ca9bcfd78d64d5ed4e1c725d6bd5d0c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addSvgShadow (cyclomatic 11, cognitive 21): addSvgShadow has cyclomatic complexity 11 and cognitive complexity 21; 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/webapp/js/diagramly/Editor.js"},"region":{"startLine":14367}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe15f52cc4b1744f7d884cc2683fda55c6887408a54232d41b03ab1f63215385"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addEdgePath (cyclomatic 11, cognitive 21): addEdgePath has cyclomatic complexity 11 and cognitive complexity 21; 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/webapp/js/diagramly/graphml/mxGraphMlCodec.js"},"region":{"startLine":2156}}}],"partialFingerprints":{"codehealthFindingId/v1":"92a528a669df46ee35337cccffebb8e8d944e75c029c5e4904927773729defbf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 21): (anonymous) has cyclomatic complexity 11 and cognitive complexity 21; 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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":9228}}}],"partialFingerprints":{"codehealthFindingId/v1":"364eab90bd54ddb49686abc01692713284e48e666d429965c0321361228bcf96"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function duplicateCells (cyclomatic 11, cognitive 21): duplicateCells has cyclomatic complexity 11 and cognitive complexity 21; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":40412}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b3254d9f6430ff8394cf6539e7630f8133222d4e0bb2ced93377a81c9377683"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function insertTableColumn (cyclomatic 11, cognitive 21): insertTableColumn has cyclomatic complexity 11 and cognitive complexity 21; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":44795}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaf765a86105227f1a17094b8a057faed0d5ec76c5caf02de8d20988c8610498"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updatePreview (cyclomatic 11, cognitive 21): updatePreview has cyclomatic complexity 11 and cognitive complexity 21; 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/webapp/js/grapheditor/InlineToolbar.js"},"region":{"startLine":3306}}}],"partialFingerprints":{"codehealthFindingId/v1":"87981b7b137848b5ca52e44f7aa3bd1d5601ea07de350e3ce12f77e090f1d2cd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function redrawSpringHandle (cyclomatic 11, cognitive 20): redrawSpringHandle has cyclomatic complexity 11 and cognitive complexity 20; 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/webapp/js/diagramly/SpringHandle.js"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e9e64496639573676acfe74a7706255aef2a4eb0498f24c15440a8a5b0e8914"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addTbl2Rows (cyclomatic 11, cognitive 20): addTbl2Rows has cyclomatic complexity 11 and cognitive complexity 20; 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/webapp/js/diagramly/graphml/mxGraphMlCodec.js"},"region":{"startLine":1783}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d16767aafde2d077aef0ea83527a43d1db1f3ffbded5891a940853e04d72fb4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addTbl2Cols (cyclomatic 11, cognitive 20): addTbl2Cols has cyclomatic complexity 11 and cognitive complexity 20; 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/webapp/js/diagramly/graphml/mxGraphMlCodec.js"},"region":{"startLine":1826}}}],"partialFingerprints":{"codehealthFindingId/v1":"02902b64da7598feb02cb8aadd2cf6d1f28ce88bd4bb488b64012c282c1a5cc6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function get (cyclomatic 11, cognitive 20): get has cyclomatic complexity 11 and cognitive complexity 20; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":31412}}}],"partialFingerprints":{"codehealthFindingId/v1":"78618521031f002dcb2e0a7bd02d374517d04ba4460f7513dc8b68a08f73f78e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reset (cyclomatic 11, cognitive 20): reset has cyclomatic complexity 11 and cognitive complexity 20; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":48858}}}],"partialFingerprints":{"codehealthFindingId/v1":"27ca9c81dd63a86e4e1f23d1d157ecf7c7824e7c6e24335f71587e3e51b318f1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setHandlesVisible (cyclomatic 11, cognitive 20): setHandlesVisible has cyclomatic complexity 11 and cognitive complexity 20; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":48906}}}],"partialFingerprints":{"codehealthFindingId/v1":"eddd0731e55fea6b8b86ac426c930290cda6312470cf9643a6cc8fdc67fc0dd0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getCells (cyclomatic 11, cognitive 20): getCells has cyclomatic complexity 11 and cognitive complexity 20; 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/webapp/mxgraph/src/handler/mxGraphHandler.js"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"45c229630d6b693cfa4640c8e5d91490aaac7640da4567abde935556147abe3b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function appendPolygonClip (cyclomatic 11, cognitive 20): appendPolygonClip has cyclomatic complexity 11 and cognitive complexity 20; 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/webapp/mxgraph/src/util/mxSvgCanvas2D.js"},"region":{"startLine":3551}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ae62e50510d6355149a74106aba5c28f4e136b6b69c7fc360b42c8a25027fbd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 20): (anonymous) has cyclomatic complexity 11 and cognitive complexity 20; 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/webapp/mxgraph/src/util/mxWindow.js"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaec335aaca6c49af33074355f9d72b06d3c2426f5d435f2f5b58a70c5089419"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setOutlineSides (cyclomatic 11, cognitive 19): setOutlineSides has cyclomatic complexity 11 and cognitive complexity 19; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":35806}}}],"partialFingerprints":{"codehealthFindingId/v1":"34207542d39806ced854a83ba09d20d9d5bb5bc18117a84811739993b5f85d42"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function exportFile (cyclomatic 11, cognitive 19): exportFile has cyclomatic complexity 11 and cognitive complexity 19; 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/webapp/js/diagramly/ElectronApp.js"},"region":{"startLine":2836}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8bbcc0d3b795183f8ec38b62108fec4fb48bbd9e37d1722b29238557d82848b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getEdgeLabelStyle (cyclomatic 11, cognitive 19): getEdgeLabelStyle has cyclomatic complexity 11 and cognitive complexity 19; 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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":6416}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd771d56f6ed84cf30cda79e7bfc1597aa13f93885b6471c33af6936502f1b7f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function duplicateCells (cyclomatic 11, cognitive 19): duplicateCells has cyclomatic complexity 11 and cognitive complexity 19; 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/webapp/js/diagramly/Trees.js"},"region":{"startLine":796}}}],"partialFingerprints":{"codehealthFindingId/v1":"b34b2dbdc22f7ebeb5d9ce9db8a5dc01defa7985b4873e76861c846816ae831c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function click (cyclomatic 11, cognitive 19): click has cyclomatic complexity 11 and cognitive complexity 19; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":1418}}}],"partialFingerprints":{"codehealthFindingId/v1":"03962188d84c8830fe7773ba6a1530ebcf203c478276ad9a89e729b47a63af93"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deriveClip (cyclomatic 11, cognitive 19): deriveClip has cyclomatic complexity 11 and cognitive complexity 19; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":7957}}}],"partialFingerprints":{"codehealthFindingId/v1":"deab38b998eeebc970f862bef360dafa0d8f24f7aee6a563829edbcb60e908ec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateTiedPoints (cyclomatic 11, cognitive 19): updateTiedPoints has cyclomatic complexity 11 and cognitive complexity 19; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":33364}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee346a95330b607e7bfb89f7ad5f497794edbbccddf72c7760ce6ae76e94ca5e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function encodeCells (cyclomatic 11, cognitive 19): encodeCells has cyclomatic complexity 11 and cognitive complexity 19; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":34798}}}],"partialFingerprints":{"codehealthFindingId/v1":"11b4be5fe49eef1843ae87c44ee907ecda191092ddb0472eaf39c182cf6790d9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function translateCell (cyclomatic 11, cognitive 19): translateCell has cyclomatic complexity 11 and cognitive complexity 19; 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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":6842}}}],"partialFingerprints":{"codehealthFindingId/v1":"16a4aa916c6d9e3fc31d453e7ea35c4dc8df6427fa0d3578ec17e1e2383d744b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function duplicateCells (cyclomatic 11, cognitive 19): duplicateCells has cyclomatic complexity 11 and cognitive complexity 19; 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/webapp/plugins/trees/trees.js"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bc4e6d32b5b8c79fe6957562e004463c1a44c2047302b1b459cc14ea8e89172"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function threadHistory (cyclomatic 11, cognitive 18): threadHistory has cyclomatic complexity 11 and cognitive complexity 18; 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":13241}}}],"partialFingerprints":{"codehealthFindingId/v1":"d255039fc24be81c7bd399cfd2b45a4131056ef433acacb7b7f7f4d58974aafe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getPersistentToken (cyclomatic 11, cognitive 18): getPersistentToken has cyclomatic complexity 11 and cognitive complexity 18; 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/webapp/js/diagramly/DrawioClient.js"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bcc7686befc46e2408d91fa80eae51e00a21a9c8174fca9cd0d192df5c38b48"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function capturePage (cyclomatic 11, cognitive 18): capturePage has cyclomatic complexity 11 and cognitive complexity 18; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":21834}}}],"partialFingerprints":{"codehealthFindingId/v1":"e069c101cd729d864f7fc1e6fbfb16f256cc351f15d9680337048d18c05c9981"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function detectTableSeparator (cyclomatic 11, cognitive 18): detectTableSeparator has cyclomatic complexity 11 and cognitive complexity 18; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":37190}}}],"partialFingerprints":{"codehealthFindingId/v1":"94dc63fe3886b107781f493e17c0af6c6b0fd5351e336e00a97e856ae71cf27f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderModel (cyclomatic 11, cognitive 18): renderModel has cyclomatic complexity 11 and cognitive complexity 18; 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/webapp/js/diagramly/ForceExplorer.js"},"region":{"startLine":4346}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d0a2ae563008f4da23993cd4f846a0fd87ad3024263fca2266843ea66aae9d7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getInnerTabStop (cyclomatic 11, cognitive 18): getInnerTabStop has cyclomatic complexity 11 and cognitive complexity 18; 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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":4606}}}],"partialFingerprints":{"codehealthFindingId/v1":"353b3f54845022e1d725be24fb6688910151030a825d8a8ba7d6ba05de3d504a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getRemovedNewEdgeStyleKeys (cyclomatic 11, cognitive 18): getRemovedNewEdgeStyleKeys has cyclomatic complexity 11 and cognitive complexity 18; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":10197}}}],"partialFingerprints":{"codehealthFindingId/v1":"54b0c049714c096bf115113483ae1b92e197c4bdae2fa7e403a8c232448eaa5d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setHashObject (cyclomatic 11, cognitive 17): setHashObject has cyclomatic complexity 11 and cognitive complexity 17; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":4716}}}],"partialFingerprints":{"codehealthFindingId/v1":"c89c6c312746221521e02eeb485108eeeb91b7d85c4a33eb9af65d3d19113d32"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getCellOptions (cyclomatic 11, cognitive 17): getCellOptions has cyclomatic complexity 11 and cognitive complexity 17; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":37765}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fcee60dc1bd6f05f6c952aaf7742d2894dc35443e5b6b4459e50a8e12abb4ee"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateParallelEdges (cyclomatic 11, cognitive 17): updateParallelEdges has cyclomatic complexity 11 and cognitive complexity 17; 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/webapp/js/diagramly/ForceExplorer.js"},"region":{"startLine":4097}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ab688ef2846088b665bcb6e757ea701d7577affaa8d658f31ba7b5df79fc24e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateRoutes (cyclomatic 11, cognitive 17): updateRoutes has cyclomatic complexity 11 and cognitive complexity 17; 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/webapp/js/diagramly/SpringMove.js"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"9212d49488c81b090d58740a33d9bd2cbd1a664d015476c3b81f01960db3a0fa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addRow (cyclomatic 11, cognitive 17): addRow has cyclomatic complexity 11 and cognitive complexity 17; 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/webapp/js/diagramly/graphml/mxGraphMlCodec.js"},"region":{"startLine":1868}}}],"partialFingerprints":{"codehealthFindingId/v1":"b347021f14ff5494499b4574d6a36ae11116ff1549e576a3bf7f6b94f831f171"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addLightDarkColors (cyclomatic 11, cognitive 17): addLightDarkColors has cyclomatic complexity 11 and cognitive complexity 17; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":2936}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6f98e0b83e09508146e1aef3a1ec1ee4686326fd7bd6c0a5084a8082414be0b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function keepLoopOutsideShape (cyclomatic 11, cognitive 17): keepLoopOutsideShape has cyclomatic complexity 11 and cognitive complexity 17; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":11108}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba3685d793965319ab95c40542f966d233642a99d7f3230233c10826c2e3d961"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getScore (cyclomatic 11, cognitive 17): getScore has cyclomatic complexity 11 and cognitive complexity 17; 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/webapp/js/grapheditor/Omnibox.js"},"region":{"startLine":2096}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1663bb41cde3218ad4bfbd69a4cfcd94352124c8744c9943c3c36efe33488d2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function selectCellForEvent (cyclomatic 11, cognitive 17): selectCellForEvent has cyclomatic complexity 11 and cognitive complexity 17; 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/webapp/mxgraph/src/handler/mxGraphHandler.js"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ed4b84a439fbd76b005fb1bd2e3f8001cc0cc63c3af98cd12609017d49a6c3a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getConnectionConstraint (cyclomatic 11, cognitive 17): getConnectionConstraint has cyclomatic complexity 11 and cognitive complexity 17; 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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":7326}}}],"partialFingerprints":{"codehealthFindingId/v1":"024eaa2015d6fcd4bea5bdf7cee4beba8f77f103aee10c20add0d3bab383a75e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateVertexLabelOffset (cyclomatic 11, cognitive 17): updateVertexLabelOffset has cyclomatic complexity 11 and cognitive complexity 17; 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/webapp/mxgraph/src/view/mxGraphView.js"},"region":{"startLine":2817}}}],"partialFingerprints":{"codehealthFindingId/v1":"2407cdd46bdfa296d1fefb4c5ea20bd7bfaf53535516b2808713c446ad4a8961"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function removeDuplicatePoints (cyclomatic 11, cognitive 17): removeDuplicatePoints has cyclomatic complexity 11 and cognitive complexity 17; 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/webapp/mxgraph/src/view/mxGraphView.js"},"region":{"startLine":3276}}}],"partialFingerprints":{"codehealthFindingId/v1":"96f05afaafe4d19d474fec2a1677ab4030251451cea69d31698eef291af607cb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateLabelBoundingBoxes (cyclomatic 11, cognitive 17): updateLabelBoundingBoxes has cyclomatic complexity 11 and cognitive complexity 17; 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/webapp/mxgraph/src/view/mxGraphView.js"},"region":{"startLine":4886}}}],"partialFingerprints":{"codehealthFindingId/v1":"39b04c2218acb43cc80c2e52faff5b370f6fab7d6a52a42c7726dd9b1438c3fe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 16): (anonymous) has cyclomatic complexity 11 and cognitive complexity 16; 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/webapp/js/diagramly/App.js"},"region":{"startLine":4597}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb4aa1ff12e6a61a952be00ef663df37b98d425eb98b60632e8d715e691ee7bc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PluginsDialog (cyclomatic 11, cognitive 16): PluginsDialog has cyclomatic complexity 11 and cognitive complexity 16; 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":18811}}}],"partialFingerprints":{"codehealthFindingId/v1":"f45f273bf4efb7a56822cbc9ef108621406540763e04e7283567d66d025e91db"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createEmbedSvgData (cyclomatic 11, cognitive 16): createEmbedSvgData has cyclomatic complexity 11 and cognitive complexity 16; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":19352}}}],"partialFingerprints":{"codehealthFindingId/v1":"df3f5c7693667242b63c3bf4de41be3e14bec4ddc5361c8568a73f5e3cc969d5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function repairCapturePage (cyclomatic 11, cognitive 16): repairCapturePage has cyclomatic complexity 11 and cognitive complexity 16; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":21120}}}],"partialFingerprints":{"codehealthFindingId/v1":"a245313f3c9217fba851ff06a443923eee90d370df8b89375b1ca4c2e8c2779f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onMoveResize (cyclomatic 11, cognitive 16): onMoveResize has cyclomatic complexity 11 and cognitive complexity 16; 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/webapp/js/diagramly/LibavoidRouting.js"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3635e4ba7f61b770ee60f5307f02916be167c1ab1a594afd27df25c8d455dd3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 16): (anonymous) has cyclomatic complexity 11 and cognitive complexity 16; 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/webapp/js/diagramly/Menus.js"},"region":{"startLine":1537}}}],"partialFingerprints":{"codehealthFindingId/v1":"847d129fb37517819daab2777e6a2cbc624d3b4cf476bc69692c83016d8c104f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 16): (anonymous) has cyclomatic complexity 11 and cognitive complexity 16; 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/webapp/js/diagramly/Menus.js"},"region":{"startLine":1577}}}],"partialFingerprints":{"codehealthFindingId/v1":"31b0704802ffcdc37d4d019664d8a8e3a29e49229358bda4fa8678e1951a53bc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updatePageRoot (cyclomatic 11, cognitive 16): updatePageRoot has cyclomatic complexity 11 and cognitive complexity 16; 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/webapp/js/diagramly/Pages.js"},"region":{"startLine":1990}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c9c0222f1fda776810ae1462034fd44665d6c765645917ca39a60b26aac9a04"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function moveCellsTo (cyclomatic 11, cognitive 16): moveCellsTo has cyclomatic complexity 11 and cognitive complexity 16; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":19806}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8aca3cf04f117efa790810dab1a5896b73c598a5297b18e32f2a19b869745e3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function convertValueToTooltip (cyclomatic 11, cognitive 16): convertValueToTooltip has cyclomatic complexity 11 and cognitive complexity 16; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":22434}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c1bd2c19ed536832c2be8355cdcad83fb5a4b111fa5cccf2bdb6f98a5eb97e7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getEdgeLabelPositions (cyclomatic 11, cognitive 16): getEdgeLabelPositions has cyclomatic complexity 11 and cognitive complexity 16; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":39909}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cb1a1c5fe62ab9a4475016ba9f71c7326fa5a1a3deb9c6646f040b4d7334fa7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getFormatRowLabel (cyclomatic 11, cognitive 16): getFormatRowLabel has cyclomatic complexity 11 and cognitive complexity 16; 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/webapp/js/grapheditor/Omnibox.js"},"region":{"startLine":1620}}}],"partialFingerprints":{"codehealthFindingId/v1":"deb8a4ce72f48e150f74fa8a8fb36508bd4bc2d2808618cdcba554edb6f99b3e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 16): (anonymous) has cyclomatic complexity 11 and cognitive complexity 16; 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/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":3476}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4364f3ae2930bd4ef7cab6686d9f6cfc95d7300fad13d0b57da71c46e1a1b5e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function endSegment (cyclomatic 11, cognitive 16): endSegment has cyclomatic complexity 11 and cognitive complexity 16; 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/webapp/js/libavoid-js/libavoid-routing.js"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"aace594eb8d254c5937c3ca72f40b21b3c847c3117e1bae4424cef04e3807110"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getNearestCommonAncestor (cyclomatic 11, cognitive 16): getNearestCommonAncestor has cyclomatic complexity 11 and cognitive complexity 16; 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/webapp/mxgraph/src/model/mxGraphModel.js"},"region":{"startLine":933}}}],"partialFingerprints":{"codehealthFindingId/v1":"3652a0133722ad2357bc233cb64abfdc522ff5c9437cc4970c7c8226d569fa1a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function redrawDistanceGuides (cyclomatic 11, cognitive 16): redrawDistanceGuides has cyclomatic complexity 11 and cognitive complexity 16; 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/webapp/mxgraph/src/util/mxGuide.js"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"26071ac3c61dbc8b42264d1ae013f48568731615ddbe5837af7d30c3d992c3e2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseCssFontFamily (cyclomatic 11, cognitive 16): parseCssFontFamily has cyclomatic complexity 11 and cognitive complexity 16; 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/webapp/mxgraph/src/util/mxUtils.js"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2932443913f92469f817159a4afee096a1eb05194b54ff79cbe5c09af2b7550"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getOffset (cyclomatic 11, cognitive 16): getOffset has cyclomatic complexity 11 and cognitive complexity 16; 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/webapp/mxgraph/src/util/mxUtils.js"},"region":{"startLine":3653}}}],"partialFingerprints":{"codehealthFindingId/v1":"a536dd1c720797b65617865125ff2db46d1c13504f8880a2bfa4b0df58f574be"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sanitizeExportPreset (cyclomatic 11, cognitive 15): sanitizeExportPreset has cyclomatic complexity 11 and cognitive complexity 15; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":11512}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e4b740d5f7e1ea24eded38424b8c9fa8c93d8fb0d3aafdc67015f1aceee275a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setHighContrast (cyclomatic 11, cognitive 15): setHighContrast has cyclomatic complexity 11 and cognitive complexity 15; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":27430}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3939ecd5ce24d86ab4d2d7909c4456513fc37484666fa7df7897a5c5df5bf0b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyGlow (cyclomatic 11, cognitive 15): applyGlow has cyclomatic complexity 11 and cognitive complexity 15; 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/webapp/js/diagramly/Menus.js"},"region":{"startLine":4453}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cd2dd9797787265bc65bb07c0c2145665411a3f97989f19c4f965f76c23c636"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateSeparators (cyclomatic 11, cognitive 15): updateSeparators has cyclomatic complexity 11 and cognitive complexity 15; 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/webapp/js/diagramly/ViewerModern.js"},"region":{"startLine":1696}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b08f149f0228b52c3d76d8705b7bf62926be79fc248e061c52a3b789c16ee5e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function popoverKeyDown (cyclomatic 11, cognitive 15): popoverKeyDown has cyclomatic complexity 11 and cognitive complexity 15; 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/webapp/js/diagramly/ViewerModern.js"},"region":{"startLine":2134}}}],"partialFingerprints":{"codehealthFindingId/v1":"77df392a4db6a11d12397fbd2d0db322718b31f3bcb0c6e02a212e533e9c9c66"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function hideShapePicker (cyclomatic 11, cognitive 15): hideShapePicker has cyclomatic complexity 11 and cognitive complexity 15; 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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":3497}}}],"partialFingerprints":{"codehealthFindingId/v1":"856bb5837c2929fb2c615ebf643df17c0f47304f73b13e9fa5a48f1e6b7cd7d9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function convertTableSides (cyclomatic 11, cognitive 15): convertTableSides has cyclomatic complexity 11 and cognitive complexity 15; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":25737}}}],"partialFingerprints":{"codehealthFindingId/v1":"50d9131fd0f423075dcfb7fa6d7fae24699df4d0b47212a77ae11292c9c4752b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getLineJumpSegments (cyclomatic 11, cognitive 15): getLineJumpSegments has cyclomatic complexity 11 and cognitive complexity 15; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":31521}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce3cac8f1a25ec26dca072ecd40724f7ea8dc994d97f050dfe94d24be7bf3d7d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function splitTies (cyclomatic 11, cognitive 15): splitTies has cyclomatic complexity 11 and cognitive complexity 15; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":35654}}}],"partialFingerprints":{"codehealthFindingId/v1":"868f622f0548cebf4fd012da6b5c55335c9a30b7e03083ba9be1dd7e50ee9aed"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setPosition (cyclomatic 11, cognitive 15): setPosition has cyclomatic complexity 11 and cognitive complexity 15; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":48700}}}],"partialFingerprints":{"codehealthFindingId/v1":"62505b4920f2ae5a23171f9b1effe90541d84382e7f06464830b56821279975f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function redrawSizeGuides (cyclomatic 11, cognitive 15): redrawSizeGuides has cyclomatic complexity 11 and cognitive complexity 15; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":52163}}}],"partialFingerprints":{"codehealthFindingId/v1":"1da4ccd7794b902788c867edbd8676902b30421088bda722ebb896fe093ad9a9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getPatchedParents (cyclomatic 11, cognitive 14): getPatchedParents has cyclomatic complexity 11 and cognitive complexity 14; 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/webapp/js/diagramly/DiffSync.js"},"region":{"startLine":1456}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd278c128d156fe783dc9a4a2b8fc2dd264e2452e962d9381be092f656cd35f0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 14): (anonymous) has cyclomatic complexity 11 and cognitive complexity 14; 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/webapp/js/diagramly/DriveClient.js"},"region":{"startLine":909}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce0f3aa9035c0870757413306e211d43b4b13e1cba2404702bf667ed9131e219"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function drawPath (cyclomatic 11, cognitive 14): drawPath has cyclomatic complexity 11 and cognitive complexity 14; 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/webapp/js/diagramly/Editor.js"},"region":{"startLine":2631}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f58a05b6c29c5b7ee8ff472e53435afa8885901f51036d2ee6a31171fd6aed6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setGraphEnabled (cyclomatic 11, cognitive 14): setGraphEnabled has cyclomatic complexity 11 and cognitive complexity 14; 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/webapp/js/diagramly/Minimal.js"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f680a2414ab12bb4f35474a76d7857596707cb95c228b803b107137e2276576"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getDirectionalDistance (cyclomatic 11, cognitive 14): getDirectionalDistance has cyclomatic complexity 11 and cognitive complexity 14; 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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":4750}}}],"partialFingerprints":{"codehealthFindingId/v1":"a16c32d2265e5c294e1f1aaa84c8e1ed11bb58826682ea0cee82c70c1cea1d46"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isDataSourceValue (cyclomatic 11, cognitive 14): isDataSourceValue has cyclomatic complexity 11 and cognitive complexity 14; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":18966}}}],"partialFingerprints":{"codehealthFindingId/v1":"addb913bfbd3dbd636bb1efa5a7ecf379c0142589436ad6dcb3dbd5de87057cc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function connect (cyclomatic 11, cognitive 14): connect has cyclomatic complexity 11 and cognitive complexity 14; 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/webapp/mxgraph/src/handler/mxEdgeSegmentHandler.js"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f0e09e8485dd28582ff8577e8d408b59b3fc017827f9946c1fa3f6cde1a746e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function equalsWithTolerance (cyclomatic 11, cognitive 14): equalsWithTolerance has cyclomatic complexity 11 and cognitive complexity 14; 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/webapp/mxgraph/src/view/mxGraphView.js"},"region":{"startLine":937}}}],"partialFingerprints":{"codehealthFindingId/v1":"5153b7434523f485f9ec0b7edfc98ad6f3d9190d4aaab08178cae0eb3a322013"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 13): (anonymous) has cyclomatic complexity 11 and cognitive complexity 13; 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":7223}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b4ef22803e0bd81c78f7293e0c2b75e4359b52c645960ba6c54a690ee99170b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checksumError (cyclomatic 11, cognitive 13): checksumError has cyclomatic complexity 11 and cognitive complexity 13; 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/webapp/js/diagramly/DrawioFile.js"},"region":{"startLine":890}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0a933955359fbb3aff70dd8c2cdf95a5e680b6584d000f86fb17c89cbdb9b7f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 13): (anonymous) has cyclomatic complexity 11 and cognitive complexity 13; 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/webapp/js/diagramly/DriveClient.js"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3d549075a529a5b98c99ddbf5cb1b96bec10f91a4db4fb6c5034f293814fed6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scrollCellToVisibleCssTransform (cyclomatic 11, cognitive 13): scrollCellToVisibleCssTransform has cyclomatic complexity 11 and cognitive complexity 13; 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/webapp/js/diagramly/Editor.js"},"region":{"startLine":12478}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2ef6a7ad3b417b6149995e73e7f77bdc9e74e52fca1e5fde1f80240fad4b69d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function redrawTransientStyle (cyclomatic 11, cognitive 13): redrawTransientStyle has cyclomatic complexity 11 and cognitive complexity 13; 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/webapp/js/diagramly/Editor.js"},"region":{"startLine":12855}}}],"partialFingerprints":{"codehealthFindingId/v1":"09dca729df7264419fa685cb187e07ed27790873e58df8d577a36e519770b683"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 13): (anonymous) has cyclomatic complexity 11 and cognitive complexity 13; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":5829}}}],"partialFingerprints":{"codehealthFindingId/v1":"77edf813d2d908a802e6b3fcb43012761eb36b02e061715dd9bdb0dc6ac2ab2f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function embedExternalImages (cyclomatic 11, cognitive 13): embedExternalImages has cyclomatic complexity 11 and cognitive complexity 13; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":18491}}}],"partialFingerprints":{"codehealthFindingId/v1":"09bd0e8fb6eb330c30eab5c19ef0552643db8773ec7a4be4673c35852e1e1f82"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 13): (anonymous) has cyclomatic complexity 11 and cognitive complexity 13; 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/webapp/js/diagramly/LightboxModern.js"},"region":{"startLine":2958}}}],"partialFingerprints":{"codehealthFindingId/v1":"445a281c149c96c675dc8c758ea244c59a4f649adb109ca7bb3a335caee6c7e5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function preview (cyclomatic 11, cognitive 13): preview has cyclomatic complexity 11 and cognitive complexity 13; 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/webapp/js/grapheditor/Editor.js"},"region":{"startLine":3160}}}],"partialFingerprints":{"codehealthFindingId/v1":"7620eb270da3ac27af76adfdf99c00462a4d927c3675b892ebd4b55b851b2a6d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 13): (anonymous) has cyclomatic complexity 11 and cognitive complexity 13; 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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":9928}}}],"partialFingerprints":{"codehealthFindingId/v1":"b476c64a978e3cd5c5e9d4548b89ab10a91fe0555c571de187e8f3ee0abb874c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function clearTextColor (cyclomatic 11, cognitive 13): clearTextColor has cyclomatic complexity 11 and cognitive complexity 13; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":3200}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9a98b018909446c223c1d60c3be7396fb2dc8209b39e0a3948242d1fdb3db66"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function removeTextColors (cyclomatic 11, cognitive 13): removeTextColors has cyclomatic complexity 11 and cognitive complexity 13; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":3256}}}],"partialFingerprints":{"codehealthFindingId/v1":"33cbfeae35b79b5899b39ad97c3b628f3502db2070564532d648c77abf63dbb7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mouseMove (cyclomatic 11, cognitive 13): mouseMove has cyclomatic complexity 11 and cognitive complexity 13; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":51554}}}],"partialFingerprints":{"codehealthFindingId/v1":"2acd407a233012ac051b5d0d4c3c05d104a7b5537b36cb5832dbb2797107c044"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getChildPreview (cyclomatic 11, cognitive 13): getChildPreview has cyclomatic complexity 11 and cognitive complexity 13; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":52524}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b618fcf3df3de3e281eafa560c99fccbbec285e4b32e2bca95020b48c4bc7e5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateSelection (cyclomatic 11, cognitive 13): updateSelection has cyclomatic complexity 11 and cognitive complexity 13; 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/webapp/js/grapheditor/InlineToolbar.js"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cec9aafa1bcc88c35dabe1c57545c6b28eaf52cb2117d1b3d66be892470ac82"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function IsometricConnector (cyclomatic 11, cognitive 13): IsometricConnector has cyclomatic complexity 11 and cognitive complexity 13; 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/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":11036}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba0ad746ea299332db9c6da31791ae5c144c100763367960ffcf12baf09baaf7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function send (cyclomatic 11, cognitive 13): send has cyclomatic complexity 11 and cognitive complexity 13; 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/webapp/mxgraph/src/util/mxXmlRequest.js"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcbf0de35e47b05240d7fbe6b622ee2c195de7a935d6f5c6eebdde50f6b68f6e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function saveLibrary (cyclomatic 11, cognitive 12): saveLibrary has cyclomatic complexity 11 and cognitive complexity 12; 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/webapp/js/diagramly/App.js"},"region":{"startLine":6150}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b79765862b2acbf52b9caee8f67d8780e27c5237fb55285aeb42a2899df1f12"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 12): (anonymous) has cyclomatic complexity 11 and cognitive complexity 12; 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":18569}}}],"partialFingerprints":{"codehealthFindingId/v1":"76eaabf7d3316b5a7406858efc5ccd7b296fb5b62923b8ec31bcff18dffe0899"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parsePreview (cyclomatic 11, cognitive 12): parsePreview has cyclomatic complexity 11 and cognitive complexity 12; 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":23851}}}],"partialFingerprints":{"codehealthFindingId/v1":"53372cd30067dbc92f72ee855e30ed7d6c8c80e5c1a4dbaf9b098a81ee0ef267"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateStatus (cyclomatic 11, cognitive 12): updateStatus has cyclomatic complexity 11 and cognitive complexity 12; 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/webapp/js/diagramly/DrawioFileSync.js"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf803ad0cfb364f9cc231de9a8070874761a27df90690ceae67404306141b079"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 12): (anonymous) has cyclomatic complexity 11 and cognitive complexity 12; 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/webapp/js/diagramly/DriveClient.js"},"region":{"startLine":3224}}}],"partialFingerprints":{"codehealthFindingId/v1":"304550f9e05bf3e4c1b73b3212d42fc010e608b99bb202fd7fa15793e71f4f8b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function snapshotMermaidIdentity (cyclomatic 11, cognitive 12): snapshotMermaidIdentity has cyclomatic complexity 11 and cognitive complexity 12; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":15049}}}],"partialFingerprints":{"codehealthFindingId/v1":"143abf481d0ff12517750d46dde691e50fe197075ea7e326affc2f56069a2114"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function confirmImageResize (cyclomatic 11, cognitive 12): confirmImageResize has cyclomatic complexity 11 and cognitive complexity 12; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":18178}}}],"partialFingerprints":{"codehealthFindingId/v1":"f42b656b12f1cc1fb6d65dc1f64302c3528c6d1616d5551a6e2e8727112d987b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function saveWindowState (cyclomatic 11, cognitive 12): saveWindowState has cyclomatic complexity 11 and cognitive complexity 12; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":25688}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf21dccd92edf4c684fbaae438a493709674a97b42a9f944421424668573767d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 12): (anonymous) has cyclomatic complexity 11 and cognitive complexity 12; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":45219}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a54aa55925fb2ce96e5b851187854d98e3ca619fd37929b1596a720d5e71fec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getImage (cyclomatic 11, cognitive 12): getImage has cyclomatic complexity 11 and cognitive complexity 12; 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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":5754}}}],"partialFingerprints":{"codehealthFindingId/v1":"57912bca8ad9dc0b35fc478949db04177024da11e69d3b6ff8ed5c45e13cae1e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleTextRotation (cyclomatic 11, cognitive 12): handleTextRotation has cyclomatic complexity 11 and cognitive complexity 12; 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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":14034}}}],"partialFingerprints":{"codehealthFindingId/v1":"a29f5f36bc0fb9dd4f3b54c086a975b1143886349059ad7bba637c597dc65e90"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function selectPage (cyclomatic 11, cognitive 12): selectPage has cyclomatic complexity 11 and cognitive complexity 12; 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/webapp/js/diagramly/GraphViewer.js"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"16615bfb1abc000ac516e515c3976694591ce897f787bc346689af5c215ea4df"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectOverlappingEdges (cyclomatic 11, cognitive 12): collectOverlappingEdges has cyclomatic complexity 11 and cognitive complexity 12; 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/webapp/js/diagramly/LibavoidRouting.js"},"region":{"startLine":856}}}],"partialFingerprints":{"codehealthFindingId/v1":"57058d9cbc99f33b7c5bc9151c2dc548fd7ddc2a00a005c8612499535874c153"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 12): (anonymous) has cyclomatic complexity 11 and cognitive complexity 12; 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/webapp/js/diagramly/Menus.js"},"region":{"startLine":3884}}}],"partialFingerprints":{"codehealthFindingId/v1":"1892949c5a3cb3abec081a37a9168444276cb0d4ce6780b91bb0f684ab8293d5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 12): (anonymous) has cyclomatic complexity 11 and cognitive complexity 12; 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/webapp/js/diagramly/Menus.js"},"region":{"startLine":6477}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9025baffc6962053476c8b6d9761282ad8fb412f64f2ebfe968f3744d2c9b9d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 12): (anonymous) has cyclomatic complexity 11 and cognitive complexity 12; 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/webapp/js/diagramly/Pages.js"},"region":{"startLine":4579}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc0a442f20d8c6967039c5632422182a12c0c562a31f6e63e2724fe316eb3d0c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addObstacles (cyclomatic 11, cognitive 12): addObstacles has cyclomatic complexity 11 and cognitive complexity 12; 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/webapp/js/diagramly/SpringMove.js"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8e1c1894a298bc6ffb404a5c55f1fa8c2064ec8bf28458c06cda50e5919bbf2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 12): (anonymous) has cyclomatic complexity 11 and cognitive complexity 12; 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/webapp/js/diagramly/mxFreehand.js"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d5d057057562a38df31b40d31163902cc3c50b6ef1e6644ee9fd7d6b7de611e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 12): (anonymous) has cyclomatic complexity 11 and cognitive complexity 12; 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/webapp/js/diagramly/tidy/Tidy.js"},"region":{"startLine":2885}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfbaffe1a4fec189e0220b96bda9316520081cea4f881c24d49c63384c0b8f85"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function encodeToChar (cyclomatic 11, cognitive 12): encodeToChar has cyclomatic complexity 11 and cognitive complexity 12; 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":14950}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea65759dfa85ea94943abf097a8de619585d1fce7cc39c0178967df51b18cd58"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function encodeToByte (cyclomatic 11, cognitive 12): encodeToByte has cyclomatic complexity 11 and cognitive complexity 12; 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":15108}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcb7edddd7b2653b54ec42aebfaf9b5c7e6204ccf88bd680e3d0d4cdd62d254a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 12): (anonymous) has cyclomatic complexity 11 and cognitive complexity 12; 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/webapp/js/grapheditor/Actions.js"},"region":{"startLine":848}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6b3616d7e25c244368a6dd36b4da02ee777a22fdbafe92d3c5756047a6c9ae5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setStatusText (cyclomatic 11, cognitive 12): setStatusText has cyclomatic complexity 11 and cognitive complexity 12; 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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":9306}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1a93960471fc845e36d18fc64804af343190b148e469bd0fa43afea276067c0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getChildLayoutStyle (cyclomatic 11, cognitive 12): getChildLayoutStyle has cyclomatic complexity 11 and cognitive complexity 12; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":12764}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d79800dd6fddcb9ecf74c193cf02be617b6b91ef89a9baa8a59e2db78039af0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getFollowedEdgePoints (cyclomatic 11, cognitive 12): getFollowedEdgePoints has cyclomatic complexity 11 and cognitive complexity 12; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":13546}}}],"partialFingerprints":{"codehealthFindingId/v1":"83f9124941f1bdb1ef58a61b23652f381454af29ade78e1aa0664ec673bb20ff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function moveSiblings (cyclomatic 11, cognitive 12): moveSiblings has cyclomatic complexity 11 and cognitive complexity 12; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":19939}}}],"partialFingerprints":{"codehealthFindingId/v1":"373fc958773c76a45b4fda0228be1338e1c7c6e7b595cd85587b06996b73b001"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stopOutlineTraces (cyclomatic 11, cognitive 12): stopOutlineTraces has cyclomatic complexity 11 and cognitive complexity 12; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":44476}}}],"partialFingerprints":{"codehealthFindingId/v1":"4865beb0aa63a5364b6a0aec01443af692326e4948fb0904020dbb9859631937"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createCell (cyclomatic 11, cognitive 11): createCell has cyclomatic complexity 11 and cognitive complexity 11; 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":28019}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9c102623a1a549f569ad0b9881b1b48631982bc8efa6cd86fc803616b38ba21"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyMermaidElkPostPass (cyclomatic 11, cognitive 11): applyMermaidElkPostPass has cyclomatic complexity 11 and cognitive complexity 11; 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":15754}}}],"partialFingerprints":{"codehealthFindingId/v1":"83ef147de78e8eb63de101710e780359d7ae58ae65015aa7b5226df0f57a2c5d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function saveAs (cyclomatic 11, cognitive 11): saveAs has cyclomatic complexity 11 and cognitive complexity 11; 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/webapp/js/diagramly/ElectronApp.js"},"region":{"startLine":2248}}}],"partialFingerprints":{"codehealthFindingId/v1":"3790897946c02b5cf728ba77d09a6467f62892a59ef73f9e383be4b4b26ebbe9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function funct (cyclomatic 11, cognitive 11): funct has cyclomatic complexity 11 and cognitive complexity 11; 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/webapp/js/diagramly/Menus.js"},"region":{"startLine":2036}}}],"partialFingerprints":{"codehealthFindingId/v1":"615569a3a6890389839c818d8d41563b8a9685ee64fe07add2739378d57b1a5f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function destroy (cyclomatic 11, cognitive 11): destroy has cyclomatic complexity 11 and cognitive complexity 11; 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/webapp/js/diagramly/P2PCollab.js"},"region":{"startLine":1449}}}],"partialFingerprints":{"codehealthFindingId/v1":"b50bad4c2709e9111ab14edf289d7adbe55637f266c9c9676c05e75253609b5d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function detectBmpWrapper (cyclomatic 11, cognitive 11): detectBmpWrapper has cyclomatic complexity 11 and cognitive complexity 11; 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/webapp/js/diagramly/emf/emf-svg.js"},"region":{"startLine":3392}}}],"partialFingerprints":{"codehealthFindingId/v1":"6049b7325a69e1da87e144953605194e6df102de88ea0eb06374ce02c738b5d6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getDashOffset (cyclomatic 11, cognitive 11): getDashOffset has cyclomatic complexity 11 and cognitive complexity 11; 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/webapp/js/diagramly/gif/AnimatedExport.js"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"25dd65b87ec98cc288218219acc60eb300b5ede17a078e38c678e9d524737b97"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getRoleRules (cyclomatic 11, cognitive 11): getRoleRules has cyclomatic complexity 11 and cognitive complexity 11; 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/webapp/js/diagramly/tidy/TidyStyle.js"},"region":{"startLine":1327}}}],"partialFingerprints":{"codehealthFindingId/v1":"53817a7e5f4011cec8c1cd3cf9ba5792e5f2cb39a3f7b5232a7babfdab1dfe7a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mxVsdxGeometry (cyclomatic 11, cognitive 11): mxVsdxGeometry has cyclomatic complexity 11 and cognitive complexity 11; 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":3795}}}],"partialFingerprints":{"codehealthFindingId/v1":"72db149843ac0cd5210f3c3a08aee169f1cc4a2f6bc852f2fe639d0f38da26d4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getLineColor (cyclomatic 11, cognitive 11): getLineColor has cyclomatic complexity 11 and cognitive complexity 11; 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":6170}}}],"partialFingerprints":{"codehealthFindingId/v1":"73189d77a303e907d3016dc9ae472e452aae7b8a07dc55a3061d7bc4d799a943"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getFontColor (cyclomatic 11, cognitive 11): getFontColor has cyclomatic complexity 11 and cognitive complexity 11; 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":6338}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bb89bb32aedffd5e2dd005538a1bf2f37982fadfc92d90472a72dd2f925b6b6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getLineWidth (cyclomatic 11, cognitive 11): getLineWidth has cyclomatic complexity 11 and cognitive complexity 11; 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":6374}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e7203fc453540f2af4f92a20450019ed77bdc534445a7e48e8b69ebca0df0f5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 11): (anonymous) has cyclomatic complexity 11 and cognitive complexity 11; 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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":11550}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff193290597418ce9e01faa3a97aa2cddb3a4201c69a27ef08a9998ba1518c65"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function captureFocus (cyclomatic 11, cognitive 11): captureFocus has cyclomatic complexity 11 and cognitive complexity 11; 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/webapp/js/grapheditor/Format.js"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"85a2980f26ae2e0dadc0a5821fed4791ee31a5e1c08f3941eb722e1d88aa760e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareSequenceMessageMove (cyclomatic 11, cognitive 11): prepareSequenceMessageMove has cyclomatic complexity 11 and cognitive complexity 11; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":10566}}}],"partialFingerprints":{"codehealthFindingId/v1":"f12085bd1b387ec8be992efb84d6f88c6b4567c98a7015f10ec556c8325281ab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function drawCellState (cyclomatic 11, cognitive 11): drawCellState has cyclomatic complexity 11 and cognitive complexity 11; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":41705}}}],"partialFingerprints":{"codehealthFindingId/v1":"b633272a736ec35d87a0d84d0afe712db46b6086f1dce9d3b5a82217262d5a41"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function refresh (cyclomatic 11, cognitive 11): refresh has cyclomatic complexity 11 and cognitive complexity 11; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":49234}}}],"partialFingerprints":{"codehealthFindingId/v1":"23139dfd25d45c80f46d8feddc853d14d12644881ac29cfd53cb1e784583c825"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getBoundingBox (cyclomatic 11, cognitive 11): getBoundingBox has cyclomatic complexity 11 and cognitive complexity 11; 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":51132}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a6a82037473a3d6456daecc9b2973f4ebb38ad6a3cdc65decd433011b445b20"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paintVertexShape (cyclomatic 11, cognitive 11): paintVertexShape has cyclomatic complexity 11 and cognitive complexity 11; 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/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":3196}}}],"partialFingerprints":{"codehealthFindingId/v1":"492def2d3c7154a793c8b3df9d4cac9da24cf54f979a58f8218c12053f4d1080"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addRecentShape (cyclomatic 11, cognitive 11): addRecentShape has cyclomatic complexity 11 and cognitive complexity 11; 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/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":1929}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4fa5d09432542c1d317622c84843ce4063a0fcdb066ae1c16d1fe8f551454f9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getMinSegmentLength (cyclomatic 11, cognitive 11): getMinSegmentLength has cyclomatic complexity 11 and cognitive complexity 11; 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/webapp/js/orgchart/mxOrgChartLayout.js"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"d24630ca6fa5d9de4a5f786de5ee2cf4b36b8ecf8b354a4b8b5469f1746033a0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 10): (anonymous) has cyclomatic complexity 11 and cognitive complexity 10; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/App.js"},"region":{"startLine":3201}}}],"partialFingerprints":{"codehealthFindingId/v1":"61a0ccfc8fa51f416cb03741f12b31e7bba28c3545024d1defc8bc5eac9808b2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchAndShowNotification (cyclomatic 11, cognitive 10): fetchAndShowNotification has cyclomatic complexity 11 and cognitive complexity 10; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/App.js"},"region":{"startLine":8126}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4b6dbcaf643cabdd085cc9e3df75fcd647b0b5b26f35b56212207430e03273d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 10): (anonymous) has cyclomatic complexity 11 and cognitive complexity 10; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/DriveClient.js"},"region":{"startLine":2112}}}],"partialFingerprints":{"codehealthFindingId/v1":"b221ba711d08c24b408c3c3182f59daff75c76e8e4e468f3fb802af9eedec9e4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isCorsEnabledForUrl (cyclomatic 11, cognitive 10): isCorsEnabledForUrl has cyclomatic complexity 11 and cognitive complexity 10; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/Editor.js"},"region":{"startLine":6127}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9c84fb04ee967b9e4755af74cbaa668ec37ce378b6eceea2ffb8d4f6d97cfde"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function transitionViewState (cyclomatic 11, cognitive 10): transitionViewState has cyclomatic complexity 11 and cognitive complexity 10; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/Editor.js"},"region":{"startLine":12226}}}],"partialFingerprints":{"codehealthFindingId/v1":"92022a992aa705fe0b55e0cf62adc1c5c21cdbad1f5beee794fb4ee9d3b26df1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getHtml2 (cyclomatic 11, cognitive 10): getHtml2 has cyclomatic complexity 11 and cognitive complexity 10; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":3842}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa9ed3932a84f734518b00d09bc17b583543ffd4c5700f9320b6ac70064e9bb8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function showRemoteExportDialog (cyclomatic 11, cognitive 10): showRemoteExportDialog has cyclomatic complexity 11 and cognitive complexity 10; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":11396}}}],"partialFingerprints":{"codehealthFindingId/v1":"920561313920b51780b34c21dfbf7680b50cac9e73a27a7564328d431601a9ed"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function copyImage (cyclomatic 11, cognitive 10): copyImage has cyclomatic complexity 11 and cognitive complexity 10; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":28423}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc4d4e6514a267be7e2f97ff757527e476cdfbd36d82a67d89790098e702bf73"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 10): (anonymous) has cyclomatic complexity 11 and cognitive complexity 10; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":32219}}}],"partialFingerprints":{"codehealthFindingId/v1":"605d7e7d722497bdb1542c266edf81334cf9d1dfb3d517b627713cddff41a19d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createDesktopBars (cyclomatic 11, cognitive 10): createDesktopBars has cyclomatic complexity 11 and cognitive complexity 10; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/LightboxModern.js"},"region":{"startLine":1600}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b7eda5e3015c6590f8ee91351be8e63e6acfb4387fa3d39662a340f24f49d08"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function containsFont (cyclomatic 11, cognitive 10): containsFont has cyclomatic complexity 11 and cognitive complexity 10; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/Menus.js"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e8f1a5dd597f5c92ecb5c741dfbaa04ad8b8f7285820e339ef9f58f25851448"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function restoreFocus (cyclomatic 11, cognitive 10): restoreFocus has cyclomatic complexity 11 and cognitive complexity 10; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/Pages.js"},"region":{"startLine":4381}}}],"partialFingerprints":{"codehealthFindingId/v1":"6125023e2e3a2c7eebb91d37d20f3d75595a8e4a5796a8720e4ed6c63ba71648"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderFrames (cyclomatic 11, cognitive 10): renderFrames has cyclomatic complexity 11 and cognitive complexity 10; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/gif/AnimatedExport.js"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"acab24178563a374744b81cba7f5bdc401cdc965e408d6638322a9975c0eb9dc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function select (cyclomatic 11, cognitive 10): select has cyclomatic complexity 11 and cognitive complexity 10; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/tidy/TidyWindow.js"},"region":{"startLine":1011}}}],"partialFingerprints":{"codehealthFindingId/v1":"a500bfb3bb4ef3c0649a8b67b5e08a23a03b56f2c6f6b416104ef1e8762225e9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getCellElement (cyclomatic 11, cognitive 10): getCellElement has cyclomatic complexity 11 and cognitive complexity 10; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":9680}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb159f5f223c7ce0b0701cb0c893bf279e03186c0cab095ffe6c3a23a087e8ee"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getCellElement (cyclomatic 11, cognitive 10): getCellElement has cyclomatic complexity 11 and cognitive complexity 10; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":14639}}}],"partialFingerprints":{"codehealthFindingId/v1":"1af2f55300dda10882ddcac4197c255fcc58161d871468df1fa881c0c3ca8c40"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createShapeInsideMarkup (cyclomatic 11, cognitive 10): createShapeInsideMarkup has cyclomatic complexity 11 and cognitive complexity 10; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":7364}}}],"partialFingerprints":{"codehealthFindingId/v1":"292ed08b846efeb2def49cbf467996db2f1f446cdf0384d2193e94f76b2738cb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function changePoints (cyclomatic 11, cognitive 10): changePoints has cyclomatic complexity 11 and cognitive complexity 10; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":49920}}}],"partialFingerprints":{"codehealthFindingId/v1":"62fc3422c709b6c643f47aae94593714dad4e2bcfb79636af266ef7046479dff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mouseDown (cyclomatic 11, cognitive 10): mouseDown has cyclomatic complexity 11 and cognitive complexity 10; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/grapheditor/Graph.js"},"region":{"startLine":54153}}}],"partialFingerprints":{"codehealthFindingId/v1":"3538b10b4b7ebeda85cb512755f9d5938f76d30c2bfbd65238468bb96bda94b6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadFile (cyclomatic 11, cognitive 9): loadFile has cyclomatic complexity 11 and cognitive complexity 9; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/App.js"},"region":{"startLine":7011}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5e7f0cf60eb3786262e35f0031c88cea2566ba89653649693d0015b0b770d10"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isHtmlInCanvasSupported (cyclomatic 11, cognitive 9): isHtmlInCanvasSupported has cyclomatic complexity 11 and cognitive complexity 9; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/Editor.js"},"region":{"startLine":7511}}}],"partialFingerprints":{"codehealthFindingId/v1":"03892591405a2fcc0244194f78f3328cc44ebd5225087c8a84ff4dff73b78d33"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function repairResolve (cyclomatic 11, cognitive 9): repairResolve has cyclomatic complexity 11 and cognitive complexity 9; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":21212}}}],"partialFingerprints":{"codehealthFindingId/v1":"05c02722d66799800f494c21673a780f559cbc61525d2f28d636a71e3f4cd682"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getServiceCount (cyclomatic 11, cognitive 9): getServiceCount has cyclomatic complexity 11 and cognitive complexity 9; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":41719}}}],"partialFingerprints":{"codehealthFindingId/v1":"50651839aac78bafb631a8b0b5c9b79e995877f16588373e728e423b398e34ba"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getShownGeometries (cyclomatic 11, cognitive 9): getShownGeometries has cyclomatic complexity 11 and cognitive complexity 9; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/LayoutPicker.js"},"region":{"startLine":2719}}}],"partialFingerprints":{"codehealthFindingId/v1":"044bed486aa85b457e5726ce5cc1b834bcb0f17941a06a3cd4320b114ca2e318"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 9): (anonymous) has cyclomatic complexity 11 and cognitive complexity 9; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/Menus.js"},"region":{"startLine":1717}}}],"partialFingerprints":{"codehealthFindingId/v1":"890e8557ab8488cb184b0523cd3a27f9847868e111fa97cf8162ccde1b4ed48e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mouseUp (cyclomatic 11, cognitive 9): mouseUp has cyclomatic complexity 11 and cognitive complexity 9; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/Menus.js"},"region":{"startLine":4666}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a3bc055d5363ac8b73ac9feb31b26adbfb704c9d7f600fdaee8b964384078d0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 9): (anonymous) has cyclomatic complexity 11 and cognitive complexity 9; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/SimpleClassic.js"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"e24bf11480f22135a2749edf9588ff61b81b4b15f1f84784b7661d619bbcc87a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 9): (anonymous) has cyclomatic complexity 11 and cognitive complexity 9; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/Trees.js"},"region":{"startLine":1784}}}],"partialFingerprints":{"codehealthFindingId/v1":"76434eccf72daaba1cac324303496efbed15e56a79900ba01db19d191b543206"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reset (cyclomatic 11, cognitive 9): reset has cyclomatic complexity 11 and cognitive complexity 9; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/tidy/Tidy.js"},"region":{"startLine":1790}}}],"partialFingerprints":{"codehealthFindingId/v1":"7473c07eda87d9c053bf607e1b13fbb796786922d6bffc92ea664f231a70a8b0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function hasRole (cyclomatic 11, cognitive 9): hasRole has cyclomatic complexity 11 and cognitive complexity 9; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/tidy/TidyStyle.js"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c23d8b7f2cc68bc6d6496fca4d04b879f2f0c45ba7c20ac5471da114e51172b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getFixedRoleCells (cyclomatic 11, cognitive 9): getFixedRoleCells has cyclomatic complexity 11 and cognitive complexity 9; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/diagramly/tidy/TidyStyle.js"},"region":{"startLine":751}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ca64557ca8d5808f1f3d713bef7064cd7822d10b42ec11dde3808de2aaccaaf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resetLabel (cyclomatic 11, cognitive 9): resetLabel has cyclomatic complexity 11 and cognitive complexity 9; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/grapheditor/Actions.js"},"region":{"startLine":1976}}}],"partialFingerprints":{"codehealthFindingId/v1":"91d9f7dd00e6130f4a04407a832962e7b918d7db2f8ae536d5b4c4ec841c6f23"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addFill (cyclomatic 11, cognitive 9): addFill has cyclomatic complexity 11 and cognitive complexity 9; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/grapheditor/Format.js"},"region":{"startLine":7450}}}],"partialFingerprints":{"codehealthFindingId/v1":"06a703228b2190ee92fbcf7430aa994488a176423e8f144ff58099015b37aa2e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 9): (anonymous) has cyclomatic complexity 11 and cognitive complexity 9; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/js/grapheditor/Menus.js"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d4d7a45018605da3796e63279ba66845173c6ff7d1bc818ddb40d0bf273bc63"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 9): (anonymous) has cyclomatic complexity 11 and cognitive complexity 9; 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. 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/webapp/mxgraph/src/util/mxPopupMenu.js"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"4289884c737bdeb877fba7080e85044299504d3439a1ee05b63e47e46b1b7e21"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/diagramly/Dialogs.js: 24518 lines of code: src/main/webapp/js/diagramly/Dialogs.js has 24518 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5004a4d1670650aca54b96a26988c4dadfd1134abd1eefcfd461d6cd16624ec3"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/diagramly/vsdx/importer.js: 14753 lines of code: src/main/webapp/js/diagramly/vsdx/importer.js has 14753 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/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"620880a91bae849bc8b86b8268147df9712570c1ccd200c3cf2f26e3c6a95b7e"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/diagramly/Editor.js: 14132 lines of code: src/main/webapp/js/diagramly/Editor.js has 14132 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/webapp/js/diagramly/Editor.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6056f4d9091c8100f77571665dfd2b2ecdd6341c869d2f6237467c2ecf51562"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/mxgraph/src/view/mxGraph.js: 13127 lines of code: src/main/webapp/mxgraph/src/view/mxGraph.js has 13127 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/webapp/mxgraph/src/view/mxGraph.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"303d051de25064be9f001f8de201710f7effac9be4c14f759aef6b892b93fba5"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/diagramly/Extensions.js: 12679 lines of code: src/main/webapp/js/diagramly/Extensions.js has 12679 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/webapp/js/diagramly/Extensions.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"16bfad499c1e724796f2f2aaf39c18ed840db5460b5727caee30c5e5a30e8910"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/grapheditor/EditorUi.js: 10530 lines of code: src/main/webapp/js/grapheditor/EditorUi.js has 10530 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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee15cc46dc612529b4e9c163602405ca94d033726eadb03d68ef5fa1f53e7a53"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/grapheditor/Shapes.js: 9956 lines of code: src/main/webapp/js/grapheditor/Shapes.js has 9956 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/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfe100bc579be050643a395a8a5229634d8d0084f8fec6be18d946bbd0719c6e"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/diagramly/App.js: 8813 lines of code: src/main/webapp/js/diagramly/App.js has 8813 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/webapp/js/diagramly/App.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6081eab10001406107a61639b4818ecdc80d8e4c665efd5ca8d7ee2a232303ab"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/grapheditor/Format.js: 8694 lines of code: src/main/webapp/js/grapheditor/Format.js has 8694 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/webapp/js/grapheditor/Format.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"26477b7ad74c752c8f9e6020c6d443e560a13dd779a532c12f0741ca9746f882"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/shapes/mxAWS3D.js: 8646 lines of code: src/main/webapp/shapes/mxAWS3D.js has 8646 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/webapp/shapes/mxAWS3D.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6357e7804fce67f13a9561e00877b4906eecf315c887b496b95cd47a8039656e"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/grapheditor/Sidebar.js: 7034 lines of code: src/main/webapp/js/grapheditor/Sidebar.js has 7034 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/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"02df104d7f8672b99ac531964aace15109dd23f7692f97893c934c4a1f376dc2"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/diagramly/Menus.js: 6575 lines of code: src/main/webapp/js/diagramly/Menus.js has 6575 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/webapp/js/diagramly/Menus.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"19c02edb5dc5102a4152cccc4f5f8641ce34fb15d448d3e38c7505427eec8d2f"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/mxgraph/src/util/mxUtils.js: 6081 lines of code: src/main/webapp/mxgraph/src/util/mxUtils.js has 6081 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/webapp/mxgraph/src/util/mxUtils.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c61024a2756619234eb6925d8600c28c8ca8ab27203bf9463c405d6667aa9df"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/shapes/mockup/mxMockupiOS.js: 6028 lines of code: src/main/webapp/shapes/mockup/mxMockupiOS.js has 6028 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/webapp/shapes/mockup/mxMockupiOS.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f02186e3dacd4aec7caef27dde518f7cb4f434cec47998d8240609f5765a64f4"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/grapheditor/Dialogs.js: 5347 lines of code: src/main/webapp/js/grapheditor/Dialogs.js has 5347 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/webapp/js/grapheditor/Dialogs.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"24bd52404d4f6be39d988b6397cb43a63d0348d42cdfa86509da1e8885b795c1"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/shapes/mxElectrical.js: 5027 lines of code: src/main/webapp/shapes/mxElectrical.js has 5027 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/webapp/shapes/mxElectrical.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c49699c744b24d823dc028c2060bf4fab0396ab9d4e3958b9b21302d63665d8"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/grapheditor/Editor.js: 4602 lines of code: src/main/webapp/js/grapheditor/Editor.js has 4602 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/webapp/js/grapheditor/Editor.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d7fe05fa77f89bfebd9123cec266142ec27ae760ac4ac547bf2264e3d075e51"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/grapheditor/InlineToolbar.js: 4571 lines of code: src/main/webapp/js/grapheditor/InlineToolbar.js has 4571 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/webapp/js/grapheditor/InlineToolbar.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc1cd54bb5b3125953958c9487745ecb0707b7a8fde1b1dcf1b3a56b9281a4b5"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/mxgraph/src/view/mxGraphView.js: 4527 lines of code: src/main/webapp/mxgraph/src/view/mxGraphView.js has 4527 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/webapp/mxgraph/src/view/mxGraphView.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"36222bca7acc4dda76a1f96b5ce89dddac6ade06778bce33d1e82cfb0c664fd7"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/diagramly/ForceExplorer.js: 4391 lines of code: src/main/webapp/js/diagramly/ForceExplorer.js has 4391 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/webapp/js/diagramly/ForceExplorer.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c555d70accbee422eb9342379e5009134597cfbc4a746d03d050d0259975f59"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js: 4213 lines of code: src/main/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js has 4213 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/webapp/js/diagramly/sidebar/Sidebar-Bootstrap.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec194d5f651457e8a7cfa64d9b5487bcc1b1f921c7cae80b8b580914099e0459"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/diagramly/DrawioFileSync.js: 4162 lines of code: src/main/webapp/js/diagramly/DrawioFileSync.js has 4162 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/webapp/js/diagramly/DrawioFileSync.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffe7d4fe29c9c053983cf47fb54fea5c3bfe0ad85473a6d6d470733a6465c93c"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/diagramly/DrawioFile.js: 4024 lines of code: src/main/webapp/js/diagramly/DrawioFile.js has 4024 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/webapp/js/diagramly/DrawioFile.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3726b0f1f023aa4122504742c4ef2425b48c871133037ce13dbe355475a09fc"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/diagramly/Pages.js: 3978 lines of code: src/main/webapp/js/diagramly/Pages.js has 3978 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/webapp/js/diagramly/Pages.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c234deb89439cae208233091f2181c1898070a0ab0cb8a863ed09b8f1cc96bcf"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/mxgraph/src/util/mxSvgCanvas2D.js: 3946 lines of code: src/main/webapp/mxgraph/src/util/mxSvgCanvas2D.js has 3946 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/webapp/mxgraph/src/util/mxSvgCanvas2D.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"03863db9837920eb9ebac9ced252bf318fe11c342a2269186d624f8b2036c61c"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/shapes/mxArchiMate3.js: 3882 lines of code: src/main/webapp/shapes/mxArchiMate3.js has 3882 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/webapp/shapes/mxArchiMate3.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"98ab9fae4d66f8149e5d41ef7c050cc93a3183dae7513f4dae6cacdbb4c275fc"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/diagramly/LibavoidRouting.js: 3838 lines of code: src/main/webapp/js/diagramly/LibavoidRouting.js has 3838 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/webapp/js/diagramly/LibavoidRouting.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"610a4f5ab56974fccd33d3f3bf0097772b43acf249902931374512fdfeb9b959"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/diagramly/GraphViewer.js: 3516 lines of code: src/main/webapp/js/diagramly/GraphViewer.js has 3516 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/webapp/js/diagramly/GraphViewer.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"386c42bbd636d1a4c09e8121158b4ca65f3dfb6c395a546162bb1c3300e5956f"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/diagramly/LayoutPicker.js: 3473 lines of code: src/main/webapp/js/diagramly/LayoutPicker.js has 3473 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/webapp/js/diagramly/LayoutPicker.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"691a65ab9778533cc1c1ceb940796720303d87bd74c1fca7dda9a382c00d35f7"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/diagramly/LightboxModern.js: 3321 lines of code: src/main/webapp/js/diagramly/LightboxModern.js has 3321 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/webapp/js/diagramly/LightboxModern.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"60417f7a8105206a59a03545c3ca5ef8f443c0099e5e21d5ea2c8108ba9c29bf"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/shapes/mxBasic.js: 3180 lines of code: src/main/webapp/shapes/mxBasic.js has 3180 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/webapp/shapes/mxBasic.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"75bc606d1359045bfd1914984d04b21c1d8b2b77a5c8068777cee6c2d589c5b6"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/diagramly/emf/emf-svg.js: 2997 lines of code: src/main/webapp/js/diagramly/emf/emf-svg.js has 2997 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/webapp/js/diagramly/emf/emf-svg.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cece98e4ad2dfa1b109290d6dfc3b4c25578d951f5c66f991838bd4eb4555020"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/diagramly/graphml/mxGraphMlCodec.js: 2955 lines of code: src/main/webapp/js/diagramly/graphml/mxGraphMlCodec.js has 2955 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/webapp/js/diagramly/graphml/mxGraphMlCodec.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e039ec43d7257c99d71366063ac3f30c25f8e042bfc57963f885b71d06a80be"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/diagramly/DriveClient.js: 2933 lines of code: src/main/webapp/js/diagramly/DriveClient.js has 2933 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/webapp/js/diagramly/DriveClient.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1235d4f2bf7b40ad9609d05dfbb3110a7c3baa9c12139dbc224a8cc5970a32ab"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/diagramly/tidy/Tidy.js: 2863 lines of code: src/main/webapp/js/diagramly/tidy/Tidy.js has 2863 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/webapp/js/diagramly/tidy/Tidy.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"87ad7fbfc2e9327e6e6d9f541e18bfabe318d71917a6e674d76ec22c9f16dabe"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/diagramly/DiffSync.js: 2846 lines of code: src/main/webapp/js/diagramly/DiffSync.js has 2846 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/webapp/js/diagramly/DiffSync.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ccc940f3535c3b5e3304faf2d44ee0f58595afc01cd97e6680ba68eb158f766"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/shapes/mxSysML.js: 2805 lines of code: src/main/webapp/shapes/mxSysML.js has 2805 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/webapp/shapes/mxSysML.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0cbbc7822a566b4a9fef990c21f583b272f2eca7b20863fd9ecf09d3ce843ba"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/mxgraph/src/handler/mxEdgeHandler.js: 2754 lines of code: src/main/webapp/mxgraph/src/handler/mxEdgeHandler.js has 2754 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/webapp/mxgraph/src/handler/mxEdgeHandler.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3fe4504f51a525b1f47d02c632714336782b39653495e019ad80080311edd33"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/diagramly/ElectronApp.js: 2689 lines of code: src/main/webapp/js/diagramly/ElectronApp.js has 2689 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/webapp/js/diagramly/ElectronApp.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccf865966204a37d95575197000cc4bb34ad32bb3ca2ea1220dbe1f0287ab641"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js: 2609 lines of code: src/main/webapp/js/diagramly/sidebar/Sidebar-Sysml.js has 2609 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/webapp/js/diagramly/sidebar/Sidebar-Sysml.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f9679f940f5562e37429922c4cec8d349bdc3f481183c87384799ec9eaede03"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/mxgraph/src/model/mxGraphModel.js: 2507 lines of code: src/main/webapp/mxgraph/src/model/mxGraphModel.js has 2507 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/webapp/mxgraph/src/model/mxGraphModel.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e990b1df7a2c984960284e3249b24ed443aa232ab2690f9602bdd6e070955e0"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/shapes/mxArrows.js: 2500 lines of code: src/main/webapp/shapes/mxArrows.js has 2500 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/webapp/shapes/mxArrows.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bca5ea1f1db3920246ad180cb59169326a9bca6825b3b1a0e2e40745a92f930"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/diagramly/sidebar/Sidebar-AWS4.js: 2466 lines of code: src/main/webapp/js/diagramly/sidebar/Sidebar-AWS4.js has 2466 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/webapp/js/diagramly/sidebar/Sidebar-AWS4.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc9bf24e339c6aa5cde536a93699dc8bfadcdd2f9540b0b2a864cce15cf51ec9"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/diagramly/ConfigEditor.js: 2371 lines of code: src/main/webapp/js/diagramly/ConfigEditor.js has 2371 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/webapp/js/diagramly/ConfigEditor.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cf2b259020b5bd9cb32c5573fa84d322ed84a99fc1024cfb30d1a3a6c734481"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js: 2308 lines of code: src/main/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js has 2308 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/webapp/js/diagramly/sidebar/Sidebar-Gmdl.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c9fa04b6fd6655a9fb291ab4d2cd480c267d0f320ab01ab81ea8f2da6cb0802"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/grapheditor/Omnibox.js: 2295 lines of code: src/main/webapp/js/grapheditor/Omnibox.js has 2295 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/webapp/js/grapheditor/Omnibox.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a08e491e876d8c48470f6c4591bcd8601175f399708f01b1e9e0420a929eedbb"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/shapes/mxInfographic.js: 2285 lines of code: src/main/webapp/shapes/mxInfographic.js has 2285 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/webapp/shapes/mxInfographic.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"88c5c027f5365f05e18e2970f9b742d9aeb2be91b6be759b4f25bd5288038c5e"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/grapheditor/Actions.js: 2282 lines of code: src/main/webapp/js/grapheditor/Actions.js has 2282 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/webapp/js/grapheditor/Actions.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c8b3bcab59e589dc36b6be06f00b0470ee807823c4e0a8133f73bea8cc61cfe"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/shapes/bpmn/mxBpmnShape2.js: 2276 lines of code: src/main/webapp/shapes/bpmn/mxBpmnShape2.js has 2276 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/webapp/shapes/bpmn/mxBpmnShape2.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b8a98f10aafed5a7ed6aa562080bf93449ea6559d23d1ff9c926570cc0b9524"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/diagramly/sidebar/Sidebar.js: 2275 lines of code: src/main/webapp/js/diagramly/sidebar/Sidebar.js has 2275 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/webapp/js/diagramly/sidebar/Sidebar.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcf8f8088f0fe1d37ac26fdabd409d7f6b3f093d6a2a84e7be04f8b1bdbe24f0"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/diagramly/ViewerModern.js: 2236 lines of code: src/main/webapp/js/diagramly/ViewerModern.js has 2236 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/webapp/js/diagramly/ViewerModern.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"26a60c5b0678a7366c67407bc77aa3068d7de632d7a4533ccea4f2866deb9a95"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/shapes/mockup/mxMockupForms.js: 2209 lines of code: src/main/webapp/shapes/mockup/mxMockupForms.js has 2209 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/webapp/shapes/mockup/mxMockupForms.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fd0468f6cfdf9649b9b6e270385f44e70d10819d8735af8e29360a03af44cd8"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/export.js: 2190 lines of code: src/main/webapp/js/export.js has 2190 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/webapp/js/export.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"58ca9b0ef0976b94ff42591000b699fa3669ee6ef082bc1ca5890923dadad7c6"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/mxgraph/src/handler/mxVertexHandler.js: 2138 lines of code: src/main/webapp/mxgraph/src/handler/mxVertexHandler.js has 2138 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/webapp/mxgraph/src/handler/mxVertexHandler.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"98e6a3d732e9d9d60cace40fd288cc324adf990e558387a336198cc7e7b6b0a1"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/diagramly/sidebar/Sidebar-GCP2.js: 2130 lines of code: src/main/webapp/js/diagramly/sidebar/Sidebar-GCP2.js has 2130 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/webapp/js/diagramly/sidebar/Sidebar-GCP2.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbea4654b31ca51a95bfe897c545466cccc8315fddbbdc664e6113d271a52e6a"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/diagramly/sidebar/Sidebar-Azure2.js: 2044 lines of code: src/main/webapp/js/diagramly/sidebar/Sidebar-Azure2.js has 2044 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/webapp/js/diagramly/sidebar/Sidebar-Azure2.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f32972231421e470f4f3a799f2fef950bc7cf63300e6f3311e742e1add2b335a"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/mxgraph/src/handler/mxConnectionHandler.js: 2023 lines of code: src/main/webapp/mxgraph/src/handler/mxConnectionHandler.js has 2023 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/webapp/mxgraph/src/handler/mxConnectionHandler.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2409ddf9b73b04ff885b332d4dff80a36ebfe8ba524cab1813a8f15398b7ffef"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/shapes/mxLeanMap.js: 1962 lines of code: src/main/webapp/shapes/mxLeanMap.js has 1962 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/webapp/shapes/mxLeanMap.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b19ee6b271f306abe2bd556fef1b8cc09c42ae6f61c18ee6e1903254c22fdce"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/shapes/emoji/mxEmoji.js: 1958 lines of code: src/main/webapp/shapes/emoji/mxEmoji.js has 1958 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/webapp/shapes/emoji/mxEmoji.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"01eef5c2a67f0922731329902b2e131d7a05469ec1be4ab1e2e7070ca17a9915"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/grapheditor/Menus.js: 1907 lines of code: src/main/webapp/js/grapheditor/Menus.js has 1907 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/webapp/js/grapheditor/Menus.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"29cf1e4d7b116d9ddfdcf16cf75f582263900a70cefa0654693a4dc464c4768d"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/mxgraph/src/handler/mxGraphHandler.js: 1897 lines of code: src/main/webapp/mxgraph/src/handler/mxGraphHandler.js has 1897 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/webapp/mxgraph/src/handler/mxGraphHandler.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"05d40d135a2ddfbce9b65faf72a9663a2d1fb5c04411acea9368788352ca25d2"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/mxgraph/src/shape/mxShape.js: 1894 lines of code: src/main/webapp/mxgraph/src/shape/mxShape.js has 1894 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/webapp/mxgraph/src/shape/mxShape.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7158dd4e973506abc81bf33ffaefe472a307d852e4f6aafa6063a55efe671f98"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/diagramly/Trees.js: 1843 lines of code: src/main/webapp/js/diagramly/Trees.js has 1843 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/webapp/js/diagramly/Trees.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcadd9c48cfa2bcf4b0a2b96b28e8d05a26cde2a915219fc1f92a55e434f8e71"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/shapes/mockup/mxMockupContainers.js: 1817 lines of code: src/main/webapp/shapes/mockup/mxMockupContainers.js has 1817 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/webapp/shapes/mockup/mxMockupContainers.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e37e1d9a645960fda0c0dc2af22b66e3bd30fde72e99355fc027bcade9b18302"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/diagramly/tidy/TidyStyle.js: 1799 lines of code: src/main/webapp/js/diagramly/tidy/TidyStyle.js has 1799 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/webapp/js/diagramly/tidy/TidyStyle.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf0d07691df52ae42c7b359139db89e7cfebb82b4feae9ef9b742a7de8e3a11e"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/mxgraph/src/view/mxCellRenderer.js: 1799 lines of code: src/main/webapp/mxgraph/src/view/mxCellRenderer.js has 1799 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/webapp/mxgraph/src/view/mxCellRenderer.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f81dd3372e13fcf1810c797d2a294dfc19df140b06435db5dcee08df3aec1ee"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/diagramly/OneDriveClient.js: 1704 lines of code: src/main/webapp/js/diagramly/OneDriveClient.js has 1704 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/webapp/js/diagramly/OneDriveClient.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"febb4da1aa2d55e93819a9925314b030148ca23bc07abd2802f8683a76ff4ded"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/diagramly/gif/AnimationExport.js: 1642 lines of code: src/main/webapp/js/diagramly/gif/AnimationExport.js has 1642 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/webapp/js/diagramly/gif/AnimationExport.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"46c73fb3e8826655ac03b9d5f77781590066d20cbb388f3172f2bed8fcf091c2"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/diagramly/tidy/TidyWindow.js: 1527 lines of code: src/main/webapp/js/diagramly/tidy/TidyWindow.js has 1527 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/webapp/js/diagramly/tidy/TidyWindow.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d13fc35e8519b725805266f92ba4ec0e03de3632e2917f854ec90bdfc1f78056"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/shapes/rack/mxRack.js: 1518 lines of code: src/main/webapp/shapes/rack/mxRack.js has 1518 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/webapp/shapes/rack/mxRack.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e4bc56f603eafab0427cb35dc160f19edb9f422e1b263ae11570fa2057c6485"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/shapes/mxFloorplan.js: 1510 lines of code: src/main/webapp/shapes/mxFloorplan.js has 1510 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/webapp/shapes/mxFloorplan.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7542d4716deb8a038d7bfc16eb69a210ee416d1f3f8b76e9032dd3aeb9b2365e"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/mxgraph/src/view/mxEdgeStyle.js: 1494 lines of code: src/main/webapp/mxgraph/src/view/mxEdgeStyle.js has 1494 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/webapp/mxgraph/src/view/mxEdgeStyle.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"db3e948bfe0ca32b267d8f2ce3ae5877d3f5dc83f68df71795de6a38e68d2be9"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/shapes/ios7/mxIOS7Ui.js: 1491 lines of code: src/main/webapp/shapes/ios7/mxIOS7Ui.js has 1491 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/webapp/shapes/ios7/mxIOS7Ui.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c99ad2c04d2ec766f16ed5b51b8cbfcb034f7d87b18dbced40ab9e1a6377854"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/shapes/mockup/mxMockupMisc.js: 1483 lines of code: src/main/webapp/shapes/mockup/mxMockupMisc.js has 1483 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/webapp/shapes/mockup/mxMockupMisc.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a086def98d8cc2968daecd6d5aada79358674f0929cf2808292b8edecac3dd3f"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js: 1473 lines of code: src/main/webapp/js/diagramly/sidebar/Sidebar-Infographic.js has 1473 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/webapp/js/diagramly/sidebar/Sidebar-Infographic.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f904a06a4a33ffaf6c821dbc413cef05682ac903fa6a2b824a811cd9de22b37"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/diagramly/sidebar/Sidebar-MSCAE.js: 1418 lines of code: src/main/webapp/js/diagramly/sidebar/Sidebar-MSCAE.js has 1418 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/webapp/js/diagramly/sidebar/Sidebar-MSCAE.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"39adab948213f16263767eb349f20cdb1fc5d9fa7e241d735eff9819cd131dca"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/mxgraph/src/util/mxEvent.js: 1415 lines of code: src/main/webapp/mxgraph/src/util/mxEvent.js has 1415 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/webapp/mxgraph/src/util/mxEvent.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"538f50492cd072457d812319fab098f0fac717b8d3c8149493b26b45468084cd"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/libavoid-js/libavoid-routing.js: 1395 lines of code: src/main/webapp/js/libavoid-js/libavoid-routing.js has 1395 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/webapp/js/libavoid-js/libavoid-routing.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d10f9eb4cff862c4b74a4e19a5e586ab7005cf1fe695d6904fcf25d7bcb5442"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/diagramly/sidebar/Sidebar-Office.js: 1354 lines of code: src/main/webapp/js/diagramly/sidebar/Sidebar-Office.js has 1354 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/webapp/js/diagramly/sidebar/Sidebar-Office.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0f5e9e615a65a7d3cb311a002b07937b2f761cbe869321d07e9fd6d9b84e8b9"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/shapes/er/mxER.js: 1332 lines of code: src/main/webapp/shapes/er/mxER.js has 1332 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/webapp/shapes/er/mxER.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdf42f015a4aa066b7f1418a94d0bfb2f24520af277f07c62f27946360cc8699"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/diagramly/P2PCollab.js: 1313 lines of code: src/main/webapp/js/diagramly/P2PCollab.js has 1313 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/webapp/js/diagramly/P2PCollab.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ed297b5ba7f40119b70f79f7483bebc222d3600861ba350d424fcaa732018f5"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/diagramly/SpringMove.js: 1303 lines of code: src/main/webapp/js/diagramly/SpringMove.js has 1303 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/webapp/js/diagramly/SpringMove.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7202c6c1db450a93ba9cd1bf35556c0657686b61e2c4339c7760a0dc476d4cac"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/diagramly/sidebar/Sidebar-BPMN.js: 1301 lines of code: src/main/webapp/js/diagramly/sidebar/Sidebar-BPMN.js has 1301 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/webapp/js/diagramly/sidebar/Sidebar-BPMN.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3da9eb71eaa9ddcaeb2efa43933f44691b2c48a1d80e95eafddf0f0b53e7690d"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/shapes/mxBootstrap.js: 1299 lines of code: src/main/webapp/shapes/mxBootstrap.js has 1299 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/webapp/shapes/mxBootstrap.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cac5c37ed37f8a980d1c9e71519f6776de5ed157d6356af7774130e4a305b619"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/shapes/mxAndroid.js: 1296 lines of code: src/main/webapp/shapes/mxAndroid.js has 1296 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/webapp/shapes/mxAndroid.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fd6d1aa48c2a18b7f8ff112dbc944170b1c51d449b80bce30c87350b3bffbae"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/diagramly/GitLabClient.js: 1293 lines of code: src/main/webapp/js/diagramly/GitLabClient.js has 1293 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/webapp/js/diagramly/GitLabClient.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c62227460286bb9edad977df8bb95fc47c07ce83aa920a96f0701cf4c588c289"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/diagramly/GitHubClient.js: 1292 lines of code: src/main/webapp/js/diagramly/GitHubClient.js has 1292 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/webapp/js/diagramly/GitHubClient.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7b7d21947a10f3d56da40fc53bc515be32a606e029f80eea49c9c02addcda37"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/diagramly/sidebar/Sidebar-UML25.js: 1253 lines of code: src/main/webapp/js/diagramly/sidebar/Sidebar-UML25.js has 1253 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/webapp/js/diagramly/sidebar/Sidebar-UML25.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"218f467e5f676c3a55b7207428713599eda239fbdf3390566028c7d34090127c"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/mxgraph/src/io/mxObjectCodec.js: 1233 lines of code: src/main/webapp/mxgraph/src/io/mxObjectCodec.js has 1233 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/webapp/mxgraph/src/io/mxObjectCodec.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ac945ce4f3cbc724914e11efe23b6d51a539803e826aa67d43ae5098c8261d3"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/mxgraph/src/view/mxPrintPreview.js: 1197 lines of code: src/main/webapp/mxgraph/src/view/mxPrintPreview.js has 1197 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/webapp/mxgraph/src/view/mxPrintPreview.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a418735557c083c952f176f3b31c069db61c1a07008e379de19c3b433cd7c02"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/plugins/trees/trees.js: 1181 lines of code: src/main/webapp/plugins/trees/trees.js has 1181 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/webapp/plugins/trees/trees.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bdda88cc73c8317ab8612f7bba865daebe94bcf910b4159acba54fba397f6dd"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/mxgraph/src/shape/mxText.js: 1160 lines of code: src/main/webapp/mxgraph/src/shape/mxText.js has 1160 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/webapp/mxgraph/src/shape/mxText.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"40926ce8caf83301a27759087706e9c87405e47c7f3271aa68fb98796574fbbb"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/diagramly/sidebar/Sidebar-CiscoSafe.js: 1159 lines of code: src/main/webapp/js/diagramly/sidebar/Sidebar-CiscoSafe.js has 1159 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/webapp/js/diagramly/sidebar/Sidebar-CiscoSafe.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa2fd2db0c6b13a9cb110cd5dd9c7d4aa750f1d8a6817a9a6c5e0243cf11ade1"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/mxgraph/src/util/mxXmlCanvas2D.js: 1089 lines of code: src/main/webapp/mxgraph/src/util/mxXmlCanvas2D.js has 1089 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/webapp/mxgraph/src/util/mxXmlCanvas2D.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e846487117c28588e4b51626f26cde64abdb46c9fd886b20addbd78da315ce8a"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/shapes/mxArchiMate.js: 1080 lines of code: src/main/webapp/shapes/mxArchiMate.js has 1080 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/webapp/shapes/mxArchiMate.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dc21ecb3a43586c24d72e81a035533dfebb84a3a77dbb458ea4b68969b4833d"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/mxgraph/src/util/mxWindow.js: 1073 lines of code: src/main/webapp/mxgraph/src/util/mxWindow.js has 1073 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/webapp/mxgraph/src/util/mxWindow.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d404381d338e071ca894b95fdddd928a51fc865336f9208bc1c13a376e3d6ad4"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/shapes/mockup/mxMockupGraphics.js: 1059 lines of code: src/main/webapp/shapes/mockup/mxMockupGraphics.js has 1059 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/webapp/shapes/mockup/mxMockupGraphics.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9a38fc9f6f7deb56c586fd60a407ec9c7244162e0412945acfe9c731e87c147"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/mxgraph/src/util/mxPopupMenu.js: 1049 lines of code: src/main/webapp/mxgraph/src/util/mxPopupMenu.js has 1049 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/webapp/mxgraph/src/util/mxPopupMenu.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"93988f6315865e3c1b5b604325ed4d45a98898f5d96db0e3e4e0a55102da61b9"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/mxgraph/src/view/mxCellEditor.js: 1043 lines of code: src/main/webapp/mxgraph/src/view/mxCellEditor.js has 1043 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/webapp/mxgraph/src/view/mxCellEditor.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5e1cd16799ccfce57ca4cc74670e45f91cd4540242e4190c4318698270a4be4"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/shapes/pid2/mxPidValves.js: 1027 lines of code: src/main/webapp/shapes/pid2/mxPidValves.js has 1027 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/webapp/shapes/pid2/mxPidValves.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dde8a5d19f7121196ab9c84f2609fe1feafaf6993b77b1d6d0b0507780dcde7"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/diagramly/sidebar/Sidebar-AWS3.js: 1016 lines of code: src/main/webapp/js/diagramly/sidebar/Sidebar-AWS3.js has 1016 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/webapp/js/diagramly/sidebar/Sidebar-AWS3.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"11c831fd795adfeb71ed2b04d9f346a40ee5b3e22f35f7dc674b229813790cea"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/diagramly/sidebar/Sidebar-Electrical.js: 1002 lines of code: src/main/webapp/js/diagramly/sidebar/Sidebar-Electrical.js has 1002 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/webapp/js/diagramly/sidebar/Sidebar-Electrical.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bc3ccce03252bf360795880996e5bf06fa985ec10f9e68baf3aad0f51616321"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/diagramly/sidebar/Sidebar-AWS4b.js: 997 lines of code: src/main/webapp/js/diagramly/sidebar/Sidebar-AWS4b.js has 997 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/webapp/js/diagramly/sidebar/Sidebar-AWS4b.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e509916228e407b38897a895764351ceaa37685fbca9067d3863ddda4d91b46"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/diagramly/DriveFile.js: 984 lines of code: src/main/webapp/js/diagramly/DriveFile.js has 984 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/webapp/js/diagramly/DriveFile.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bb3a11210db202b91dc305be3dff7131ce5b38b766127b817eeaf37e8cbff56"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/orgchart/mxOrgChartLayout.js: 983 lines of code: src/main/webapp/js/orgchart/mxOrgChartLayout.js has 983 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/webapp/js/orgchart/mxOrgChartLayout.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e8077577e0e0160d20ca42d444afbf50f348f700bed10245357acbafd14c0d8"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/onedrive/mxODPicker.js: 955 lines of code: src/main/webapp/js/onedrive/mxODPicker.js has 955 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/webapp/js/onedrive/mxODPicker.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ff5cb34d1e89bb6046bf9766d31a9d6a3e79cfeef63c674e36a907a286fbdb5"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/diagramly/FusionTheme.js: 950 lines of code: src/main/webapp/js/diagramly/FusionTheme.js has 950 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/webapp/js/diagramly/FusionTheme.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"13d671dc8e11de34b36d02e0efa6f6125ffe84e88aaf56f7af0b2df5a1c36e75"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/mxgraph/src/shape/mxStencil.js: 935 lines of code: src/main/webapp/mxgraph/src/shape/mxStencil.js has 935 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/webapp/mxgraph/src/shape/mxStencil.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"de7288208352e8d3b6e9a1dcb30e45e1eb758846bb26d4f8f7023f47d73ecea8"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/diagramly/sidebar/Sidebar-Veeam2.js: 898 lines of code: src/main/webapp/js/diagramly/sidebar/Sidebar-Veeam2.js has 898 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/webapp/js/diagramly/sidebar/Sidebar-Veeam2.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c6a4e9e8c9b7fc3a49f246ff4316a617c2cc5e6c5c1563d87735af090f075c4"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/diagramly/sidebar/Sidebar-Mockup.js: 894 lines of code: src/main/webapp/js/diagramly/sidebar/Sidebar-Mockup.js has 894 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/webapp/js/diagramly/sidebar/Sidebar-Mockup.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"be9914f82e547f3c9bf18c32f2e964fa6fefdec3bfc4ccbee7f9908a62ffb994"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/diagramly/ElkLayout.js: 893 lines of code: src/main/webapp/js/diagramly/ElkLayout.js has 893 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/webapp/js/diagramly/ElkLayout.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"65e8e26d708ae01fd5419a1bfaf13745f8977e288975f310055e059d2a684e56"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/shapes/mockup/mxMockupButtons.js: 892 lines of code: src/main/webapp/shapes/mockup/mxMockupButtons.js has 892 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/webapp/shapes/mockup/mxMockupButtons.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4e2da9a921a4685f07e0a681e1fa63775abc6730b65631361b6f165ce037957"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/diagramly/sidebar/Sidebar-Veeam.js: 863 lines of code: src/main/webapp/js/diagramly/sidebar/Sidebar-Veeam.js has 863 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/webapp/js/diagramly/sidebar/Sidebar-Veeam.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"67f733bc72a59507543cf260a306dd32dde16c513c3a11647a6759ecb4c83a2c"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/mxgraph/src/view/mxPerimeter.js: 855 lines of code: src/main/webapp/mxgraph/src/view/mxPerimeter.js has 855 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/webapp/mxgraph/src/view/mxPerimeter.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aa180a67a745841e141917f055f2642d4b664893fc06d968f8d83135ec8db4d"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/mxgraph/src/util/mxGuide.js: 844 lines of code: src/main/webapp/mxgraph/src/util/mxGuide.js has 844 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/webapp/mxgraph/src/util/mxGuide.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a35274a5218ac293035e6728967aeaff32c2f0a040257ec672ebc8eb4ddfc8c9"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/shapes/mockup/mxMockupText.js: 816 lines of code: src/main/webapp/shapes/mockup/mxMockupText.js has 816 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/webapp/shapes/mockup/mxMockupText.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b00eba5c3c7d3fc973bcd2c814aeaab389e28dad6eb83a288a5075e9dd4939f"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/diagramly/gif/GifEncoder.js: 808 lines of code: src/main/webapp/js/diagramly/gif/GifEncoder.js has 808 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/webapp/js/diagramly/gif/GifEncoder.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a923afc9833c0ab0604d142ac1bac3befdcd82ef5bd323e4ad91364b281b42a"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/shapes/mxGmdl.js: 805 lines of code: src/main/webapp/shapes/mxGmdl.js has 805 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/webapp/shapes/mxGmdl.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bd6bbec9aa01c5ad4e0223126ba187d65fe7fdcb2968d2b8b8f9c84401d6b80"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/diagramly/HomeDialog.js: 790 lines of code: src/main/webapp/js/diagramly/HomeDialog.js has 790 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/webapp/js/diagramly/HomeDialog.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"49c7bcf001496153077dceb7c83f5185d8434f1f9581a6f529a709e8ee41623f"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/mxgraph/src/shape/mxSwimlane.js: 780 lines of code: src/main/webapp/mxgraph/src/shape/mxSwimlane.js has 780 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/webapp/mxgraph/src/shape/mxSwimlane.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dd21bd2a86f051cd5b5b0e54174f361d78b4540bb8f87d46d13b09e5ad92b3d"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/diagramly/sidebar/Sidebar-WebIcons.js: 769 lines of code: src/main/webapp/js/diagramly/sidebar/Sidebar-WebIcons.js has 769 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/webapp/js/diagramly/sidebar/Sidebar-WebIcons.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c889936f0b960cce8c1a5bd38bdb332518453b1272a822ed6c4b9b3d4eaa7215"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/mxgraph/src/model/mxCell.js: 751 lines of code: src/main/webapp/mxgraph/src/model/mxCell.js has 751 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/webapp/mxgraph/src/model/mxCell.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b132ff4604dee55543a0c57026552626f270c9391c77393389b80014f2a57134"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/diagramly/sidebar/Sidebar-AWS.js: 740 lines of code: src/main/webapp/js/diagramly/sidebar/Sidebar-AWS.js has 740 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/webapp/js/diagramly/sidebar/Sidebar-AWS.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"35365629ba45c7476884603867752445941944660a470cad47270e9dcc39014b"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/mxgraph/src/io/mxCodec.js: 731 lines of code: src/main/webapp/mxgraph/src/io/mxCodec.js has 731 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/webapp/mxgraph/src/io/mxCodec.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"62f3c214653eed2e29180410b4ad82be5a184f1a2708b0c27a7c1e7c2b1da131"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/diagramly/SimpleClassic.js: 729 lines of code: src/main/webapp/js/diagramly/SimpleClassic.js has 729 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/webapp/js/diagramly/SimpleClassic.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"05d89ff8654cc55cf96004fd9e92e4b4f9327ab5de292e608f3e4b7e35cf5400"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/shapes/mockup/mxMockupNavigation.js: 719 lines of code: src/main/webapp/shapes/mockup/mxMockupNavigation.js has 719 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/webapp/shapes/mockup/mxMockupNavigation.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"422eacecc66553b4c5f685e9daa6125edabca39f35792d08ebc7fb08a8c16315"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/connect/common/js/mxReader.js: 717 lines of code: src/main/webapp/connect/common/js/mxReader.js has 717 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/webapp/connect/common/js/mxReader.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad093f0a7163f3a88413c743534411514f4d19688edc873dfff7c4ae28df3dbb"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/diagramly/Embed.js: 717 lines of code: src/main/webapp/js/diagramly/Embed.js has 717 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/webapp/js/diagramly/Embed.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe14537bee0c0d6a847070ea1e80a35d2cb3b7aab52e9804e5925d12698c2147"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/embed.dev.js: 716 lines of code: src/main/webapp/js/embed.dev.js has 716 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/webapp/js/embed.dev.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"40471bb5b1ccc2ca2abfdfd4c830102621bc54bf4621bfbafd25f3f1cf8b2617"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/diagramly/Minimal.js: 705 lines of code: src/main/webapp/js/diagramly/Minimal.js has 705 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/webapp/js/diagramly/Minimal.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3b0b3ea2e7e585bf31d1c3af36be65912e5fb90c0df1e7284ef009660bcb0b8"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/shapes/mxAtlassian2.js: 699 lines of code: src/main/webapp/shapes/mxAtlassian2.js has 699 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/webapp/shapes/mxAtlassian2.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"65376cf4e8623d1f9e9f1abeb33f03853b07803e4ef04f46d77af07fa9cb8cb0"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/diagramly/util/mxJsCanvas.js: 691 lines of code: src/main/webapp/js/diagramly/util/mxJsCanvas.js has 691 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/webapp/js/diagramly/util/mxJsCanvas.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e71a34027bf0662f3dc89286ce1e53636228ad3667fb2891136b66405af17be"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/diagramly/OneDriveFile.js: 687 lines of code: src/main/webapp/js/diagramly/OneDriveFile.js has 687 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/webapp/js/diagramly/OneDriveFile.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"511994ab9a3a15b420e3eb6e65742ca5814cc220da0e2deb649231fe9a05c7c3"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/mxgraph/src/util/mxDragSource.js: 678 lines of code: src/main/webapp/mxgraph/src/util/mxDragSource.js has 678 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/webapp/mxgraph/src/util/mxDragSource.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e1d98dd26eaf2ba8c7b12763c1d76debf8adf196750edf7061cccc49933e9cc"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/diagramly/sidebar/Sidebar-Salesforce.js: 670 lines of code: src/main/webapp/js/diagramly/sidebar/Sidebar-Salesforce.js has 670 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/webapp/js/diagramly/sidebar/Sidebar-Salesforce.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2db53a6a2c83221b3e6952cadf89562426e18a0202b4ef785d762fdc2463c52c"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/diagramly/sidebar/Sidebar-AlibabaCloud.js: 651 lines of code: src/main/webapp/js/diagramly/sidebar/Sidebar-AlibabaCloud.js has 651 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/webapp/js/diagramly/sidebar/Sidebar-AlibabaCloud.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9ca42d67c0c73afb4d7a8b9cbb5bfb8ab9ae74f4de46b3b7545fa7ee3e020c7"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/diagramly/TrelloClient.js: 649 lines of code: src/main/webapp/js/diagramly/TrelloClient.js has 649 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/webapp/js/diagramly/TrelloClient.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8bc89f189f3994a9337a7b3e758f06c04d56a744cc38d1ace493d78f74a2bfd"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/mxgraph/src/util/mxAbstractCanvas2D.js: 635 lines of code: src/main/webapp/mxgraph/src/util/mxAbstractCanvas2D.js has 635 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/webapp/mxgraph/src/util/mxAbstractCanvas2D.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b07298c04b12134fab1c0b17ed99fd12c95fe76f90f60b0269f6498cdb326b5"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/diagramly/sidebar/Sidebar-IBM.js: 627 lines of code: src/main/webapp/js/diagramly/sidebar/Sidebar-IBM.js has 627 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/webapp/js/diagramly/sidebar/Sidebar-IBM.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"63a6eec3624c5112ba5a99c7740664eed03ad4ba820c30a82ea95d4b18b4a8e7"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/diagramly/sidebar/Sidebar-PID.js: 627 lines of code: src/main/webapp/js/diagramly/sidebar/Sidebar-PID.js has 627 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/webapp/js/diagramly/sidebar/Sidebar-PID.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dfa11292c2e2761732b651d43006cf3516b026d10f42576e0a10587b389fa1a"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/mxgraph/src/mxClient.js: 626 lines of code: src/main/webapp/mxgraph/src/mxClient.js has 626 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/webapp/mxgraph/src/mxClient.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e12300c1a1c19816ada8adda8699b2ee8d50910fd88e66111cb029220b04f18"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/shapes/pid2/mxPidInstruments.js: 619 lines of code: src/main/webapp/shapes/pid2/mxPidInstruments.js has 619 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/webapp/shapes/pid2/mxPidInstruments.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ef88f236eb9010213351aa20ddfbb5eb9238042fa2144aa6743180c654154cc"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/grapheditor/Toolbar.js: 618 lines of code: src/main/webapp/js/grapheditor/Toolbar.js has 618 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/webapp/js/grapheditor/Toolbar.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc845d0bda921332669c2934dbc4f2d13dddf7f369adbbc548ce9aaa561f8366"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/diagramly/sidebar/Sidebar-Ios7.js: 603 lines of code: src/main/webapp/js/diagramly/sidebar/Sidebar-Ios7.js has 603 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/webapp/js/diagramly/sidebar/Sidebar-Ios7.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eab9c383c723104840dfcaeead09717a2b25475d90ea996537842abac5c8b475"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/mxgraph/src/layout/mxStackLayout.js: 596 lines of code: src/main/webapp/mxgraph/src/layout/mxStackLayout.js has 596 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/webapp/mxgraph/src/layout/mxStackLayout.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbea28be45cffe3b3c10ae0a543d9a9c232fd561ba050d8e869bc8acbfb10923"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/diagramly/sidebar/Sidebar-Atlassian.js: 594 lines of code: src/main/webapp/js/diagramly/sidebar/Sidebar-Atlassian.js has 594 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/webapp/js/diagramly/sidebar/Sidebar-Atlassian.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd5780c93af711558c335e05b241193347b52958469fe717feafb784f50bb8d7"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/diagramly/mxRuler.js: 593 lines of code: src/main/webapp/js/diagramly/mxRuler.js has 593 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/webapp/js/diagramly/mxRuler.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9000c96c803bc0a966c1abfb685c05ec06cf1853249226b3e43edbc6684cf8dd"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/mxgraph/src/view/mxCellState.js: 586 lines of code: src/main/webapp/mxgraph/src/view/mxCellState.js has 586 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/webapp/mxgraph/src/view/mxCellState.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6261224fea9fa0ba673b3fb2a1e2f6a64930b55e09f3f64049662dd07d3a3f3"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/diagramly/StorageFile.js: 571 lines of code: src/main/webapp/js/diagramly/StorageFile.js has 571 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/webapp/js/diagramly/StorageFile.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"07249e4697ede2e99fa4b626cdee3b165c1314d258373ccf7418a4442736f07b"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/diagramly/Omnibox.js: 564 lines of code: src/main/webapp/js/diagramly/Omnibox.js has 564 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/webapp/js/diagramly/Omnibox.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1f4cd7be23dcb93d8e7753ede0e50f61ff5f79a87a98b90265187cd5d410ce4"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/diagramly/sidebar/Sidebar-Cisco19.js: 557 lines of code: src/main/webapp/js/diagramly/sidebar/Sidebar-Cisco19.js has 557 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/webapp/js/diagramly/sidebar/Sidebar-Cisco19.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1230df7f1dfc6e65885e86ea4aae13a74e8d89d87c61001348abc2c35b6c9c46"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/mxgraph/src/shape/mxArrowConnector.js: 557 lines of code: src/main/webapp/mxgraph/src/shape/mxArrowConnector.js has 557 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/webapp/mxgraph/src/shape/mxArrowConnector.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"adfb2e375f7f2e5ad117a754325be0ac2fbe13c4578276beb1f16465bd513d19"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/shapes/mxEip.js: 526 lines of code: src/main/webapp/shapes/mxEip.js has 526 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/webapp/shapes/mxEip.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"21c2e79ab3c9737c4de957f0243c97ed3b22c015dca2418ef59bf2a414aa42d6"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/shapes/mxKubernetes.js: 521 lines of code: src/main/webapp/shapes/mxKubernetes.js has 521 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/webapp/shapes/mxKubernetes.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4eca40494da3cdc4b57debcace277a620e664a6b9e9fecb1999b285f02b7c1c"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/diagramly/sidebar/Sidebar-Android.js: 518 lines of code: src/main/webapp/js/diagramly/sidebar/Sidebar-Android.js has 518 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/webapp/js/diagramly/sidebar/Sidebar-Android.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a19d3f29360c97804c1c97bc643dc0fcd699906e8c687271c5b5aad89bbe0880"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/diagramly/sidebar/Sidebar-ArchiMate3.js: 509 lines of code: src/main/webapp/js/diagramly/sidebar/Sidebar-ArchiMate3.js has 509 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/webapp/js/diagramly/sidebar/Sidebar-ArchiMate3.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8ab510f858e26c27f0d15f2b73c84e0562ad4d48cc0f494fefd151114205c48"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/diagramly/Settings.js: 504 lines of code: src/main/webapp/js/diagramly/Settings.js has 504 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/webapp/js/diagramly/Settings.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9fcdf4c742b6f517b273a5b12083f22ecbaf2c83d551528ba54747f20af352b"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/diagramly/sidebar/Sidebar-IBMCloud.js: 503 lines of code: src/main/webapp/js/diagramly/sidebar/Sidebar-IBMCloud.js has 503 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/webapp/js/diagramly/sidebar/Sidebar-IBMCloud.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d4daaf0b58c84dcedbdb417b9539199e048793249babf0616f240652602b545"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/mxgraph/src/view/mxGraphSelectionModel.js: 495 lines of code: src/main/webapp/mxgraph/src/view/mxGraphSelectionModel.js has 495 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/webapp/mxgraph/src/view/mxGraphSelectionModel.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dacf8bf379e11d2c01222a35fe9b2c479f03e923639ce096acc4508824f4c1bd"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/diagramly/sidebar/Sidebar-Cisco.js: 489 lines of code: src/main/webapp/js/diagramly/sidebar/Sidebar-Cisco.js has 489 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/webapp/js/diagramly/sidebar/Sidebar-Cisco.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdc8ff19734f601fc907c08584fcb6c491af9b848183e03bcc5b2cf927c0327b"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/diagramly/sidebar/Sidebar-ArchiMate4.js: 488 lines of code: src/main/webapp/js/diagramly/sidebar/Sidebar-ArchiMate4.js has 488 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/webapp/js/diagramly/sidebar/Sidebar-ArchiMate4.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"63619ee5b6de1103df0570d512f3e5ea4262fa250352f3ee2c725b43b737ebc5"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/diagramly/miro/MiroImporter.js: 487 lines of code: src/main/webapp/js/diagramly/miro/MiroImporter.js has 487 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/webapp/js/diagramly/miro/MiroImporter.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a70c11f592b72056840115b8847d7a0f14f57251e7daa26c8127cf3ac2951d2"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/diagramly/mxFreehand.js: 478 lines of code: src/main/webapp/js/diagramly/mxFreehand.js has 478 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/webapp/js/diagramly/mxFreehand.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2157c7d4684ae2847f05b047d6ecadda54c00b51a906bd74196b6108827961b8"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/mxgraph/src/view/mxOutline.js: 478 lines of code: src/main/webapp/mxgraph/src/view/mxOutline.js has 478 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/webapp/mxgraph/src/view/mxOutline.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc0a06faa7500e087d3f172404abcd61b3e91cee708d346331b5c6030f55079d"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/mxgraph/src/handler/mxEdgeSegmentHandler.js: 471 lines of code: src/main/webapp/mxgraph/src/handler/mxEdgeSegmentHandler.js has 471 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/webapp/mxgraph/src/handler/mxEdgeSegmentHandler.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecfdcdcfe95fb0e338b54910c6ef31a94ebe9a5dc5e19633c29b0fcb0a4deb75"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/plugins/nextcloud.js: 469 lines of code: src/main/webapp/plugins/nextcloud.js has 469 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/webapp/plugins/nextcloud.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c097ded0ef5d848bba02622fc1d1b719d3d50299115142c1056865780b5e8125"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/diagramly/Init.js: 461 lines of code: src/main/webapp/js/diagramly/Init.js has 461 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/webapp/js/diagramly/Init.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"59b828467aea78a0d3ee14d963092a20ddcb9896fdffadf380ee9ccf2e6f5a53"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/mxgraph/src/handler/mxKeyHandler.js: 461 lines of code: src/main/webapp/mxgraph/src/handler/mxKeyHandler.js has 461 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/webapp/mxgraph/src/handler/mxKeyHandler.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"645ade2101dadccb26c9efb8c08c7b0d9b7ce4565553588d0d8f6ea4df13c4dd"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/diagramly/tidy/TidyFeatures.js: 459 lines of code: src/main/webapp/js/diagramly/tidy/TidyFeatures.js has 459 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/webapp/js/diagramly/tidy/TidyFeatures.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"293d298607940f3225920671409efe918b3e8f264d37d41a2952058bcbc36c8c"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/mxgraph/src/util/mxToolbar.js: 459 lines of code: src/main/webapp/mxgraph/src/util/mxToolbar.js has 459 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/webapp/mxgraph/src/util/mxToolbar.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"54f7498db5238da97eaed8b2835c511a7855237b2661fc7a1a7462ee4150ebcc"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/mxgraph/src/view/mxLayoutManager.js: 459 lines of code: src/main/webapp/mxgraph/src/view/mxLayoutManager.js has 459 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/webapp/mxgraph/src/view/mxLayoutManager.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2fd029fe90ab043a6abf95c6a79f3c7b307c3d2d017043fd0d37f67e8cd3d09"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/mxgraph/src/handler/mxConstraintHandler.js: 450 lines of code: src/main/webapp/mxgraph/src/handler/mxConstraintHandler.js has 450 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/webapp/mxgraph/src/handler/mxConstraintHandler.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a02234b26d8653176c10246b0dba6b10480d6d70251a9fff87b0686241467f61"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/mxgraph/src/layout/mxGraphLayout.js: 447 lines of code: src/main/webapp/mxgraph/src/layout/mxGraphLayout.js has 447 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/webapp/mxgraph/src/layout/mxGraphLayout.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"48c744d6f8f257aebf4b2a474589a1bcc63196b2df1cfc6b8b8d8382e3ef7ed0"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/mxgraph/src/util/mxResources.js: 443 lines of code: src/main/webapp/mxgraph/src/util/mxResources.js has 443 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/webapp/mxgraph/src/util/mxResources.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fc91700105eb13cbf460e2aa625b0231adb68ccffb0feb2008a9222a5bb5542"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/mxgraph/src/handler/mxPanningHandler.js: 442 lines of code: src/main/webapp/mxgraph/src/handler/mxPanningHandler.js has 442 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/webapp/mxgraph/src/handler/mxPanningHandler.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed59e2f38276213eff8db6028d709306f12b1ed07e533e2ab591ef24305e7870"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/plugins/random.js: 439 lines of code: src/main/webapp/plugins/random.js has 439 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/webapp/plugins/random.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"404d172c3518be285a47a97033b64b38f5ae78a1437e01b4887ff7fd69a1fbe2"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/shapes/pid2/mxPidMisc.js: 437 lines of code: src/main/webapp/shapes/pid2/mxPidMisc.js has 437 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/webapp/shapes/pid2/mxPidMisc.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa02b69afeb2407059d2b8017b8d4faf55c5b8fe840d6f9ed05b76a61f96a35e"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/mxgraph/src/util/mxXmlRequest.js: 429 lines of code: src/main/webapp/mxgraph/src/util/mxXmlRequest.js has 429 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/webapp/mxgraph/src/util/mxXmlRequest.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8015f4bbc45908ea42d1901b2d6850ef10f97eeaba53ca9dff5c9ef03e4fb9a"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/diagramly/sidebar/Sidebar-Rack.js: 408 lines of code: src/main/webapp/js/diagramly/sidebar/Sidebar-Rack.js has 408 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/webapp/js/diagramly/sidebar/Sidebar-Rack.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3e9003a360c78027f8ead929d9bfc4dff4d695a8ba2b2554a13b3d346b735d3"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/diagramly/Devel.js: 406 lines of code: src/main/webapp/js/diagramly/Devel.js has 406 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/webapp/js/diagramly/Devel.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8022b6d15ba331692b78cd981beb2a7dd377282d122f86366f84afb6ddf59f9d"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/js/diagramly/gif/AnimatedExport.js: 406 lines of code: src/main/webapp/js/diagramly/gif/AnimatedExport.js has 406 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/webapp/js/diagramly/gif/AnimatedExport.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b489406966c33578db09b56a943982e3f0737b2a00b3e3fba777a5ef5ca15a13"}},{"ruleId":"R3","level":"warning","message":{"text":"src/main/webapp/mxgraph/src/view/mxSwimlaneManager.js: 401 lines of code: src/main/webapp/mxgraph/src/view/mxSwimlaneManager.js has 401 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/webapp/mxgraph/src/view/mxSwimlaneManager.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a19f1470a10281785875a5b2d2bee09ed851500c4ba6e584acb83d2b5a32ca9"}},{"ruleId":"R4","level":"warning","message":{"text":"Test Coverage: 0% of 345 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, lint or typecheck script: test \u2717 \u00B7 lint \u2717 \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":"a9372ffc30204d52cc3368af49ceaa995574db973935e30b3946f83785dea15b"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~55270 LoC): no import path from any entry point (287 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc00894695ef93e233a227982f036f19f705cdbe1501b4d6bc62d110efceb982"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~14351 LoC): no import path from any entry point (287 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Extensions.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc9e41c538c1525af95a6533ab28333c3a41073e9820c9bf31b52f3be90f13a3"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~12215 LoC): no import path from any entry point (287 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1f89a9933eda95cb34cb262e29b8c83d5103e876fe588680095430023acc9e8"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~11759 LoC): no import path from any entry point (287 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"46b699260a6c42de864e1eff26d892863f12a466ce235290f6b8e83abc8b0322"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~10143 LoC): no import path from any entry point (287 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Format.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"11b92b9fb5b8fcc6bb400add3e336218ba1489059671ce296c9c18e112409a64"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~8977 LoC): no import path from any entry point (287 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/shapes/mxAWS3D.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cd050b6f896bd11d780065defb876a57a94777b49621d854744564fda007850"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~8158 LoC): no import path from any entry point (287 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a85dd8b7a0ac3d70b9adbc9478203cf82d48859ceaa8771c92631d00345680f"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~6274 LoC): no import path from any entry point (287 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Dialogs.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9157a6274b9c0b3c595fe7f0e2bb8e089b6c851a7720f0027b1fbe29aba6afe8"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~5746 LoC): no import path from any entry point (287 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/shapes/mxElectrical.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d1bce97a3419a08b388dee1090b310bf15cead94b67e4ed6b2ef9f63564ed80"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~5400 LoC): no import path from any entry point (287 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Editor.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"820268504ec8af322face1e097a28761f66ad1d8893fefb513299ab3f4a6c1c8"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~5336 LoC): no import path from any entry point (287 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/InlineToolbar.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"017008be8baa4cd1fa09895bb69d31c2fb6902c516fa06cfc8c7b6d8a8b10215"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~4433 LoC): no import path from any entry point (287 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/shapes/mxArchiMate3.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3387418b91bf67c06239a86a7cd4da235885ea1b90d10184f142df79a1b528d"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~4075 LoC): no import path from any entry point (287 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/GraphViewer.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b07f763d0e419541c12c127a844b7b4eda6e0cf36463d2db72db344f2e6a5451"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~3866 LoC): no import path from any entry point (287 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/shapes/mxBasic.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"834664f958b1e9d77f3975d4c1036dfec199420e504c8b8d10c84917a62374f7"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~3274 LoC): no import path from any entry point (287 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/shapes/mxSysML.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b95bb5140a96724b12e0568bd18e2efb719ea512affede4be2eb83809c503dc"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~3108 LoC): no import path from any entry point (287 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ElectronApp.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb55609106a90f063e43812e7063b66ae1cb95e839eef7e8bfc8e43fbf327952"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~2956 LoC): no import path from any entry point (287 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/shapes/mxArrows.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fa797c9a38d69673f68875ac8332c52f610b6dc0991ef31cf667f29a6b8d4fa"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~2700 LoC): no import path from any entry point (287 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/shapes/mxInfographic.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb45a2011977cba06638af53354c06756b9aaa79c5429341044cf97c3149645f"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~2683 LoC): no import path from any entry point (287 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Omnibox.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3892f71011e0354fb7f4f0c7d280516e4498e5572ef641f6648733b8b44fd98b"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~2551 LoC): no import path from any entry point (287 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Actions.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b96590ddefd8e745d3ef3815291dad8be7a90430b3c44ba61661eac4b4bb987e"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~2527 LoC): no import path from any entry point (287 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ViewerModern.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"74d634b30bf75d791c17f73d16332e5805f6f981bc184531a2333121970ada53"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~2237 LoC): no import path from any entry point (287 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/shapes/mxLeanMap.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"60d85716b7381ccddbcdd8967b068d4acf8ce9f558f15575dcbebe2cff5f1876"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~2191 LoC): no import path from any entry point (287 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Menus.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2cf0012661daae5eb563c010321b097cc4e051762db6aa3da963c1d2c712b5c"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~1792 LoC): no import path from any entry point (287 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/shapes/mxFloorplan.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1e5d3f40851f09aca7d10ef60005d8a0483298f106ad45db891b41f25ff74ef"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~1558 LoC): no import path from any entry point (287 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/shapes/mxAndroid.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a2485fd0571b5276e6e7d0327487d6782c795121756fd5d15d990a8e7fb56f9"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~1516 LoC): no import path from any entry point (287 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/shapes/mxBootstrap.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"09ccd85af6aef68a4181006321e59489f134b4fc5e18f901614ca237e872ec06"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~1222 LoC): no import path from any entry point (287 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/shapes/mxArchiMate.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a36ee32e0f65083dad79ddc38cd8fab8f990dd3371a92a12e4ca95651853eab3"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~973 LoC): no import path from any entry point (287 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/shapes/mxGmdl.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4ffd7c6ae1d046631e216d955b6921bbc06d1d59c17db53a9cefeef7cfed3ae"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~831 LoC): no import path from any entry point (287 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/connect/common/js/mxReader.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"75fcc0f7184cbe171ff1c31fa9a7bb3b6d0dcc5571421afda3ce54b3d50b9e2e"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~829 LoC): no import path from any entry point (287 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Embed.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c23c689539e7f0278a8f2f108a6bb81fb5fec420eddb665ad6dc9e41a62e9ccc"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~827 LoC): no import path from any entry point (287 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/embed.dev.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"06cb7800f5f522ce90bc25b0ec1ed1da7680b212ecd3d7ce861f101cbcd10354"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~777 LoC): no import path from any entry point (287 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/shapes/mxAtlassian2.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a367612992db0484e8f297a638cb0ebf8fe987ace1faaedee448052329e4ac6e"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~708 LoC): no import path from any entry point (287 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Toolbar.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"48f60c6ee03ef3e73879ef56acc49058e365ddc8a3ce778c3b581b3606eab474"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~670 LoC): no import path from any entry point (287 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/mxClient.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"10fed52a2e0af2ef34c1362c0e479fabdfc281476b4dce6cacdcbdfe13e0dc58"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~620 LoC): no import path from any entry point (287 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/shapes/mxEip.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"19a4ca7d09e1ac7d784d8805dfe239c24e59df1651db37714aac5ae287aa72cd"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~593 LoC): no import path from any entry point (287 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/shapes/mxKubernetes.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae94530037e82d9f95d5b4b4e8ca45cd34231738633e6f480cbbf9b6aa92907a"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~470 LoC): no import path from any entry point (287 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/shapes/mxC4.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bce370a62e8ef1127dc59fe4e976af36a0b33aaed64b094f06d9858874f6e152"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~456 LoC): no import path from any entry point (287 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/shapes/mxDFD.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e14b010c07b7a8094bae98d42cf389b6d64cccefa0f6e1f9a72f4bdf780bc80f"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~453 LoC): no import path from any entry point (287 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Devel.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b65394053a23e427926a9de7600b96bf8d4e806bb374cf626c65c73e9aa12584"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~425 LoC): no import path from any entry point (287 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/shapes/mxAWS4.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f99a2d4b1d19e63263ea71c3a12d59f0c0967ba6cc5ee41e06077a485dfd853e"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~391 LoC): no import path from any entry point (287 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/shapes/mxUML25.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"82d74b60f04dac989b0e735eaf018af6a83ff92b47d263be7cfc65fe8967ecca"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~368 LoC): no import path from any entry point (287 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/shapes/mxGCP2.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"357fcf59c43f8eb5c177d9abe60de3d43bdce74e9691ac9bc8eb51daab8a5f17"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~300 LoC): no import path from any entry point (287 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/shapes/mxAtlassian.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb627b072929f08af2b15b6081ee6add6adb439b2365b4da993dec47d5567c8e"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~285 LoC): no import path from any entry point (287 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/shapes/mxArchiMate4.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d381ae3acea50cc74e21e369d2ffc3994d0af888d3cc527978241534a65fe7e"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~255 LoC): no import path from any entry point (287 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/shapes/mxCabinets.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"db64ba473f2dc5c79ef14c065bc3ac81061a4ac1b99c7385954a244302c9db4d"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~222 LoC): no import path from any entry point (287 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/shapes/mxNetworks2.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e5947b072eaaf77a14aeab04ce25c1bc601f5e54ae998db3ddd68d7d9e433ed"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~182 LoC): no import path from any entry point (287 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/shapes/mxCiscoSafe.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"25d8d992b3f8917c4b946ca379c5b307e701201314ad3d1f980864b211a4abdf"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~147 LoC): no import path from any entry point (287 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/shapes/mxCisco19.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"22e9fb0e45d3b583a04294b29274de5fc6bbf6d2d580195528f012314ec34bf3"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~119 LoC): no import path from any entry point (287 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/shapes/mxNetworks.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bc4638f3d32e0200815ea364c59408efc2eb71d270b293e1f92ade9bf8a90eb"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~101 LoC): no import path from any entry point (287 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etc/integrate/Integrate.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"736a3e324f346fde92491dc04a82584c1f60a57183ee1deb23826776385acac7"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~100 LoC): no import path from any entry point (287 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/shapes/mxIBM.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b59c079ab863d9110377711fd389fc2edeba473191a409b46fe3e28ef2a0b7a7"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~85 LoC): no import path from any entry point (287 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/math-print.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a841459b3255359a2c149a52be082122cf6eb917448b1113ed017ebfe5e0da42"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~85 LoC): no import path from any entry point (287 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/shapes/mxFlowchart.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d830626261fd08841a0a006df348640cc17e298851c139bb273206b521fb068a"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~72 LoC): no import path from any entry point (287 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/shapes/mxSAP.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cefd288e039d7d1b2d3e4da47e9d00f5097eade3b6db26e855f244c575192c88"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~31 LoC): no import path from any entry point (287 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DesktopLibrary.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"46c33b392794480b811fc450f5ebe31e8c08e1d81bc1a465ee4194fbb284bd76"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~22 LoC): no import path from any entry point (287 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/math4/es5/startup.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"845fe0900d86821ff7354509f9e272db74c6f74e79cedaba25591a859847a318"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~13 LoC): no import path from any entry point (287 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/PreConfig.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b63006127efe0dc28069bc9c94f48224b46094656cd3a5784562139d7ba18b51"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~7 LoC): no import path from any entry point (287 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/PostConfig.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dda77e15fe9606b19536f10ab403950b138098d4ef58b8ce604deb5101faf76"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027crypto-js\u0027: Declared in etc/dependencies/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":[{"physicalLocation":{"artifactLocation":{"uri":"etc/dependencies/package.json"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"04a4cf206a2b4e6599aa2b36a5051acbbd8cd8b18e0d407353316e6d78ad5900"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027dompurify\u0027: Declared in etc/dependencies/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":[{"physicalLocation":{"artifactLocation":{"uri":"etc/dependencies/package.json"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ad65a8df0bac1fb2d201427db5ac8a8760059491093d49d7f3f5e5acb0b94c7"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027jquery\u0027: Declared in etc/dependencies/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":[{"physicalLocation":{"artifactLocation":{"uri":"etc/dependencies/package.json"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3a5ee1212d3b75d51dcae3951b240c97c42fefc41fcfa45c89f3c7d89e87137"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027jsZip\u0027: Declared in etc/dependencies/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":[{"physicalLocation":{"artifactLocation":{"uri":"etc/dependencies/package.json"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"78c763239b298d026565a46da0ae790f60b64cc150d8acf4122dcce21efa6f1a"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027mathjax\u0027: Declared in etc/dependencies/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":[{"physicalLocation":{"artifactLocation":{"uri":"etc/dependencies/package.json"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"d566be85b5b1f3d08c237c20c3fd68147a3554c3ddbabb573a8a80c39695f53b"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027pako\u0027: Declared in etc/dependencies/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":[{"physicalLocation":{"artifactLocation":{"uri":"etc/dependencies/package.json"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"55871ef1525b260486f20381fee46b93e4ee88e8d6969383c20adf5e2976c6ac"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027perfect-freehand\u0027: Declared in etc/dependencies/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":[{"physicalLocation":{"artifactLocation":{"uri":"etc/dependencies/package.json"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"e661a398c5c4cf0a7cb77b03ceabda93279c09ee44f461e3f6e504ebf83e0a62"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027roughjs\u0027: Declared in etc/dependencies/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":[{"physicalLocation":{"artifactLocation":{"uri":"etc/dependencies/package.json"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"486169b3c5dfb0d9f01b97bdca5a580ea0737de576b62f5d0e6d01b599af913b"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027spin.js\u0027: Declared in etc/dependencies/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":[{"physicalLocation":{"artifactLocation":{"uri":"etc/dependencies/package.json"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"7866b3e957b59ea110a29b5e96cdaf80c2ac806d147baff0afddbab826428353"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060createHash(\u0022sha256\u0022)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DrawioFileSync.js"},"region":{"startLine":3935}}}],"partialFingerprints":{"codehealthFindingId/v1":"b072a9624cc27552ac5c08d36788b362ab4413959708c72ea26c3fa115beffae"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060createHash(\u0022sha256\u0022)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/OneDriveFile.js"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"89b8fd9a7036d43a030cab6e80d252d0e3e4b0a0240dcea30b758e06dc0d3eaa"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060createHash(\u0022sha256\u0022)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/OneDriveFile.js"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec8dcac5de8928ab9600e9a41784d171ef7f49372db33c84ac4194be8f19538f"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060createHash(\u0022sha256\u0022)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/plugins/nextcloud.js"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ccf15e0e8a07fdcf4b862c92032489eeb50c71e860c322616b092a5e8169cd8"}},{"ruleId":"S1","level":"warning","message":{"text":"Third-party script without Subresource Integrity: \u0060https://js.live.net/v7.2/OneDrive.js\u0060 is executed by this page with no Subresource Integrity. Whoever can answer that request \u2014 the CDN, anyone who compromises it, anyone on the network path \u2014 runs arbitrary script in this page\u0027s origin, with its session."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/onedrive3.html"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b1f871122feee3e2b220cd76a298bcf22aa2d420497a0fd9de8c3099a85df15"}},{"ruleId":"SC1","level":"warning","message":{"text":"JavaScript dependencies are not locked: etc/dependencies/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":"etc/dependencies/package.json"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ff0165b1deb04509dcc023ffbd1c2198a498c2a244bd20c18f74a19f859e0c3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!checkExists \u0026\u0026 (/\\.v(dx|sdx?)$/i.test(path) || /\\.gliffy$/i.test(path) || /\\.pdf$/i.test(path) || (!Editor.useCanvasForExport \u0026\u0026 binary))\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/GitHubClient.js, src/main/webapp/js/diagramly/GitLabClient.js. 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/webapp/js/diagramly/GitHubClient.js"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"c89a707384672d067678eaed1032596a00dec5bd138614042a439f98e34f8679"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!graph.isEditing() \u0026\u0026 !graph.isCellLocked(graph.getDefaultParent())\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/EditorUi.js, src/main/webapp/js/grapheditor/EditorUi.js. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":25139}}}],"partialFingerprints":{"codehealthFindingId/v1":"28eb16a9ed665f890da3c2b67b2ec2b08822cba5d0d8a18c3888a92d8cbafe45"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!graph.isSelectionEmpty() \u0026\u0026 graph.isEnabled()\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/grapheditor/Actions.js, src/main/webapp/js/grapheditor/EditorUi.js. 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/webapp/js/grapheditor/Actions.js"},"region":{"startLine":1704}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f59dbaaef216b9cee32b82b1a603bff28d7a7592c3b2e295a0ceafec7b31ace"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!ignorePageName \u0026\u0026 this.pages != null \u0026\u0026 this.pages.length \u003E 1 \u0026\u0026 this.currentPage != null \u0026\u0026 this.currentPage.node.getAttribute(\u0027name\u0027) != \u2026\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/EditorUi.js, src/main/webapp/js/diagramly/ElectronApp.js. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":4204}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed78a17cff9a82876bea9d4953e0b21d05ecfbcac9ae425819569f7f919375e1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!mxClient.IS_IOS || !navigator.standalone\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/EditorUi.js, src/main/webapp/js/diagramly/Menus.js. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":9329}}}],"partialFingerprints":{"codehealthFindingId/v1":"155e0e26447d82ce298abed70e4a4091ee6223adcb770a9c8a0270ddb6ed5bde"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!mxClient.IS_POINTER \u0026\u0026 !mxClient.IS_TOUCH\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/Embed.js, src/main/webapp/js/embed.dev.js. 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/webapp/js/diagramly/Embed.js"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ca353f64fe72ed613ee0b493eebb97b55b6abfc427d57249726b23df152907d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!mxClient.IS_POINTER \u0026\u0026 mxClient.IS_TOUCH\u0060 appears character-identically in 4 files \u2014 src/main/webapp/js/diagramly/DrawioFileSync.js, src/main/webapp/js/diagramly/Embed.js, src/main/webapp/js/embed.dev.js, src/main/webapp/mxgraph/src/util/mxEvent.js. 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/webapp/js/diagramly/DrawioFileSync.js"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"f459ed0549b7f80cbc5570bc8a3df620ad8660b3898c30975741c65651c6d3d7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!mxEvent.isAltDown(evt) \u0026\u0026 !mxEvent.isControlDown(evt) \u0026\u0026 !mxEvent.isMetaDown(evt)\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/grapheditor/EditorUi.js, src/main/webapp/mxgraph/src/util/mxPopupMenu.js. 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/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":11704}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c82e82d40b929f22a55bd1b36ad79ca0da1270f970867c15c86b1b560003fbe"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!mxEvent.isTouchEvent(evt) || !menuWasVisible\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/Pages.js, src/main/webapp/js/diagramly/mxRuler.js. 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/webapp/js/diagramly/Pages.js"},"region":{"startLine":4561}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d7d8591056064d594b2c770518775a4b63dd18f5b6a589e5f2965c6e60edf8c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!r \u0026\u0026 (!this.readyState || this.readyState == \u0027complete\u0027)\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/bootstrap.js, src/main/webapp/js/export.js. 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/webapp/js/bootstrap.js"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f68508370df37b56a02d3daef5d20ef8ad04f91b53b5937f25067b292e57772"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!this.editor.chromeless || this.editor.editable\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/EditorUi.js, src/main/webapp/js/grapheditor/EditorUi.js. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":2475}}}],"partialFingerprints":{"codehealthFindingId/v1":"9172f5486341b2a5decb966c1366ac9f6f33cfb63950f929ac4091dd56547ada"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!this.editor.isChromelessView() || this.editor.editable\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/EditorUi.js, src/main/webapp/js/diagramly/Trees.js. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":5371}}}],"partialFingerprints":{"codehealthFindingId/v1":"569017ff74791a07bcdec107200debe4ba7deab51991be8e9af4ac6765b34f22"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!this.graph.isCellLocked(this.state.cell) \u0026\u0026 (mxGraphHandler.prototype.maxCells \u003C= 0 || this.graph.getSelectionCount() \u003C= mxGraphHandler.pro\u2026\u0060 appears character-identically in 2 files \u2014 src/main/webapp/mxgraph/src/handler/mxEdgeHandler.js, src/main/webapp/mxgraph/src/handler/mxVertexHandler.js. 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/webapp/mxgraph/src/handler/mxEdgeHandler.js"},"region":{"startLine":2971}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad5c3936b0bb042acf36a08cf47c3d4384a5e60061ad08072136b5a9c67c08c5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!this.outline || this.style == null || mxUtils.getValue( this.style, mxConstants.STYLE_BACKGROUND_OUTLINE, 0) == 0\u0060 appears character-identically in 2 files \u2014 src/main/webapp/mxgraph/src/shape/mxCylinder.js, src/main/webapp/mxgraph/src/shape/mxShape.js. 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/webapp/mxgraph/src/shape/mxCylinder.js"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0685da2659c350f4c0e04cdb8f361ee3f20ffc58a4ad9e90b6c0a16d06f92c6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(container.style.width != \u0027100%\u0027 \u0026\u0026 fit != \u00271\u0027 \u0026\u0026 resize != \u00270\u0027) || (container.style.width == \u0027\u0027 \u0026\u0026 container.style.height == \u0027\u0027)\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/Embed.js, src/main/webapp/js/embed.dev.js. 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/webapp/js/diagramly/Embed.js"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"534d7ff239c88e42addfee750c5c1274ed5684d1bc4d8a79fa77f5580f12c7f2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(evt.keyCode == 13 || evt.keyCode == 32 ) \u0026\u0026 !mxEvent.isAltDown(evt) \u0026\u0026 !mxEvent.isControlDown(evt) \u0026\u0026 !mxEvent.isMetaDown(evt)\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/Pages.js, src/main/webapp/mxgraph/src/util/mxWindow.js. 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/webapp/js/diagramly/Pages.js"},"region":{"startLine":4304}}}],"partialFingerprints":{"codehealthFindingId/v1":"acddc94084ae74fcf735d536b2232b02b6790e967f78fbd6d259bbcab9d8bbb4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(format == \u0027png\u0027 || format == \u0027jpg\u0027 || format == \u0027jpeg\u0027) \u0026\u0026 editorUi.editor.isExportToCanvas()\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/EditorUi.js, src/main/webapp/js/diagramly/ElectronApp.js. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":42053}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a047ac0401b602822439c183bce39de0e8ac4577558b50d339799fbddaf3d84"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(hor \u0026\u0026 after != sibling.getCenterX() \u003C state.getCenterX()) || (!hor \u0026\u0026 after != sibling.getCenterY() \u003C state.getCenterY())\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/Trees.js, src/main/webapp/plugins/trees/trees.js. 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/webapp/js/diagramly/Trees.js"},"region":{"startLine":1220}}}],"partialFingerprints":{"codehealthFindingId/v1":"8021484fc9d1c9b919c256a9aa918b8ce098478b5ae73552b391695fca49b748"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(isForeground \u0026\u0026 this.fill != null) || (!isForeground \u0026\u0026 this.fill == null)\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/grapheditor/Shapes.js, src/main/webapp/mxgraph/src/shape/mxCylinder.js. 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/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":1414}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce1f4fb6af766cfed08a37aacf5936dec4de24b29b62d683bce5dd827ff22e04"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(req.getStatus() \u003E= 200 \u0026\u0026 req.getStatus() \u003C= 299) || (ignoreNotFound \u0026\u0026 req.getStatus() == 404)\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/GitHubClient.js, src/main/webapp/js/diagramly/GitLabClient.js. 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/webapp/js/diagramly/GitHubClient.js"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"820e81ceba3394c5b9f1ee6326e2e3d94e0e17d85dbff4381d65fc4c8e44fa76"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Action.prototype.isEnabled.apply(this, arguments) \u0026\u0026 graph.isEnabled()\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/Menus.js, src/main/webapp/js/grapheditor/Actions.js. 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/webapp/js/diagramly/Menus.js"},"region":{"startLine":1133}}}],"partialFingerprints":{"codehealthFindingId/v1":"90f546460e53c5708b00f51178c419fc54dc964798dc1a73761f5833abfa4370"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Array.isArray(this.lastLayoutSpec) \u0026\u0026 this.lastLayoutSpec.length \u003E 0\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/EditorUi.js, src/main/webapp/js/diagramly/LayoutPicker.js. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":34446}}}],"partialFingerprints":{"codehealthFindingId/v1":"df3744b36af906964c35fb92d0fe6e469e1717f4005d64f63c1b3e0b18a68b76"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Editor.currentTheme == \u0027kennedy\u0027 || Editor.currentTheme == \u0027atlas\u0027\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/EditorUi.js, src/main/webapp/js/grapheditor/Menus.js. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":34171}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a4572c92021e3cc933f7c85753f211ecba87ce35229d78d6c69a8e4c080195e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Editor.currentTheme == \u0027simple\u0027 || Editor.currentTheme == \u0027sketch\u0027\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/EditorUi.js, src/main/webapp/js/diagramly/Menus.js. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":27028}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c33c4f07a5371644fbe998911e761e370d0706a77d0dcfd7aa725f7049651f0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Editor.currentTheme == \u0027sketch\u0027 || Editor.currentTheme == \u0027min\u0027\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/Menus.js, src/main/webapp/js/diagramly/Omnibox.js. 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/webapp/js/diagramly/Menus.js"},"region":{"startLine":2028}}}],"partialFingerprints":{"codehealthFindingId/v1":"06e111b17b52469ef4441d25895fb6c89604a610ebede2527d697657ae1ddbe3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Editor.isDarkMode != null \u0026\u0026 Editor.isDarkMode()\u0060 appears character-identically in 3 files \u2014 src/main/webapp/js/diagramly/Dialogs.js, src/main/webapp/js/diagramly/EditorUi.js, src/main/webapp/js/diagramly/tidy/TidyWindow.js. 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":11595}}}],"partialFingerprints":{"codehealthFindingId/v1":"6039f42dbb8a7bdc178ae47fd77020a6132e03a8db30bd9977d4a1e07fe6ee46"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Editor.useCanvasForExport \u0026\u0026 /(\\.png)$/i.test(file.meta.name)\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/OneDriveClient.js, src/main/webapp/js/diagramly/TrelloClient.js. 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/webapp/js/diagramly/OneDriveClient.js"},"region":{"startLine":1057}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2fb3c90f397b13bd987e3963a763e0887540d25b1ad04a69f3e541203306475"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Editor.useCanvasForExport \u0026\u0026 /(\\.png)$/i.test(path)\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/GitHubClient.js, src/main/webapp/js/diagramly/GitLabClient.js. 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/webapp/js/diagramly/GitHubClient.js"},"region":{"startLine":834}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0e3c79edba00387e45948b6776eb2752f40e6fc3bdb5a4ca836e889ef4dd8dd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Graph.translateDiagram \u0026\u0026 Graph.diagramLanguage != null \u0026\u0026 Graph.diagramLanguage != \u0027\u0027\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/LightboxModern.js, src/main/webapp/js/diagramly/ViewerModern.js. 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/webapp/js/diagramly/LightboxModern.js"},"region":{"startLine":2175}}}],"partialFingerprints":{"codehealthFindingId/v1":"d56fff864e38e4f3dc46799acd38b24f742670423d05191868a06b01193f1be3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Object.prototype.hasOwnProperty.call(obj, key) \u0026\u0026 key != \u0027__proto__\u0027 \u0026\u0026 key != \u0027constructor\u0027 \u0026\u0026 key != \u0027prototype\u0027\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/Dialogs.js, src/main/webapp/js/diagramly/LayoutPicker.js. 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":22424}}}],"partialFingerprints":{"codehealthFindingId/v1":"5266a141bb753da64b330ff2a29e4c823f60e6fa06c939f9b5e10cceaf5232ac"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060action != null \u0026\u0026 action.shortcut != null\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/EditorUi.js, src/main/webapp/js/grapheditor/Format.js. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":26696}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b9efd25331bf951bb7f4aec2e8589b626be7f7bbf39621fc2c3d443242c5a58"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060backUrl != null \u0026\u0026 Graph.isSameOrigin(backUrl)\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/LightboxModern.js, src/main/webapp/js/grapheditor/EditorUi.js. 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/webapp/js/diagramly/LightboxModern.js"},"region":{"startLine":1898}}}],"partialFingerprints":{"codehealthFindingId/v1":"a10c1161b9cb15c31cf44cd4422739b4426bf3e9a8c74397754701796664d36c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060bg == null || bg == \u0027\u0027 || bg == mxConstants.NONE\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/Dialogs.js, src/main/webapp/js/diagramly/EditorUi.js. 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":9092}}}],"partialFingerprints":{"codehealthFindingId/v1":"465053a21c691e92ff73df2d64b41377e687643caeab59fd983b6eec7ebfefd8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060bounds != null \u0026\u0026 bounds.width \u003E 0 \u0026\u0026 bounds.height \u003E 0\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/EditorUi.js, src/main/webapp/mxgraph/src/view/mxGraph.js. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":6458}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d2545ca0fbf8828ccfec585e7d07917596e4e08955e4acb5b3f7a63c6172f5f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060branches == null || branches.length == 0\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/GitHubClient.js, src/main/webapp/js/diagramly/GitLabClient.js. 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/webapp/js/diagramly/GitHubClient.js"},"region":{"startLine":1258}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b21d34e361d717cd21405ead15722793dc025c259076775d900bcd8aff5e6bb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cell != null \u0026\u0026 !this.graph.isCellConnectable(cell)\u0060 appears character-identically in 3 files \u2014 src/main/webapp/mxgraph/src/handler/mxConnectionHandler.js, src/main/webapp/mxgraph/src/handler/mxConstraintHandler.js, src/main/webapp/mxgraph/src/handler/mxEdgeHandler.js. 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/webapp/mxgraph/src/handler/mxConnectionHandler.js"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"4275233161b81b35555bf888fb435ee93a6f3e96eb8b949edab17ae31a43f7f7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cell != null \u0026\u0026 cell != model.root \u0026\u0026 model.getParent(cell) != model.root\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/LightboxModern.js, src/main/webapp/js/diagramly/ViewerModern.js. 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/webapp/js/diagramly/LightboxModern.js"},"region":{"startLine":2252}}}],"partialFingerprints":{"codehealthFindingId/v1":"42fd05b680cce222725bf95e8908878825a5cb794c427d6ac70b25d8454a334f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cell != null \u0026\u0026 cell.getParent() != null\u0060 appears character-identically in 3 files \u2014 src/main/webapp/js/diagramly/DiffSync.js, src/main/webapp/js/diagramly/DrawioFileSync.js, src/main/webapp/js/diagramly/EditorUi.js. 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/webapp/js/diagramly/DiffSync.js"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bcad8deff6ab258eb9799306c4772bda950f1ac8d2c0eb100f169ae6558807c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cells != null \u0026\u0026 cells.length \u003E 0 \u0026\u0026 (cells.length \u003E 1 || !this.isUnlockable(cells[0]))\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/EditorUi.js, src/main/webapp/js/grapheditor/InlineToolbar.js. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":37821}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b818ef34b2d417b8fbf6e4920c3512dbeb76857d3d6f2ddaaf6745614dceab5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cells.length == 1 \u0026\u0026 graph.model.isEdge(cells[0])\u0060 appears character-identically in 3 files \u2014 src/main/webapp/js/diagramly/Trees.js, src/main/webapp/js/grapheditor/EditorUi.js, src/main/webapp/plugins/trees/trees.js. 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/webapp/js/diagramly/Trees.js"},"region":{"startLine":1601}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc6aa81039c192f44b2db11223f89c6fa8e54d37478819c8b34acba4d1bf8972"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060child != null \u0026\u0026 child.nodeType != mxConstants.NODETYPE_ELEMENT\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/Embed.js, src/main/webapp/js/embed.dev.js. 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/webapp/js/diagramly/Embed.js"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebdc7af921429758946df5eb0afab937e0fb64b372c6d1a415df104afd158672"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060color != null \u0026\u0026 color != mxConstants.NONE\u0060 appears character-identically in 4 files \u2014 src/main/webapp/mxgraph/src/shape/mxEllipse.js, src/main/webapp/mxgraph/src/shape/mxRectangleShape.js, src/main/webapp/mxgraph/src/shape/mxShape.js, src/main/webapp/mxgraph/src/util/mxUtils.js. 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/webapp/mxgraph/src/shape/mxEllipse.js"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"cce7035108ddc751bedfc6437f6eb208a3f2aea9c07d36d5afb53c1df5b8a36a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060color == null || color == mxConstants.NONE\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/grapheditor/Format.js, src/main/webapp/mxgraph/src/view/mxCellEditor.js. 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/webapp/js/grapheditor/Format.js"},"region":{"startLine":7479}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f673c57e352849c229212333b1b37e1de7e31809ada68cd4d497129493a6a96"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060config != null \u0026\u0026 typeof config === \u0027object\u0027\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/ForceExplorer.js, src/main/webapp/js/diagramly/ViewerModern.js. 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/webapp/js/diagramly/ForceExplorer.js"},"region":{"startLine":5005}}}],"partialFingerprints":{"codehealthFindingId/v1":"d38720cb3f0772c73d13041d508b91d2d69c1ce8ff3777b029907c06cd5903cd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060constraint != null \u0026\u0026 constraint.point != null\u0060 appears character-identically in 2 files \u2014 src/main/webapp/mxgraph/src/handler/mxConnectionHandler.js, src/main/webapp/mxgraph/src/handler/mxEdgeHandler.js. 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/webapp/mxgraph/src/handler/mxConnectionHandler.js"},"region":{"startLine":1531}}}],"partialFingerprints":{"codehealthFindingId/v1":"725f0cba147b7515e00cfdbe6b47d9f9504e14cce1ef845cb3a638b645189e2b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060constraint == null || constraint.point == null\u0060 appears character-identically in 2 files \u2014 src/main/webapp/mxgraph/src/view/mxCellState.js, src/main/webapp/mxgraph/src/view/mxGraph.js. 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/webapp/mxgraph/src/view/mxCellState.js"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b4fb05398eb614cdc593de2f289b95d1b3d98aaf997995e5da8690838653310"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cont != null \u0026\u0026 cont.charAt(0) != \u0027\u003C\u0027 \u0026\u0026 cont.charAt(0) != \u0027%\u0027\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/EditorUi.js, src/main/webapp/js/diagramly/ElectronApp.js. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":17795}}}],"partialFingerprints":{"codehealthFindingId/v1":"322e1ba9ba1c316ce8a12cc958dec07959318b3cdddcab0eac1e930fd0a591e2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060container.style.width != \u0027100%\u0027 \u0026\u0026 fit != \u00270\u0027 \u0026\u0026 resize == \u00271\u0027\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/Embed.js, src/main/webapp/js/embed.dev.js. 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/webapp/js/diagramly/Embed.js"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc84033626cf6d2525395cae290e3457c09ba9792381c0ca53d0135a86b07105"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060currentFile != null \u0026\u0026 currentFile.isModified()\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/EditorUi.js, src/main/webapp/js/diagramly/Menus.js. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":31021}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c52a56e380c1c3c9bb2aed743d4f65ed3fd518af196e51623493d3fb9e52039"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060diagrams[0].getAttribute(\u0027name\u0027) || mxResources.get(\u0027pageWithNumber\u0027, [1], \u0027Page-1\u0027)\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/Embed.js, src/main/webapp/js/embed.dev.js. 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/webapp/js/diagramly/Embed.js"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"42afe8c44d551861e5bb9de2c0e2f4402cbbc0ca91f82c81cde1ccd6b665842d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060dir == mxConstants.DIRECTION_EAST || dir == mxConstants.DIRECTION_WEST\u0060 appears character-identically in 3 files \u2014 src/main/webapp/js/diagramly/Trees.js, src/main/webapp/js/grapheditor/EditorUi.js, src/main/webapp/plugins/trees/trees.js. 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/webapp/js/diagramly/Trees.js"},"region":{"startLine":1495}}}],"partialFingerprints":{"codehealthFindingId/v1":"21845b3cc89125cbf99b2be1136173cd051974c2fd6cb4e2de8f3b4705c9c0b5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060dir == mxConstants.DIRECTION_NORTH || dir == mxConstants.DIRECTION_SOUTH\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/grapheditor/Shapes.js, src/main/webapp/mxgraph/src/view/mxEdgeStyle.js. 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/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":1048}}}],"partialFingerprints":{"codehealthFindingId/v1":"d95c20c151131443bdf7d5453a200c9c61c131ad3f3d0a974921e49c2538a838"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060dir == mxConstants.DIRECTION_SOUTH || dir == mxConstants.DIRECTION_NORTH\u0060 appears character-identically in 3 files \u2014 src/main/webapp/js/diagramly/Trees.js, src/main/webapp/mxgraph/src/view/mxGraph.js, src/main/webapp/plugins/trees/trees.js. 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/webapp/js/diagramly/Trees.js"},"region":{"startLine":1165}}}],"partialFingerprints":{"codehealthFindingId/v1":"743fc731fdc1fa5af18b4bbfe7005e2d2484cc062fd18ddb3c82709e42107775"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060dir == mxConstants.TEXT_DIRECTION_LTR || dir == mxConstants.TEXT_DIRECTION_RTL\u0060 appears character-identically in 2 files \u2014 src/main/webapp/mxgraph/src/shape/mxText.js, src/main/webapp/mxgraph/src/view/mxCellEditor.js. 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/webapp/mxgraph/src/shape/mxText.js"},"region":{"startLine":1106}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f71e7c487f503ad071fa14926ee8463a429d21211f03004b5787360457ae8d2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060direction != mxConstants.DIRECTION_NORTH \u0026\u0026 direction != mxConstants.DIRECTION_WEST\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/Trees.js, src/main/webapp/plugins/trees/trees.js. 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/webapp/js/diagramly/Trees.js"},"region":{"startLine":1679}}}],"partialFingerprints":{"codehealthFindingId/v1":"97915b4978804b9d20ae9618fa7e14f55af0ccd4c866a8f43a22bb789b2f8510"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060direction == mxConstants.DIRECTION_EAST || direction == mxConstants.DIRECTION_WEST\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/Trees.js, src/main/webapp/plugins/trees/trees.js. 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/webapp/js/diagramly/Trees.js"},"region":{"startLine":1496}}}],"partialFingerprints":{"codehealthFindingId/v1":"8600cb5c419c360a9d29ae35ea9bf5359ea566dc8c206d40b3e51a5d1f17861b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060direction == mxConstants.DIRECTION_NORTH || direction == mxConstants.DIRECTION_SOUTH\u0060 appears character-identically in 8 files \u2014 src/main/webapp/js/diagramly/Dialogs.js, src/main/webapp/js/grapheditor/Shapes.js, src/main/webapp/mxgraph/src/shape/mxStencil.js, src/main/webapp/mxgraph/src/view/mxCellState.js. 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":25023}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f2d2a9a38b031c572aa913c69774e4dcd0466de283317650152d7c22d82748c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060direction == mxConstants.DIRECTION_NORTH || direction == mxConstants.DIRECTION_WEST\u0060 appears character-identically in 3 files \u2014 src/main/webapp/js/diagramly/Trees.js, src/main/webapp/mxgraph/src/view/mxPerimeter.js, src/main/webapp/plugins/trees/trees.js. 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/webapp/js/diagramly/Trees.js"},"region":{"startLine":1526}}}],"partialFingerprints":{"codehealthFindingId/v1":"104effd53d15b64014ca53f00d4b32842f6be9b4467448ce0463f405bc7e98a6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060dist != null \u0026\u0026 (min == null || dist \u003C min)\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/ForceExplorer.js, src/main/webapp/js/grapheditor/EditorUi.js. 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/webapp/js/diagramly/ForceExplorer.js"},"region":{"startLine":1379}}}],"partialFingerprints":{"codehealthFindingId/v1":"69b7c2b9b80db4509878e44c8d4365036481571ae33d5d706ab163339e3311a5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060divs.length \u003E 0 \u0026\u0026 divs[0].getAttribute(\u0027class\u0027) == \u0027mxgraph\u0027\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/Embed.js, src/main/webapp/js/embed.dev.js. 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/webapp/js/diagramly/Embed.js"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"82da07f691fbf6828aacde5398eaf4c2f899170019416b4a78456ae20ca6a5bf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060dlg != null \u0026\u0026 dlg.firstElementChild != null\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/Dialogs.js, src/main/webapp/js/diagramly/LayoutPicker.js. 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":23049}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcbc9531943aa9af12f11f2dc2208ad68c176777205d9eddd3281b29221cf8e4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060document.activeElement == null || document.activeElement == document.body\u0060 appears character-identically in 3 files \u2014 src/main/webapp/js/diagramly/HomeDialog.js, src/main/webapp/js/grapheditor/Menus.js, src/main/webapp/mxgraph/src/util/mxPopupMenu.js. 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/webapp/js/diagramly/HomeDialog.js"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"7274c8bb8f1beae30920a6e42792c566144f006e4b6d39999d056d635a7eb033"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060document.documentElement.clientHeight || 0\u0060 appears character-identically in 3 files \u2014 src/main/webapp/js/diagramly/EditorUi.js, src/main/webapp/js/diagramly/GraphViewer.js, src/main/webapp/mxgraph/src/util/mxWindow.js. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":2252}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0bc849caada0316c8a9a920c01cf54c76cc5de9092b7cc91dc90af2bb0c9304"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060evt.data == \u0027ready\u0027 \u0026\u0026 evt.source == wnd\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/Embed.js, src/main/webapp/js/embed.dev.js. 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/webapp/js/diagramly/Embed.js"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"272b140c8238ef2d3ef0f22f1dc4b1fb9cbd100b5aa61adec75794a7dc5aca30"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060evt.dataTransfer != null \u0026\u0026 evt.dataTransfer.files.length \u003E 0\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/Dialogs.js, src/main/webapp/js/diagramly/EditorUi.js. 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":2180}}}],"partialFingerprints":{"codehealthFindingId/v1":"62f07dc1792ac5a4f8319a7e22578364b63f537de7942ac0c458dedf18832350"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060evt.key == \u0027ArrowDown\u0027 || evt.key == \u0027ArrowUp\u0027 || evt.key == \u0027Home\u0027 || evt.key == \u0027End\u0027\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/LightboxModern.js, src/main/webapp/js/diagramly/ViewerModern.js. 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/webapp/js/diagramly/LightboxModern.js"},"region":{"startLine":2506}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f83195173ff893fa4f49a461e27aca1401f958d13376afe80668b6594ce09df"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060file != null \u0026\u0026 file.constructor == DriveFile\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/Dialogs.js, src/main/webapp/js/diagramly/Menus.js. 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":9413}}}],"partialFingerprints":{"codehealthFindingId/v1":"19515b00c6d57ccc757af86c74202b5d52243f638b9a7372a524ad88d9b1b513"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060file != null \u0026\u0026 file.fileObject != null \u0026\u0026 file.fileObject.path != null\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/Dialogs.js, src/main/webapp/js/diagramly/ElectronApp.js. 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":24754}}}],"partialFingerprints":{"codehealthFindingId/v1":"f21dfaccf37fea7fb25c75c21997d3eb05e8eeac2b80a0a953a4a1bf6ba75193"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060file != null \u0026\u0026 file.isRevisionHistorySupported()\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/EditorUi.js, src/main/webapp/js/diagramly/Menus.js. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":43836}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8dc84c8d4fc59252b0b823b6d60bf502da9367f7272a6e7d802fa067877735a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060files != null \u0026\u0026 files.value != null \u0026\u0026 files.value.length \u003E 0\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/Dialogs.js, src/main/webapp/js/diagramly/OneDriveClient.js. 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":6548}}}],"partialFingerprints":{"codehealthFindingId/v1":"4defdf2cf1b19723613de847a7cf77518426b0e6a9837cab1ad16e0984070f95"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060fn != null \u0026\u0026 graph.cellEditor.isContentEditing()\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/grapheditor/Actions.js, src/main/webapp/js/grapheditor/Menus.js. 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/webapp/js/grapheditor/Actions.js"},"region":{"startLine":1459}}}],"partialFingerprints":{"codehealthFindingId/v1":"261730cb92a108de56ba63dbc90d3962af4f6f24f79840f760a60f0ba0e3a45d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060geo != null \u0026\u0026 (center || geo.relative) \u0026\u0026 ((center \u0026\u0026 geo.x != 0) || geo.y != 0 || (geo.offset != null \u0026\u0026 (geo.offset.x != 0 || geo.offset.\u2026\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/tidy/Tidy.js, src/main/webapp/js/grapheditor/Actions.js. 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/webapp/js/diagramly/tidy/Tidy.js"},"region":{"startLine":1794}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec3b6120bda8940d932ef5e63209b9d6cfece031c8a826c1a47ed63f2bac48ae"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060geo != null \u0026\u0026 geo.points != null \u0026\u0026 geo.points.length \u003E 0\u0060 appears character-identically in 7 files \u2014 src/main/webapp/js/diagramly/EditorUi.js, src/main/webapp/js/diagramly/SpringMove.js, src/main/webapp/js/diagramly/tidy/Tidy.js, src/main/webapp/js/grapheditor/InlineToolbar.js. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":23826}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f7dbad61553fd46f0ffdc21d49a1fd5955920ccf8a09cce41a8f896721cbaac"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060graph.freehand != null \u0026\u0026 graph.freehand.isDrawing()\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/Dialogs.js, src/main/webapp/js/grapheditor/EditorUi.js. 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":27373}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1ec47bb17f23c3862bc9c1e5f7050c31cab7a1eb0af48ab008e9d7355ccf1c9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060graph.getDataSourceCells()[source.id] || []\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/Dialogs.js, src/main/webapp/js/diagramly/EditorUi.js. 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":23210}}}],"partialFingerprints":{"codehealthFindingId/v1":"e42842a7c9240a01db22164fd260adc498eb105e67d6f866d78a54debb92ddfd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060graph.isEnabled() \u0026\u0026 !graph.isCellLocked(graph.getDefaultParent())\u0060 appears character-identically in 6 files \u2014 src/main/webapp/js/diagramly/Dialogs.js, src/main/webapp/js/diagramly/EditorUi.js, src/main/webapp/js/diagramly/Menus.js, src/main/webapp/js/diagramly/mxFreehand.js. 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":28278}}}],"partialFingerprints":{"codehealthFindingId/v1":"5768aa9722884d411856ff434cd5ba76e7699f0b610d4fd4c1d3959673e2dda5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060graph.isEnabled() \u0026\u0026 !graph.isSelectionEmpty()\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/grapheditor/Actions.js, src/main/webapp/js/grapheditor/EditorUi.js. 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/webapp/js/grapheditor/Actions.js"},"region":{"startLine":1573}}}],"partialFingerprints":{"codehealthFindingId/v1":"003e708c4c7fdfc93f56dd3b4a32497e535d205b8536b03b4a77e4e146dbd91a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060graph.isEnabled() \u0026\u0026 !graph.isSelectionEmpty() \u0026\u0026 !graph.isEditing()\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/EditorUi.js, src/main/webapp/js/grapheditor/Actions.js. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":41951}}}],"partialFingerprints":{"codehealthFindingId/v1":"63cfd9ea5ef9ffdd2a10c28c6b3d6f5a06af282bc60a7d7c1edeae052c0cfda0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060graph.isEnabled() \u0026\u0026 graph.getSelectionCount() == 1\u0060 appears character-identically in 4 files \u2014 src/main/webapp/js/diagramly/Menus.js, src/main/webapp/js/diagramly/Trees.js, src/main/webapp/js/grapheditor/Menus.js, src/main/webapp/plugins/trees/trees.js. 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/webapp/js/diagramly/Menus.js"},"region":{"startLine":1197}}}],"partialFingerprints":{"codehealthFindingId/v1":"52c53294cde89dbbabf8b065a25874360c5cb8241a91c80094a36a9828c0fe06"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060graph.isStack(cell) || graph.isStackChild(cell)\u0060 appears character-identically in 3 files \u2014 src/main/webapp/js/grapheditor/Format.js, src/main/webapp/js/grapheditor/InlineToolbar.js, src/main/webapp/js/grapheditor/Menus.js. 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/webapp/js/grapheditor/Format.js"},"region":{"startLine":2489}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2432f5bd80d7efb0560d81274de68096914557e441f15062cb5da191963dad5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hl != null \u0026\u0026 hl != \u0027\u0027 \u0026\u0026 hl != mxConstants.NONE\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/Embed.js, src/main/webapp/js/embed.dev.js. 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/webapp/js/diagramly/Embed.js"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa9466f3fb984ea7ff758f4b21c5fd402191fb76c83d398b4276c3546581b916"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060href != null \u0026\u0026 href.charAt(0) == \u0027#\u0027 \u0026\u0026 links[i].getAttribute(\u0027target\u0027) == \u0027_blank\u0027\u0060 appears character-identically in 3 files \u2014 src/main/webapp/js/diagramly/EditorUi.js, src/main/webapp/js/diagramly/Embed.js, src/main/webapp/js/embed.dev.js. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":13139}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca9c5923b93aaca3f3e0dfa5cc4048b7ef883a1ded044b11476b4741f01c209f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060i !== selectedButton \u0026\u0026 i !== (selectedButton \u002B 1)\u0060 appears character-identically in 2 files \u2014 src/main/webapp/shapes/ios7/mxIOS7Ui.js, src/main/webapp/shapes/mxAndroid.js. 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/webapp/shapes/ios7/mxIOS7Ui.js"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"75bbf5f0f724acae453df32296bbb27982df4b0285691064be2438b0dc34014b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ignoreSelection || graph.isSelectionEmpty()\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/Menus.js, src/main/webapp/js/grapheditor/EditorUi.js. 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/webapp/js/diagramly/Menus.js"},"region":{"startLine":906}}}],"partialFingerprints":{"codehealthFindingId/v1":"6083ebcf8ffa45eb859baa3d272d211773c457777cd193f0dee9c5221b1abfc8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060img != null \u0026\u0026 img.width != null \u0026\u0026 img.height != null\u0060 appears character-identically in 3 files \u2014 src/main/webapp/js/diagramly/EditorUi.js, src/main/webapp/js/export.js, src/main/webapp/js/grapheditor/EditorUi.js. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":30331}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3c7d8a2559f66792524a6cbeae9d2b233e64500a974f802d424688eb6232fb9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060into != null \u0026\u0026 !(into instanceof this.template.constructor)\u0060 appears character-identically in 2 files \u2014 src/main/webapp/mxgraph/src/io/mxObjectCodec.js, src/main/webapp/mxgraph/src/io/mxStylesheetCodec.js. 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/webapp/mxgraph/src/io/mxObjectCodec.js"},"region":{"startLine":956}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a4ce677e2a24cc39ad901c3fcde52836fc3d06937bb793a51169d642b67e3f3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isFinite(x) \u0026\u0026 isFinite(y) \u0026\u0026 isFinite(w) \u0026\u0026 isFinite(h) \u0026\u0026 w \u003E 0 \u0026\u0026 h \u003E 0\u0060 appears character-identically in 3 files \u2014 src/main/webapp/js/diagramly/Dialogs.js, src/main/webapp/js/diagramly/DrawioFileSync.js, src/main/webapp/js/diagramly/Pages.js. 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":19399}}}],"partialFingerprints":{"codehealthFindingId/v1":"50f2cf4a753cc251d35030e536418dd1f92cfa69ea2003a88d87fd16a3abfd26"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isLocalStorage \u0026\u0026 urlParams[\u0027browser\u0027] != \u00270\u0027\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/Dialogs.js, src/main/webapp/js/diagramly/Menus.js. 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":4839}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7a6dd17bf39d47ce100bbf4b8ea964365008347b38d3f28c0157952061a00ab"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060itemObj.parentReference != null \u0026\u0026 itemObj.parentReference.driveId != null\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/OneDriveClient.js, src/main/webapp/js/diagramly/OneDriveFile.js. 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/webapp/js/diagramly/OneDriveClient.js"},"region":{"startLine":1466}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c8dd7d8cfa3ec889434fbf8ab1bd2cb27209929de958883fbed1aae1187ec5d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060key.substring(0, 7) != \u0027http://\u0027 \u0026\u0026 key.substring(0, 8) != \u0027https://\u0027 \u0026\u0026 key.substring(0, 10) != \u0027data:image\u0027\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/Embed.js, src/main/webapp/js/embed.dev.js. 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/webapp/js/diagramly/Embed.js"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce6524df8760f7b8c941635aee44ecfee1ea15ffb184262eff940c5f2fcae2be"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060links[i].getAttribute(\u0027rel\u0027) == \u0027stylesheet\u0027 \u0026\u0026 href != null \u0026\u0026 /(^|\\/)grapheditor\\.css([?#]|$)/.test(href)\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/bootstrap.js, src/main/webapp/js/diagramly/FusionTheme.js. 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/webapp/js/bootstrap.js"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dc6d779784c60d6dfdb320c14c9a3d16b5494431df955e4051f18e2b34b3d33"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060model.isEdge(result[i]) \u0026\u0026 model.getTerminal(result[i], true) == null\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/Trees.js, src/main/webapp/plugins/trees/trees.js. 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/webapp/js/diagramly/Trees.js"},"region":{"startLine":1005}}}],"partialFingerprints":{"codehealthFindingId/v1":"568fa4ed11e364bacdfbceb54ad0f6a6ef117c51636a5ec0b7d87c0dc287c489"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060model.isVertex(cell) || model.isEdge(cell)\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/LayoutPicker.js, src/main/webapp/mxgraph/src/handler/mxVertexHandler.js. 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/webapp/js/diagramly/LayoutPicker.js"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1d83e5418959dcf27ba0772c607052c63eee6e4c9a0d0c823991352e7fdbc23"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060model.isVertex(cells[i]) || model.isEdge(cells[i])\u0060 appears character-identically in 2 files \u2014 src/main/webapp/mxgraph/src/handler/mxGraphHandler.js, src/main/webapp/mxgraph/src/view/mxGraphView.js. 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/webapp/mxgraph/src/handler/mxGraphHandler.js"},"region":{"startLine":849}}}],"partialFingerprints":{"codehealthFindingId/v1":"00a52f0f494611ca036d1a5ae2aa3ef62faabd446bb266139361eb9b0e80fc6c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060mxClient.IS_CHROMEAPP || EditorUi.isElectronApp\u0060 appears character-identically in 3 files \u2014 src/main/webapp/js/diagramly/Dialogs.js, src/main/webapp/js/diagramly/EditorUi.js, src/main/webapp/js/diagramly/Menus.js. 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"efc3b5c9538cbaa958544086fa5984e8b72fe29f3b3350a6ca2a57378fdd7a52"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060mxClient.IS_GC || mxClient.IS_FF || document.documentMode \u003E= 5\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/Dialogs.js, src/main/webapp/js/diagramly/EditorUi.js. 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c36822bfa361b5a8eca40477bfd387acee0d875746c0544e8b680cc753295ce"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060mxEvent.isControlDown(evt) || (mxClient.IS_MAC \u0026\u0026 mxEvent.isMetaDown(evt))\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/EditorUi.js, src/main/webapp/js/diagramly/Trees.js. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":2486}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ca5cf162c8f0d222649210a06e8f57243ae36d80ea73f0c9696a8684bc4d901"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060mxEvent.isShiftDown(me.getEvent()) \u0026\u0026 mxEvent.isAltDown(me.getEvent())\u0060 appears character-identically in 2 files \u2014 src/main/webapp/mxgraph/src/handler/mxConnectionHandler.js, src/main/webapp/mxgraph/src/handler/mxEdgeHandler.js. 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/webapp/mxgraph/src/handler/mxConnectionHandler.js"},"region":{"startLine":1042}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee78a814c8b1f7cc5b4aae450cf7912b8df12121988ef70e203e209c745bba89"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060mxResources.get(\u0027pageNotFound\u0027) || \u0027Page not found\u0027\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/EditorUi.js, src/main/webapp/js/diagramly/GraphViewer.js. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":27978}}}],"partialFingerprints":{"codehealthFindingId/v1":"6079fd09fa2a8b34964099066411714ed86a9e2f5da2c2d984c90badc05e32b5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060mxUtils.getValue(state.style, mxConstants.STYLE_ROTATION) || 0\u0060 appears character-identically in 3 files \u2014 src/main/webapp/mxgraph/src/handler/mxConnectionHandler.js, src/main/webapp/mxgraph/src/util/mxUtils.js, src/main/webapp/mxgraph/src/view/mxGraph.js. 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/webapp/mxgraph/src/handler/mxConnectionHandler.js"},"region":{"startLine":890}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bae9cd4286be592d4b5d41e96a955f58c5a7be7af11d83fa32a123e9f4d790e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060navigator.clipboard != null \u0026\u0026 typeof window.ClipboardItem === \u0027function\u0027\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/EditorUi.js, src/main/webapp/js/diagramly/LightboxModern.js. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":28390}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aa47f98c7ae601db5532f6b97236db01eeb9415866877fa11ea5f2706878596"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060navigator.userAgent != null \u0026\u0026 navigator.userAgent.indexOf(\u0027MSIE 9\u0027) \u003E 0\u0060 appears character-identically in 3 files \u2014 src/main/webapp/js/diagramly/Embed.js, src/main/webapp/js/diagramly/GraphViewer.js, src/main/webapp/js/embed.dev.js. 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/webapp/js/diagramly/Embed.js"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"05d70892550b2c5c2b71cf0e38d006a617124140079f9a25062f1c4c8e148b64"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060navigator.userAgent != null \u0026\u0026 navigator.userAgent.toLowerCase().indexOf(\u0027 electron/\u0027) \u003E -1 \u0026\u0026 navigator.userAgent.indexOf(\u0027 draw.io/\u0027) \u003E -1\u0060 appears character-identically in 3 files \u2014 src/main/webapp/js/bootstrap.js, src/main/webapp/js/export.js, src/main/webapp/js/vsdxImporter.js. 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/webapp/js/bootstrap.js"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"b62bbae75b0cd4d1a667cbf17073e8e9698f10dc7f5cebbf18b527e402618b05"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060newColor == null || newColor == mxConstants.NONE\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/grapheditor/Format.js, src/main/webapp/js/grapheditor/Toolbar.js. 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/webapp/js/grapheditor/Format.js"},"region":{"startLine":6300}}}],"partialFingerprints":{"codehealthFindingId/v1":"733f6410eb2ff9b56b42cb064ce92cfe6cd51b567bae24fe79cc4d4bc7a6662f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060newDocument != null \u0026\u0026 newDocument.documentElement.nodeName == \u0027html\u0027\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/Embed.js, src/main/webapp/js/embed.dev.js. 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/webapp/js/diagramly/Embed.js"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fa46ac4980c1cfd2477103ca921e396d8baec800180cd757e8ade171fff50e3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060newDocument != null \u0026\u0026 newDocument.documentElement.nodeName == \u0027svg\u0027\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/Embed.js, src/main/webapp/js/embed.dev.js. 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/webapp/js/diagramly/Embed.js"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"df7d7e5a95b6d5729511a7a9a3254193ba58a5283d49e78fa9af4d3bee5b9678"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060newEdges.length == 0 \u0026\u0026 edges.length \u003E 0\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/Trees.js, src/main/webapp/plugins/trees/trees.js. 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/webapp/js/diagramly/Trees.js"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"66fb3584f809f1b84fb6a5fb3cbd59fba9565961841e685c53c3b158459f24e4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060nextPageDiv != null \u0026\u0026 nextPageDiv.parentNode != null\u0060 appears character-identically in 3 files \u2014 src/main/webapp/js/diagramly/GitHubClient.js, src/main/webapp/js/diagramly/GitLabClient.js, src/main/webapp/js/diagramly/TrelloClient.js. 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/webapp/js/diagramly/GitHubClient.js"},"region":{"startLine":1074}}}],"partialFingerprints":{"codehealthFindingId/v1":"463392942fa6b75ce16782bfd04c5f65c0c473adcc9376ae259bf3931c79aaba"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060node != null \u0026\u0026 graph.cellEditor.textarea != null\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/grapheditor/Format.js, src/main/webapp/js/grapheditor/Menus.js. 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/webapp/js/grapheditor/Format.js"},"region":{"startLine":6618}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4224934aab39605d4158f33501e5985aaffd9fb843f48ba76240030f026c38e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060node != null \u0026\u0026 node.nodeName == \u0027mxGraphModel\u0027\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/GraphViewer.js, src/main/webapp/js/diagramly/Pages.js. 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/webapp/js/diagramly/GraphViewer.js"},"region":{"startLine":3391}}}],"partialFingerprints":{"codehealthFindingId/v1":"7608871df23d53797d63bf0ea504e55f12b20ca4997e022a1039eb28bd89bfc0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060node != null \u0026\u0026 node.nodeName == \u0027mxfile\u0027\u0060 appears character-identically in 4 files \u2014 src/main/webapp/js/diagramly/DrawioFile.js, src/main/webapp/js/diagramly/EditorUi.js, src/main/webapp/js/diagramly/GraphViewer.js, src/main/webapp/js/diagramly/Pages.js. 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/webapp/js/diagramly/DrawioFile.js"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eb7bbf6fb57ae248cfa291e64a710a0c2b57a2fb0f3755f171f4e06777a18ad"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060node.firstChild != null \u0026\u0026 node.firstChild.nodeType == mxConstants.NODETYPE_ELEMENT\u0060 appears character-identically in 2 files \u2014 src/main/webapp/mxgraph/src/io/mxChildChangeCodec.js, src/main/webapp/mxgraph/src/io/mxRootChangeCodec.js. 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/webapp/mxgraph/src/io/mxChildChangeCodec.js"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"69c42d61ce8da4d6a1f93e219cd776e63fee5d845aedc4f908d7b2dbcc6c88e6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060obj != null \u0026\u0026 typeof obj === \u0027object\u0027 \u0026\u0026 !Array.isArray(obj)\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/EditorUi.js, src/main/webapp/js/diagramly/LayoutPicker.js. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":4640}}}],"partialFingerprints":{"codehealthFindingId/v1":"e84fa95377a1187ea2429738441e5673bca946feb4a65f4fd2b22d06a4c83b8e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060patches[i] != null \u0026\u0026 patches[i][EditorUi.DIFF_FILE] != null \u0026\u0026 patches[i][EditorUi.DIFF_FILE].vars !== undefined\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/DrawioFile.js, src/main/webapp/js/diagramly/DrawioFileSync.js. 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/webapp/js/diagramly/DrawioFile.js"},"region":{"startLine":3975}}}],"partialFingerprints":{"codehealthFindingId/v1":"938c0ab2396ee65dd651c196e602bc2caddae01a1aa9da26aaeca9e24fff0df5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060polyline == 1 || polyline === true || polyline === \u0027true\u0027 || polyline === \u00271\u0027\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/Dialogs.js, src/main/webapp/shapes/mxBasic.js. 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":25742}}}],"partialFingerprints":{"codehealthFindingId/v1":"59880178236806addcd54110950750207eb7467cff29e15b1dcdaa7bbd629ff9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060pt.y == state.y \u0026\u0026 Math.abs(pt.x - state.getCenterX()) \u003C state.width / 2\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/Trees.js, src/main/webapp/plugins/trees/trees.js. 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/webapp/js/diagramly/Trees.js"},"region":{"startLine":1067}}}],"partialFingerprints":{"codehealthFindingId/v1":"91a8d97559f3421bdee2c4a27b08cd610a7e743c8a01565d8fe83941e57f98cf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060pt.y == state.y \u002B state.height \u0026\u0026 Math.abs(pt.x - state.getCenterX()) \u003C state.width / 2\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/Trees.js, src/main/webapp/plugins/trees/trees.js. 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/webapp/js/diagramly/Trees.js"},"region":{"startLine":1071}}}],"partialFingerprints":{"codehealthFindingId/v1":"72c270c3fd8c459b9d8ce550a3489bdd74444eeb3e103bc8c407344a62cea62c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060req.getStatus() \u003E= 200 \u0026\u0026 req.getStatus() \u003C= 299\u0060 appears character-identically in 12 files \u2014 src/main/webapp/js/diagramly/Dialogs.js, src/main/webapp/js/diagramly/DrawioClient.js, src/main/webapp/js/diagramly/DrawioFileSync.js, src/main/webapp/js/diagramly/EditorUi.js. 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":3377}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f28197ae0c6739b91305552c795ef9e8a84522e216d9a5de725156e230218ef"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060resize != \u00270\u0027 \u0026\u0026 container.style.width == \u0027100%\u0027 \u0026\u0026 container.style.height == \u0027\u0027\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/Embed.js, src/main/webapp/js/embed.dev.js. 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/webapp/js/diagramly/Embed.js"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"382f63d5ae057e83f074319b6cbccb50b380c9ddd4a2b7bc14f66c746d0459ae"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result != null \u0026\u0026 typeof result.then === \u0027function\u0027\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/LightboxModern.js, src/main/webapp/js/grapheditor/EditorUi.js. 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/webapp/js/diagramly/LightboxModern.js"},"region":{"startLine":3491}}}],"partialFingerprints":{"codehealthFindingId/v1":"66dbd362acccdb1460f408e53e79822a68a4fc31efb13f34f8645a7e11a3c146"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060root == null || st.deg[st.roots[i]] \u003E st.deg[root]\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/tidy/Tidy.js, src/main/webapp/js/diagramly/tidy/TidyStyle.js. 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/webapp/js/diagramly/tidy/Tidy.js"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ff82879f2296c05a057b666d19ab93fa58bbfa1bfbd5c5c21d738006425a78f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060source == terminal \u0026\u0026 target != null \u0026\u0026 target != terminal \u0026\u0026 targets\u0060 appears character-identically in 2 files \u2014 src/main/webapp/mxgraph/src/model/mxGraphModel.js, src/main/webapp/mxgraph/src/view/mxGraph.js. 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/webapp/mxgraph/src/model/mxGraphModel.js"},"region":{"startLine":1531}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f97dc0e13488d21908bfd4928b3f31529ac33c4c2818383930767cfb5f85973"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060src.substring(0, 7) == \u0027http://\u0027 || src.substring(0, 8) == \u0027https://\u0027\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/util/mxAsyncCanvas.js, src/main/webapp/js/diagramly/util/mxJsCanvas.js. 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/webapp/js/diagramly/util/mxAsyncCanvas.js"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd02746d2de8922a9047e20d31525510936b06b898e31cdbb93f2be8583164bd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ss.style[\u0027colspan\u0027] \u003E 1 || ss.style[\u0027rowspan\u0027] \u003E 1\u0060 appears character-identically in 3 files \u2014 src/main/webapp/js/diagramly/EditorUi.js, src/main/webapp/js/grapheditor/Format.js, src/main/webapp/js/grapheditor/Menus.js. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":23845}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f6c3e55b1a43ab55ce7208ed94e5e2d7e2d03593826fe5e4839903e9951bbdd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060state != null \u0026\u0026 mxUtils.getValue(state.style, mxConstants.STYLE_SHAPE) === \u0027mxgraph.basic.polygon\u0027\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/Menus.js, src/main/webapp/js/grapheditor/Menus.js. 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/webapp/js/diagramly/Menus.js"},"region":{"startLine":1144}}}],"partialFingerprints":{"codehealthFindingId/v1":"557835ad0b785ab27970f18c60dfe07001f3a407373e0e46f65df6e0ef43deb0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060state != null \u0026\u0026 state.absolutePoints != null\u0060 appears character-identically in 3 files \u2014 src/main/webapp/js/diagramly/DevTools.js, src/main/webapp/mxgraph/src/layout/mxParallelEdgeLayout.js, src/main/webapp/mxgraph/src/view/mxGraph.js. 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/webapp/js/diagramly/DevTools.js"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eb3617797ddadbea65371316028c99d4d9fe9d39b8c87ee8c6060a30a7fc937"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060state != null \u0026\u0026 state.shape != null \u0026\u0026 state.shape.node != null\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/ForceExplorer.js, src/main/webapp/js/diagramly/Menus.js. 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/webapp/js/diagramly/ForceExplorer.js"},"region":{"startLine":4446}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf2f25a07390a611ba14aff1434b60adc39c0451cdb17dd03b2f17eef119b438"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060state != null \u0026\u0026 state.shape != null \u0026\u0026 state.shape.stencil != null\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/LibavoidRouting.js, src/main/webapp/js/diagramly/Menus.js. 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/webapp/js/diagramly/LibavoidRouting.js"},"region":{"startLine":2463}}}],"partialFingerprints":{"codehealthFindingId/v1":"3308f614d28f53fda4168dccc144b33c7b0c253414977d371717154eb893efdc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060state.shape != null \u0026\u0026 state.shape.stencil != null\u0060 appears character-identically in 3 files \u2014 src/main/webapp/js/diagramly/Dialogs.js, src/main/webapp/js/diagramly/EditorUi.js, src/main/webapp/js/diagramly/LibavoidRouting.js. 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":21046}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2dc007c27173aab7615d3f255286bec5cc3e3e4608c55293f96e91ccb306377"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060state.style[mxConstants.STYLE_ALIGN] || mxConstants.ALIGN_CENTER\u0060 appears character-identically in 2 files \u2014 src/main/webapp/mxgraph/src/view/mxCellRenderer.js, src/main/webapp/mxgraph/src/view/mxGraph.js. 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/webapp/mxgraph/src/view/mxCellRenderer.js"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"810eee9924ae3ead0bd2b308223144242ac1af92f348701625bb7ad78d881e5f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060target == terminal \u0026\u0026 source != null \u0026\u0026 source != terminal \u0026\u0026 sources\u0060 appears character-identically in 2 files \u2014 src/main/webapp/mxgraph/src/model/mxGraphModel.js, src/main/webapp/mxgraph/src/view/mxGraph.js. 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/webapp/mxgraph/src/model/mxGraphModel.js"},"region":{"startLine":1539}}}],"partialFingerprints":{"codehealthFindingId/v1":"30b68319c58bec9b1e56353a90be7f6080457b3e8bd9bf31abafb901928f664e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060temp != null \u0026\u0026 ((!horizontal \u0026\u0026 (Math.min(temp.x \u002B temp.width, state.x \u002B state.width) \u003E= Math.max(temp.x, state.x))) || (horizontal \u0026\u0026 (Mat\u2026\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/Trees.js, src/main/webapp/plugins/trees/trees.js. 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/webapp/js/diagramly/Trees.js"},"region":{"startLine":1472}}}],"partialFingerprints":{"codehealthFindingId/v1":"f29c2b6be98057865a9a5125e1dfbbbf23b8dbc65194ca9219eeb95b19c47ca1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060temp != null \u0026\u0026 temp.errors != null \u0026\u0026 temp.errors.length \u003E 0\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/GitHubClient.js, src/main/webapp/js/diagramly/GitLabClient.js. 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/webapp/js/diagramly/GitHubClient.js"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a44f238d88244067d978c66dcaf66b181ca13d344909a9038f3314c112e2c0f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060this.currentState != null \u0026\u0026 (me.getState() == this.currentState || me.getState() == null) \u0026\u0026 graph.intersects(this.currentState, me.getGrap\u2026\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/Embed.js, src/main/webapp/js/embed.dev.js. 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/webapp/js/diagramly/Embed.js"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1d36deb655686fa8d31bba76834265d8c1d47344e84cba93119d29dbf5ba047"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060this.customHandles != null \u0026\u0026 this.isCustomHandleEvent(me)\u0060 appears character-identically in 2 files \u2014 src/main/webapp/mxgraph/src/handler/mxEdgeHandler.js, src/main/webapp/mxgraph/src/handler/mxVertexHandler.js. 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/webapp/mxgraph/src/handler/mxEdgeHandler.js"},"region":{"startLine":879}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e3f2ae4a151867f7ababd2821e7a21e240b952a27258fc8cbf21628a1712c75"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060this.direction == mxConstants.DIRECTION_NORTH || this.direction == mxConstants.DIRECTION_SOUTH\u0060 appears character-identically in 4 files \u2014 src/main/webapp/js/grapheditor/Shapes.js, src/main/webapp/mxgraph/src/shape/mxShape.js, src/main/webapp/mxgraph/src/shape/mxSwimlane.js, src/main/webapp/shapes/mxArrows.js. 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/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1602e84cc1ca3cf7dce7ab97dde9390bab2b77dbc525096cd57dc4041015185"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060this.fill != null \u0026\u0026 this.fill != mxConstants.NONE \u0026\u0026 this.gradient \u0026\u0026 this.gradient != mxConstants.NONE\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/grapheditor/Shapes.js, src/main/webapp/mxgraph/src/shape/mxShape.js. 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/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":4107}}}],"partialFingerprints":{"codehealthFindingId/v1":"164d0254e6f7c3c646510f93b3a3c2dafa006fcbbaa26b532b427e718b5a3621"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060this.getCurrentFile() == null \u0026\u0026 urlParams[\u0027embed\u0027] != \u00271\u0027\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/EditorUi.js, src/main/webapp/js/diagramly/ElectronApp.js. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":30783}}}],"partialFingerprints":{"codehealthFindingId/v1":"f110a4d477c9be91ea0ea9a1afbeb8edf9b3ccd0b3cdc665ad8ab67d237761e2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060this.glass \u0026\u0026 !this.outline \u0026\u0026 this.fill != null \u0026\u0026 this.fill != mxConstants.NONE\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/grapheditor/Shapes.js, src/main/webapp/mxgraph/src/shape/mxRectangleShape.js. 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/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":3223}}}],"partialFingerprints":{"codehealthFindingId/v1":"32965daaabd84e3769c3d8c0b081dc9152187f0f28e88a0633137ec0e1dda8b9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060this.graph.getModel().isVertex(parent) \u0026\u0026 this.graph.isCellConnectable(parent)\u0060 appears character-identically in 3 files \u2014 src/main/webapp/mxgraph/src/handler/mxConnectionHandler.js, src/main/webapp/mxgraph/src/handler/mxConstraintHandler.js, src/main/webapp/mxgraph/src/handler/mxEdgeHandler.js. 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/webapp/mxgraph/src/handler/mxConnectionHandler.js"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cfbbb1ee2fee41b93623191d87a1ddab9134c5df185933cc254f988118ee6f2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060this.graph.isCellConnectable(me.getCell()) \u0026\u0026 this.marker.getValidState() != me.getState()\u0060 appears character-identically in 2 files \u2014 src/main/webapp/mxgraph/src/handler/mxConnectionHandler.js, src/main/webapp/mxgraph/src/handler/mxEdgeHandler.js. 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/webapp/mxgraph/src/handler/mxConnectionHandler.js"},"region":{"startLine":1172}}}],"partialFingerprints":{"codehealthFindingId/v1":"cce53d53e6c0fa435ea8986fd5475e602434965a98a3ab8ae7a7339973607aaa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060this.outlineConnect \u0026\u0026 ((mxEvent.isShiftDown(me.getEvent()) \u0026\u0026 !mxEvent.isAltDown(me.getEvent())) || (me.isSource(this.marker.highlight.shap\u2026\u0060 appears character-identically in 2 files \u2014 src/main/webapp/mxgraph/src/handler/mxConnectionHandler.js, src/main/webapp/mxgraph/src/handler/mxEdgeHandler.js. 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/webapp/mxgraph/src/handler/mxConnectionHandler.js"},"region":{"startLine":1061}}}],"partialFingerprints":{"codehealthFindingId/v1":"086dcb4e63751184b26794758ac40a6a283ed64ae83cd389d21193a30033ec75"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060this.pages != null \u0026\u0026 this.pages.length \u003E 1 \u0026\u0026 this.currentPage != null\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/EditorUi.js, src/main/webapp/js/grapheditor/EditorUi.js. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":4222}}}],"partialFingerprints":{"codehealthFindingId/v1":"b567f87d0dc50ecef9382c2c2f71e641853f908edbb909d92a617eb26d703f81"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060this.popover != null \u0026\u0026 !mxUtils.isAncestorNode(this.popover, src) \u0026\u0026 !mxUtils.isAncestorNode(this.popoverAnchor, src)\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/LightboxModern.js, src/main/webapp/js/diagramly/ViewerModern.js. 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/webapp/js/diagramly/LightboxModern.js"},"region":{"startLine":3573}}}],"partialFingerprints":{"codehealthFindingId/v1":"b33a17bb5d683bf830236ea84b107ccac50ec0c03ee035d65fd34e329414bee6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060this.popover != null \u0026\u0026 this.popoverAnchor == anchor\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/LightboxModern.js, src/main/webapp/js/diagramly/ViewerModern.js. 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/webapp/js/diagramly/LightboxModern.js"},"region":{"startLine":2348}}}],"partialFingerprints":{"codehealthFindingId/v1":"994a9be64ee3b642e9949cc63781de27e5d8ecdf09beefd1196310b7d2251b95"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060this.shape != null \u0026\u0026 this.shape.node != null\u0060 appears character-identically in 3 files \u2014 src/main/webapp/mxgraph/src/handler/mxEdgeHandler.js, src/main/webapp/mxgraph/src/handler/mxHandle.js, src/main/webapp/shapes/mxBasic.js. 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/webapp/mxgraph/src/handler/mxEdgeHandler.js"},"region":{"startLine":1853}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d1ffc068fe7579691d19716de800b407ad3a5d38a1cd464887ec520343b1ab3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060this.spinner != null \u0026\u0026 this.spinner.pause != null\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/EditorUi.js, src/main/webapp/js/diagramly/ElectronApp.js. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":7703}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3a1db0146d8e17a39f575b1f6a699f38aeca25869f9b740f7b476aa75a1c136"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060this.state.style[mxConstants.STYLE_ROTATION] || \u00270\u0027\u0060 appears character-identically in 2 files \u2014 src/main/webapp/mxgraph/src/handler/mxCellHighlight.js, src/main/webapp/mxgraph/src/handler/mxVertexHandler.js. 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/webapp/mxgraph/src/handler/mxCellHighlight.js"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"547bb5bc420b25c8ddade9535d0fa24d58813201183e34265d1b7ef7a3efb0f6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060this.state.text != null \u0026\u0026 this.state.text.node.parentNode == this.graph.container\u0060 appears character-identically in 2 files \u2014 src/main/webapp/mxgraph/src/handler/mxEdgeHandler.js, src/main/webapp/mxgraph/src/handler/mxHandle.js. 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/webapp/mxgraph/src/handler/mxEdgeHandler.js"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"988271dc1ccfc41a1f2b1aa13899558daad9a471f88a4f0731831862920445ad"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060this.style != null \u0026\u0026 this.style[mxConstants.STYLE_CURVED] == 1\u0060 appears character-identically in 3 files \u2014 src/main/webapp/mxgraph/src/shape/mxArrowConnector.js, src/main/webapp/mxgraph/src/shape/mxConnector.js, src/main/webapp/mxgraph/src/shape/mxPolyline.js. 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/webapp/mxgraph/src/shape/mxArrowConnector.js"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e35cd2a6de8a97386ec9d909db6ca29725e59624a4be27cef27ccd957a47802"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060this.style[\u0027symbol\u0027 \u002B counter \u002B \u0027Spacing\u0027] || 0\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/grapheditor/Shapes.js, src/main/webapp/shapes/mxSysML.js. 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/webapp/js/grapheditor/Shapes.js"},"region":{"startLine":3375}}}],"partialFingerprints":{"codehealthFindingId/v1":"3989d045a9e7431abfdee830b0155f72907cfcf56fe116ad2b964716e5bd4c42"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060this.waitCounter == 0 \u0026\u0026 this.onComplete != null\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/util/mxAsyncCanvas.js, src/main/webapp/js/diagramly/util/mxJsCanvas.js. 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/webapp/js/diagramly/util/mxAsyncCanvas.js"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"c984498f55b46ec74e78a170e55d321aef90721c6b19d76ac788e2eecde26ec5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060tmp != null \u0026\u0026 tmp.charAt(0) != \u0027\u003C\u0027 \u0026\u0026 tmp.charAt(0) != \u0027%\u0027\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/Embed.js, src/main/webapp/js/embed.dev.js. 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/webapp/js/diagramly/Embed.js"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec1c05461dbcc903fe4f19b68a079329f57110005fd9bcee187f8bde18910cd1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060tmp != null \u0026\u0026 tmp.nodeType == mxConstants.NODETYPE_TEXT\u0060 appears character-identically in 2 files \u2014 src/main/webapp/mxgraph/src/io/mxCellCodec.js, src/main/webapp/mxgraph/src/util/mxUtils.js. 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/webapp/mxgraph/src/io/mxCellCodec.js"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"53da4d825d7565373a5b97dc4ba1e9b6920e8bbf15148608d6464c446f8e634a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof DrawioMathJax !== \u0027undefined\u0027 \u0026\u0026 typeof DrawioMathJax.typeset === \u0027function\u0027\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/Embed.js, src/main/webapp/js/embed.dev.js. 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/webapp/js/diagramly/Embed.js"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"f30467726c5e12e9211cd7d0f7424f08214d49d0961891102d2f020b12c37d5f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof Editor.isSimpleModern === \u0027function\u0027 \u0026\u0026 Editor.isSimpleModern()\u0060 appears character-identically in 3 files \u2014 src/main/webapp/js/diagramly/Dialogs.js, src/main/webapp/js/diagramly/EditorUi.js, src/main/webapp/js/diagramly/LayoutPicker.js. 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":14099}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6fb993035ca542b0e2b620caae27ca6766ab8798036fd7ec8284952cfa7e0f5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0027number\u0027 \u0026\u0026 isFinite(value)\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/Dialogs.js, src/main/webapp/js/diagramly/tidy/TidyFeatures.js. 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":22464}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb9d0711d9602101b36b79a6bda03a847041d8827a3bbdc5f0bba51d2feec460"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ui.currentPage != null \u0026\u0026 lastPage != ui.currentPage\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/Pages.js, src/main/webapp/js/grapheditor/EditorUi.js. 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/webapp/js/diagramly/Pages.js"},"region":{"startLine":1484}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f4cd64be3f5052deafb08722fe8b896af8c1f6503a95f9441530f0dc60edf16"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060urlParams[\u0027lang\u0027] == null \u0026\u0026 isLocalStorage\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/EditorUi.js, src/main/webapp/js/diagramly/Menus.js. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":7384}}}],"partialFingerprints":{"codehealthFindingId/v1":"6813edfbbb8b4bb37d872a58d09f93375e52153def75f0a893ff456efcbf5eb4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value != null \u0026\u0026 typeof value === \u0027object\u0027\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/EditorUi.js, src/main/webapp/js/grapheditor/EditorUi.js. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":31418}}}],"partialFingerprints":{"codehealthFindingId/v1":"196e487ce76ffe904e9ce5da735bb8dab44b470e1ce33a76da8e1b191e123e70"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value == null || value == mxConstants.NONE\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/util/mxJsCanvas.js, src/main/webapp/js/grapheditor/Format.js. 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/webapp/js/diagramly/util/mxJsCanvas.js"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f8440464dc4afb65856bf27ba5233fef9b1ee605b6b28d1b2ede74e5e5e0c2f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value.substring(0, 8) === \u0027\u003Cmxfile \u0027 || value.substring(0, 5) === \u0027\u003C?xml\u0027 || value.substring(0, 12) === \u0027\u003C!--[if IE]\u003E\u0027\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/EditorUi.js, src/main/webapp/js/diagramly/StorageFile.js. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":44175}}}],"partialFingerprints":{"codehealthFindingId/v1":"82eecdb26fc0699d7cf7f07cff5423d7f569d7cca59f76855adc232955a00de7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060w \u003E 0 \u0026\u0026 h \u003E 0 \u0026\u0026 svg.getAttribute(\u0027viewBox\u0027) == null\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/EditorUi.js, src/main/webapp/js/diagramly/tidy/Tidy.js. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":1039}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3d306f3125e04e99bc0fd5e73433c7bc6bebab2b0102db20d1e90fde7d161de"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060window.console != null \u0026\u0026 urlParams[\u0027test\u0027] == \u00271\u0027\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/DrawioFileSync.js, src/main/webapp/js/diagramly/EditorUi.js. 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/webapp/js/diagramly/DrawioFileSync.js"},"region":{"startLine":3796}}}],"partialFingerprints":{"codehealthFindingId/v1":"f20ba9f9d4beaa395ec33efa66484d83be41409c432f7dfc47188f3f18c5f8af"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060window.innerHeight || document.documentElement.clientHeight\u0060 appears character-identically in 3 files \u2014 src/main/webapp/js/diagramly/ViewerModern.js, src/main/webapp/js/diagramly/tidy/TidyWindow.js, src/main/webapp/mxgraph/src/util/mxPanningManager.js. 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/webapp/js/diagramly/ViewerModern.js"},"region":{"startLine":2062}}}],"partialFingerprints":{"codehealthFindingId/v1":"c41dfb491a5cb6b1d5ae100327dde370a7cdb2f7bc8d7e0a49b7c704bb5d06e4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060window.innerHeight || document.documentElement.clientHeight || document.body.clientHeight\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/Dialogs.js, src/main/webapp/js/diagramly/EditorUi.js. 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":2574}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb9bf69622025549931ca09ab702f49eb3e56f90a0659148e108de25277ddb2c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060window.innerWidth || document.documentElement.clientWidth\u0060 appears character-identically in 4 files \u2014 src/main/webapp/js/diagramly/LightboxModern.js, src/main/webapp/js/diagramly/ViewerModern.js, src/main/webapp/js/diagramly/tidy/TidyWindow.js, src/main/webapp/mxgraph/src/util/mxPanningManager.js. 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/webapp/js/diagramly/LightboxModern.js"},"region":{"startLine":2135}}}],"partialFingerprints":{"codehealthFindingId/v1":"b82564805b9407e946d3f4e1ec41815975f79b797548cdbf3f30a8b369400892"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth\u0060 appears character-identically in 7 files \u2014 src/main/webapp/js/diagramly/Dialogs.js, src/main/webapp/js/diagramly/EditorUi.js, src/main/webapp/js/diagramly/Menus.js, src/main/webapp/js/diagramly/Minimal.js. 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/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":2391}}}],"partialFingerprints":{"codehealthFindingId/v1":"8acab56ced19a58c9c3f0f353a9b8c6679e0ce99994443f4abc44f52de89d84f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060xhr.getStatus() \u003E= 200 \u0026\u0026 xhr.getStatus() \u003C= 299\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/EditorUi.js, src/main/webapp/js/diagramly/ElectronApp.js. 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/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":9372}}}],"partialFingerprints":{"codehealthFindingId/v1":"481a6b750054743c8322f4563cc50c5dbe7e232c0d19f7f0bede7a93574a8ac2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060xmlDocument.documentElement != null \u0026\u0026 xmlDocument.documentElement.nodeName == \u0027mxGraphModel\u0027\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/Embed.js, src/main/webapp/js/embed.dev.js. 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/webapp/js/diagramly/Embed.js"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eb881b460c6b30949134a78602b52b1ebf0290dd36bca8506d5ea1366fb0c67"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060xmlDocument.documentElement != null \u0026\u0026 xmlDocument.documentElement.nodeName == \u0027mxfile\u0027\u0060 appears character-identically in 2 files \u2014 src/main/webapp/js/diagramly/Embed.js, src/main/webapp/js/embed.dev.js. 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/webapp/js/diagramly/Embed.js"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"79a1d27334d8764cc2dd92249dd6b343966856d7081c0b34f82e63a686f4e991"}},{"ruleId":"X12","level":"warning","message":{"text":"Branch is unreachable \u2014 its condition cannot hold here: \u0060DEBUG\u0060 can never be true where it stands: it is decided by constants. The branch it guards never runs \u2014 whatever it was meant to handle is silently handled elsewhere or not at all. Remove it, or fix the test it repeats or the guard that decides it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/server/java/com/mxgraph/online/AbsAuth.java"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3ca75fe83442b35236d1b25f65b1ca17afafd70363ec8614c8c60bd973f379d"}},{"ruleId":"X12","level":"warning","message":{"text":"Branch is unreachable \u2014 its condition cannot hold here: \u0060message == null\u0060 can never be true where it stands: control only reaches it when \u0060message != null\u0060 (line 83). The conditional arm it guards never runs \u2014 whatever it was meant to handle is silently handled elsewhere or not at all. Remove it, or fix the test it repeats or the guard that decides it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/server/java/com/mxgraph/online/LogServlet.java"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"df965ed87e41629fd0314262fcd1d45c543fa921568eef4fd81ae0d9e3cbacd6"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 940 is called with an argument built by \u0060args.join(\u0027 \u0027)\u0060 (line 940), whose cost grows with the collection it walks. JavaScript 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 debug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060isLevelEnabled\u0060/\u0060isDebugEnabled\u0060 test, no debug flag, no \u0060NODE_ENV\u0060 build switch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":940}}}],"partialFingerprints":{"codehealthFindingId/v1":"f19413441e79a1c5b021c62b93b0a10b3f2b3b8117117f44ee81364b56a16589"}},{"ruleId":"X24","level":"warning","message":{"text":"Document value reaches a markup attribute unescaped: \u0060tmp\u0060 carries text this program read out of a document \u2014 an attribute or a text node, which the DOM hands back already decoded, so an entity its author wrote is a live character again \u2014 and it is written straight into the text of an element of markup built here with nothing escaping it on the way. The value is chosen by whoever authored that document, not by this program, so it can close the attribute or element it sits in and open another \u2014 a crafted document becomes markup in what this code renders. Escape \u0060tmp\u0060 at this site, or validate it against the shape the position accepts before interpolating it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":22462}}}],"partialFingerprints":{"codehealthFindingId/v1":"3978f8aee5f236b6b1cec242e0a4b259c5e45c786810e0ef1b2ffba4b8e9d87a"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060v\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etc/dependencies/dompurify-smoke.js"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6cd67fc820e2145b9616f4570a10574d8a6a747fce1f73990bdb3862f4ffbf2"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060html\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etc/dependencies/dompurify-smoke.js"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"da6c328f145a6c67aa2d72e06dd24074b8d33f147f5dd0628bef476639c89b00"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060div.innerHTML\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etc/dependencies/dompurify-smoke.js"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6a2d7806342725cb6cf3f8de00aa721571d357536ee4a7c07df7410c86cf101"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060msg\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/connect/common/js/mxReader.js"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb90f89fa36ee6552445983f66364dfa1cb61f72a8a042f1dee71a7bb7ca2b24"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060src\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through \u0060document.write\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/bootstrap.js"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fb66b1d940d9eeeeb2ce8f0c85f6783e697a0938f04af150cbfd58ca86393b4"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060((dataAppKey!=null)?\u0027 data-app-key=\u0022\u0027\u002BdataAppKey\u002B\u0027\u0022 \u0027:\u0027\u0027)\u0060 is text this program did not author, and it is written into an unquoted attribute through \u0060document.write\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML text encoding does not help in an unquoted attribute \u2014 whitespace ends it; quote the attribute and encode the value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/bootstrap.js"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"b65557eefda4660a16e37bfae13f2b14b69b4e696705c2ae3526badd1b615c70"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060message\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":4230}}}],"partialFingerprints":{"codehealthFindingId/v1":"8be5f0040dcfb8f4e2fc69972b15cf245688d1d68dd747464dc7824efddaf681"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060mxResources.get(\u0027close\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":4238}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee96bd1026dfc522845f66f9e19d889d1feea495690fd87e9d4db2dfcabaceef"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060mxUtils.htmlEntities(mxResources.get(\u0027timeAgo\u0027,[str],\u0027{1} ago\u0027))\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":8378}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f47092c3e8cea18c48d0957d5f687c6619983dd099e7024b836e972aacc1240"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060mxUtils.htmlEntities(notif.content)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":8379}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aa62ffe27cc17ec17fdc5ea590162dc5ff0b0689ad1600de6541885b05b23dd"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060DrawioConfigEditor.html\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ConfigEditor.js"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"3813591ae29156330d41ae85775521c179619c35d016f1012d3f35e19392ccdc"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060toggle.helpLink\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ConfigEditor.js"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"d48ed02c1f548fef5dccc1774287042ded4fcbabd8ba278d6df9577a547c8e0a"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060toggle.key\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ConfigEditor.js"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"83ef1dce845993c05bdda4f0a383381d5fcff429be703129e58b6070ccb3bd4c"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060toggle.key\u0060 is text this program did not author, and it is written into a quoted attribute value through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ConfigEditor.js"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"1972c3f645148098f5d36f713b3037bc7acf8026d7309fb063b2c3ecef0dc9a7"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060((url!=null)?\u0027 title=\u0022\u0027\u002BescapeAttr(url)\u002B\u0027\u0022\u0027:\u0027\u0027)\u0060 is text this program did not author, and it is written into an unquoted attribute through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML text encoding does not help in an unquoted attribute \u2014 whitespace ends it; quote the attribute and encode the value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ConfigEditor.js"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4d116cf00ea1b93c223d24109e885184c402a394e32da414ae863539369c830"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060listKey\u0060 is text this program did not author, and it is written into a quoted attribute value through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ConfigEditor.js"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"f76ce8a365f85f52bdcf177ee002172625e4234e7cce14ae88b13dd6b64e9ecf"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060listKey\u0060 is text this program did not author, and it is written into a quoted attribute value through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ConfigEditor.js"},"region":{"startLine":1012}}}],"partialFingerprints":{"codehealthFindingId/v1":"690d31906a26b07a85e5f5fc12564e0fe525a2854dbb041b3b3c903d6f59e23e"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060mxGraph.prototype.warningImage.src\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b17f35eab188b9740c9069f9e61af86c353eba8016f5c7c583191fe3ac57bb4"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060mxResources.get(\u0027googleDriveMissingClickHere\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a82390cc1939c24c71dd7beedbb843b293bf20206657b6db88d47e9d7c326a1"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060mxUtils.htmlEntities(title)\u002Bdash\u002BmxUtils.htmlEntities(mxResources.get(\u0027pickFolder\u0027))\u002B\u0027...\u0027\u002Bstate\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":4622}}}],"partialFingerprints":{"codehealthFindingId/v1":"acaa6a80171457ee7ca4caed307d7c7aee679e8a3243ee13a219c7cf44b8a884"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060mxUtils.htmlEntities(title)\u002B((shortPath!=null)?dash\u002BmxUtils.htmlEntities(shortPath):\u0027\u0027)\u002Bstate\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":4672}}}],"partialFingerprints":{"codehealthFindingId/v1":"697afb4b72bd02e2232af2ae09a6d9dc7ff20018f86b72dc4175ecb3a157d809"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060mxResources.get(\u0027current\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":8881}}}],"partialFingerprints":{"codehealthFindingId/v1":"77f2431e479a0a3dbc3d8950da41b28b13e868e730827ddeda74c803d438190e"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060mxUtils.htmlEntities(resolveWindowTitle())\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":17621}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b4b9fcdfd7a4ebf064b33b22a71048988c7489c0f8ef6f001d726c542c27c98"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060mxUtils.htmlEntities(pageName)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":24394}}}],"partialFingerprints":{"codehealthFindingId/v1":"8038508da5d77925d4311b172222f24124b31fb9eaf1937dbc607e5a857ad251"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060mxUtils.htmlEntities(layerName)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":24437}}}],"partialFingerprints":{"codehealthFindingId/v1":"0567c1592d13b0d3c9ec234df3b11bca127963cd43bba7eb0a375f3a012f6b9d"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060mxUtils.htmlEntities(mxUtils.safeDecodeURIComponent(pValue))\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":9741}}}],"partialFingerprints":{"codehealthFindingId/v1":"19ef496612de1e7f86ea91b3ded267256b189761c0e0dca172fff1798f7e738f"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060mxUtils.htmlEntities(mxUtils.safeDecodeURIComponent(pValue))\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":9875}}}],"partialFingerprints":{"codehealthFindingId/v1":"db98701ea965b094a877bf19e5a2d5ef317cb4e19900f2af5d9100e7eda088bd"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060mxUtils.htmlEntities(mxResources.get(key))\u0060 is text this program did not author, and it is written into a quoted attribute value through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":25388}}}],"partialFingerprints":{"codehealthFindingId/v1":"98ce6902b05757b81a8e42f98b3ef5913289659c6eabb997cc3443adbf7e01e3"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060Editor.tailSpin\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":25389}}}],"partialFingerprints":{"codehealthFindingId/v1":"35aa191416a54ef2348dff0470b040aa82ce00a535557fe062a0e66a35f90075"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060mxUtils.htmlEntities(Graph.rewriteGoogleFontUrl(fontUrl))\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through \u0060document.write\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":30214}}}],"partialFingerprints":{"codehealthFindingId/v1":"08b2e1d51a136ddddf46bdb9855d744b5000ab1e6804f0507a6251b1d4984da5"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060\u0027@font-face {\\n\u0027\u002B\u0027font-family: \u0022\u0027\u002BmxUtils.htmlEntities(Graph.escapeCssString(fontName))\u002B\u0027\u0022;\\n\u0027\u002B\u0027src: url(\u0022\u0027\u002BmxUtils.h\u2026\u0060 is text this program did not author, and it is written into the text of an element through \u0060document.write\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":30220}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdf60c5cd74ee3e3037f9ab9022aadc7894bdc287d46eb07f89ff4c93301b3de"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060IMAGE_PATH\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":42381}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b279093c8c26226a3979700b2cc4f2f47189ec28d409c27a9da7263c90311bd"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060mxUtils.htmlEntities(mxResources.get(\u0027noLibraries\u0027))\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":42413}}}],"partialFingerprints":{"codehealthFindingId/v1":"a43ce8613e7b46d1fdde7992cb09d086e6e9a05137f1e534a0cf789cb7b478eb"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060IMAGE_PATH\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":45921}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cc3684bf0652c3755a5ef383573a4b7bc6d37532fe4c1699a95dd7f19349ab2"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060IMAGE_PATH\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":46076}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c11098452ad2b78282b9c00083ecfc4c4c8915cb0670bb10b065701dffbb77d"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060mxUtils.htmlEntities(mxResources.get(\u0027loading\u0027))\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":46077}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ce4792512706288cd0c7ba5d88899e1b3cbb3705dd0d46994999388412959d0"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060mxUtils.htmlEntities(mxResources.get(\u0027error\u0027)\u002B(err\u0026\u0026err.message?\u0027: \u0027\u002Berr.message:\u0027\u0027))\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":46094}}}],"partialFingerprints":{"codehealthFindingId/v1":"369f48a19eb4c3669b01a4867a6dfb29353b7f97c7639fcb7f1029bdb66d6f5f"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060mxUtils.htmlEntities(mxResources.get(\u0027error\u0027))\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":46102}}}],"partialFingerprints":{"codehealthFindingId/v1":"89acf15bba0d3b6b4dff0c4763061c2eaedbb092f6d3b5ed95b7cc326e1f8099"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060cancelImg\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":46234}}}],"partialFingerprints":{"codehealthFindingId/v1":"61aaf6a15bc9f9d16d98822566c785eebd66929e3a3c69cb0a94250bfccab295"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060okImg\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":46260}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d39db3452b150c41a72238d5ce9dd75ba1f626311a435c793567176c50cb0a0"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060GraphViewer.getCss()\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/GraphViewer.js"},"region":{"startLine":3690}}}],"partialFingerprints":{"codehealthFindingId/v1":"2504c0d9e0888069a8328f55d273b681d8c602c10f14d0ad55722f61129ca73a"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060mxResources.get(\u0027advanced\u0027)\u002B\u0027...\u0027\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Menus.js"},"region":{"startLine":3637}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8508bde04902847da9b66d244b384b0f15c99fee3d3214a386491732f6ddf52"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060\u0027Selected: \u0027\u002Bgraph.getSelectionCount()\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Minimal.js"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce9e2f8b916f893ef21bdf95f6ca17d6fa8fc533da3bbc0831f52d45aa329191"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060mxResources.get(\u0027loading\u0027)\u002B\u0027...\u0027\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar.js"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ae40e38aec540a02f0744b70968d5652b20e7afd71a578ea039cff70baa779b"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060prev\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar.js"},"region":{"startLine":703}}}],"partialFingerprints":{"codehealthFindingId/v1":"002709a2a5ecd33780e2974c2c86f6d58c6d132643c1a832054efac254137b4f"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060mxGraph.prototype.warningImage.src\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar.js"},"region":{"startLine":1710}}}],"partialFingerprints":{"codehealthFindingId/v1":"536f06b425fad8bcb86b7bd01a63ea05ff33078cce8d8569f879f9a6f1ac2798"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060str\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/util/mxJsCanvas.js"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b7bc524fbf22d30b0842f3ab853acf9887378add9e4b8e4e00f0148d1ac0c4e"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060Graph.disableHtmlStyles(Graph.sanitizeHtml(textarea.value),Graph.backupCssAttribute)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Dialogs.js"},"region":{"startLine":2621}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e13029d6a8bce56716399cf37681a4b3be685764db83584539c49e7659bc72d"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060mxUtils.htmlEntities(value)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Dialogs.js"},"region":{"startLine":4153}}}],"partialFingerprints":{"codehealthFindingId/v1":"94650f8bd87db76d54f3a704a099673417be8ebbfe1dce0154c24ec3ebc72613"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060mxUtils.htmlEntities(value)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Dialogs.js"},"region":{"startLine":4169}}}],"partialFingerprints":{"codehealthFindingId/v1":"f55b1c7c404098f15039b97e65ce3516dea066e7878cc6c83a75836f933811b3"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060state.lastSanitizedLabelValue\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":997}}}],"partialFingerprints":{"codehealthFindingId/v1":"a16546787756fee573e89415f402a10d01c4dac8572053d411d64d4373dab241"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060html\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":3098}}}],"partialFingerprints":{"codehealthFindingId/v1":"21d4c71406ca886f11092515939e48b41c37e063922104254f4aea0dfd82b986"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060elt.innerHTML.replace(/\\t/g,tabNode.outerHTML)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":4412}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdffeb0d6b0dede00e938a3f2037385ec9be26190e3e6dddb09f587ba5ad0705"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060value\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":4569}}}],"partialFingerprints":{"codehealthFindingId/v1":"21697af32e9adf5ff953e785f8cfbfa5ac3a1a2cb8266e51546493f8c0984de7"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060html\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":5995}}}],"partialFingerprints":{"codehealthFindingId/v1":"db0651e58e7dc3d893125a704bf5697eae8b064bfb3e101db61a3b072428603f"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060this.createShapeInsideMarkup(outline,box,spacer,w,h,this.getShapeInsidePadding(style),clip)\u002Bvalue\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":7599}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d9b6a3caf519420dc8a2d399082820f3cf9fde1d9710ea691e2a8c8e0829d3f"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060this.createFlowAnimationCss(this.flowAnimationId)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":24001}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d8d4f95d693e72fe34d267e6609e9b0587aa64899f3fe7d63572a4ccdad866a"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060elt.innerHTML\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":38555}}}],"partialFingerprints":{"codehealthFindingId/v1":"8262120f4685ea2555d9485e97641a57d8dac43abbea6646ad72a4f296f741e0"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060str\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":41617}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bcc121dc019ede533f7c1150c8ad1d17ea122f28b93a9967b10e4149b901d08"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060this.createFlowAnimationCss(flowAnimationId)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":41698}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0de3248b7efc42287a2c7dd626bb49d3bfda86b5887cef98c07844c6eb08966"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060html\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":45421}}}],"partialFingerprints":{"codehealthFindingId/v1":"92495885ce10ef33d82af10e789c48b2c96d47b45e77f61942d6edd18ae0a6a9"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060this.graph.createShapeInsideMarkup(outline,box,align.spacer,w,h,this.graph.getShapeInsidePadding(state.style),align.c\u2026\u0060 is text this program did not author, and it is written into the text of an element through \u0060insertAdjacentHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":46513}}}],"partialFingerprints":{"codehealthFindingId/v1":"38c0e634cf5c79f861e758f3633d727789fdb713faa52faa58d4acdb74e4fb7a"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060content\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":46773}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1e970e52b7699bbf59149bbaf8494d9e1c70adcd89d00376853394599cbc3a6"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060this.getEmptyLabelText()\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":46777}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff0c133993dad07e9b0776c1cdf81f9061c54a6bb1323f6a23b03d464b4c9695"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060formatHintText(x,unit)\u002B\u0027, \u0027\u002BformatHintText(y,unit)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":47599}}}],"partialFingerprints":{"codehealthFindingId/v1":"90e2d97acd4b8ef3765787032c1346315681bfafeff053ad0a4b73f0b27fd96c"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060this.currentAlpha\u002B\u0027\u0026deg;\u0027\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":49434}}}],"partialFingerprints":{"codehealthFindingId/v1":"5834f4d3a48e635864e31d1481028cab4e2c0e0de4b5dbccebfa8bbdd37a9f88"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060formatHintText(this.roundLength(this.bounds.width/s),unit)\u002B\u0027 x \u0027\u002BformatHintText(this.roundLength(this.bounds.height/s\u2026\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":49440}}}],"partialFingerprints":{"codehealthFindingId/v1":"27fb76acff1c20377a739807d9372a2694d035c47efc11fc2f74543ac40dcbf9"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060(text!=null)?text:\u0027\u0027\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":49558}}}],"partialFingerprints":{"codehealthFindingId/v1":"b945efc86f7bbdcd682d5fc4fc3e65907b0c013edc8a8826d3140d14b406cae7"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060formatHintLength(length/this.graph.view.scale,this.graph.view.unit)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":49665}}}],"partialFingerprints":{"codehealthFindingId/v1":"d077703bb667524f510029121ac0533878054e9f27b735aecbe504074e79778a"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060mxResources.get(\u0027heading\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Menus.js"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"97006554b24c23b13f47561b9832727418300d572edd07bf451b4b135f74be07"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060mxResources.get(\u0027heading\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Menus.js"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"46ec237b29afb0c6209714c7e1e5a9afe39cc92194843267f0f158332a134fe7"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060mxResources.get(\u0027heading\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Menus.js"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7e69ff397e6a84cd27c4f7e4d0b14d7c4922c7de3ca7b47fc3a08da2f200f1c"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060mxResources.get(\u0027heading\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Menus.js"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e5d8d0344631e8bd7654b1bbdc65fc6b8aa0d54b41f4211b25a823441435433"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060mxResources.get(\u0027heading\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Menus.js"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"66b5b44a97bea17a7eeed435b0dd4ecadbe72ae3ea1ef369f74a7a707dec0456"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060mxResources.get(\u0027heading\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Menus.js"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbb66c88cf28716c608589112ed6da8c20540fc9ee17f86f6bbe7e459337c808"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060mxResources.get(\u0027formatted\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Menus.js"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0efaec63585853eef0380700ec0883e813a535e3f9280cf8edd9ff35c4639d7"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060mxResources.get(\u0027blockquote\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Menus.js"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"61826351e2287f778cb1eb052cf12dc934433364bff619cd2a53cb011f64bc2a"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060(colIndex\u002B1)\u002B\u0027x\u0027\u002B(rowIndex\u002B1)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Menus.js"},"region":{"startLine":1014}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dee62f4d7cf7dd31da3b9a2b8340a0d753a21aa9cb45245e3d4ae6b608f0c88"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060mxUtils.htmlEntities(mxResources.get(\u0027delete\u0027)\u002B\u0027 (\u0027\u002Bgraph.getSelectionCount()\u002B\u0027)\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Menus.js"},"region":{"startLine":1662}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a28366b25f4be95901575a61b1fe0fe3ae786dd4949bc46ce487481d8276822"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060mxResources.get(\u0027editImage\u0027)\u002B\u0027...\u0027\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Menus.js"},"region":{"startLine":1890}}}],"partialFingerprints":{"codehealthFindingId/v1":"09484a8f550da33064824283da2e0558828a163071cb5d289e191107ca221264"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060mxResources.get(\u0027reset\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":3548}}}],"partialFingerprints":{"codehealthFindingId/v1":"85f63d139af6d8015382e9f9900e604b19057335ed04880eebe50a4f3f5f3db8"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060this.graph.container.innerHTML\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":4761}}}],"partialFingerprints":{"codehealthFindingId/v1":"db6776cb0b252dfc68e45c00b1fcedb07b22f675f10df023c7b13f9f82525dae"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060mxResources.get(\u0027loading\u0027)\u002B\u0027...\u0027\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":7773}}}],"partialFingerprints":{"codehealthFindingId/v1":"580f06316fffc7a1ee5d6d3e22ec694a99afa2be7389595262af6e27c2b86509"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060mxUtils.htmlEntities(mxResources.get(\u0027files\u0027))\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/onedrive/mxODPicker.js"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"8883de97acc47d75f79ee05d3b833357e6a252a0ccf19b376db68959691b6d07"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060mxUtils.htmlEntities(mxResources.get(\u0027recent\u0027))\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/onedrive/mxODPicker.js"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"195699def887692a336f0cf706bbeefe1dd043bbbed2bae8f8199b587bdbb2a9"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060mxUtils.htmlEntities(mxResources.get(\u0027shared\u0027))\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/onedrive/mxODPicker.js"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c7f6f49ebd09725ff8cc2fbd0ac460094f6eec704aa91950567c99ddec59db3"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060mxUtils.htmlEntities(mxResources.get(\u0027sharepoint\u0027))\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/onedrive/mxODPicker.js"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"a87847513039c118ff0e7cf71e178f7923102b52203373b557254ec53f2133ac"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060mxUtils.htmlEntities(mxResources.get(\u0027search\u0027))\u0060 is text this program did not author, and it is written into a quoted attribute value through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/onedrive/mxODPicker.js"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"36229d8edec075cefe1df21c36409911309c916465d2166f2062bad39b4b0b29"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060mxUtils.htmlEntities(mxResources.get(\u0027refresh\u0027))\u0060 is text this program did not author, and it is written into a quoted attribute value through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/onedrive/mxODPicker.js"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"960eee73573801d528a16787fa4769953afae223b1c991ad2929ecba4f5876ad"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060mxUtils.htmlEntities(mxResources.get(\u0027back\u0027))\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/onedrive/mxODPicker.js"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"de8c9e93e6ec5b15a6da9c44caa85834fdead892e4d78e3ecb82e56ef0e543d6"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060mxUtils.htmlEntities(mxResources.get(foldersOnly?\u0027select\u0027:\u0027open\u0027))\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/onedrive/mxODPicker.js"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8ba480f88857089930325fc5114e73e352e87faa0c5c156175b8d3229c8cc2b"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060mxUtils.htmlEntities(breadcrumb[i].name||mxResources.get(\u0027home\u0027))\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/onedrive/mxODPicker.js"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"b312338340486b3dde4eabdb27042483bd9366e5fa83ce7d1f528f0030fb5967"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060mxUtils.htmlEntities((breadcrumb.length==1)?mxResources.get(foldersOnly?\u0027selectFolder\u0027:\u0027officeSelDiag\u0027):(breadcrumb[b\u2026\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/onedrive/mxODPicker.js"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ae0f81d270903b8b77be75792520ca03915f8d039eb556c8476414108afea42"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060mxUtils.htmlEntities(title)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/onedrive/mxODPicker.js"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c04bc8b74fb122d8654d341cc55ac294f6fec8c70f8ed652ef372c64641dfd5"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060mxUtils.htmlEntities(isSharepointSites==1\u0026\u0026searchTxt?mxResources.get(\u0027noResultsFor\u0027,[searchTxt],\u0027No results for \\\u0027\u0027\u002Bs\u2026\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/onedrive/mxODPicker.js"},"region":{"startLine":721}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6c5c1217465543cb6bd275738d2177dda817816b68f176872f774b4c7a75aaa"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060tip\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/handler/mxTooltipHandler.js"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"a018566597338c5fda4244f562fc71dc9eebc404f04bfee9c86e2e9dcd86ba09"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060src\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through \u0060document.write\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/mxClient.js"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"51e01c6d51cc4ea8cf6b8534da10c121947f563495d4ddcbe4a486a80ee80f08"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060html\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/shape/mxText.js"},"region":{"startLine":951}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9ac93daaec55e17bbe629e480c6e2598ba536b86eb8c4c4a97de0c8a316b9dd"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060this.value.outerHTML\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/shape/mxText.js"},"region":{"startLine":1007}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d128e55f8a0e581d3ba10c9cb2641f45c2b716b510fba56b7e1bbd45a497b4c"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060val\u0060 is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/shape/mxText.js"},"region":{"startLine":1022}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b9c2ac226fab13cd17eefba8ea3bc1d1f5d290b23145493077b38e42bf6f21d"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060val\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/shape/mxText.js"},"region":{"startLine":1091}}}],"partialFingerprints":{"codehealthFindingId/v1":"1357c5779c1ba0670635764fd59135700e38423f3036caf969c35f8d98c99f18"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060val\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxSvgCanvas2D.js"},"region":{"startLine":2036}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fa2a55037c36a01526df11567aab1797a18a3803808bfb121eb3343d72ce924"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060val.replace(/\u0026amp;/g,\u0027\u0026amp;amp;\u0027).replace(/\u0026#60;/g,\u0027\u0026amp;lt;\u0027).replace(/\u0026#62;/g,\u0027\u0026amp;gt;\u0027).replace(/\u0026lt;/g,\u0027\u0026amp;lt;\u2026\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxSvgCanvas2D.js"},"region":{"startLine":2055}}}],"partialFingerprints":{"codehealthFindingId/v1":"326036c38b77aaa79f95ab2d30241e26c1723117bc705911b1f5cbe6ac1ba7dd"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060val\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxSvgCanvas2D.js"},"region":{"startLine":2106}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1b86e104abde7f1731198d520994d16789be4189575feb079fa5ccf8cb5eb07"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060html\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxUtils.js"},"region":{"startLine":1211}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf048640fe1925f6de21f8761b707917c4d443513ffa8675b7de5d5b6873efa9"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060text\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxUtils.js"},"region":{"startLine":5232}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8c9457f9769a3b4998afefe64d0e275569c48150cb021c954c66d06c107c12e"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060mxUtils.htmlEntities(content,false).replace(/\\n/g,\u0027\u003Cbr\u003E\u0027).replace(/ /g,\u0027\u0026nbsp;\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxUtils.js"},"region":{"startLine":5672}}}],"partialFingerprints":{"codehealthFindingId/v1":"868a0a16ae49fcaa867242d215bc7a69e8a6077a2cc3dfb7561328a806a270ae"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060mxUtils.htmlEntities(content)\u0060 is text this program did not author, and it is written into the text of an element through \u0060document.write\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxUtils.js"},"region":{"startLine":5691}}}],"partialFingerprints":{"codehealthFindingId/v1":"b997a7dbd62e033438268d8b34a284bd139eeddd0b9fc84a0c4fb57cc1d45980"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060mxUtils.htmlEntities(content,false).replace(/\\n/g,\u0027\u003Cbr\u003E\u0027).replace(/ /g,\u0027\u0026nbsp;\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxUtils.js"},"region":{"startLine":5698}}}],"partialFingerprints":{"codehealthFindingId/v1":"8358d0dbeeb9fb8e55d50bb68a9fb2ca3221a2ad221e1ddb95a71f2a845b5f45"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060(value!=null)?value:\u0027\u0027\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxUtils.js"},"region":{"startLine":5974}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f7a9d3225e2039aac7e10eca97e9af96edb69e6c997d0ec7f3bfa0aafbb749d"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060this.getEmptyLabelText()\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxCellEditor.js"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"b63841d0cd9418e152b98d04908b068ce93e1968c30f7c02062c0361171c3753"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060value\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxCellEditor.js"},"region":{"startLine":826}}}],"partialFingerprints":{"codehealthFindingId/v1":"38c57871c6ac685cf5e72fb37871d902c28cfcdadde119d72886e611ce1d7529"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060this.getEmptyLabelText()\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxCellEditor.js"},"region":{"startLine":871}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9eb0ed4edbb33d9bf5b2f4154bd75a9da661f2f9d383049334e739b6436259b"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060mxUtils.htmlEntities(initialText,false).replace(/\\n/g,\u0027\u003Cbr\u003E\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxCellEditor.js"},"region":{"startLine":924}}}],"partialFingerprints":{"codehealthFindingId/v1":"63a751ddae2f879728eb78f0ae05d4e4d9976184113a3043a87d131d165d4959"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060mxResources.get(\u0027nothingIsSelected\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/plugins/props.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"29562a4f2552ccd4a7eee90095d79dd69de9666772ea8bc1906ecce30e491ef9"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060mxResources.get(\u0027nothingIsSelected\u0027)\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/plugins/props.js"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7bd81254e0e3b8a12f047b17c00e625430848a8f33d014e86691531536fe9d7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/shapes/mxBasic.js"},"region":{"startLine":3366}}}],"partialFingerprints":{"codehealthFindingId/v1":"12508fe665e5b988908679fe8efaf7e9a6444fdcc1c5bdef7159b7ee9cdafcc8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/shapes/mxBasic.js"},"region":{"startLine":3425}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd0eef9fc075dce07f27898d46e70e0f9fd4c16bcd8c2f7bcd19a4aa325d96a7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/shapes/mxBasic.js"},"region":{"startLine":3576}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6fc864af3c68702854dbdae75160bb29e3c4f0884a86d1bf3a07698c9ed0272"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/plugins/nextcloud.js"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"327ad1231457543ab889165a7afa1e288ade7f820d7b0a83557d42cd0148af02"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/plugins/nextcloud.js"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3be4a104f3b408fafadfa405b67f2096fdb845fe087b10ad2af4e64080b437d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/view/mxPrintPreview.js"},"region":{"startLine":826}}}],"partialFingerprints":{"codehealthFindingId/v1":"e89fdbd0334ed54ccfd8089f382a85a4e37f175af12fa17485400df79a00fe15"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxEvent.js"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"72c15b43e8aa31f3b03a6362793b2412bc2b2e4fb82ade03df9a606f3e55fe46"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxEvent.js"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ebb041f5e48140bbc3a035f2ed833ee24b5609eca523293237660b6bcf2e4da"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxPopupMenu.js"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9c4033d0852ac463e5f999bda59ee4558f8a8b8af5a8b92311146bf91316f15"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxResources.js"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c6a0475dba539c588f5165bee573c518797369baecec71af6a79f4b2b62ec55"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxResources.js"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"89b82cee955472e955e300e2db35274a534831316da36636a686fae0a5a8f480"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxSvgCanvas2D.js"},"region":{"startLine":1989}}}],"partialFingerprints":{"codehealthFindingId/v1":"64bfe41397366995db3b56ee9bfbf54c5d8fef712b5541a02a2faf4586da0740"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxSvgCanvas2D.js"},"region":{"startLine":4090}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ffefae6a5eccddba74cc3414049454f30058e303d8c44df67972e9c2f1dd202"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxUtils.js"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"e716e68f27d465832b0b743b9b64084a9589aeacb5ffba58547d645b252da1ba"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxUtils.js"},"region":{"startLine":2232}}}],"partialFingerprints":{"codehealthFindingId/v1":"a51e3b557efeecb3e209d1420fe6cd17bd3ea4df72f7100677e8c4b03432a0bf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/util/mxUtils.js"},"region":{"startLine":4846}}}],"partialFingerprints":{"codehealthFindingId/v1":"5693ec1ed7a7fca124f8fcec42316808f9d13bee1b4dc8dc8ca6eec9a36c4ff9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/shape/mxShape.js"},"region":{"startLine":1788}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f2fc811fd42dfc1d2871023ceff95580371eaff3baa83f013bef2b4096fbf76"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/shape/mxText.js"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"40a51c594d2ad44f96ad28213eae1c4ab626fc22753d8e987b0c28ba1c3046d6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/io/mxCodec.js"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"7127de80014f39d7b9c38a51b0f7c76405d1238c1b60c766c1034db887c501e2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/io/mxCodecRegistry.js"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e6fbebc857f2d80bd0a9139715ab6bc7fe5c0412a0476f293f146a387efd33e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/io/mxObjectCodec.js"},"region":{"startLine":1287}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d830244aaf5288dbeca51d1845b40683497458da65e3b30c1d4be001e78d8ef"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/mxgraph/src/handler/mxEdgeHandler.js"},"region":{"startLine":2958}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c963b483ec8d4bd06a94958dca993f33a1476b8327e70a639783f51cec5e832"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/bootstrap.js"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc3db2e7791c8e689a6f14511b30b2491e4b7495289d400b9bf31c035b35c9c1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/bootstrap.js"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f52b2bf5219151787f6f320c38b5c15898461fdacd80680eb58ac77ae5c1b91"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/bootstrap.js"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d9b50777c45ce96979071016c0025c134d988e14e9f1559ba00c573529a12d5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/bootstrap.js"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"279ea758367f24dec1840c70ef119dc354decffef5f51b3e60132ddf80c810c8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/bootstrap.js"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"ada0d4046a7061d4abe90786ff335c63c586d5ab22176f3fbfa7a346b8d57c81"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/embed.dev.js"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"4372ecae57d391310f3ec9286e8ccfd41fbcf822b1c1b4ee37aaaee6e7ef4d66"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/export.js"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae37f52be63b33c9a61da5727946b5e9f04326be5cbd5ec89d780a37c1fd8f5a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/export.js"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7ba230be7ef86223c73a40e103ccfceb705854e84beb28f5b3b403f95ed1170"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/export.js"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"c68b93937d7b1a067b126d8845528b73d8a461926b246ae3ce21375afbb8fa08"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/export.js"},"region":{"startLine":744}}}],"partialFingerprints":{"codehealthFindingId/v1":"b137a6de6fcaf0329b292ad32c6a2042acf77c286452e4a14a4c2bb3ee192dcf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/export.js"},"region":{"startLine":1453}}}],"partialFingerprints":{"codehealthFindingId/v1":"10f0ba77396aabd315d6cda53f9ec71a82c9fe65b68615ae56c3cc0c9b165e4d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/export.js"},"region":{"startLine":1472}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e03e819291e53c030c36bf5590d02346205018ec3c256f3ba0a31a5cce9afbb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/export.js"},"region":{"startLine":1515}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fbf6fb8bc95cfbe96c6ebf7e18e2ee1e2715cae919cceefeece4c788ba52235"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/export.js"},"region":{"startLine":1538}}}],"partialFingerprints":{"codehealthFindingId/v1":"343383b5d1817b6f00b31c3659e46a3b8559a8244d11e37352a20507303f1c57"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/export.js"},"region":{"startLine":1562}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d9fcce7ffef210022e2665118b8067219b4411a94de7f783e4d9050b9138004"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/export.js"},"region":{"startLine":1713}}}],"partialFingerprints":{"codehealthFindingId/v1":"c44b2b9f7c0bb6d627b9feffd0b56185c60bf2c89f11e550e1d5bd8d86ddf40d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/vsdxImporter.js"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fdd769141de1679764363b933986c98f6a3a57562772a9babff40154e26ae2d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/onedrive/mxODPicker.js"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"280dd79f94c4cfe001920d97690de3e293308f685db882b6272d51a1d27512c0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/onedrive/mxODPicker.js"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"69ec389e37194dd429f071ab8cabcc5ad5371687a25adb12049a34eedeeaaa2f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/onedrive/mxODPicker.js"},"region":{"startLine":904}}}],"partialFingerprints":{"codehealthFindingId/v1":"49c5a500b4d80774ea2283db5fe6f31da76055cb10c07f20eea6c4a9f759dfdb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/libavoid-js/libavoid-routing.js"},"region":{"startLine":1255}}}],"partialFingerprints":{"codehealthFindingId/v1":"1776fa4e313022169834ec2c919d189688c8774a37474063366c733d62b6a33b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/libavoid-js/libavoid-routing.js"},"region":{"startLine":1256}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e18c3c480bc105dd73bcc1131493550bdae070741f9b0da6b2870da87c1a92e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/libavoid-js/libavoid-routing.js"},"region":{"startLine":1260}}}],"partialFingerprints":{"codehealthFindingId/v1":"232e7b99bacde0bdd75c49921a32a7ffb6756585cb766e27ef5807f3dd2c43cc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/libavoid-js/libavoid-routing.js"},"region":{"startLine":1261}}}],"partialFingerprints":{"codehealthFindingId/v1":"6abc1983a25906481879d54b5c3818ced29e5137d3fa01b24833696a1cb52f40"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Actions.js"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"29e118467e883de73e92a9d4bd3732bb205a7473c27d7213fd1d70dc191ebba0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Actions.js"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e0c51c69ec3a51aa99a6f752a31d6ed7633e6aec610e8dda6a9c4253cb398d0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Dialogs.js"},"region":{"startLine":2910}}}],"partialFingerprints":{"codehealthFindingId/v1":"55837ebe4f649b8b79e7991e86fd70152149ac9cc56397d1434e1baab162285b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Dialogs.js"},"region":{"startLine":2977}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c874df10d14a3614ef14fa97bd8215d627d47fe3e52a682f2e37678132a4478"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Dialogs.js"},"region":{"startLine":3929}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb85b1aeb918554a0662555a5bf23c523d4b4c2b52c8ed4f464d4afe07e92c72"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Editor.js"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"aed47c122c8e503f46816f5ba71551435afc81624a96b89b815b00281be41afc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Editor.js"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"0833eb6b2742704d113eecebb40ce05f515628b4a5d1f08049be1e45a62e4f66"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Editor.js"},"region":{"startLine":993}}}],"partialFingerprints":{"codehealthFindingId/v1":"52745b8ece0cf898c7fb7e059417b6429a77deb5f07022f93dd104ef89fc1809"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Editor.js"},"region":{"startLine":1222}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d4162c9a51bf1f46c78df689a83dbe50a24df6e98ce7186a71d647709c51154"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Editor.js"},"region":{"startLine":2377}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b70356cb48486dc020a2640cf6425deec2b5453ad46c4ea0e05a8ef2af35c21"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Editor.js"},"region":{"startLine":3297}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ba2d07db1c745ec93c519dcf55def78f4785a9ec321233dfdacaebb43488172"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Editor.js"},"region":{"startLine":3381}}}],"partialFingerprints":{"codehealthFindingId/v1":"ece6be56c4f26e03f06d4b9e8431dc523f151945f21965902cfde4a437a1ebcd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"f17a6a22c74c228e3f555aba36410500775ed9e39fa1d73e36a41f82f2f09b2a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":866}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d56753c359f7984f2ce0a3f09d9e1274c5b6ccf921c73495fd311aa7b338777"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":1473}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad07cbfb87843d196f9e2bd11f340a755e1d822e3b1b0bdbd2ce992bd21daa43"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":1765}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2c4abf277cce30d7e3fec357b1c69b72ea4b6839e5f737a958407cf5495f86c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":1992}}}],"partialFingerprints":{"codehealthFindingId/v1":"61896db9dd28e50292956324ca1f486053dc37eb1a13404acc8f22745d3e4018"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":3600}}}],"partialFingerprints":{"codehealthFindingId/v1":"53df93766b1b00b1172e71e0c4b6a5c11e072c59e1e0beb2c180e8247f3fbe30"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":4588}}}],"partialFingerprints":{"codehealthFindingId/v1":"d23caf2e219b4b2acfc7a59836a4d67f178874dbc28827a3695fe846a1634af2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":5162}}}],"partialFingerprints":{"codehealthFindingId/v1":"16a4019cec4439a2e74e70c51dea5eff64889c5bf40787cdd2a6744c2083d7dc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":6432}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d0966967f1a4371b440f84d481051518694b853f7979f11d8e71a5246b5becd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":7773}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d4ae5c4e81229fd0d98ff8dd00b89ff20f9aeb1c8ac015e6626abde6b378c35"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":8036}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b1435d99ecafa8ec8f0f0e83c4d0f46d9af5154f2b0550676cc2d88d90eb004"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":8069}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb3c9aa98e8306e63c56e8f5ba2b067b81bba14ec9ac9f67dea81bd9786662bb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/EditorUi.js"},"region":{"startLine":10324}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b88d578841c49e404daee329763ada54e15ad8fb7d1edfb0975bdeeaf44f8bd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Format.js"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"070b4baa030f6901b61f85b43b01852d741e0a6c9e809185e8a604c3262d055c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Format.js"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"47e97e88a839c9a924829cf78b5f82762a2ea732e12d7a3bff67ffd158728da3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Format.js"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb4baab7fdbf5bd7d99b5c9cf2e1c9509547a29a01ad864a9e4aec0d2682c29f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Format.js"},"region":{"startLine":1271}}}],"partialFingerprints":{"codehealthFindingId/v1":"7300a81d2b6f4dac88b4dd54de441b2f590d462b3ceb55f53538ae2c7bd13aeb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Format.js"},"region":{"startLine":7072}}}],"partialFingerprints":{"codehealthFindingId/v1":"faf72e84bc6e21641e3f581f1b4d6de59369848d846d685b55c7d8b1ae8b5842"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Format.js"},"region":{"startLine":7209}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9ccfd849983bf6365c9a32176f13f13e0aec9579651c946b880cd447a99ff2f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7c917c7e902fc1a9e70a91dd20d984cda3c35d1dac7f3428d4c4ae41c4651e8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":1218}}}],"partialFingerprints":{"codehealthFindingId/v1":"577d2da8db0f8f9734e8aa8a798581ff5fd01f17a94ded9d9cde59e869822e9f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":1843}}}],"partialFingerprints":{"codehealthFindingId/v1":"605212aeef5aace63ab46e01f56656db7b16f1071aaa9246f27f6bbdb2902a3f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":3044}}}],"partialFingerprints":{"codehealthFindingId/v1":"b24621ed9d9bcaf0fdb8c86547982dfe507d560d982b4e6c8d59cfb56d14da0c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":3181}}}],"partialFingerprints":{"codehealthFindingId/v1":"1043344b698410f63cff3a16dd767ab4ab58f7f7c25eb0b2f4fef4a9593d544f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":3239}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ae3350a4df1597222f85123ffa1a335c8fcf4108fab2090517e98f32e4190e2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":3515}}}],"partialFingerprints":{"codehealthFindingId/v1":"477c2cae6d3698b81aab864c59095c1e8e476d35cae5d5d5c42b49f4d8bd405f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":5279}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d57ba08e89f2699d4faf437afcc334d4b74c553108ee4b3c06b70419aab1197"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":5319}}}],"partialFingerprints":{"codehealthFindingId/v1":"13febcd398672d1965e1fabb734f33d86ac0b310fec5ccafc7fb131632b92b98"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":5332}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0adeb4624d8acbc7271d288b986028684c67546e3ef5aa0e30febcc116fc76d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":5429}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ee99a8308d7f2dd6d53f4fb9da5f7b07e17234463e607e25cfdee7ee078492b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":6217}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c013f90360db0437d92eec328db91cddf06b6de6bc3101c8586b16cd058c567"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":6513}}}],"partialFingerprints":{"codehealthFindingId/v1":"65bba60b29631d3f574fdb87b576ceb72bc87801b0ce1dc288588e1659c39709"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":9234}}}],"partialFingerprints":{"codehealthFindingId/v1":"8991cc8130dcd6b5004ff1952fcafd409c9291ccc86bbe7f7ecd97936905037c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":9270}}}],"partialFingerprints":{"codehealthFindingId/v1":"59d5ffa74dd43c7b5f2165d2e0f4e673c9c038ac0df2054197e5ea7388594916"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":10229}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4fe31aa3e946e107b09014a172b69851af17f3a0a14cb72b2fcd6d832b8e397"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":12569}}}],"partialFingerprints":{"codehealthFindingId/v1":"e88bc82047e4792a468e6199173620f8c176ce93287cdf88f97e894bec11b2be"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":16115}}}],"partialFingerprints":{"codehealthFindingId/v1":"f61619633be7c619a429b7235a405d37cec29c812c835689ee63c094c42dd117"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":18194}}}],"partialFingerprints":{"codehealthFindingId/v1":"aba59f4a0fe9c190c2d5924e18a72ecc0ac34b9257b5f65a2d36bd0e053a6c59"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":18403}}}],"partialFingerprints":{"codehealthFindingId/v1":"41905d83f7de98603e9088e9e406ed20aa8b83016b318a19b26372870a5ddddf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":18940}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b422485a6b867aee2578a76733471ac096100bb1b74ae708b67086d17985197"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":19717}}}],"partialFingerprints":{"codehealthFindingId/v1":"51a409bcb35f3381c299a31ce13af1aa369ed1af5455106c432ab129f416d044"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":23425}}}],"partialFingerprints":{"codehealthFindingId/v1":"e10c02a24e753fb877195932b00d16bbd3e78bc1c7cc52516b63e56331ba9aef"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":34498}}}],"partialFingerprints":{"codehealthFindingId/v1":"07bb4c7fdeb1d6ca8a9379421e28d704494f3b51af00c75d9d0c24c40dc6c836"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":35849}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4952abbe4ae250ce5f813586e6e4261b4add92dda41ae6ba1471ef4755b31a5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":36601}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4e32fb01e1101e847114d404b0756a02814d819a6cb566b314f2cbbafced2ea"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":39293}}}],"partialFingerprints":{"codehealthFindingId/v1":"600f4cfa38d4718f78b38acbaa998b3b3104c241d33ff6691aeb0d2fab330d17"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":42303}}}],"partialFingerprints":{"codehealthFindingId/v1":"da4a50cf574c7da05d36a3dc3cfad5c5a0ad4b2d07896254f13bc6e778d5731a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":43264}}}],"partialFingerprints":{"codehealthFindingId/v1":"afa9f08b4c8a498dd90405500bf45254217b2de2c0941554ce7cc88df33c1905"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":43977}}}],"partialFingerprints":{"codehealthFindingId/v1":"bafc09074479da65f46396313c5973702a25b1b4e7298ea9bd6af842459af2cc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":45821}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce4445eb579f570d0fc28b9927d73bb3eeaff6f365b281e45bdafd528b1baadf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":46081}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bd0ea45f42b782ca1b44d0f86887daed02c1828dfc60d44472c50429489cff2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":46564}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9a971b91c90e35b4149f8e4db92f8aa3c037d72d80359123467155b584998e9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":47267}}}],"partialFingerprints":{"codehealthFindingId/v1":"1527aa5c44eb0f421f7b5b8a8880a147d662b41b61adba8ae07b3bf87a812610"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":50066}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e6e50da897a1837b7988debccfceb83aa92ac415173ff57be0a5ad4d602de90"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":50287}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae40b038f5ac29d2ed90d2622f16bb6876851214c7c22149a23b3773412cc137"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Graph.js"},"region":{"startLine":53380}}}],"partialFingerprints":{"codehealthFindingId/v1":"92f105c526a7f47cb9f24ba81d0bf1b627a56a8f0c52fcb546681a1ede9c8648"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Menus.js"},"region":{"startLine":1964}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eee7cddd63a53bd5f8c1aecb4b40c8447a8202cec7abcb9aa371ac6a80e9ff0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Omnibox.js"},"region":{"startLine":966}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e5d072b5d2c92ce1996fdbbf5ab02c23a6d25be832e3926282031956f9eafe2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Omnibox.js"},"region":{"startLine":1128}}}],"partialFingerprints":{"codehealthFindingId/v1":"32abbbe73b5fc0ef827dec8b27e6903b93e70f440b57e48363a1191893ecbcd2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Omnibox.js"},"region":{"startLine":1255}}}],"partialFingerprints":{"codehealthFindingId/v1":"66a9c00a8713e0f6e97678687c104d1b6dcfbe127906b3516ab2eaea1d7f5529"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Omnibox.js"},"region":{"startLine":1338}}}],"partialFingerprints":{"codehealthFindingId/v1":"5231898c98d01ac317c708c51f9ed7370f1d6c8d6ee8df5e41731c4e36da723d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Omnibox.js"},"region":{"startLine":2274}}}],"partialFingerprints":{"codehealthFindingId/v1":"b79a362c2d99079ae23d736ff64c65ba54a3bf04b9e79c83bf586445737232ad"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":1729}}}],"partialFingerprints":{"codehealthFindingId/v1":"334f57cae69125bcf9f5d949b3bfa1ec3e89b5c88581e20e5566ffd5115f4964"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/grapheditor/Sidebar.js"},"region":{"startLine":2176}}}],"partialFingerprints":{"codehealthFindingId/v1":"b68fd8409ca57a55c6854c8bc5c95e9e9218deca954730a467ed38171682aff7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5b952a4711590278866a7944ca2815dac4370c8f7739b921b07a70d34f56ed6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"e768b6f72200930159e346454ca4c0dea5992cfaae8626d154b38750e935fec8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"4843773ff49b4893f6f270da429ec94ec331f70fcab151637f54b1a29e2b59b0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"30274a48c63b8f6e9a9df49395fee15a7de4acc8e67f3f8d4eafb81d824d8385"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"f76b175c78652cb0f1b6743e97d679d1618538cf752083ddb56125163d1d9285"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":717}}}],"partialFingerprints":{"codehealthFindingId/v1":"564e8ab8f1fe6dcaa8b706f894d50c85d41d1914cd9c2f6b0c09bfb87ce79f43"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":752}}}],"partialFingerprints":{"codehealthFindingId/v1":"afc6937c3305297f1651be2445a35753b540d0abe4530434d4d6999e2dc31d1c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":770}}}],"partialFingerprints":{"codehealthFindingId/v1":"42abb58b2a230efb4839e7b0e4592116ee1203cc9855e413678287f655355b1a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":793}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6f14ccacf740d1fb91bf1267144070e49d8ee5eb354ece46929a5ffade48c1a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":830}}}],"partialFingerprints":{"codehealthFindingId/v1":"36044bdf18cd47be0f042c58147d4422f594e52d01c992569098a1d60138fa25"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"9197d6db856d454f9c645fc1cae061b70c07737c26e7bdb1be0481eb1b07c99d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":1223}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c040c587602643617272149c5e85b71cd5cc763e6e7b3abfb3b84f07a9012cd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":1260}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad91fabd3d5283244f978ab1c3dc5562634b92969b18fc9ea17bc7e9a7da8d5f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":1312}}}],"partialFingerprints":{"codehealthFindingId/v1":"7814c9d29989f64cc4aee1286467c79412740bddcd923fc13633128ca44f6acc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":1394}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6836c2a9d9279f11f6fc68c854d548870a3e4ea5b453f1d0eaacea0dd439be8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":1486}}}],"partialFingerprints":{"codehealthFindingId/v1":"4abaf917e412a76783ae9a29375de596c1f896854cf34e6675dbd319f290dedf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":1836}}}],"partialFingerprints":{"codehealthFindingId/v1":"a47539ba14aadc78051b02d50cedb4b899d1c15cb5c1bfbb2c9859aad7260db9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":2480}}}],"partialFingerprints":{"codehealthFindingId/v1":"00d63c5a091aa0ca4a9d0684e61461799faf8c1a0a44280e44afa5fd734970ac"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":2866}}}],"partialFingerprints":{"codehealthFindingId/v1":"4784db7992ac1948ae1578bffb2bbb0767b91fb391e30dea6b3887c35be2e778"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":2874}}}],"partialFingerprints":{"codehealthFindingId/v1":"98abd533c2a612e0240c1f8ca55ba22393ea413df87a60732001e6b6574e54f5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.then(\u2026, function(e){})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":2897}}}],"partialFingerprints":{"codehealthFindingId/v1":"03860dd0e399619a90e917d2e292f859b955d6f1ee3d548515302ea2d1bee8cd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":2931}}}],"partialFingerprints":{"codehealthFindingId/v1":"6713ef58f2eb78453055865b62e22e16cea38bbb5cde027a2575b72e271ed7d7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":3063}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd3e8c0a8813c5faf8e7b77eb23dab9e05aa44f270051db479338e75eef2feae"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":3133}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d9229b2fb4305ffe02203bfd228ddf180cc3ac421940c0740aaabef7feb66b3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":3156}}}],"partialFingerprints":{"codehealthFindingId/v1":"584752f98611888f284d401d42e70928c494700646165e055a8714b94ad97be2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":3427}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f61c4ee764759803a03fc17def1c9b06173a9f5a94fdd6529f26ee59386fc6b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":3449}}}],"partialFingerprints":{"codehealthFindingId/v1":"f01dd372708370c17fb9b601ba5a44f9c43a6274bb3c57e02eaa12247844bcee"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":3536}}}],"partialFingerprints":{"codehealthFindingId/v1":"37eb53ae0a3d26acfe6185fabf64bc1c539c4de3cf156b360de9c0f781b4bac3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":3558}}}],"partialFingerprints":{"codehealthFindingId/v1":"57253006cf1403bd2bd1a6a157bf90ba16843cdbc3a6675a9574bc30a16a0acf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":3938}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaef27ef2246797ad633c86f11217bb74ae0150d635c813c916e8eb0a6a79a00"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":4059}}}],"partialFingerprints":{"codehealthFindingId/v1":"55d36a6ad629b8e7c2babb92b0567eb84ff628ba0060b43cfd474ac73dc7cfe5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":4095}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed024ce450f53ccf3cc76af0d5bb1e7834da5c6c2f2eed7a037620fd55388513"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":4334}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d20cda920f9660b23bf86797c1a39e7bb37821f41186c94e0b2b2ec8ff95601"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":4522}}}],"partialFingerprints":{"codehealthFindingId/v1":"abe464bf18ff88a8a144809c787deb95739b501505052545a639ae19c520f55f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":5246}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1b2b68184bd5222fa0163d832f43c21966aaf342266c4f059aa84d1d9f8b918"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":5345}}}],"partialFingerprints":{"codehealthFindingId/v1":"e63b0134ba9cfb866281fa36dd9befa8de534e83081a5f0fe1b16f5733e09f24"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":5353}}}],"partialFingerprints":{"codehealthFindingId/v1":"22d8370da45a3c4318edc19dce3dfd2db5b9812a224f0e0a8ded5d50c79b56c8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":6012}}}],"partialFingerprints":{"codehealthFindingId/v1":"6501c197faeedf5b946787804d20145e1a560ce7f1b59bfc458041b55ab55223"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":6704}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0ad178eebc85caaaf5a629057d9f8a9bf75c129fd835b346320c70010748823"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":7403}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fadd70aa7522009f776ddacb30caf593f2a44f9dd4033e628fa1afdb3c9fc41"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":7433}}}],"partialFingerprints":{"codehealthFindingId/v1":"beefc0ab032a307a031d6eb6c5337363e3d315fad1c4ea74f16880d3c767969d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":7680}}}],"partialFingerprints":{"codehealthFindingId/v1":"1916422ae9006a94e0a5f7b7e8d6a158205a3290c5f8a122a1ba8d0fa02bc617"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":8165}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfddbdcee21378bbacc365d26afa23079434d3aef225be76bf0590c58392a3d1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":8197}}}],"partialFingerprints":{"codehealthFindingId/v1":"73922ee58964466065400df6c856ad047dbd81a0356842e4640b5c980d473b76"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":762}}}],"partialFingerprints":{"codehealthFindingId/v1":"03c5ea3871affa39c91f5ca50bb0991c2344a006f9871a4c608a921d3e349519"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":8125}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eb7c94cd14d80547e359b6ef91c1096c596b825ecd8040ddccfd3010414ea6b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":10472}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a66bdb534f8bf5c8cf5903b275b21e59e276e7514c71e64cd06c3f925d96369"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":12298}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb9073d0ba4b177de718d5ed0ec9c87c37bca50fd7fdbb936b7b291c0c3d5d21"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":13653}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c78e0afe93d0e5531d65c8e83c2f3291c08b7fbb91841a58b71ed265339b457"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":17617}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c52008d93273847f61db6a2a57338404a292c0c6d34f9f34c44e11929985992"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":19268}}}],"partialFingerprints":{"codehealthFindingId/v1":"b95a210cdda6983afb951da150a8f892502754b5e0c918443afc155e9182532f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":22033}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee3303718be5f585a836865b806e9f095c2368a2d7da632e11f7975abb136e1d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":22072}}}],"partialFingerprints":{"codehealthFindingId/v1":"40a2043490e31f1537e974dcc77ed198d654ca89ca42af1ed1614da0b7593b52"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":22443}}}],"partialFingerprints":{"codehealthFindingId/v1":"a90270e8cb80f650714aa0cdd9bedad9238daf3f15853b5eb484aef6b9ef210c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":23908}}}],"partialFingerprints":{"codehealthFindingId/v1":"24bce95379ddb4ad5b4235e5d3c8c850779ace7ea4f7cf5898b3a979b87bea69"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":24893}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1543d94440229f92c8e5a3a09207bc780667c42c29614abc2d99c272f25d888"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Dialogs.js"},"region":{"startLine":25771}}}],"partialFingerprints":{"codehealthFindingId/v1":"cecd71ba6bfecc37a1d9f9dfd1ef3a454d0fa76e1176cad8e7f53257e258b0c9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DiffSync.js"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"36d47ee4dc70cbae69feeb936db4ef7dfcfe7b5086a4a559546b368746136e65"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DiffSync.js"},"region":{"startLine":987}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8ff66813cca7d077b1f9da837999475bffb0a1d3906f276b64d8f7439ef18d5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DrawioClient.js"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a36d5ef75dd72749f1929252c5a33e18792b0e7affbd4bb090d336b68b0b29c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DrawioFile.js"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b5ee6dce0833ef47062f51de147cc59371920241f74c59b5cda79665a0bbfe1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DrawioFile.js"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"6025d2950f50ed0417297325f8310175ad5cc89ce1d8b4064880701b7f8d7e00"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DrawioFile.js"},"region":{"startLine":795}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d988203620c4aaa24e7c49aa02b87f547018992edf1cff24cd5cfdc8cf2cac3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DrawioFile.js"},"region":{"startLine":972}}}],"partialFingerprints":{"codehealthFindingId/v1":"968d9e2101d51c21a5c1e4d6e43f1c236112f4095bae6df6ebba8609a6b8348f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DrawioFile.js"},"region":{"startLine":1000}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d1900798d60e7a5145c665aa2db4d18d5e96710b6247824820d980661e8ad2d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DrawioFile.js"},"region":{"startLine":1006}}}],"partialFingerprints":{"codehealthFindingId/v1":"2603bc2e694f1c7a0dc0153424544c477f2ccede2a8de496fe6b341b77e001c3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DrawioFile.js"},"region":{"startLine":1057}}}],"partialFingerprints":{"codehealthFindingId/v1":"b750ccd054c46b0aa57d9a7fc6681291ea8e85640c23d375d7f79e0684aba7bc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DrawioFile.js"},"region":{"startLine":2564}}}],"partialFingerprints":{"codehealthFindingId/v1":"513046876b995887d6bbe5c48c9c5765956b0d0837f9cabf1ae323056c9f841f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DrawioFile.js"},"region":{"startLine":3247}}}],"partialFingerprints":{"codehealthFindingId/v1":"15c1d0e210b89ab94a250ab6d8548d4708e528caf9b8e4c081ad8f3ee907a278"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DrawioFile.js"},"region":{"startLine":4211}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c5dfb3969e4f82f8689574b0edb0544638e236c3c9afb0f426d38fd4052f55c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DrawioFile.js"},"region":{"startLine":4393}}}],"partialFingerprints":{"codehealthFindingId/v1":"910dc3b20abef76983e0020405d61cfc6f2260cb468e4ccb4ef0b8f1170d064e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DrawioFileSync.js"},"region":{"startLine":2710}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd0981794b1041b345ab4296d8bfd15f09e162f8eac06e9cccb0ecdb5761982e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DrawioFileSync.js"},"region":{"startLine":2769}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7db7053dc39e94707167d231e44ff98298c41a4869abfacd9195a1d8f3b6edb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DrawioFileSync.js"},"region":{"startLine":3475}}}],"partialFingerprints":{"codehealthFindingId/v1":"540de4cce7648d4dc3abaaa61232bf42bd11e49978f1f084786e7e1c6d8e1ab2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DrawioFileSync.js"},"region":{"startLine":3978}}}],"partialFingerprints":{"codehealthFindingId/v1":"e842fab191f0490300011dd226d50f6b655bba49cbfde1ce9b57d48b0e3f0a05"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DriveClient.js"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"22e45212e8664227c1c7cfef5bd7bccf45a36800b95f4208272ea1be912c6bd8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DriveClient.js"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"99f905717e13558f617d75d602d3f07e4f064c5cc199a97c1fa2e7acbb62ff0c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DriveClient.js"},"region":{"startLine":796}}}],"partialFingerprints":{"codehealthFindingId/v1":"aff17eae67f10808731d88d89210bab284e046dcdd03c56c13079adc8b80e432"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DriveClient.js"},"region":{"startLine":988}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbee6e6326acb13378306e0a2d1f6a35055bf74acb497fd08965eb8e41c09d3a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DriveClient.js"},"region":{"startLine":1948}}}],"partialFingerprints":{"codehealthFindingId/v1":"917bd975d23ccdb75d1fe436c118ef71ff31efb4d65d4d454548b6f829104187"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DriveClient.js"},"region":{"startLine":2258}}}],"partialFingerprints":{"codehealthFindingId/v1":"699566e7cb50c1527a4e9adedf2836371d86cfe39289da33c3a74c5768e04b29"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DriveClient.js"},"region":{"startLine":2409}}}],"partialFingerprints":{"codehealthFindingId/v1":"226a0a439b2af6969c110a9b28c62a0c5becfc0aea0d3c42cf72c0368d088578"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DriveClient.js"},"region":{"startLine":2478}}}],"partialFingerprints":{"codehealthFindingId/v1":"35414dc9d0ed1d521f6f5515424dad8faa0b30c2990f729bde09d6a0e7fa23c4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DriveClient.js"},"region":{"startLine":2563}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f50761f8243ff9f99d59cc2fea69b5bfc86ec016de6eda5c7730494ebb32fde"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DriveClient.js"},"region":{"startLine":2636}}}],"partialFingerprints":{"codehealthFindingId/v1":"b470e4928f527450ecb86046b31709eba02497f2c5e1b2ca0c9b3f9a195af5b6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DriveClient.js"},"region":{"startLine":2703}}}],"partialFingerprints":{"codehealthFindingId/v1":"111b1677170633cbaf9263744fbcca83ebd624adedfdf899ecded4f499f576b1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DriveFile.js"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"079fbc816947bd8655764895d306227d118298c0790067eb1e90937381b479f0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/DriveFile.js"},"region":{"startLine":927}}}],"partialFingerprints":{"codehealthFindingId/v1":"824e46bcf9b49afc4cf9486e4b9226fed41725f402cf8231c2cae2932a2e640f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":1662}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8f315302aa6d6cb0d3d1dc05155549ab0e44a9dd2caee464e8290c19441b6ed"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":1692}}}],"partialFingerprints":{"codehealthFindingId/v1":"18c93f77314a77b7af355339c004d4a4fb585916993420d7f9915045da5f69f7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":1702}}}],"partialFingerprints":{"codehealthFindingId/v1":"7883ea7847eeaeba47a3b8d1b5f023f64b81ee58171a38ad2caec5eb458a2fb4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":1728}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3e07047357912ec5ccaf49206430cef30adc6e48b6e7ea91aa28bcd9ce4f0a5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":1892}}}],"partialFingerprints":{"codehealthFindingId/v1":"326009b8d7fdbfa5516238b26ef18e285e8b71ef8ac2cf32b37c226c9c38b915"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":2650}}}],"partialFingerprints":{"codehealthFindingId/v1":"a312508fcb951750f8883071d75e64a22509a1673768cb62fd80609a1f3771ee"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":3161}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5149cfacd9b0b33b4b0844669529f1f68c754e5e997ce8f1d1743b02f57586e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":3236}}}],"partialFingerprints":{"codehealthFindingId/v1":"25cb9b2b1ff82465ed3acb4a59792a55120ace6a5cd1f21b6364fb92e338041f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e)\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, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":4687}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ed3b7f9ea20d9166cce47e7436bced0f873c8983e56f89006af56c902928e6e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":5281}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6af9303c931d26e6af7155fbf64e8d34ba0e97bacb6d0254ecd63438195f32a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":6046}}}],"partialFingerprints":{"codehealthFindingId/v1":"186fd33f9d45b353109e0b1a923e77f53617cc155bf5efc9138483212cfadbf2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":6845}}}],"partialFingerprints":{"codehealthFindingId/v1":"b23be9b9fe41335bfb31f9bfbe328f82a754d962d2ff25e9d26d079c75649fd0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":7019}}}],"partialFingerprints":{"codehealthFindingId/v1":"8403891b8988f9d06c9ab00bfec598a39f99fcc000f42e2abcbe1fdf3df83ada"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":7713}}}],"partialFingerprints":{"codehealthFindingId/v1":"772110b86e6850d79738de5433b72e10a3ee74e8b8e1f63d151edb0fcbfaa915"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":9828}}}],"partialFingerprints":{"codehealthFindingId/v1":"ade8ed8ed3c5cc90e5cbc1ce57ec3330614b7d85fcfc4411db384cb9eabdb72d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":9949}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d21db6c85bb59d6a6547ba0742ef7ceda3e547ead1a5adc26d82e9c7e932dd6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":10860}}}],"partialFingerprints":{"codehealthFindingId/v1":"dee98b4f56fdb4f5870a3c42f1a2dc1672c839dd2d90ed055e968ac6768ac04f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":11754}}}],"partialFingerprints":{"codehealthFindingId/v1":"8908db9565d3dae6159e196e4644601ae0f5cbf64290939af7f12584f037cdcd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":12089}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3bd9df6bbb170668d3c71dae1219570b0e0c1b1243f5fe36f0d7884f500ae47"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":13707}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c021851cb44879b1bf3b03669e268b2ff53bf85ecfe2ff65889a3bf711ca77f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":16065}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7d6582e5084af8d79b1cb49a3f30fbf63f1936b3141f193283bf1687110b2ef"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":16123}}}],"partialFingerprints":{"codehealthFindingId/v1":"6040e9f82768428eb9fb7e1e085f97702db28cb7f0a9807f018e12c6fbf3bbaa"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Editor.js"},"region":{"startLine":16363}}}],"partialFingerprints":{"codehealthFindingId/v1":"25bbe54f05eda332b26d4aa226e052fcf64d165a2fa6e130972feb66e8ed5a8f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"36bdfd0e0d6980137181331744d010b48d37eb775a00a82b724269cf610b3d87"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"31dae1e46407a597b7621db09671c65da28b6ce8e390c6af245e94fefa481ad3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ebd0adaf2894f455118f7563171a0787369252354a0c486d184c80051665cf6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":771}}}],"partialFingerprints":{"codehealthFindingId/v1":"da8ebdd2bf4958f6fd54ebd3ff7fcf003a6cb178dddc21ba627f8637e52931bd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":914}}}],"partialFingerprints":{"codehealthFindingId/v1":"d55398627d4cf1a63c3878973f585f3103f44a2388dec36cf4a50d133d605a5f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":948}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bad70462d2144ecdc69d1439b5a7bae3f7d938902e016960070337e47e713cb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":1068}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4f6e2a49b59fcc6b3fd4e071a4d2abb0be77ef08f51b481b08ef1774e80208c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":1245}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d2a8b854fddaf31ac835bcae56a5077d7843c0d5245e5f3e99a704796e2b3b9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":2426}}}],"partialFingerprints":{"codehealthFindingId/v1":"05ebae5d7546638fc8981b9d345aa21e5debd49ff5c5122395660b8a4f7b8d11"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":2630}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0595045047a67c94bf98049871b5344913c5aad6971c5262811fa08d9ab09d7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":2787}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b1a101510472b6e411f0cf37601505709f75470e99a61374332747a0917dcff"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":3896}}}],"partialFingerprints":{"codehealthFindingId/v1":"641cafcd1ad9431cd43a74590f6e9abd6140d822e44a8e2424478a571f599120"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":4075}}}],"partialFingerprints":{"codehealthFindingId/v1":"39bae24e96dbb65e8ccd4dd0f846c681056496044ba08e72f0136b1357fdd522"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":4176}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5d226552e43afeee3cf6ef856fefd38f627f0e2ed7968ff3719f504f91b31cf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":4645}}}],"partialFingerprints":{"codehealthFindingId/v1":"976d96f6268f61658c9da58738d6ce853823817934842ba2b3cda9e0c2764bab"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":4683}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c54ece7e975cdea4627d27a2b603c82404e65470b357a21396b24667c12bbbd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":4747}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3fac3860d4cb44c8a1728322404c69b5b7a8f3323574b478edeab369876d39c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":5245}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac6c4b02606bbae85eaba34b94e8f1245fb19c76dab6108a6f2d407d414ad7ff"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":5419}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fec9301ea707e77069be2cbcdc45ac5ddf3f41a572d980abf6056de45e70240"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":5459}}}],"partialFingerprints":{"codehealthFindingId/v1":"563f00eea7c138dc5d325ee7fb0c343652ba59a4a2c5b9bdcc3fd12547dcb48a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":5470}}}],"partialFingerprints":{"codehealthFindingId/v1":"98c78994650a763e78ae3431d2da95f01c81bd7e716986f60f1b2f9717dad312"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":5490}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5359f11b4ac14989633456e0c30b3c53a7ed82746ea32d7d0b9ccf559c8e749"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":5499}}}],"partialFingerprints":{"codehealthFindingId/v1":"44f8292f1848eaeeb9795209b3eec932e3639a779f913c6b956fd018309faa6f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":5922}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbaa977f89787ce125da42b8a71513d736167f58771831af7317c56ff9bd37eb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":6622}}}],"partialFingerprints":{"codehealthFindingId/v1":"176e489d3fec2729efe7d6cd2c97b9ccef5ef654263431d273937f968c014ef9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":6967}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f6a6ffe3d10d5ef4f100f0db347558f27cfe1f75624dd3349b733dba0d3f1ba"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":7071}}}],"partialFingerprints":{"codehealthFindingId/v1":"b15175c3752f079b748bf4c9175b77d32e06efbbb7cd8e3a23345ad2c49f37c4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":7144}}}],"partialFingerprints":{"codehealthFindingId/v1":"22bdced1d6355e1b4b2161aa04612bceec8f184707be4d2eb6ec5e78969e05dd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":7725}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c214b3d5d75fdacb75b7377dec7c876f9d9a0f1113dd5e183425b738e5ca2da"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":8824}}}],"partialFingerprints":{"codehealthFindingId/v1":"0226697d9705ef828b92f64f0652f5fbb5fd8916ea61516a690545754545787c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":9007}}}],"partialFingerprints":{"codehealthFindingId/v1":"464c08b545f251f76a509455854ce2ce364938465042981f345e88de562086a5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":9014}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac450355ced2edde79297efb037a0b6cbaa52172deb897d1435f2fbc540cda69"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":13317}}}],"partialFingerprints":{"codehealthFindingId/v1":"16f5144b268e786d4490fd36d546c714b8fe139bbaf0654758ebb75e7e1657bd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":13408}}}],"partialFingerprints":{"codehealthFindingId/v1":"c23dacc25297dfdb44687be69bceb4ce99896442c1c1d12c3f93da5b8447909f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":13757}}}],"partialFingerprints":{"codehealthFindingId/v1":"a377ac8107f2d42d053992f8f3cc3de54226cd1cb8a04e70a3bf48e557945ed7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":13789}}}],"partialFingerprints":{"codehealthFindingId/v1":"faec7e22755ca762ba6e6aef6b7f36c41d18f143038a54d352d5659c99ed34b3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":14194}}}],"partialFingerprints":{"codehealthFindingId/v1":"560429626aeaec522063a1d8dcc7357ae6f083f23675a2ff6f773a0b4cd3a1ed"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":14286}}}],"partialFingerprints":{"codehealthFindingId/v1":"37985ab8aa62b40febfb79c202831c3efef592664060a29adaaf86c4c154b98d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":14424}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbc648f5b90dc70b8ad7b3a032e0592ed5e613136893bc9b38b9a11c6aab2dec"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":14593}}}],"partialFingerprints":{"codehealthFindingId/v1":"20290044aab026f1293b076c6aaf1d1e87ce5b17c40a022e7a880c47c09dbbe7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":14753}}}],"partialFingerprints":{"codehealthFindingId/v1":"d520c41849b7d7769a128c5816174e88e7c4c5a98bf743664241731fdc3e46ae"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":15551}}}],"partialFingerprints":{"codehealthFindingId/v1":"46aa0a30968cad558496572950d5f3ed0b654cdba0b12e2dcf0c006556fa8630"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":15796}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e8679debcb357a32cb4bbae6a1e9478ad4cc353fbc1f26c00ce575b0d38fbd1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":15850}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc45a0012a61f830275a716a6209b580ffdcea2468b440388b20550e9c6c2ab8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":15963}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfb0ea6e6fd6bcd3b461ef56392eef3be51af5e8c248472368aeb79a96213f5a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":16094}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c035fbf7037958f4cc79be0a185fd8af2073cf561c3ebbaeeab7d5d2db8b155"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":16517}}}],"partialFingerprints":{"codehealthFindingId/v1":"33eb6c9818c1dbcf47161f4b5ef4632365656a75dae308601944288583b2c67e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":16827}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fbf310d785d57c6c07085571282454895078ae0c2bb6ce86a9fb1253e28f44b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":17039}}}],"partialFingerprints":{"codehealthFindingId/v1":"15cf834fb09af4e5a4d96f54d3bd1cf84dbf88d839e8452f10f5f8702e661b73"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":17872}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c77065c22794da24663138e52c790a0b825e5350dc85074045643fa68f26f07"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":18147}}}],"partialFingerprints":{"codehealthFindingId/v1":"635fb3a5f2e096447b5ba148187874d13c4757036bd9f087e1e5f0003ce317a9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":18276}}}],"partialFingerprints":{"codehealthFindingId/v1":"b53570fb8568e6dfdeb4a2f713bb9cb3115e8f79af751724b65259ce73101a59"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":18602}}}],"partialFingerprints":{"codehealthFindingId/v1":"a85e1ea3adb7a5b781907186a4eac657bb8415fcb35a0b38d8dde65febb8d60d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":18878}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbe0f059eaf6fa1352ec97919482597c0bb3e3b36878cd6c38bf56a6067b38e2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":25036}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b3f5500c01be4cbaab76097cf86e31656a5e02cca08d9c7287975d55dc4dcb0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":27216}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd25a8c783c5614a710dd3e23f8a11491647cf139d0662b25e14b434bc186fd1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":27299}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fa440dbc0ae97c8436abc3e6371e259f3c59d54d590e096731c41f9f0e73340"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":27351}}}],"partialFingerprints":{"codehealthFindingId/v1":"c29fa862926f7b64b1b1123d5369f4f0928dbfe109c6f32e7c143d59197da777"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":28062}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e0230f657e377a08a6ecb4fb7939770e9c6db9dc5324d09879ab4852707486b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.then(\u2026, handled)\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":28306}}}],"partialFingerprints":{"codehealthFindingId/v1":"e73f75c604e80e2b157836191c802b1791cc7e080da8c702c0b832550dcad176"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.then(\u2026, handled)\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":28324}}}],"partialFingerprints":{"codehealthFindingId/v1":"589cbd749a15b180d308529e1cce395287932f88590596c7abcac50fe104f7bf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":28748}}}],"partialFingerprints":{"codehealthFindingId/v1":"b89d63a20a66832f37a1ad29d8c59244f09c398a870d34e2357587280004000e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":28853}}}],"partialFingerprints":{"codehealthFindingId/v1":"a74875c5f557319a0ce0bd98ebe8f09ec88d4b89f5d2efdf7b0ccc81b89d8fcb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":28873}}}],"partialFingerprints":{"codehealthFindingId/v1":"12acaa6f1bf7a4560d6058a18ae032d25e3e01f8f5e40bd953112a3de5f9ae89"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":28897}}}],"partialFingerprints":{"codehealthFindingId/v1":"92b1f09eb05ffa189d2beed8b0ccaa8bf0086d5e20c2251bbd8e79ed62678196"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":29125}}}],"partialFingerprints":{"codehealthFindingId/v1":"df6dc4600f62de5fdf1bb7bac7178650cb5d5a7322b70d66e4f86e1d22a2bfa8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":29502}}}],"partialFingerprints":{"codehealthFindingId/v1":"07431af53fb297eb32849c833db0fad74155a6a79364f13f94d383cf1a7bf2dc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":29620}}}],"partialFingerprints":{"codehealthFindingId/v1":"31e8d555fb6fdd9d9a2db5cf722383f17a411600a9a6752670638018fba727db"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":29651}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa702e6ea700b3e3f7853e2070da84a97efdd7755a6d70566ab90badcaaec64c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":29669}}}],"partialFingerprints":{"codehealthFindingId/v1":"95006d7ce950981c39fc045d3b4a2b37b38fbe70dad57c185ca668bb312e6339"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":29676}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e48dcec15f69d7007d783d0fe4a0e8a4c31403d13bcda74cde66ec460aa72df"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":29701}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4fb3f063855e0d1f5b3bcd301ec7d021e7d9956da8ee0c9d6db64d55b6a762b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":29863}}}],"partialFingerprints":{"codehealthFindingId/v1":"f20470245787fcdf061e3bd498e0c32189b6454275fd1a394869a9b7e62ea465"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":31434}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cf1bac4a36e3ccd588b1cb4114775025ca29c9f54a4fa87d6db6fc5203b2eba"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":31456}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f3dd615ede47623c7ce83913f1ffa51404f4f4bab3d0ee8ee5b8526cc1f9293"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":32178}}}],"partialFingerprints":{"codehealthFindingId/v1":"de1fbb0431ae171d719fd62a819a12915504237c8920f9b710f5c1353204a8e9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":32455}}}],"partialFingerprints":{"codehealthFindingId/v1":"81e44bc47c5f5a14b4658ee721d8e773d461e19329f274d968026223d599b232"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":32805}}}],"partialFingerprints":{"codehealthFindingId/v1":"993ea01c565c1fbce23330118584ed4480418b8ad8fcc47bb1fa198d27bd6367"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":33529}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fae3ae22f22f61e934b499c2332c8fa0badcfe1220b061cd9772ca835453880"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":34657}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d9d4cab3fe2e01621f7b6ea7f0cdf3a3923945c4304318bfd64eae158afa7e5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":34685}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9203c3ede2d77897b76bc4cd172962bf7d736e33211c2d61b3449e9cd5dc634"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":35114}}}],"partialFingerprints":{"codehealthFindingId/v1":"7117cb987233f5c1094a43acdb7d50560de80719a416cf918e04f82c9df29c5e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":37746}}}],"partialFingerprints":{"codehealthFindingId/v1":"496b53145d96ed18c01ea7d825fc9ed57d9d91a92cf5111517a8a131a52078dc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":39043}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f97e2ebbfd1ed92a7abe9c19ac09d4c502819a220b1caacda31e62cf172aa2a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":42404}}}],"partialFingerprints":{"codehealthFindingId/v1":"c66ddee8825c3ddb7a2c84a5b59b702944d13909b4b518b599f697b304feb565"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":42869}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea612fec80db869f84acf932e37ce4ba050bc4df140a5ecd6c7e8b29d1f9b4d6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":44567}}}],"partialFingerprints":{"codehealthFindingId/v1":"6da9e5053b9f92b96896d86addd31f1b4c49af38f2c9e7efef79a3ad179c7cc1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":44633}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e4ddd09f68f0ef802fefff680bc393b5be725ab538e9b9f399043ad67775379"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ElectronApp.js"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"924dec98ebfa7613cef2455049b89fb265208639f0c5cfca233508d828eaebbd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ElectronApp.js"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"03136159d1c88942b7b0bf93b704aa2a5da1a7c010be89af5225810a94250c7f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(function(){})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ElectronApp.js"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"615031ada7576c0b7e6700673a687e69bf6599bc2dfa7d52cafef5d914c76374"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ElectronApp.js"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2eb1d3acc7ded8d3fd97e4bd46ab4985f869c9701195519a0d2ad9c2c1b2360"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ElectronApp.js"},"region":{"startLine":773}}}],"partialFingerprints":{"codehealthFindingId/v1":"38ce3a6e941c3f3dee18936b41a6bbdd30b761f8331d16020af1d4859b2c9f47"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ElectronApp.js"},"region":{"startLine":1685}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac74d7d5e9f838a64aba81a4dee0f995aad43281a826c8db37566fce3ec8f099"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ElectronApp.js"},"region":{"startLine":1713}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c6856a39f57516ce6165fa66ca815f00e2181c12f186175da83354f50b103f5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ElectronApp.js"},"region":{"startLine":2362}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d6eb34da39200022ad1b5cf3ddb30cab7d41caa0c1df709b68a3346f5c277b8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ElkLayout.js"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc396d942efb8d990ddca6e6f374c077fa4629b83e3ace334a8344dde5945ba5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ElkLayout.js"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"62cb6cc1dc18b0baa78e75278ae2f334e637339917b66b527ee00765ec8d1410"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ElkLayout.js"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebf51fd15a35289ba9953eed519d59012bc472109b3310fb3e7831974807b728"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Embed.js"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"9522fb65299f7358ce4aa69eeee7939a31540a0075b9770310bb3dce4aae418b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Extensions.js"},"region":{"startLine":3926}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3f4ad61a613bf19602095c2d3fcb8776c89616323347f626d94a7ef4bd8bb1e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Extensions.js"},"region":{"startLine":6965}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d3cc1c1e0c3559a40526f62103519db4d2ef9cc0291a492fcc586af601e0c02"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Extensions.js"},"region":{"startLine":13516}}}],"partialFingerprints":{"codehealthFindingId/v1":"836765861c16aeb57f0065fa9f67afc97eecf953863f4546bdc8ef3ebcbfc7d1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Extensions.js"},"region":{"startLine":14131}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e9c7135fea242d1fdb7a89508ff6471cf3943d9adb1e20b1a49944dd6e8df06"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ForceExplorer.js"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"375f767b3c965e756ff315a78f407f6fdc8cd9b1f40f7a8da1a5657062f73162"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/FusionTheme.js"},"region":{"startLine":890}}}],"partialFingerprints":{"codehealthFindingId/v1":"32ac1fdff00a93523d2a7d8d68d8c0f8bdb54b46f3d95e0cea0d979a8f3d4bea"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/GitHubClient.js"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9f21c8e96a8ae2bcb658d3ade20d8252f8c409c4b00a3793901e0b60a217a9f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/GitLabClient.js"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"22ffc4eb0afbcf75b78b46f2a7f6a35459158699f06268ed5fcd59e51ba1546b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/GraphViewer.js"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a140a6b656f45e3f0c1fbd7906f7b41f4524d2f2fcbc11eacc4d06545473dbd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/GraphViewer.js"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"b08aabe485986e840db1467eeb544fdecb8f04daa9e54903fc73bc7b157be055"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/GraphViewer.js"},"region":{"startLine":2813}}}],"partialFingerprints":{"codehealthFindingId/v1":"b53545bb8aa6587eca5b2fa5636ae9923657a270ecedb01338f9e667ae3a2d10"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/GraphViewer.js"},"region":{"startLine":3417}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e89cceb9f7194d701d08d0acb4fb956d84ea8edb1a16ff5d6d41f2970c82080"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/GraphViewer.js"},"region":{"startLine":3648}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dec137e929b4a70c21088e8e739c25f40d2ce2519692deb873142f409af84df"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/GraphViewer.js"},"region":{"startLine":3698}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0adcfd7a1081a0e12868d5bd999a7c7241aa9326d3cf7b0378dd21b14962c7f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/GraphViewer.js"},"region":{"startLine":3995}}}],"partialFingerprints":{"codehealthFindingId/v1":"71a4e38a50de68fa05df1f7373f7afe8c4c6c975f2713b0d45cd8bef524f57cd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Init.js"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff9f162c9228db98ed2131288685233df6639c2c7a382df30f6846c1ab0794e6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/LayoutPicker.js"},"region":{"startLine":3618}}}],"partialFingerprints":{"codehealthFindingId/v1":"8525a366bd5fb9607b6e9931eb246f86e66989783f079f843613fe9f9a2d9391"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/LightboxModern.js"},"region":{"startLine":1337}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0a884b258b14280e4d37b8a6dbb625cb51c5ad223d5892ababf14e4abcb4769"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/LightboxModern.js"},"region":{"startLine":1344}}}],"partialFingerprints":{"codehealthFindingId/v1":"abac4bfd13f30cc6f728116ab719545e87008402b612617863614c3bcf8bed1d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/LightboxModern.js"},"region":{"startLine":3499}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e8fd1ca08ab4dbf2ea3100c8cf8cf8718cf0015b0a3cb41520ee228d04bc5d8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.then(\u2026, function(){})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/LocalFile.js"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb945109c02007565556dc2a13c099552b463958dafc0704ad3b8b306776668f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Menus.js"},"region":{"startLine":1860}}}],"partialFingerprints":{"codehealthFindingId/v1":"be43f65fad4bcefc0206d8c2f5ae1703e7bfbb960f339c02db3ccd1f9a918f24"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Menus.js"},"region":{"startLine":4421}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7aff9d0d20752ca0baaa8e1d1a2db5b0e0f5cf3df3fa3e65aaafb2ed5121291"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Minimal.js"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"34ced6ee7734813435df8586dfe92a80be9e6b052869e704957056b36772a694"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/OneDriveClient.js"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"1752844ffd66c665bb65acf42ae41665cf6af335b243e47084cc11b43e0f3cac"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/OneDriveClient.js"},"region":{"startLine":1221}}}],"partialFingerprints":{"codehealthFindingId/v1":"71848d82b74c25af1bae83d62119a4664e7c550136b865103436d60458252377"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/OneDriveClient.js"},"region":{"startLine":1323}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4dd1f7d14d267c31f2ea7582c0a8cbb13f562b4286cc4375a1f6ac131ce88a3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/OneDriveClient.js"},"region":{"startLine":1445}}}],"partialFingerprints":{"codehealthFindingId/v1":"21a1d0a3bb828efc149b9d4e2e43033ca16bddae063c15160f253a25b9c63f50"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/OneDriveClient.js"},"region":{"startLine":1450}}}],"partialFingerprints":{"codehealthFindingId/v1":"00724cf7ba8018a0b61bea649fe188d52ffc67b3261e561a70225b912579b977"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/OneDriveClient.js"},"region":{"startLine":1455}}}],"partialFingerprints":{"codehealthFindingId/v1":"57cc84f4799ed3b2d8c148d140e7ac4adfe706f902b2898abcdfab61d83b4c3e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/OneDriveClient.js"},"region":{"startLine":1512}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dba8f9a318768c79c31033a01c54a965b2518086a4b377b0c332a53660f6a8d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/OneDriveFile.js"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"353f0e5cdd8fee2e17bae4d5d9305b4c03c2f8da3f820c5bde143a3d300b08f7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/OneDriveFile.js"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7993600f1866bc7b2a5b73b034d2223b584937788f53617255f8a9b0238cbfc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/P2PCollab.js"},"region":{"startLine":1255}}}],"partialFingerprints":{"codehealthFindingId/v1":"648a60270f7dbd78f1272a2165b101e580a5d3d8add281f5a82cc57e8407848a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Pages.js"},"region":{"startLine":1329}}}],"partialFingerprints":{"codehealthFindingId/v1":"40e6e99a1119d0a5b4e6eb525d97663105fc443be1c71ba838f951b207239f64"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Pages.js"},"region":{"startLine":2616}}}],"partialFingerprints":{"codehealthFindingId/v1":"68902aaefbcfdb73f51302f9a7facac790496733c57a2805450405b4965ae944"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Pages.js"},"region":{"startLine":2886}}}],"partialFingerprints":{"codehealthFindingId/v1":"698a8992eb1a39a579246fdd147389ec662d9bc00caabcb9f91f64551ca81449"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Settings.js"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6ef5bf34be33e3602921fb7d4c5dce7e331ad3ec8b40231688fe3c0c37efe88"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/Trees.js"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"412b1fd61fc58f391a3adf24b59c16830179bbbe3b66e1f55efcf983f23d0dd0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/TrelloClient.js"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"62a8b5bcd4feab8402ab730bc15d0e1d2f587617008c3511616eed1133e43b43"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/ViewerModern.js"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1c1fcd036feff5b26bb1941acb4480af4f1220aef47cdf342c07f69a33d463a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/mxRuler.js"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"96a5cf10b46cd48f8bf3cb1c2b6d0aee1736e36a71009bd6ada11d6055b97376"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/mxRuler.js"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8192b2ef7b623f8095643450eefa22a81ce9b5d4d831fb947ce18955969cb82"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/mxRuler.js"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"814b90eea8f6d649a891214e41dcb6a26f64ed73cac7add84d51f66c14342bff"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab4f5ff17f2792bfbbc35d7c519fdc98f95d2b09b4ce47fafc729873ea6206b7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":2055}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac54170fe70fde65ee87781b1a240b24752dbeaffb62ab171d137625a5d40026"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":3245}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c99311df6a65dc82200f2c1339f8c922d0847b79734fceac23c900b4f08d875"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":5633}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c148ebdd7fbc75c0fd721e7c31122ca902a6188876a73a10abab6661a656502"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":6021}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0edaf851363ac17e886c453c11e6ae4556694ae4f308659d5ad606b4ae2cc41"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":6068}}}],"partialFingerprints":{"codehealthFindingId/v1":"58afde75220649f614c0499585bb2ff0218c4c7e41f6cd52cfeca4cf3c6b944a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":6473}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f1bbafcfa613ba36d0eaf1374d4a1f0cfd4ee60d3d6bf3fe616c2fe965bca9b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":6526}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecf989a9e3004d3fbb8dde0562beaa41ae467e9ca77170ad1173d495c135a43e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":9523}}}],"partialFingerprints":{"codehealthFindingId/v1":"c419271acf7c0132467911401984c38c1202560085108056d2ee98285ca584a7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":9539}}}],"partialFingerprints":{"codehealthFindingId/v1":"f172f15ccaa0d38b17e8383af20481317cf346143fe552dc2f14aebde1195f7d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":9843}}}],"partialFingerprints":{"codehealthFindingId/v1":"41dba82a2816ac424fdba0c2c99420b94b206369d47342fff202fcb1f577b1b5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e)\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, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":10792}}}],"partialFingerprints":{"codehealthFindingId/v1":"1864d162cc65145ce2b87fe4fa11d72fe098ce782f5fcb2fd2d0f8c6ec42a1ed"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e)\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, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":10809}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca0e506ef95a235c77d4b60cde4b2b86cdfd934bf03b7f05ce28e68807cfbd7c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e)\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, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":10885}}}],"partialFingerprints":{"codehealthFindingId/v1":"02303af4f57f5e9128ba9f006d16011229514cefed8726cd07c6ed3f0ebd77cd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":11118}}}],"partialFingerprints":{"codehealthFindingId/v1":"49bae6de3abd75e23805b94c50c6884bfc4eacdea5a43a9c5fd357b935dafc2a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":11138}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbdb5e9faa862d5dfccb34bac85513e826b61958ec192ac1b2279ccba3dfb0ce"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":13065}}}],"partialFingerprints":{"codehealthFindingId/v1":"81468cacd9505e372da9a614214d13e977ba86fe25707509e28164a0dd7289d0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":13114}}}],"partialFingerprints":{"codehealthFindingId/v1":"4df2edf6049972e002d69e6e6d2c846d4635d93e3fe724905653ebb6d55a65db"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":13145}}}],"partialFingerprints":{"codehealthFindingId/v1":"e65313c9a9220fb9f3ce91754fdae68789560148d63005da551fd18770e72339"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":13552}}}],"partialFingerprints":{"codehealthFindingId/v1":"88e7ffc807374f1c7923a784067489427fe57ec5f70cf4172702c37055952d91"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/vsdx/importer.js"},"region":{"startLine":14608}}}],"partialFingerprints":{"codehealthFindingId/v1":"d121029328c05c55b605ecb934f8ef3d884b4331ec4f41378e1f936df7314ee5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/util/mxJsCanvas.js"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"38bc6d7df104c69b207823c5dce82ae4310e9fb41031ae742ebbfe85a6a8470d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/tidy/TidyStyle.js"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"549fcd94b1b7c701463bfcda05b0dfaefd2ca1522c453aab5f28ccdd85863939"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/tidy/TidyStyle.js"},"region":{"startLine":1337}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ec7cfa86050112d0e7121ecd29c0e1530fc3a9cfcb8c41d14b8b16ae51f57ca"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (e)\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, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/tidy/TidyStyle.js"},"region":{"startLine":1966}}}],"partialFingerprints":{"codehealthFindingId/v1":"76cd96a012eff193a64bbd7d2bcb74c5e703faa82cc10495d36058481f32f478"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/tidy/TidyWindow.js"},"region":{"startLine":1353}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b7a9133969367e25d93827451b81eb28875e6bf85e276f72f208514593218ac"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/tidy/TidyWindow.js"},"region":{"startLine":1391}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cf7e7e614360a8d08c440a304f6eee2627517e7ce155d61497056671b901683"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar.js"},"region":{"startLine":1956}}}],"partialFingerprints":{"codehealthFindingId/v1":"7016e863d415ca1c672d267dacba5f1b44b5fae2b04f1e74b9ebc1598f8b64f0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar.js"},"region":{"startLine":2177}}}],"partialFingerprints":{"codehealthFindingId/v1":"887ac1495c9ff43404fda998365e96779822e185f82d0cda8b912e6fe7273e0a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/sidebar/Sidebar.js"},"region":{"startLine":2321}}}],"partialFingerprints":{"codehealthFindingId/v1":"face6868d781b90a7b02fd0b02fad469f5e5104412cbba622d4ddca619487028"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/graphml/mxGraphMlCodec.js"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"11ac981206ffcb97dcd551586abbb71d39c3100d7964bdcfdef17cb06d27a516"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/graphml/mxGraphMlCodec.js"},"region":{"startLine":1749}}}],"partialFingerprints":{"codehealthFindingId/v1":"69fe87a2541bc7f49405a653dc893187867acee680c0a142a47b7f2f4555d6bc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/graphml/mxGraphMlCodec.js"},"region":{"startLine":2714}}}],"partialFingerprints":{"codehealthFindingId/v1":"27d3d0a444a3deb753765bcecd600f5a7736f73890448828a06e9b87fe48e5d2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/gif/AnimationExport.js"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"582f76758498dc996f62a1d53aea8769f60c026f25c8ddfcb80f490bc2544263"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/gif/Mp4Encoder.js"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a2d712c16c68a83c47b8204679b50a6fe80098963ecccec82271df91ccd0941"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/server/java/com/mxgraph/online/AbsAuth.java"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"668ad7b05e6c43cd89e05610409bbc4913fc61a37cd87b9427852ed84185791b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/server/java/com/mxgraph/online/AbsAuth.java"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf20f54e62423f8b71d0515bf68102e023d377f2d23f5223a0d7404165619e59"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/server/java/com/mxgraph/online/AbsAuth.java"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d9e16a2ccc05b1f51920a408a1e289e841b806cc64b2d7589ccdf71b6f7800d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/server/java/com/mxgraph/online/GitHubAuth.java"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b57535a6c6a73dcf18802c112ea03c42e194693255667a9493bd8c0b1f8efac"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/server/java/com/mxgraph/online/GitlabAuth.java"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"30e85192a089b7dbbc451766b2815b4524905a43a382b536c42b11017769df43"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/server/java/com/mxgraph/online/LogServlet.java"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a810149158b46fb0efc0e261b25957332c3d2ea4e0e55f6e9dabacef63f76ed"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/server/java/com/mxgraph/online/MSGraphAuth.java"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f7e1bbe3eb83a755a0e1eae22318b0f68cab010c7f38981cacb4abd871dd06b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"etc/dependencies/dompurify-smoke.js"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"294c13fe49a8593d1f671ba53388dc64433d6f41c092f5fd3d5f7d26b3b76929"}},{"ruleId":"X5","level":"note","message":{"text":"Java packages are not null-marked everywhere: 0/1 of this repository\u0027s Java package directories are under a non-null default: a \u0060package-info.java\u0060 declaring \u0060@NullMarked\u0060 (JSpecify) or \u0060@NonNullApi\u0060, \u0060@ParametersAreNonnullByDefault\u0060, \u0060@NonNullByDefault\u0060, \u0060@DefaultQualifier(NonNull.class)\u0060; a \u0060module-info.java\u0060 declaring \u0060@NullMarked\u0060; every type in it \u0060@NullMarked\u0060; or a build that runs NullAway with the package in \u0060AnnotatedPackages\u0060, or the Checker Framework\u0027s \u0060NullnessChecker\u0060. Elsewhere every reference admits null and no checker warns on the dereference that throws a \u0060NullPointerException\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"419201f6fc7ba243aef2cfb154378641588a8190e6269cea04a7b48c3d343bd5"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This JavaScript/TypeScript code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/EditorUi.js"},"region":{"startLine":17238}}}],"partialFingerprints":{"codehealthFindingId/v1":"fea52bb00b752106c4be5f1fd84c433b6d105003dc90074cc3c3e3662c392d9b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getExpiresIn\u0060 swallows every exception into \u0060return -1\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the Javadoc, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/server/java/com/mxgraph/online/AbsAuth.java"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"340ac3fa123532e23f0dbac6c9540dec90f297aa7f415d0893a98c8bbb252b4e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060App.getServiceWorkerFailures\u0060 swallows every exception into \u0060return 0\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/App.js"},"region":{"startLine":845}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c1cfef5019d18c096168f9e6cf36544daf29bca7aeabc9388051c38d4221680"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060Tidy.ops.route\u0060 swallows every exception into \u0060return 0\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/tidy/Tidy.js"},"region":{"startLine":2256}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8f1cc3e0d514338f0ba6520efe2c182710226d19b152b1210835d98d209a6ec"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060TidyWindow.isFocusVisible\u0060 swallows every exception into \u0060return true\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/webapp/js/diagramly/tidy/TidyWindow.js"},"region":{"startLine":1670}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c196130086b98289fb1450d54e11cfb9a473e4ac2473b52415f66333fb43a86"}}],"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-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-1104","guid":"4c918cb5-b2a6-6c55-9963-a44ee464305e","name":"Use of Unmaintained Third Party Components","shortDescription":{"text":"Use of Unmaintained Third Party Components"},"helpUri":"https://cwe.mitre.org/data/definitions/1104.html"},{"id":"CWE-125","guid":"98717707-96bf-ca5b-9568-8d1d257574c1","name":"CWE-125","shortDescription":{"text":"CWE-125"},"helpUri":"https://cwe.mitre.org/data/definitions/125.html"},{"id":"CWE-1329","guid":"f70f1c3f-4ccf-cb5e-bdd3-03ba4868d36d","name":"Reliance on Component That is Not Updateable","shortDescription":{"text":"Reliance on Component That is Not Updateable"},"helpUri":"https://cwe.mitre.org/data/definitions/1329.html"},{"id":"CWE-1333","guid":"11a336ce-63de-c45c-845e-29ca1e8df13d","name":"CWE-1333","shortDescription":{"text":"CWE-1333"},"helpUri":"https://cwe.mitre.org/data/definitions/1333.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-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-319","guid":"7af97476-9f0d-4458-9163-3d2043918a1a","name":"Cleartext Transmission of Sensitive Information","shortDescription":{"text":"Cleartext Transmission of Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/319.html"},{"id":"CWE-345","guid":"d80d4b65-bbbe-b65d-958e-7ac466af18f9","name":"Insufficient Verification of Data Authenticity","shortDescription":{"text":"Insufficient Verification of Data Authenticity"},"helpUri":"https://cwe.mitre.org/data/definitions/345.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-532","guid":"1cd8877a-76e8-ce54-b40b-779af23364a0","name":"Insertion of Sensitive Information into Log File","shortDescription":{"text":"Insertion of Sensitive Information into Log File"},"helpUri":"https://cwe.mitre.org/data/definitions/532.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-93","guid":"8df43f53-1a8e-b959-b717-0e35ab823573","name":"Improper Neutralization of CRLF Sequences (\u0027CRLF Injection\u0027)","shortDescription":{"text":"Improper Neutralization of CRLF Sequences (\u0027CRLF Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/93.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":"A04:2025","guid":"6a9f5bfd-1a56-6453-beec-a7eff0ba3007","name":"Cryptographic Failures","shortDescription":{"text":"Cryptographic Failures"},"helpUri":"https://top10.owasp.org/2025/A04_2025-Cryptographic_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":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"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/"},{"id":"A09:2025","guid":"78892bc9-3c98-495d-881c-8af1390d643c","name":"Security Logging \u0026 Alerting Failures","shortDescription":{"text":"Security Logging \u0026 Alerting Failures"},"helpUri":"https://top10.owasp.org/2025/A09_2025-Security_Logging_and_Alerting_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"},{"id":"CICD-SEC-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"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":47,"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."]}]}