{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"]}},{"id":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"]}},{"id":"D33","name":"JS/npm Dependency Vulnerabilities","shortDescription":{"text":"JS/npm Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D33","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"]}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"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"]}],"properties":{"cwe":["CWE-1357","CWE-494"]}},{"id":"D38","name":"OSV Dependency Vulnerabilities","shortDescription":{"text":"OSV Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D38","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"]}}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"GraphqlSchemaUtil.getGraphQLType (cyclomatic 51): GraphqlSchemaUtil.getGraphQLType has cyclomatic complexity 51 (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":"sqrl-planner/src/main/java/com/datasqrl/server/util/GraphqlSchemaUtil.java"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"95d8d36d1667d897618930182b341fe624086fe58a57e5ce452fdf428cef07b2"}},{"ruleId":"D1","level":"warning","message":{"text":"FlexibleJsonFlinkFormatTypeMapper.getMapper (cyclomatic 41): FlexibleJsonFlinkFormatTypeMapper.getMapper has cyclomatic complexity 41 (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":"sqrl-planner/src/main/java/com/datasqrl/datatype/flink/json/FlexibleJsonFlinkFormatTypeMapper.java"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"df90f304018272288aeaf6c9527fa203fd51c4f59315da717287c8fa5ecb1b33"}},{"ruleId":"D1","level":"warning","message":{"text":"SQRLLogicalPlanAnalyzer.visit (cyclomatic 39): SQRLLogicalPlanAnalyzer.visit 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":"sqrl-planner/src/main/java/com/datasqrl/planner/analyzer/SQRLLogicalPlanAnalyzer.java"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"60faebd4d3281a70b21435cc51c2de0099a7f2818d1d8c625345a933538df1c8"}},{"ruleId":"D1","level":"warning","message":{"text":"SqlScriptPlanner.planStatement (cyclomatic 38): SqlScriptPlanner.planStatement 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":"sqrl-planner/src/main/java/com/datasqrl/planner/SqlScriptPlanner.java"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"a954eef68f0ddc7b877fed1bf03ddec3b34c678b977312ef59c5eebc0689e65b"}},{"ruleId":"D1","level":"warning","message":{"text":"DuckDbSqlTranslationUtils.flinkDateFormatToDuckDb (cyclomatic 32): DuckDbSqlTranslationUtils.flinkDateFormatToDuckDb 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":"sqrl-planner/src/main/java/com/datasqrl/function/translation/duckdb/builtin/DuckDbSqlTranslationUtils.java"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"806162020843ea718b04bc4551a8c871b803e4eed038150847f63729f1defd20"}},{"ruleId":"D1","level":"warning","message":{"text":"ExtendedPostgresSqlDialect.getCastSpec (cyclomatic 23): ExtendedPostgresSqlDialect.getCastSpec has cyclomatic complexity 23 (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":"sqrl-planner/src/main/java/com/datasqrl/calcite/dialect/ExtendedPostgresSqlDialect.java"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8cabd63c1db0242c195ff8542084d36705dbb461cbd96fe478960ab2dab2adc"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultSchemaGenerator.merge (cyclomatic 22): DefaultSchemaGenerator.merge 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":"sqrl-discovery/src/main/java/com/datasqrl/discovery/stats/DefaultSchemaGenerator.java"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c3e98b2dd354991c338cd17d0f97942e5fac4bbca4a97fb5a8ea37e40f1fae9"}},{"ruleId":"D1","level":"warning","message":{"text":"KafkaLogEngine.createInternal (cyclomatic 20): KafkaLogEngine.createInternal 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":"sqrl-planner/src/main/java/com/datasqrl/engine/log/kafka/KafkaLogEngine.java"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"de70df1e2e9ec58a0fa5ac242b9b098e85fadf5ccc56d3a124cff1ddf95fa7af"}},{"ruleId":"D1","level":"warning","message":{"text":"DAGPlanner.assemble (cyclomatic 20): DAGPlanner.assemble 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":"sqrl-planner/src/main/java/com/datasqrl/planner/dag/DAGPlanner.java"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0dbbd831b32775808d691acfadc7dedee0f587c3c6d5f5c069293ced5c57f34"}},{"ruleId":"D1","level":"warning","message":{"text":"GraphqlSchemaVisitor.accept (cyclomatic 20): GraphqlSchemaVisitor.accept 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":"sqrl-planner/src/main/java/com/datasqrl/server/visitor/GraphqlSchemaVisitor.java"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"19b8b30ca86df8be99fb2f8f7acd75e439c743926a139a20f06f34446c3f0496"}},{"ruleId":"D1","level":"warning","message":{"text":"TypeSignatureUtil.detectSimpleTypeSignature (cyclomatic 19): TypeSignatureUtil.detectSimpleTypeSignature 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":"sqrl-planner/src/main/java/com/datasqrl/io/schema/flexible/input/TypeSignatureUtil.java"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e676949bb557b5fbaad7a42dffd08eb4e7e09feb69d361147f32c91010c9adf"}},{"ruleId":"D1","level":"warning","message":{"text":"SqrlStatementParser.parseStatement (cyclomatic 19): SqrlStatementParser.parseStatement 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":"sqrl-planner/src/main/java/com/datasqrl/planner/parser/SqrlStatementParser.java"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"a50c2eb9d23386f62b3a8e7b9302c658c02695de00356eaef48fbbe013c4dcab"}},{"ruleId":"D1","level":"warning","message":{"text":"SqrlRelMdRowCount.getRowCount (cyclomatic 17): SqrlRelMdRowCount.getRowCount 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":"sqrl-planner/src/main/java/com/datasqrl/plan/rules/SqrlRelMdRowCount.java"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"76c57eedabf387fd27ae968d92d34e84ea9c8ec0e8993d200587b3ab41284e2f"}},{"ruleId":"D1","level":"warning","message":{"text":"DocStringParser.parse (cyclomatic 17): DocStringParser.parse 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":"sqrl-planner/src/main/java/com/datasqrl/planner/hint/DocStringParser.java"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"30d1b92b1735fbf3e6c8fb39bef4c81bff788dd03489d8708b339b8ae8470db7"}},{"ruleId":"D1","level":"warning","message":{"text":"GraphQLSchemaConverter.visit (cyclomatic 16): GraphQLSchemaConverter.visit 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":"sqrl-planner/src/main/java/com/datasqrl/server/converter/GraphQLSchemaConverter.java"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae501759e6fe5e04e2388d3752ca5be687ac32da96db487eb2aae33f15014e90"}},{"ruleId":"D2","level":"warning","message":{"text":"SqlScriptPlanner.planStatement (cognitive 108): SqlScriptPlanner.planStatement has cognitive complexity 108 (threshold 15). Drivers by points: if/else 79, loops 13, boolean chains 11, ternaries 5 (nesting depth added 68). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sqrl-planner/src/main/java/com/datasqrl/planner/SqlScriptPlanner.java"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"a882e63abed5a108ee1e5841eecb6611e413674e41680e9c83f7beeef8626cb0"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultSchemaGenerator.merge (cognitive 84): DefaultSchemaGenerator.merge has cognitive complexity 84 (threshold 15). Drivers by points: if/else 70, loops 11, ternaries 2, boolean chains 1 (nesting depth added 54). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sqrl-discovery/src/main/java/com/datasqrl/discovery/stats/DefaultSchemaGenerator.java"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"c152758edc2ed2c2a77eb4967a10cdf0e10d061d2b30fe8ab896f4e2cb092860"}},{"ruleId":"D2","level":"warning","message":{"text":"SQRLLogicalPlanAnalyzer.visit (cognitive 68): SQRLLogicalPlanAnalyzer.visit has cognitive complexity 68 (threshold 15). Drivers by points: if/else 41, boolean chains 13, ternaries 8, loops 6 (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":"sqrl-planner/src/main/java/com/datasqrl/planner/analyzer/SQRLLogicalPlanAnalyzer.java"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"43d45e96ccaa178e466461f41e880d216e71c98c47a55d364ac1ddfe6db1e633"}},{"ruleId":"D2","level":"warning","message":{"text":"TypeSignatureUtil.detectSimpleTypeSignature (cognitive 44): TypeSignatureUtil.detectSimpleTypeSignature has cognitive complexity 44 (threshold 15). Drivers by points: if/else 39, boolean chains 2, loops 2, ternaries 1 (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":"sqrl-planner/src/main/java/com/datasqrl/io/schema/flexible/input/TypeSignatureUtil.java"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"fabfbb34e785529808a2a2611e0b8801d274208b280ac021298d1219a5aa8e05"}},{"ruleId":"D2","level":"warning","message":{"text":"DAGPlanner.assemble (cognitive 41): DAGPlanner.assemble has cognitive complexity 41 (threshold 15). Drivers by points: if/else 36, boolean chains 2, loops 2, 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":"sqrl-planner/src/main/java/com/datasqrl/planner/dag/DAGPlanner.java"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"d99af9fd453d2cbfcafcb661150590631e05b88b14060290652188086fc39ac5"}},{"ruleId":"D2","level":"warning","message":{"text":"DuckDbSqlTranslationUtils.flinkDateFormatToDuckDb (cognitive 37): DuckDbSqlTranslationUtils.flinkDateFormatToDuckDb has cognitive complexity 37 (threshold 15). Drivers by points: if/else 22, loops 6, boolean chains 5, ternaries 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":"sqrl-planner/src/main/java/com/datasqrl/function/translation/duckdb/builtin/DuckDbSqlTranslationUtils.java"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"54501ac1da78b608031192c65b118e84e20e74830f715bdb788bf23ff16efb99"}},{"ruleId":"D2","level":"warning","message":{"text":"GraphQLSchemaConverter.visit (cognitive 37): GraphQLSchemaConverter.visit has cognitive complexity 37 (threshold 15). Drivers by points: if/else 28, loops 8, 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":"sqrl-planner/src/main/java/com/datasqrl/server/converter/GraphQLSchemaConverter.java"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d3096765323a2857cab2a817ddb1a24f51d98b48e22d3b2ff32fd07fab4347f"}},{"ruleId":"D2","level":"warning","message":{"text":"KafkaLogEngine.createInternal (cognitive 35): KafkaLogEngine.createInternal has cognitive complexity 35 (threshold 15). Drivers by points: if/else 20, loops 6, ternaries 6, 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":"sqrl-planner/src/main/java/com/datasqrl/engine/log/kafka/KafkaLogEngine.java"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2a551e40aae298eb778e4b8e9e0d2777fa5fcb0fd16714034d1afac348d2190"}},{"ruleId":"D2","level":"warning","message":{"text":"FieldStats.validate (cognitive 34): FieldStats.validate has cognitive complexity 34 (threshold 15). Drivers by points: if/else 31, loops 2, 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":"sqrl-discovery/src/main/java/com/datasqrl/discovery/stats/FieldStats.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"eda50a8c7ee535fe3fe0fc5889b03651de4bdbfcf68d1c18ef4a1697dc52f803"}},{"ruleId":"D2","level":"warning","message":{"text":"SqlScriptPlanner.planMain (cognitive 34): SqlScriptPlanner.planMain has cognitive complexity 34 (threshold 15). Drivers by points: if/else 25, error handling 6, boolean chains 2, 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":"sqrl-planner/src/main/java/com/datasqrl/planner/SqlScriptPlanner.java"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"95bb606e89c4007ee43398a18e2c05e99db02cceb583efe85dfa46c0abbc6b7e"}},{"ruleId":"D2","level":"warning","message":{"text":"MutationDatabase.isBackwardsCompatible (cognitive 33): MutationDatabase.isBackwardsCompatible has cognitive complexity 33 (threshold 15). Drivers by points: if/else 28, loops 3, boolean chains 2 (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":"sqrl-planner/src/main/java/com/datasqrl/planner/dag/plan/MutationDatabase.java"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"28fd7822930a0a8745c1025fd32d61a6dbf0ae69e77f80421e52a17bddd38715"}},{"ruleId":"D2","level":"warning","message":{"text":"BasicTypeManager.computeTypeCombinationMatrix (cognitive 32): BasicTypeManager.computeTypeCombinationMatrix has cognitive complexity 32 (threshold 15). Drivers by points: if/else 23, loops 7, boolean chains 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":"sqrl-planner/src/main/java/com/datasqrl/io/schema/flexible/type/basic/BasicTypeManager.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"78c496975618cc20db0ddac08c21c0b6d2088fcba1bde2971d9b52030385e0f7"}},{"ruleId":"D2","level":"warning","message":{"text":"SqrlStatementParser.parseStatement (cognitive 32): SqrlStatementParser.parseStatement has cognitive complexity 32 (threshold 15). Drivers by points: if/else 26, boolean chains 4, ternaries 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":"sqrl-planner/src/main/java/com/datasqrl/planner/parser/SqrlStatementParser.java"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"a729270e3b770e3f98135ca77b0de11d10c62d8e0194cb9e10af4e4a45af7dc7"}},{"ruleId":"D2","level":"warning","message":{"text":"SQRLLogicalPlanAnalyzer.visit (cognitive 29): SQRLLogicalPlanAnalyzer.visit has cognitive complexity 29 (threshold 15). Drivers by points: if/else 24, boolean chains 4, loops 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":"sqrl-planner/src/main/java/com/datasqrl/planner/analyzer/SQRLLogicalPlanAnalyzer.java"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cf85f19a1e1494fa1287e8358ef14556990a9d45cd305375808ce661485a074"}},{"ruleId":"D2","level":"warning","message":{"text":"DocStringParser.parse (cognitive 28): DocStringParser.parse has cognitive complexity 28 (threshold 15). Drivers by points: if/else 21, boolean chains 5, loops 1, 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":"sqrl-planner/src/main/java/com/datasqrl/planner/hint/DocStringParser.java"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"16cf8ce6e16117fe72632de1b4c829a883947bb75b0d90d0a7eaf3b005a314b8"}},{"ruleId":"D2","level":"warning","message":{"text":"RelWriterWithHints.explain_ (cognitive 27): RelWriterWithHints.explain_ has cognitive complexity 27 (threshold 15). Drivers by points: if/else 21, loops 4, boolean chains 1, match/switch 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":"sqrl-planner/src/main/java/com/datasqrl/plan/util/RelWriterWithHints.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ac23bc85267a6c9877c2ebb301313ccb5576e7f7fe35f421f3558cfe35821fa"}},{"ruleId":"D2","level":"warning","message":{"text":"SqlScriptStatementSplitter.parseLine (cognitive 27): SqlScriptStatementSplitter.parseLine has cognitive complexity 27 (threshold 15). Drivers by points: if/else 23, boolean chains 3, loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sqrl-planner/src/main/java/com/datasqrl/planner/parser/SqlScriptStatementSplitter.java"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"8efc5921c29f0ea53ff3cbd4133070ded217826b47620ce2f35bacbc3c0139a4"}},{"ruleId":"D2","level":"warning","message":{"text":"SqrlConfig.as (cognitive 26): SqrlConfig.as has cognitive complexity 26 (threshold 15). Drivers by points: if/else 17, error handling 5, boolean chains 2, loops 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":"sqrl-planner/src/main/java/com/datasqrl/config/SqrlConfig.java"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"c80f30dfdc2cb6ec68ed4e439d93dce8783f9497d5fed9218ac0ec8b1091ea94"}},{"ruleId":"D2","level":"warning","message":{"text":"QueryIndexSummary.ofFilter (cognitive 26): QueryIndexSummary.ofFilter has cognitive complexity 26 (threshold 15). Drivers by points: if/else 15, ternaries 6, loops 3, 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":"sqrl-planner/src/main/java/com/datasqrl/plan/global/QueryIndexSummary.java"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1d033e8f4fede0b80e4a2270dd3f56fb7482ef67de6604016687ab32096aada"}},{"ruleId":"D2","level":"warning","message":{"text":"GraphqlSchemaWalker.walkObjectType (cognitive 26): GraphqlSchemaWalker.walkObjectType has cognitive complexity 26 (threshold 15). Drivers by points: if/else 25, 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":"sqrl-planner/src/main/java/com/datasqrl/server/GraphqlSchemaWalker.java"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"489722506443d3632d94a186bd8671b21e89399c44ec9574aac11f36aefea315"}},{"ruleId":"D2","level":"warning","message":{"text":"PipelineDAGExporter.export (cognitive 24): PipelineDAGExporter.export has cognitive complexity 24 (threshold 15). Drivers by points: if/else 18, ternaries 4, boolean chains 1, loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sqrl-planner/src/main/java/com/datasqrl/plan/global/PipelineDAGExporter.java"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"dea5f92111ccedd636c68e70510f84c5b687516c24371887db69fb3d3a20a9e0"}},{"ruleId":"D2","level":"warning","message":{"text":"QueryIndexSummary.getCost (cognitive 24): QueryIndexSummary.getCost has cognitive complexity 24 (threshold 15). Drivers by points: if/else 19, loops 4, 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":"sqrl-planner/src/main/java/com/datasqrl/plan/global/QueryIndexSummary.java"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b3ffa5820d27b8e505cb999863b6845377468bbc3cb0e6ad55786974b702cb4"}},{"ruleId":"D2","level":"warning","message":{"text":"SqlScriptPlanner.addExport (cognitive 23): SqlScriptPlanner.addExport has cognitive complexity 23 (threshold 15). Drivers by points: if/else 19, error handling 3, 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":"sqrl-planner/src/main/java/com/datasqrl/planner/SqlScriptPlanner.java"},"region":{"startLine":1025}}}],"partialFingerprints":{"codehealthFindingId/v1":"06fb48934af09172782249ebd61f96675f3b9364a318a13925629eed4061f7c4"}},{"ruleId":"D2","level":"warning","message":{"text":"Sqrl2FlinkSQLTranslator.addTable (cognitive 21): Sqrl2FlinkSQLTranslator.addTable has cognitive complexity 21 (threshold 15). Drivers by points: if/else 17, loops 2, boolean chains 1, 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":"sqrl-planner/src/main/java/com/datasqrl/planner/Sqrl2FlinkSQLTranslator.java"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"8379c3cd14e5faded6f6f6935ab1e16e946f31738736753fde32cecd58bcd283"}},{"ruleId":"D2","level":"warning","message":{"text":"Sqrl2FlinkSQLTranslator.parseSchema (cognitive 20): Sqrl2FlinkSQLTranslator.parseSchema has cognitive complexity 20 (threshold 15). Drivers by points: if/else 18, boolean chains 1, 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":"sqrl-planner/src/main/java/com/datasqrl/planner/Sqrl2FlinkSQLTranslator.java"},"region":{"startLine":1032}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8e1c432090c8324ab5067bfa2d7fe6ee83f9d8c5988ee26d64d744b52a08753"}},{"ruleId":"D2","level":"warning","message":{"text":"DatasqrlTest.run (cognitive 19): DatasqrlTest.run has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8, error handling 6, loops 2, ternaries 2, boolean chains 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":"sqrl-cli/src/main/java/com/datasqrl/cli/DatasqrlTest.java"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ffb2cb3e911f4fa53bcf2478671658dc5ee86f99d650fbe41063fed1a9ecfa5"}},{"ruleId":"D2","level":"warning","message":{"text":"FieldStats.add (cognitive 19): FieldStats.add has cognitive complexity 19 (threshold 15). Drivers by points: if/else 16, loops 3 (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":"sqrl-discovery/src/main/java/com/datasqrl/discovery/stats/FieldStats.java"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"26b14b7a6e7a8b0f5bf4dfe099b5de9b8668854b9fdff3f7e9423c59c3ebb95c"}},{"ruleId":"D2","level":"warning","message":{"text":"SchemaImport.convert (cognitive 19): SchemaImport.convert has cognitive complexity 19 (threshold 15). Drivers by points: if/else 14, loops 3, 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":"sqrl-planner/src/main/java/com/datasqrl/io/schema/flexible/external/SchemaImport.java"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"93903df70556c32078e1bdc78e1e16bb251778984618b8f8d6cd39d365f385e7"}},{"ruleId":"D2","level":"warning","message":{"text":"IndexSelector.optimizeIndexesWithCostMinimization (cognitive 19): IndexSelector.optimizeIndexesWithCostMinimization has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10, boolean chains 5, loops 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":"sqrl-planner/src/main/java/com/datasqrl/plan/global/IndexSelector.java"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"4527dd9dbb6e2c40fa079591948772645e74878d7da18d24cf759e2573b5dbda"}},{"ruleId":"D2","level":"warning","message":{"text":"IndexFinder.visit (cognitive 19): IndexFinder.visit has cognitive complexity 19 (threshold 15). Drivers by points: if/else 14, boolean chains 5 (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":"sqrl-planner/src/main/java/com/datasqrl/plan/global/IndexSelector.java"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"530dde6c5197b66df06e10a13faa52055387b0dc4d0c6482f8769ceeea40abba"}},{"ruleId":"D2","level":"warning","message":{"text":"GraphqlSchemaVisitor.accept (cognitive 19): GraphqlSchemaVisitor.accept has cognitive complexity 19 (threshold 15). Drivers by points: if/else 19. 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":"sqrl-planner/src/main/java/com/datasqrl/server/visitor/GraphqlSchemaVisitor.java"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1259f04da84dc12806b2943574324cee29e166c41edd6ffa13a97096f127bab"}},{"ruleId":"D2","level":"warning","message":{"text":"SqrlRexUtil.decomposeEqualityCondition (cognitive 18): SqrlRexUtil.decomposeEqualityCondition has cognitive complexity 18 (threshold 15). Drivers by points: if/else 14, 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":"sqrl-planner/src/main/java/com/datasqrl/calcite/SqrlRexUtil.java"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"4da01460e33bc51720160d38d32b94803e5c4e0506dcb2965ee349f3744e58ee"}},{"ruleId":"D2","level":"warning","message":{"text":"KafkaLogEngine.plan (cognitive 18): KafkaLogEngine.plan has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9, loops 8, 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":"sqrl-planner/src/main/java/com/datasqrl/engine/log/kafka/KafkaLogEngine.java"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"82b7b649980b9a6d153bfbeb91f4a423c70281f49f1a60ac47c82f7d68607cf0"}},{"ruleId":"D2","level":"warning","message":{"text":"FlinkSqlNodes.createColumns (cognitive 18): FlinkSqlNodes.createColumns has cognitive complexity 18 (threshold 15). Drivers by points: if/else 17, 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":"sqrl-planner/src/main/java/com/datasqrl/engine/stream/flink/FlinkSqlNodes.java"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d947402f0df0b5553c9e60c03f0a6efdd16f852e1ac8172a3d74b154d6220bd"}},{"ruleId":"D2","level":"warning","message":{"text":"FlexibleTypeMatcher.matchSingleType (cognitive 18): FlexibleTypeMatcher.matchSingleType has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11, ternaries 4, loops 2, 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":"sqrl-planner/src/main/java/com/datasqrl/io/schema/flexible/input/FlexibleTypeMatcher.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"30e764e1e5637fe928235129092f31cd80ed701cd916dca3b9cf207b5a35e4ab"}},{"ruleId":"D2","level":"warning","message":{"text":"SqlScriptPlanner.addImport (cognitive 18): SqlScriptPlanner.addImport has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12, ternaries 4, error handling 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":"sqrl-planner/src/main/java/com/datasqrl/planner/SqlScriptPlanner.java"},"region":{"startLine":904}}}],"partialFingerprints":{"codehealthFindingId/v1":"4147c85b649920560bfb16431d6778d2d40fbf348a86d0a01acd7038667a8fc1"}},{"ruleId":"D2","level":"warning","message":{"text":"ResultSetPrinter.print (cognitive 17): ResultSetPrinter.print has cognitive complexity 17 (threshold 15). Drivers by points: if/else 14, loops 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":"sqrl-cli/src/main/java/com/datasqrl/util/ResultSetPrinter.java"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3b39de836a9ee41b1aeb5b2cb4f5550fae8fedc7a8eee1a87037c0faaf141f7"}},{"ruleId":"D2","level":"warning","message":{"text":"ConfigLoaderUtils.resolveConnectorEnvVars (cognitive 17): ConfigLoaderUtils.resolveConnectorEnvVars has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12, loops 5 (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":"sqrl-planner/src/main/java/com/datasqrl/util/ConfigLoaderUtils.java"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd008b502942e7a4690ff75f71f1ce789293612c915675b09f4a63b9e8273712"}},{"ruleId":"D2","level":"warning","message":{"text":"SqrlRelMdRowCount.getRowCount (cognitive 17): SqrlRelMdRowCount.getRowCount has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12, loops 3, boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sqrl-planner/src/main/java/com/datasqrl/plan/rules/SqrlRelMdRowCount.java"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"76af4e39267e8c82c31462c9014f73ddb2561e055e7ef2655d0afb7cdbf68844"}},{"ruleId":"D2","level":"warning","message":{"text":"DAGPlanner.determinePrimaryKey (cognitive 17): DAGPlanner.determinePrimaryKey has cognitive complexity 17 (threshold 15). Drivers by points: if/else 15, boolean chains 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":"sqrl-planner/src/main/java/com/datasqrl/planner/dag/DAGPlanner.java"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a59497a1dd7a21cd0beebcc9cb5ee3b116c17d40ef92685662e3e1dad7afb35"}},{"ruleId":"D2","level":"warning","message":{"text":"GraphqlSchemaValidator.validateStructurallyEqualTypes (cognitive 17): GraphqlSchemaValidator.validateStructurallyEqualTypes has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13, 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":"sqrl-planner/src/main/java/com/datasqrl/server/GraphqlSchemaValidator.java"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a595af660fc110a637c21d24714079d360c2ee57110abc138123479856249b5"}},{"ruleId":"D2","level":"warning","message":{"text":"FilePath.getComponents (cognitive 16): FilePath.getComponents has cognitive complexity 16 (threshold 15). Drivers by points: if/else 15, 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":"sqrl-planner/src/main/java/com/datasqrl/io/file/FilePath.java"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4fbc95662271b0557c65c3c1ea9b621ca09025a628b6755a103dbe24c514783"}},{"ruleId":"D2","level":"warning","message":{"text":"IndexSelector.generateIndexCandidates (cognitive 16): IndexSelector.generateIndexCandidates has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9, ternaries 3, loops 2, match/switch 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":"sqrl-planner/src/main/java/com/datasqrl/plan/global/IndexSelector.java"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"0480fea5832e9e6d54ed0acba5045081e2f7f67751b7988dcf8d84d7a4364ee3"}},{"ruleId":"D2","level":"warning","message":{"text":"SqrlRelMdRowCount.getRowCount (cognitive 16): SqrlRelMdRowCount.getRowCount has cognitive complexity 16 (threshold 15). Drivers by points: if/else 16. 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":"sqrl-planner/src/main/java/com/datasqrl/plan/rules/SqrlRelMdRowCount.java"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fa868e80af457d3fbecfa3883d4f182b6c64718469ab39db1514a397bf83a12"}},{"ruleId":"D2","level":"warning","message":{"text":"SQRLLogicalPlanAnalyzer.analyze (cognitive 16): SQRLLogicalPlanAnalyzer.analyze has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10, boolean chains 4, ternaries 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":"sqrl-planner/src/main/java/com/datasqrl/planner/analyzer/SQRLLogicalPlanAnalyzer.java"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"08850540ad9d81dd1bcd43fe8f97a2edd966a7af2e5655e193368eb7c5e2ef8d"}},{"ruleId":"D2","level":"warning","message":{"text":"GraphQLSchemaConverter.convert (cognitive 16): GraphQLSchemaConverter.convert has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11, loops 5 (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":"sqrl-planner/src/main/java/com/datasqrl/server/converter/GraphQLSchemaConverter.java"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"76c3ec6db41fd63cf56d9e419296470f63cd11bee216c6e5778d99ffdf3d9db1"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: GraphqlSchemaVisitor: TooManyMethods \u2014 56 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sqrl-planner/src/main/java/com/datasqrl/server/visitor/GraphqlSchemaVisitor.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"9de13bac23649f581477a4220956bf36d958b9e01f5b548d1850bc3ab35ecf6f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: planner/SqlScriptPlanner.java: FileTooLong \u2014 905 significant lines (blank, comment-only and punctuation-only lines excluded), about 87% of them inside a single declaration: SqlScriptPlanner (147-1237). 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":"sqrl-planner/src/main/java/com/datasqrl/planner/SqlScriptPlanner.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e826724b73607db0b664b5dead4e6ec4522c94ee97ac00f3c0d76dc454c9216a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: planner/Sqrl2FlinkSQLTranslator.java: FileTooLong \u2014 793 significant lines (blank, comment-only and punctuation-only lines excluded), about 84% of them inside a single declaration: Sqrl2FlinkSQLTranslator (168-1178). 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":"sqrl-planner/src/main/java/com/datasqrl/planner/Sqrl2FlinkSQLTranslator.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ab47629b12a34d465f7a5340a2bb48625198f72f8318facbf5a34f193b541cb"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Sqrl2FlinkSQLTranslator: TooManyMethods \u2014 45 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sqrl-planner/src/main/java/com/datasqrl/planner/Sqrl2FlinkSQLTranslator.java"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"98e78169548ed408088aa65bd809b6cd5d3c3e6ff6149520e2fa30df3df9187f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: analyzer/SQRLLogicalPlanAnalyzer.java: FileTooLong \u2014 706 significant lines (blank, comment-only and punctuation-only lines excluded), about 89% of them inside a single declaration: SQRLLogicalPlanAnalyzer (112-1004). 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":"sqrl-planner/src/main/java/com/datasqrl/planner/analyzer/SQRLLogicalPlanAnalyzer.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fd3b6c040347c8dfd5c707eb2fb011e43a4bfd63c7938c7e3215f306ec78a5e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ErrorCollector: TooManyMethods \u2014 41 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sqrl-planner/src/main/java/com/datasqrl/error/ErrorCollector.java"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5fab86783aef045cff89ddf27a64201e845e70c7f40332bbef12b71fbdd3389"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SqrlConfig: TooManyMethods \u2014 39 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sqrl-planner/src/main/java/com/datasqrl/config/SqrlConfig.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cd57f76dd11c1443a310790e73a9e4734351c6c4fe460800909fcbf8044f7f3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CalciteUtil: TooManyMethods \u2014 38 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sqrl-planner/src/main/java/com/datasqrl/util/CalciteUtil.java"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"1996bf1710ab0581d936c469b927c3ec1c428bd7d6f8e2ef925fd382712d5d99"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SqrlRexUtil: TooManyMethods \u2014 32 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sqrl-planner/src/main/java/com/datasqrl/calcite/SqrlRexUtil.java"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"8836963a7682860bb990aaa32c66f6d2edec24b7fe0473263102ff071e99faa0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PostgresConformance: TooManyMethods \u2014 32 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sqrl-planner/src/main/java/com/datasqrl/calcite/dialect/PostgresConformance.java"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"818116b26e2842246983d5b335b8af0594cbe8acbfaf5c1d6c2ab74fbae60fbb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: dag/DAGPlanner.java: FileTooLong \u2014 517 significant lines (blank, comment-only and punctuation-only lines excluded), about 85% of them inside a single declaration: DAGPlanner (98-735). 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":"sqrl-planner/src/main/java/com/datasqrl/planner/dag/DAGPlanner.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"50b41ff9848a3a07aaf0eb2a50c0101314b864c9144a5807e84b0cd9e2349ac0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): sqrl-server/sqrl-server-vertx-base/src/main/java/com/datasqrl/server/swagger/SwaggerService.java:186-201 | sqrl-server/sqrl-server-vertx-base/src/main/java/com/datasqrl/server/swagger/SwaggerService.java:205-220 \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. 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":"sqrl-server/sqrl-server-vertx-base/src/main/java/com/datasqrl/server/swagger/SwaggerService.java"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"04cd36d50fcc5da209181f4cf1a83337d414922c5814807feab5cdd6359ffe74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): sqrl-server/sqrl-server-vertx-base/src/main/java/com/datasqrl/server/auth/JwtFailureHandler.java:35-48 | sqrl-server/sqrl-server-vertx-base/src/main/java/com/datasqrl/server/auth/OAuthFailureHandler.java:43-56 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sqrl-server/sqrl-server-vertx-base/src/main/java/com/datasqrl/server/auth/JwtFailureHandler.java"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"582c818aa1ad15c4a51cf2a056d6dab0d654a1e827d0ebf110adbc4e00618f2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): sqrl-server/sqrl-server-vertx-base/src/main/java/com/datasqrl/server/modules/ApiDeploymentModule.java:119-131 | sqrl-server/sqrl-server-vertx-base/src/main/java/com/datasqrl/server/modules/ApiDeploymentModule.java:136-148 \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 \u0060sqrl-server/sqrl-server-vertx-base/src/main/java/com/datasqrl/server/modules/ApiDeploymentModule.java:119\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"sqrl-server/sqrl-server-vertx-base/src/main/java/com/datasqrl/server/modules/ApiDeploymentModule.java"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"19e5356566969edfe919dfcab8a6827c9eed700f94f46a683862f3c887270eb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): sqrl-server/sqrl-server-vertx-base/src/main/java/com/datasqrl/server/auth/OAuth2AuthFactory.java:95-106 | sqrl-server/sqrl-server-vertx-base/src/main/java/com/datasqrl/server/auth/OAuth2AuthFactory.java:116-127 \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 \u0060sqrl-server/sqrl-server-vertx-base/src/main/java/com/datasqrl/server/auth/OAuth2AuthFactory.java:95\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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sqrl-server/sqrl-server-vertx-base/src/main/java/com/datasqrl/server/auth/OAuth2AuthFactory.java"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2745b40104e9d46586c9490b0d1839eb315ba8da045f97dbfd44c15dffcf94a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): sqrl-cli/src/main/java/com/datasqrl/cli/ExecCmd.java:36-46 | sqrl-cli/src/main/java/com/datasqrl/cli/RunCmd.java:39-50 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sqrl-cli/src/main/java/com/datasqrl/cli/ExecCmd.java"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c3127fb7c43e649cbc6525193d2da9480474176e5e863f94942734637134e83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): sqrl-planner/src/main/java/com/datasqrl/planner/util/CompiledPlanCondenser.java:62-71 | sqrl-planner/src/main/java/com/datasqrl/planner/util/CompiledPlanCondenser.java:90-99 \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 \u0060sqrl-planner/src/main/java/com/datasqrl/planner/util/CompiledPlanCondenser.java:62\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":"sqrl-planner/src/main/java/com/datasqrl/planner/util/CompiledPlanCondenser.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"b10f507329a9726a5cffba0f0aeb3acd355949afdf932f51512255488c32ee51"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): sqrl-planner/src/main/java/com/datasqrl/engine/stream/flink/FlinkSqlNodes.java:166-174 | sqrl-planner/src/main/java/com/datasqrl/engine/stream/flink/FlinkSqlNodes.java:181-189 \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":"sqrl-planner/src/main/java/com/datasqrl/engine/stream/flink/FlinkSqlNodes.java"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"d512cd875fac1532f7576cf5e7c2d8bb800297319402234d86cd5fc922c445c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): sqrl-planner/src/main/java/com/datasqrl/engine/stream/flink/FlinkSqlNodes.java:244-252 | sqrl-planner/src/main/java/com/datasqrl/engine/stream/flink/FlinkSqlNodes.java:280-288 \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":"sqrl-planner/src/main/java/com/datasqrl/engine/stream/flink/FlinkSqlNodes.java"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"3056d3de4fd81b7cc3ce54f70c0320517aaf7136fad95185a641baa61ad629b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): sqrl-server/sqrl-server-vertx-base/src/main/java/com/datasqrl/server/RestBridgeVerticle.java:113-121 | sqrl-server/sqrl-server-vertx-base/src/main/java/com/datasqrl/server/RestBridgeVerticle.java:131-139 \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 \u0060sqrl-server/sqrl-server-vertx-base/src/main/java/com/datasqrl/server/RestBridgeVerticle.java:113\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sqrl-server/sqrl-server-vertx-base/src/main/java/com/datasqrl/server/RestBridgeVerticle.java"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0232be2ef269725c72dcaa65f1308073a147886934a0af4530fba21f1352549"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): sqrl-planner/src/main/java/com/datasqrl/function/translation/postgres/builtinflink/BaseShaSqlTranslation.java:37-44 | sqrl-planner/src/main/java/com/datasqrl/function/translation/postgres/builtinflink/FromBase64SqlTranslation.java:37-44 | sqrl-planner/src/main/java/com/datasqrl/function/translation/postgres/builtinflink/ToBase64SqlTranslation.java:37-44 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sqrl-planner/src/main/java/com/datasqrl/function/translation/postgres/builtinflink/BaseShaSqlTranslation.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"25ae88ec7b883fe32cae4fa23ac5a27b8b000dcb821da2aa801482e9af621133"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): sqrl-planner/src/main/java/com/datasqrl/util/BaseFileUtil.java:35-42 | sqrl-planner/src/main/java/com/datasqrl/util/FileUtil.java:110-117 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060sqrl-planner/src/main/java/com/datasqrl/util/BaseFileUtil.java:35\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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sqrl-planner/src/main/java/com/datasqrl/util/BaseFileUtil.java"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"498b989b7035683b3658b8b2c489aaa5a332fe38e1d144ef898b7973cc5fa463"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): sqrl-planner/src/main/java/com/datasqrl/function/translation/postgres/builtinflink/HexSqlTranslation.java:37-44 | sqrl-planner/src/main/java/com/datasqrl/function/translation/postgres/builtinflink/UnhexSqlTranslation.java:37-44 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sqrl-planner/src/main/java/com/datasqrl/function/translation/postgres/builtinflink/HexSqlTranslation.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc6b8655f948944ab3fbe20424155178c0938d90acb0055def6a3a614730ba0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): sqrl-planner/src/main/java/com/datasqrl/function/translation/postgres/builtinflink/FromBase64SqlTranslation.java:36-42 | sqrl-planner/src/main/java/com/datasqrl/function/translation/postgres/builtinflink/HexSqlTranslation.java:36-42 | sqrl-planner/src/main/java/com/datasqrl/function/translation/postgres/builtinflink/ToBase64SqlTranslation.java:36-42 | sqrl-planner/src/main/java/com/datasqrl/function/translation/postgres/builtinflink/UnhexSqlTranslation.java:36-42 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sqrl-planner/src/main/java/com/datasqrl/function/translation/postgres/builtinflink/FromBase64SqlTranslation.java"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"df1f4de47d14534ecf871beffa19524f32e5d1b1ea671af872653692ec877859"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sqrl-planner/src/main/java/com/datasqrl/function/translation/duckdb/builtin/ElementSqlTranslation.java:43-49 | sqrl-planner/src/main/java/com/datasqrl/function/translation/postgres/builtinflink/ElementSqlTranslation.java:42-48 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sqrl-planner/src/main/java/com/datasqrl/function/translation/duckdb/builtin/ElementSqlTranslation.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1bfcc216acf498ab87e9d2ac8f5c8b11be91a16815ec6b84b2c1eb81dd69abd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sqrl-planner/src/main/java/com/datasqrl/function/translation/PostgresLikeTranslations.java:60-66 | sqrl-planner/src/main/java/com/datasqrl/function/translation/PostgresLikeTranslations.java:80-86 \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":"sqrl-planner/src/main/java/com/datasqrl/function/translation/PostgresLikeTranslations.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c298c398f8b9459409fd486650e6bfa31ff63d846aaff673342c0d05f1a6cf4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sqrl-server/sqrl-server-vertx-base/src/main/java/com/datasqrl/server/graphql/GraphQLQueryMetricsInstrumentation.java:43-49 | sqrl-server/sqrl-server-vertx-base/src/main/java/com/datasqrl/server/graphql/GraphQLTailSampleTracingInstrumentation.java:85-91 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. 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":"sqrl-server/sqrl-server-vertx-base/src/main/java/com/datasqrl/server/graphql/GraphQLQueryMetricsInstrumentation.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"906a8ef1f4285fd8dfd366397aebb10b7fee577e08ca03d92791d3728061a00d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): sqrl-planner/src/main/java/com/datasqrl/function/translation/postgres/builtinflink/LogSqlTranslation.java:43-48 | sqrl-planner/src/main/java/com/datasqrl/function/translation/PostgresLikeTranslations.java:32-37 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060sqrl-planner/src/main/java/com/datasqrl/function/translation/postgres/builtinflink/LogSqlTranslation.java:43\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sqrl-planner/src/main/java/com/datasqrl/function/translation/postgres/builtinflink/LogSqlTranslation.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"6725ab0a8f24e96d942cfafbb03e1a82100b46466b340eddef56bcb7a1830800"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: sqrl-planner/src/main/java/com/datasqrl/planner/SqlScriptPlanner.java: sqrl-planner/src/main/java/com/datasqrl/planner/SqlScriptPlanner.java changed 9 times in last 90 days, max complexity 38. 3 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, cover the area it touches with tests, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sqrl-planner/src/main/java/com/datasqrl/planner/SqlScriptPlanner.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8564097ff50c75a291486282aecfe15930dc7a68f752d6dd82d58c8ee4a13616"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: sqrl-planner/src/main/java/com/datasqrl/planner/analyzer/SQRLLogicalPlanAnalyzer.java: sqrl-planner/src/main/java/com/datasqrl/planner/analyzer/SQRLLogicalPlanAnalyzer.java changed 3 times in last 90 days, max complexity 39. 2 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, cover the area it touches with tests, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sqrl-planner/src/main/java/com/datasqrl/planner/analyzer/SQRLLogicalPlanAnalyzer.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cf3dd669bfcac246bb2324f969240a383eb9b9b3682980bde0acbb31fd4810a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: sqrl-planner/src/main/java/com/datasqrl/server/util/GraphqlSchemaUtil.java: sqrl-planner/src/main/java/com/datasqrl/server/util/GraphqlSchemaUtil.java changed 2 times in last 90 days, max complexity 51. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, behind tests written first."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sqrl-planner/src/main/java/com/datasqrl/server/util/GraphqlSchemaUtil.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5428a254402eee934eb03f446b56ec375153be2168ddafb31d81e422248bdea"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: sqrl-planner/src/main/java/com/datasqrl/function/translation/duckdb/builtin/DuckDbSqlTranslationUtils.java: sqrl-planner/src/main/java/com/datasqrl/function/translation/duckdb/builtin/DuckDbSqlTranslationUtils.java changed 2 times in last 90 days, max complexity 32. 2 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, cover the area it touches with tests, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sqrl-planner/src/main/java/com/datasqrl/function/translation/duckdb/builtin/DuckDbSqlTranslationUtils.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7048d47a3500e219902454c5162dc914cd85898d4c762f5978f5d878141105bd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: sqrl-planner/src/main/java/com/datasqrl/engine/log/kafka/KafkaLogEngine.java: sqrl-planner/src/main/java/com/datasqrl/engine/log/kafka/KafkaLogEngine.java changed 3 times in last 90 days, max complexity 20. 1 of those changes was a fix/bug commit, so the churn is repair rather than feature work. Before the next change lands here, cover the area it touches with tests, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sqrl-planner/src/main/java/com/datasqrl/engine/log/kafka/KafkaLogEngine.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"af99ce8c95b8881215ff45515d803aa9054ca27ddf6c946d8e79a0566ac8fc7f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: sqrl-planner/src/main/java/com/datasqrl/planner/dag/plan/MutationDatabase.java: sqrl-planner/src/main/java/com/datasqrl/planner/dag/plan/MutationDatabase.java changed 2 times in last 90 days, max complexity 15. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, behind tests written first."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sqrl-planner/src/main/java/com/datasqrl/planner/dag/plan/MutationDatabase.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e23d2abee6f2389c0282a46e363c714abe9d7b13e47290e7e2648bf6d195769"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 28 significant file(s) lose their only recent owner: sqrl-planner/src/main/java/com/datasqrl/util/ConfigLoaderUtils.java, sqrl-server/sqrl-server-vertx-base/src/main/java/com/datasqrl/server/graphql/GraphQLTailSampleTracingInstrumentation.java, sqrl-planner/src/main/java/com/datasqrl/planner/FlinkPlannerConfigBuilder.java, sqrl-planner/src/main/java/com/datasqrl/function/translation/duckdb/builtin/TimestampDiffSqlTranslation.java, sqrl-planner/src/main/java/com/datasqrl/function/translation/duckdb/builtin/DuckDbSqlTranslationUtils.java, sqrl-server/sqrl-server-vertx-base/src/main/java/com/datasqrl/server/GraphQLServerVerticle.java, sqrl-planner/src/main/java/com/datasqrl/planner/parser/SqlScriptStatementSplitter.java, sqrl-cli/src/main/java/com/datasqrl/cli/AbstractCompileCmd.java (\u002B20 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"a7236c37caf3852101ad200c8609bbab12dff546da7aed82e7e240c40ca12057"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #2: If anonymized user #2 becomes unavailable, 5 significant file(s) lose their only recent owner: sqrl-planner/src/main/java/com/datasqrl/plan/rules/SqrlRelMdRowCount.java, sqrl-planner/src/main/java/com/datasqrl/planner/analyzer/TableAnalysis.java, sqrl-planner/src/main/java/com/datasqrl/planner/tables/SqrlTableFunction.java, sqrl-planner/src/main/java/com/datasqrl/engine/EngineFeature.java, sqrl-planner/src/main/java/com/datasqrl/planner/hint/RowCountHint.java. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7e3085959fcc4704fbd93b5a8e3540248943023b4055c61867064af8f8ff7706"}},{"ruleId":"D19","level":"note","message":{"text":"The website README installs Docusaurus and begins the installation, but no further documentation is shown (no body), so it cannot be confirmed whether topics such as API reference or migration guides are present.: Add a short \u0027Getting Started\u0027 section for the site covering how to contribute docs locally."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"documentation/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a5a5fc24a1548e4c159e79b8a43626de93c444d2ddd3a52f0e87bc927b1cdb1"}},{"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":"d5b8f11381d61a58459ffc7c595fd52d09c03c711894a63a9578043d2338412b"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4d621ca81910dd86b411e052daa24cd58341b71794022b0289cabd89c2eca319"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"25254c97b62b13b7c073eeeb90b462ffec833e325034c0621142898ae58e024f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90b85653e7d0ef0c6e905e7c6363e12de04613bef9a054de8dddb69fb84a3f19"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dd7fd575698abc73e79dea1ab4aa7bc0c2961214b3625677825efdc0af5ad29e"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cd48684048dce0baccfd1474eba6e0bfedaf93b2884a96c15e8bfcd4a5a1fe11"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"20f30d9f0310efaedbdadc07125188b13c982cb303a19f3eff26d96a1bc4b2ec"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5ce78511a596ccf5c426a97978976f367c6c0405327efbebd8f9976302f8e9a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9f2429cde2a46efc9671f42aa49568471c0d50119b5e519cee43d03b563b317c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fc8cf7684e9051cb7a6265f23ad8a76a3133ccd4ea38687d770824df94d1a71c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"793a2c563b41dd6a9e98e62ca9ddb924dab402294c10fe9f7d45a93b9f96f207"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d235c762910e8c518e6d0f1e81f637d578345c52ea28ef6f6fb7657dc3c0be34"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"10d8b5aae7935a1987bb2303544dfffed158136b751a839bcadb172e07568688"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"14d00b9962f63fc79402c243ee13fd35949e97ea950e62c820bc0f6ec7c35044"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8282abc6d59e4d0d9f2423fdce2983564086c180e43de707193a6041b94be48e"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e376d205f9fc5e0d25086f3d5e056770bdfa0e8caaeaa7ab40c35c5a9c59cd19"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"53d3718c548e77c2a3354c3086c0aa2166280f84547befe1d15bad4b487d0624"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9172a4cc9dddad93bf229d9f1cd36b2c613ddd903c27c4e746888b8e3f92a2de"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c777323348e5f59487f11df751672c5dbd1890f46bbc8fb33013a672bd501d2b"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"12903f2c96b51bb0a5598b1439f386babe8a452924c85e6069dfe617eda9c96f"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a2ce3ba5ef989fc8d54efc95359a4cbcf861b55444268fb23f67764738dce39c"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b671796726ddea7e9df0174bcaf787c77326c14d2ebdabeece4bfc8b64f0d98d"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: CompilationProcess.java \u2194 GraphqlSchemaHandler.java: \u0060sqrl-cli/src/main/java/com/datasqrl/compile/CompilationProcess.java\u0060 (context sqrl-cli) and \u0060sqrl-planner/src/main/java/com/datasqrl/server/GraphqlSchemaHandler.java\u0060 (context sqrl-planner) sit in DIFFERENT parts of the tree yet change together 53% of the time (10 of the 19 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sqrl-cli/src/main/java/com/datasqrl/compile/CompilationProcess.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"99833d1206a712fa3b8d6023cc2d2da3d7e1595362912149266330ba1d23a332"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: MutationConfigurationImpl.java \u2194 SubscriptionConfigurationImpl.java: \u0060sqrl-server/sqrl-server-vertx-base/src/main/java/com/datasqrl/server/MutationConfigurationImpl.java\u0060 and \u0060sqrl-server/sqrl-server-vertx-base/src/main/java/com/datasqrl/server/SubscriptionConfigurationImpl.java\u0060 change together 62% of the time (8 of the 13 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sqrl-server/sqrl-server-vertx-base/src/main/java/com/datasqrl/server/MutationConfigurationImpl.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0b7ae95a41059edf2f4cd786b576590a39c35fbe53a00a4b959f43352912cff"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: VertxJdbcClient.java \u2194 VertxQueryExecutionContext.java: \u0060sqrl-server/sqrl-server-vertx-base/src/main/java/com/datasqrl/server/jdbc/VertxJdbcClient.java\u0060 and \u0060sqrl-server/sqrl-server-vertx-base/src/main/java/com/datasqrl/server/jdbc/VertxQueryExecutionContext.java\u0060 change together 56% of the time (10 of the 18 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sqrl-server/sqrl-server-vertx-base/src/main/java/com/datasqrl/server/jdbc/VertxJdbcClient.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9b5b8ed8c495144590859bf68d0739718ba8593b046436e40cd70e788ad75f2"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: docusaurus.config.ts \u2194 index.tsx: \u0060documentation/docusaurus.config.ts\u0060 and \u0060documentation/src/pages/index.tsx\u0060 change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"documentation/docusaurus.config.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ed488dad7fe5bd6741f9de935645722f35aeb06bfc6966aac3486b02847d29a"}},{"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"}},{"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"}},{"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"}},{"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":"0752d0df7434000fcabf1048e2de30a7a1a8b982b3db9a19898c4dec199856b4"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a80bd8d69014d512eeb96e13360d87dc96d0eaef610ee4624b95e63a6d2a5a72"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8b184955eb0dded922194d1852d441cf000235d1cd0faf27784205a0ee84ed88"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6a8a1ae0965eb7031f5db83c10905cf18a520065955c05e8e6c1d58fa5f71623"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4a0c346b36db6cc0b1500d832f266a06dd7a9a624fb5cf57c01ca04c6901df7a"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d94aa7787452dda2267a254934266af0eefbb7a3b4dec744b9946abc81ea7672"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6ccd5c588af66ab88714dcf2fea74f13a14edfdd70ea88c72638c1cf881ed28f"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6db9521304ea9273f5675836a206f4ba14c3b44962fd4cd8da6fc67d30b33ce3"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"da23d63d83c6aecae6b6a12258083acef0c8eef217daf5e21d56ce8ab62c6e7f"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c53dad1448232db38db8fa411ad12dd8424abf4a7e838b6b34e198e5c1efbcee"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"aa074dcc6b9ee67b448523b364c93b614391e1a0e971c4729353838f891780ba"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"da02aa0e7e683c1a45d981d893d1eec27792bac600a77259cd31672ac5e2b573"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"31ccf584e5b4af1f1f6855ca99f7d28d8c5c4d4b7fb84acac4de076f3177ea95"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f110f59c0c7e84afcd947f6eb96606760f5cc8b4e5ed2ddef5b8ae353c1bbb50"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9c48cbdee23a00be9fdf357b46c20f497a21bc7e9dcd74a6e876662848909005"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5fe2c8d8e38f40615052a1b61fe6fe7186f14514fd4e0a60ee19e4ba1e51a3a5"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3948060d07887482e2b6b2ede69e7a42abd4f6d009f0522cbf3e9a6f01a9ebb9"}},{"ruleId":"D38","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0706170eea62e2d1c1af3316d51855319b97223b71e21b53065e372fa4a34d02"}},{"ruleId":"D38","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":"1e0536bf1a5d1a2fac0202fe0210fb5ab46062ed98e1a01d3d406a1e9cc657a4"}},{"ruleId":"D38","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":"5613b37606395e18844654913977dfc8b588b37786a646066262f2d275100d59"}},{"ruleId":"D38","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":"e787e7138418cd9aa66be29b7411c3fe632087003b20092faae6e699c5104903"}},{"ruleId":"D38","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":"94594ff7dff99b47874b5837e2c6a7212b25c9a528d8fc39fbee4a0dbd1e0a3c"}},{"ruleId":"D38","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":"19c49e91e313a39ed6db114dde866c3d1890e74d1708c6efe07f0975e6025368"}},{"ruleId":"D38","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":"4ddee9e48740172e766e5f245a4d18afad40b60b487db8cb663113606ef185e7"}},{"ruleId":"D38","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":"04281dd2289f1cfbff7289c94aaec64b109caea0d4ca7177bfea420e38edbd32"}},{"ruleId":"D38","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":"cdfa8320be1ae8cfeb36b8e63abf6fb8df074d5d883c7b0f1693ada096e1f97d"}},{"ruleId":"D38","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":"404942ec8c506fc1d1a02a23aa8ad19fc74e09ffa0c48a0860670de7c888e418"}},{"ruleId":"D38","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":"b15f05f26ebeeff8f6b2ba68f4fcf52d1679e24424eb7b7a7f3091b2587330db"}},{"ruleId":"D38","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":"61a05ba0e992e270b9a5d95b336059fe0a4ae32095e0d17771a5abf08cd2a507"}},{"ruleId":"D38","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":"a9bf8c3bb9caa67d342f0968aac9ab980924a895dbf433bcc085be2244fd4022"}},{"ruleId":"D38","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":"10221617f817a777a0280b8f44c3837bf7c37abbcefd53355c0a9dc3bbe159cf"}},{"ruleId":"D38","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"308f4678896f798062d5beb3880059d3d1c7a5a9726bd310aab5c1cfe23eb3ef"}},{"ruleId":"D38","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1d70c4da0e3079089a1ae41880be54054788b9dc235b8a5d87bcbd60730477fe"}},{"ruleId":"D38","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"693e096a67ce98a8b0626e1f33df2f07b62d2949ce1ac534057d675d5fb95236"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"CWE-353","shortDescription":{"text":"CWE-353"},"helpUri":"https://cwe.mitre.org/data/definitions/353.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-502","guid":"f7d3b296-aac0-5c5a-b706-e07faba26c36","name":"CWE-502","shortDescription":{"text":"CWE-502"},"helpUri":"https://cwe.mitre.org/data/definitions/502.html"},{"id":"CWE-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Command Injection","shortDescription":{"text":"Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"OS Command Injection","shortDescription":{"text":"OS Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Cross-site Scripting (XSS)","shortDescription":{"text":"Cross-site Scripting (XSS)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"CWE-829","shortDescription":{"text":"CWE-829"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"SQL Injection","shortDescription":{"text":"SQL Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Code Injection","shortDescription":{"text":"Code Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":59,"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."]}]}