{"$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":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D9","name":"Test Distribution","shortDescription":{"text":"Test Distribution"},"helpUri":"https://codehealth.canine.dev/dimensions/D9"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"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":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"]}},{"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":"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":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"]}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"]}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"R1","name":"Type Safety","shortDescription":{"text":"Type Safety"},"helpUri":"https://codehealth.canine.dev/dimensions/R1"},{"id":"R10","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/R10"},{"id":"R2","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/R2"},{"id":"R3","name":"Large Files","shortDescription":{"text":"Large Files"},"helpUri":"https://codehealth.canine.dev/dimensions/R3"},{"id":"R4","name":"Test Coverage","shortDescription":{"text":"Test Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/R4"},{"id":"R5","name":"Dependency Freshness","shortDescription":{"text":"Dependency Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/R5"},{"id":"R6","name":"Tooling","shortDescription":{"text":"Tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/R6"},{"id":"R7","name":"Dead Code","shortDescription":{"text":"Dead Code"},"helpUri":"https://codehealth.canine.dev/dimensions/R7"},{"id":"R8","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/R8"},{"id":"R9","name":"Circular Imports","shortDescription":{"text":"Circular Imports"},"helpUri":"https://codehealth.canine.dev/dimensions/R9"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"DoubleMetaphone.process (cyclomatic 191): DoubleMetaphone.process has cyclomatic complexity 191 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/phonetics/double_metaphone.js"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"38f4bd1f95492ec6a033bcf56cebb7a59f09ec8dcc4dec89d0bb1767f1736cef"}},{"ruleId":"D1","level":"warning","message":{"text":"porter_stemmer_fr.stem (cyclomatic 70): porter_stemmer_fr.stem has cyclomatic complexity 70 (threshold 15). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/stemmers/porter_stemmer_fr.js"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"92b96703ceacb5d238afbb4dc1bd31177d0420f8fd1d90cc06db0dd84cc112f4"}},{"ruleId":"D1","level":"warning","message":{"text":"porter_stemmer_de.stemm (cyclomatic 48): porter_stemmer_de.stemm has cyclomatic complexity 48 (threshold 15). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/stemmers/porter_stemmer_de.js"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b7e5b67baac1ac36a37f9f828026f384252d1605e298de5c9743e959c570f99"}},{"ruleId":"D1","level":"warning","message":{"text":"process::handleC (cyclomatic 44): process::handleC has cyclomatic complexity 44 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/phonetics/double_metaphone.js"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe2c771bfb1c9f917ef34ca56b270149e8fffaaca204d49794ebf766baac81cb"}},{"ruleId":"D1","level":"warning","message":{"text":"PorterStemmer.stem (cyclomatic 42): PorterStemmer.stem has cyclomatic complexity 42 (threshold 15). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/stemmers/porter_stemmer_es.js"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f8a71fb88b1e5ca5bd355a01d1c3e102dee724ef9db97c94be506cbee18baeb"}},{"ruleId":"D1","level":"warning","message":{"text":"porter_stemmer_it.PorterStemmer.stem (cyclomatic 34): porter_stemmer_it.PorterStemmer.stem has cyclomatic complexity 34 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/stemmers/porter_stemmer_it.js"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9ff1718c90757234ab4b36590cb5114d6242ddf7f798c25f2fd1048dfe34351"}},{"ruleId":"D1","level":"warning","message":{"text":"levenshtein_distance.levenshteinDistance (cyclomatic 28): levenshtein_distance.levenshteinDistance has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/distance/levenshtein_distance.js"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"0632131f4aedb0ad361b3271b8e003343195df69492e9a934b2d5cc9559d2335"}},{"ruleId":"D1","level":"warning","message":{"text":"process::handleG (cyclomatic 26): process::handleG has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/phonetics/double_metaphone.js"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"a189b34a4a52b618d1769d32fa92bd541b4fc3f2e01dbc559f91c40324dc8be3"}},{"ruleId":"D1","level":"warning","message":{"text":"process::handleS (cyclomatic 25): process::handleS has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/phonetics/double_metaphone.js"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"32e3c508cf8ddbb4fd03091a509882eaea7c40dae108ed65bd90020d8df721a8"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 22): (anonymous) has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 1 of the 22 points is its own statement and the rest belongs to 10 function items inside it that branch (residualForm, markRegionN, markRegionV, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/stemmers/porter_stemmer_pt.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ebd13ffcac8bdaff106db6eb77fc850302c5b1b1b33aa1c5084efe4fd173f20"}},{"ruleId":"D1","level":"warning","message":{"text":"classifier_train_parallel.trainParallelBatches (cyclomatic 20): classifier_train_parallel.trainParallelBatches has cyclomatic complexity 20 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 9 belong to 5 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/classifiers/classifier_train_parallel.js"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a4a26f0f902fedf1e9b9710532eae77ee4b571b0f467ab80df8c21309efe2ef"}},{"ruleId":"D1","level":"warning","message":{"text":"SentenceTokenizer.tokenize (cyclomatic 18): SentenceTokenizer.tokenize has cyclomatic complexity 18 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/tokenizers/sentence_tokenizer.js"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6f0fc003d05e5fcc7b10c2d5d566cf69de8387a6bd490705c6ef36761d92dae"}},{"ruleId":"D1","level":"warning","message":{"text":"porter_stemmer_fr.regions (cyclomatic 17): porter_stemmer_fr.regions has cyclomatic complexity 17 (threshold 15). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/stemmers/porter_stemmer_fr.js"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"31e5691ee64d44da351857e639b2fe076729c24c4d2b0598f772c5d9dc36f1e4"}},{"ruleId":"D1","level":"warning","message":{"text":"PorterStemmer.step3b (cyclomatic 17): PorterStemmer.step3b has cyclomatic complexity 17 (threshold 15). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/stemmers/porter_stemmer_nl.js"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ca6c57b9c01f6fabb47cdec6b79694ae7153845a417967526cdffefb47eefd1"}},{"ruleId":"D1","level":"warning","message":{"text":"ngrams.ngrams (cyclomatic 16): ngrams.ngrams has cyclomatic complexity 16 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/ngrams/ngrams.js"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"14c2b65318cbbbb3c9d2a28cbe6c86f8e56d0f5d36d4e2068baab6b724b79bb8"}},{"ruleId":"D2","level":"warning","message":{"text":"DoubleMetaphone.process (cognitive 206): DoubleMetaphone.process has cognitive complexity 206 (threshold 15). Drivers by points: if/else 107 (144 pts), boolean chains 59, match/switch 1 (2 pts), loops 1 (nesting depth added 38). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/phonetics/double_metaphone.js"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee4a2026af0edf885b1122d2cfc226f8a2f80f5014c9470da39ad033ea9e9cc2"}},{"ruleId":"D2","level":"warning","message":{"text":"porter_stemmer_fr.stem (cognitive 100): porter_stemmer_fr.stem has cognitive complexity 100 (threshold 15). Drivers by points: if/else 63 (89 pts), boolean chains 10, loops 1 (nesting depth added 26). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/stemmers/porter_stemmer_fr.js"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"b638230618dfe2c133e88f95d4403587cf4b99b6c2aab5ac028f2a119578445e"}},{"ruleId":"D2","level":"warning","message":{"text":"porter_stemmer_de.stemm (cognitive 80): porter_stemmer_de.stemm has cognitive complexity 80 (threshold 15). Drivers by points: if/else 35 (67 pts), boolean chains 13 (nesting depth added 32). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/stemmers/porter_stemmer_de.js"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1d9f807ebc031898f236b79c8a8786c172e6d6ed0ceb3afe45aa27094ca0298"}},{"ruleId":"D2","level":"warning","message":{"text":"PorterStemmer.stem (cognitive 58): PorterStemmer.stem has cognitive complexity 58 (threshold 15). Drivers by points: if/else 33 (48 pts), boolean chains 8, loops 2 (nesting depth added 15). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/stemmers/porter_stemmer_es.js"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"da62162363a9dabc05690cb224d6396a44a8caffe80000dc4250b862859e7097"}},{"ruleId":"D2","level":"warning","message":{"text":"process::handleC (cognitive 57): process::handleC has cognitive complexity 57 (threshold 15). Drivers by points: if/else 26 (37 pts), boolean chains 20 (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":"lib/natural/phonetics/double_metaphone.js"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6f3963c3131b325cd2335813fdf9c45543c704866c4d4066320ce6fbec7c378"}},{"ruleId":"D2","level":"warning","message":{"text":"porter_stemmer_it.PorterStemmer.stem (cognitive 40): porter_stemmer_it.PorterStemmer.stem has cognitive complexity 40 (threshold 15). Drivers by points: if/else 27 (33 pts), boolean chains 5, loops 2 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/stemmers/porter_stemmer_it.js"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e394e03398b4948c95b155952652dbd99fe034243b421236389ef9fa9b6df86"}},{"ruleId":"D2","level":"warning","message":{"text":"levenshtein_distance.levenshteinDistance (cognitive 36): levenshtein_distance.levenshteinDistance has cognitive complexity 36 (threshold 15). Drivers by points: if/else 14 (27 pts), loops 4 (5 pts), boolean chains 4 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/distance/levenshtein_distance.js"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"17312dfd47f9c5953d8fab8b4f87f66bbdecb39308f69c38a5ab37c15d3ad16d"}},{"ruleId":"D2","level":"warning","message":{"text":"process::handleG (cognitive 35): process::handleG has cognitive complexity 35 (threshold 15). Drivers by points: if/else 17 (25 pts), boolean chains 10 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/phonetics/double_metaphone.js"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"67b6eef49d72044e884d9e164182ea3dbefa222c660a474e8735f5a70473d032"}},{"ruleId":"D2","level":"warning","message":{"text":"process::handleS (cognitive 33): process::handleS has cognitive complexity 33 (threshold 15). Drivers by points: if/else 20 (27 pts), boolean chains 6 (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":"lib/natural/phonetics/double_metaphone.js"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"22c29fe20d59814757c28cbe5f5db4b73ea1a0c5d9e7d54ebac83e18944c3eb0"}},{"ruleId":"D2","level":"warning","message":{"text":"ngrams.ngrams (cognitive 26): ngrams.ngrams has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (15 pts), loops 5 (9 pts), boolean chains 2 (nesting depth added 10). Of this number, 24 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/ngrams/ngrams.js"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"56cad65fdb4e8cc0673a707472796c3a074a08ddbf244c638d5ce3f642abfc9d"}},{"ruleId":"D2","level":"warning","message":{"text":"SentenceAnalyzer.part (cognitive 22): SentenceAnalyzer.part has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (21 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/analyzers/sentence_analyzer.js"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"e32fb8e4e5eea998d35ac896ccb169bf66db890a360dbd4af0c57f63e2e1e7f2"}},{"ruleId":"D2","level":"warning","message":{"text":"lancaster_stemmer.applyRuleSection (cognitive 22): lancaster_stemmer.applyRuleSection has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (18 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 13). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/stemmers/lancaster_stemmer.js"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"3249d1158375cba02e1a181bc2241603abd1b8da55bc6f08e9956bfb7d39041e"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 22): (anonymous) has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 7, loops 1, ternaries 1 (nesting depth added 2). Most of this is not in the body itself: 0 of the 22 points are its own statements and the rest belongs to 10 function items inside it that branch (markRegionN, markRegionV, residualForm, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/stemmers/porter_stemmer_pt.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dee975f3a40e51e7a90435561d5bf2f85036a64c019bd685ba8f6359e071bb9"}},{"ruleId":"D2","level":"warning","message":{"text":"step1b (cognitive 22): step1b has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (20 pts), boolean chains 2 (nesting depth added 11). Most of this is not in the body itself: 6 of the 22 points are its own statements and the rest belongs to one function literal inside it that branches (line 121). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/stemmers/porter_stemmer.js"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"f08d0aa8234d65aebb448ea843881b91a71b214de1d0a2d8858565e437b4119d"}},{"ruleId":"D2","level":"warning","message":{"text":"classifier_train_parallel.trainParallelBatches (cognitive 21): classifier_train_parallel.trainParallelBatches has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 4, loops 4 (nesting depth added 2). Of this number, 12 points are the body\u0027s own statements and 9 belong to 5 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/classifiers/classifier_train_parallel.js"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"7630e2f31d1426822136932757a6dd10e87d328a8e61117d5d0f42f2c172d12c"}},{"ruleId":"D2","level":"warning","message":{"text":"jaro-winkler_distance.distance (cognitive 21): jaro-winkler_distance.distance has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 4 (6 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/distance/jaro-winkler_distance.js"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff77f59cfe596acc2eba7a5303e57b61be5203f8ead0b941b2bd27eed0d13eca"}},{"ruleId":"D2","level":"warning","message":{"text":"porter_stemmer_fr.regions (cognitive 21): porter_stemmer_fr.regions has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 7, loops 3 (4 pts) (nesting depth added 5). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/stemmers/porter_stemmer_fr.js"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"b07e278d1a56b587b40dbc33073fe101b78fa1f145c77fc1db17d701b86aa7bc"}},{"ruleId":"D2","level":"warning","message":{"text":"step3b (cognitive 20): step3b has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 8 (nesting depth added 3). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/stemmers/porter_stemmer_nl.js"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eefb52fbb793eafc3aa88a8aaac31defe74ad3a431a7a4693d47e1f2ff427f1"}},{"ruleId":"D2","level":"warning","message":{"text":"type (cognitive 20): type has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (9 pts), ternaries 3 (7 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/analyzers/sentence_analyzer.js"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5d5767aa2b22dc48da966e15d0c42153ee9428e61cdb11f00fedff0fdf0450d"}},{"ruleId":"D2","level":"warning","message":{"text":"porter_stemmer_uk.PorterStemmer.stem (cognitive 19): porter_stemmer_uk.PorterStemmer.stem has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 4 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/stemmers/porter_stemmer_uk.js"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"368bf823441354ab3521d47adeb5ac186fdda9eb7100c1881d8ab35539940e53"}},{"ruleId":"D2","level":"warning","message":{"text":"porter_stemmer_ru.PorterStemmer.stem (cognitive 19): porter_stemmer_ru.PorterStemmer.stem has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 4 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/stemmers/porter_stemmer_ru.js"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"25e3ab0abfae8bce261754bb37fde62517f590d4b3384913fbcab1d0577280cc"}},{"ruleId":"D2","level":"warning","message":{"text":"PorterStemmer.markRegions (cognitive 18): PorterStemmer.markRegions has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 4, loops 2 (nesting depth added 5). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/stemmers/porter_stemmer_nl.js"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6ad818a2a043d20578135d05fa7867f9f3897d88cb1a70543bf726a36059c45"}},{"ruleId":"D2","level":"warning","message":{"text":"SentenceTokenizer.tokenize (cognitive 17): SentenceTokenizer.tokenize has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 16, ternaries 1. Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/tokenizers/sentence_tokenizer.js"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"fba99ba1fae1b49ac1e1064d26eba16ccb204f4a1fb9305d87a1c53c9f1cdad9"}},{"ruleId":"D2","level":"warning","message":{"text":"SentimentAnalyzer.constructor (cognitive 16): SentimentAnalyzer.constructor has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (14 pts), loops 1 (2 pts) (nesting depth added 5). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/sentiment/SentimentAnalyzer.js"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1362cd423cef4210f4c68b617e233bb55ba7b143692053f99c71ee787633599"}},{"ruleId":"D2","level":"warning","message":{"text":"SentimentAnalyzer.getSentiment (cognitive 16): SentimentAnalyzer.getSentiment has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 4 (nesting depth added 6). Most of this is not in the body itself: 1 of the 16 points is its own statement and the rest belongs to one function literal inside it that branches (line 137). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/sentiment/SentimentAnalyzer.js"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"df5a721606f57cb49cc3d634e047e43faeeea0f076e7105880839b8fc96d8762"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DoubleMetaphone.process: MethodTooLong \u2014 process runs 366 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 266 over it, 3.66\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/phonetics/double_metaphone.js"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"09a0ffbabe831ee5ee646ac1177057bd2fb0042b16227727fea1596469ce5a99"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: porter_stemmer_fr.stem: FunctionTooLong \u2014 stem runs 161 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 61 over it, 1.61\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/stemmers/porter_stemmer_fr.js"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bdec7b7689fc44c2440fa52b98c577bad7ba1cfc46e8d0ffdb7887badac03c3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PorterStemmer.stem: MethodTooLong \u2014 stem runs 111 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/stemmers/porter_stemmer_es.js"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"1018545b9c459e201fd5d4099b72cf687d69ec1f56da8c7d1b08034f2d41ee8f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: porter_stemmer_de.stemm: FunctionTooLong \u2014 stemm runs 101 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/stemmers/porter_stemmer_de.js"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"e50f41b17f0808bf5ca01f94f29bf9afd1f236d85f2c2d9414fedb87425547c5"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should emit events when documents are added or training is finished: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spec/classifier_spec.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f4e3eed4d9750270d0a511f55d249c492918481070f5e5ad3b38d6a264c5db7"}},{"ruleId":"D10","level":"error","message":{"text":"No assertions (empty test): Classifier does not need a correction feature: Test method has an empty body \u2014 it asserts nothing and exercises no code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spec/MaxEntClassifier_spec.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"777111743e073c2ce9160acf26c47d68108bce7a9441699e5ece187bc116d98c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Save classifer to a file: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spec/MaxEntClassifier_spec.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"73f5408917816f179c991e73e604feaaebcbc3452795be386462fcdd96abcd41"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Load classifer: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spec/MaxEntClassifier_spec.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3a59b1300347f22294f2f6b75db688a2788a9bcb162678910e0820c26074517"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO : find the examples \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spec/stemmer_id_spec.ts"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"165a3eda756a82d060478a5df53c2e990df949dde03afa5fe9fd79826e1dec1a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"spec/stemmer_id_spec.ts"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b9aacc628e63a80cc270059d847301684f20a9219b4a103e1b42037efbb5c0b"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 1 of 1 project(s) overshoot their size bounds, lowering Project Cohesion to 0.0/10. The most over is \u0060(repository root)\u0060 (12652 LoC, 154 public types across 30 directories). Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dd2ab60f0744f0fa3ded8d666143bf909ab8a2e8348ad2ddd8a93156d3adc94a"},"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":"7a29df3c4b73b38337ac0c48c825ef6aace52faedb76536737648711426349e1"},"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":"7edfd8f4f5bf8e12eaa030a7c42ab1e660cfefd97a58fe598164ecb96a02e3c9"},"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":"fbae55df5f85e32ca32b5237b845c7388ab1f1cff2e732654830f8f06acc6881"},"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":"675d7f2ad7efe001ed75adee52cb76189a3ffa9af83106ea648750f0b08ba213"},"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":"ecd3b26122b5a2c2bedfc7ebd9498683e30fbfc52cb818745b228bdcae74b167"},"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":"316d5a0f528b7dbeccf71d4770c60a1e4e51a1d694ff30193a3aeb3d6991efbe"},"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":"f224a7239976eb6ac23355352911d9674e8ac0748e524c5675ea18b05618361f"},"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":"7c1787d015e88db9d719d9cc46c6a5a283ba6223195b27b29a4e934b742ea5dc"},"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":"d7f8e6e3992bb82be4497a0f1ab0e1acfa2ca4560367c73384cdfe9654987a69"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"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":"4ed360fdca912ad90c594243dcb677c496be0e313f147b98864fea73aa2ee48a"},"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":"7a4999f4761d8c4f600faa273d3fba0156af504369cda0e065f9d09b0f9e3a07"},"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":"06509984c051af61f744cddb84189e296a84053a0e9a3324139eaf2d78833a78"},"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":"80e14ea9221128dc62560771b0013bdba3425873c9fa1c8da59dd920c4d11d49"},"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":"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":"e3cc9b7735fce5e6c93bc26b8325ac9cd9d947373999c0394857fd2d0b9decf4"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"389af75cd0f4d827396cd42e21f0aeac31ebd1f9233c96409598ecaf37a4e60d"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c1e0c8ce9c13200c881a5591e7db11495c41f720d0ff2ae989bb6c4a609448b4"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7c177e3c64fdd2a8dae4ff4d7c2d79466e9305a5c59d6d1a1a46529cf8d5f2a9"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9d546f1f6af0bae589551cce791af79d42b0e6707e67064b76e85953eedcbd5d"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"76c455675bb54f9230f890201764f6a42e8dd11ef2baf5e24940044b5f4fa303"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0a15c0a47cc4d1535bbf03ecc4333cc1472897dbcd4f73842fa66b878f14ad05"},"properties":{"dependency":{"package":"minimatch","version":"10.2.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e405d2494dbc637e4473f16879796d9e7d926d1f2cce7028a0abf9fe27f769f8"},"properties":{"dependency":{"package":"minimatch","version":"3.1.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1e4b5dbe2efcff0b19b3c3642ed6d7077b8facd8a8d1a164553143905b4e6e70"},"properties":{"dependency":{"package":"minimatch","version":"9.0.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"519b46e758063b5a52f00d7bb8f369e36e3fadded32f1fd5fe361d9bb4772e20"},"properties":{"dependency":{"package":"minimatch","version":"9.0.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a51cd9bac6da640e38cf883c1ea361c13f6e25c446f4643782afc1591a1c03f1"},"properties":{"dependency":{"package":"flatted","version":"3.3.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"84e0eef477b61f335d3907e82242ed34e39224f34a4b188bd28a36695f451131"},"properties":{"dependency":{"package":"js-yaml","version":"3.14.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fbce8785f8e7336b9910a20eb5305af439842277fd6e7f307c0cc5ebc365bd81"},"properties":{"dependency":{"package":"js-yaml","version":"4.1.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9169625530bb185e4c0a8fa36032d45039bf227e4e0bee6b042b5fd73a72bcd7"},"properties":{"dependency":{"package":"brace-expansion","version":"1.1.12","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7a71f58a5ba4c5bc8284aaa95c8683fecdea0cc1fabaa9fec1855c702cfcf3dc"},"properties":{"dependency":{"package":"brace-expansion","version":"2.0.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9d0e2cba18d7fc9799cded6a8b06991a0cc7b57b49bc27955d1b8fd7913033d0"},"properties":{"dependency":{"package":"brace-expansion","version":"5.0.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"384a0892f51a77ce6e1097a5154e203805ee2ad75d30693634ca5b796c0008c6"},"properties":{"dependency":{"package":"browserslist","version":"4.28.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"18e971cb7a42e7d5c4571066e84f3871d3edf733f1fa8660a703bc0e5cbbe745"},"properties":{"dependency":{"package":"picomatch","version":"2.3.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ac31a6c53b05a8f242d31c86adc6fe74dc366e880e424d104516831d0994e54e"},"properties":{"dependency":{"package":"picomatch","version":"4.0.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2a97b7f163f2008119363b8420b4cfa12eea98423470b15ce1ecb79adbbd8728"},"properties":{"dependency":{"package":"rollup","version":"4.57.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"test-or-tooling","file":"package.json"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"72a020819c4851d793e18de53b441a59dba021544844c3e9f7dd50d4c89fdf8d"},"properties":{"dependency":{"package":"underscore","version":"1.13.7","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"production","file":"lib/natural/analyzers/sentence_analyzer.js","line":25}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7a6c8aec811a2d7ca01dc30175c7ce3e9ebf8b9d90e6e0e2ae64d2e9773685b6"},"properties":{"dependency":{"package":"ajv","version":"6.12.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c28223014a2f6063d95a09cdf688b598f8aede2b4b71810944c88764d3bad440"},"properties":{"dependency":{"package":"mongoose","version":"9.2.1","advisory":"[GHSA redacted]","aliases":["BIT-mongoose-2026-73562","[CVE redacted]"],"reachability":{"kind":"production","file":"lib/natural/util/storage/MongoDB.js","line":24}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"613bb7054d1772b88901b31dc0e2ee23adace7084266d5c1f3dd758163522fca"},"properties":{"dependency":{"package":"uuid","version":"13.0.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]"],"reachability":{"kind":"production","file":"lib/natural/util/storage/File.js","line":24}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"55f9e03ea9540aa1d1605413a0aea6286d832d41e604f4855ee9fa868d759655"},"properties":{"dependency":{"package":"uuid","version":"8.3.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]"],"reachability":{"kind":"production","file":"lib/natural/util/storage/File.js","line":24}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"43427bab5dea8e4a9974d0d31081f6cee7984ed96dc960bd2c33af06bc12237b"},"properties":{"dependency":{"package":"baseline-browser-mapping","version":"2.9.19","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"2d7c8846e5c2786ac6f200262a5ae377f0a0f36f03fcc336f877638db9b57f15"},"properties":{"dependency":{"package":"@babel/core","version":"7.29.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"1ac34e82d59271d44aa1aa59ceece5c19b3c8171b7cdb0e13a4862926745cd3f"},"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":"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":"b286d84511c65b621d4664be6ec56e1f3e77d34bc6f50b02c71fa1aff6f0c587"},"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":"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":"97205e100cdebfa4f299d14f7c59d8e050d5bafb4cd6743c27c5e3c27f98af47"},"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":"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":"107788b81d3099520ec9b784d19f51609f505e9c6bd159507e5195b7805c6004"},"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":"D34","level":"note","message":{"text":"Dormant codebase: 34 of 34 significant files have no living knowledge \u2014 the codebase as a whole is dormant, not 34 separate risks. Counted over 34 of the 90 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over. Re-engage owners or document before change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4c69f1e54b7dd6fe9029dd02df6ba8f8145b789f2f18dbdaa086c40ded49dba6"}},{"ruleId":"D34","level":"note","message":{"text":"Most significant orphaned file: One of the orphaned files carrying the most lost knowledge \u2014 ranked by size weighted by the file\u0027s role in the codebase, the same weighting behind the score above, so core code outranks equally large plumbing. A reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/transliterators/ja/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"476da4f1d62b7c57be8f71c2853c35c54066ce36c8b88bbfb7b7d40e51a95a7e"}},{"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":"25c67546e61034a911e061f475b510845b139a400f8bde81e3f175b66aafaf0a"}},{"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":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"}},{"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":"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":"d068c977b62d9a977df1bb6f53e8b00b586c3abee955f91d715f92b8e019d624"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"}},{"ruleId":"D37","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":"2baf56be81cee4fea57b9fbc0bcca4df8426c883fe2356827c7e968782d68617"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M2","level":"note","message":{"text":"No architecture diagram/doc: No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named \u0060architecture\u0060 or \u0060design\u0060 in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape \u2014 no \u0060## Architecture\u0060 heading, no \u0022architecture overview\u0022/\u0022high-level design\u0022 phrasing, no \u0022the architecture is \u2026\u0022 introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document \u2014 not evidence that nobody wrote the shape down."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0c190e7c159d1850ee706c3ac4486e151e8a4fe169de4bf61436b9f399654f06"}},{"ruleId":"P12","level":"warning","message":{"text":"Coverage collected but not gated: CI collects a coverage report but no step enforces a minimum \u2014 coverage could halve and CI stays green. Add a step that fails the build when coverage drops below a floor (your coverage tool\u0027s minimum-threshold flag, or a coverage-gate action) so the number guards something. What was searched, so you can tell an absence from a miss: this repository\u0027s CI files AND its coverage configuration \u2014 the well-known coverage and test-runner config files, read at the repository root and inside workspace package directories two levels down, so a floor declared beside the tests rather than in the pipeline is credited \u2014 matched against the threshold settings this check knows by name. A floor set in your coverage service\u0027s web UI rather than in a committed file, or under a setting whose name is not one of those, is not seen here."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7f63c06044cf998d9a0698692df30d8873e29bc9b0c98ee829255017c1193d33"}},{"ruleId":"P4","level":"note","message":{"text":"No rollback/health safety: Deployment is orchestrated by compose, but no service declares a \u0060healthcheck:\u0060 and nothing pins a previous image to fall back to \u2014 the runtime can tell that the container is up, not that it is serving, so a bad release is harder to detect and reverse."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"db6bab8a28a2145f47e5a4e6683cda39d2ba0296c723238e8057da979ae1c706"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"R1","level":"warning","message":{"text":"Type Safety: 66 typed \u00B7 186 plain JS \u2014 the untyped files are index.js, io_spec/MaxEntClassifier_spec.js, io_spec/Sample_spec.js, io_spec/StorageBackend_spec.js, io_spec/bayes_classifier_spec.js, io_spec/classifier_spec.js (\u002B180 more)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d00ee7953f55325a823d27e5db9657c80ca9b9861c0c0abf8fe487cd3fa586d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (61 identical lines \u00D7 2 files): lib/natural/stemmers/porter_stemmer_ru.js:27 \u00B7 lib/natural/stemmers/porter_stemmer_uk.js:5 \u2014 these 2 files are line-for-line copies of one another \u2014 61 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/stemmers/porter_stemmer_ru.js"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"9adf5684f407543c4f1100a2c1fc36ba76d2c63ac313f3fceb4f802cf1b613ee"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (51 matched lines \u00D7 2 locations): lib/natural/util/longest_path_tree.js:37 \u00B7 lib/natural/util/shortest_path_tree.js:37 \u2014 the two spans are one implementation copied and then locally edited \u2014 359 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/util/longest_path_tree.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5396e212a8507072b2b29b06d1381a2b26a869ca4d3be6869ec96210c54a4f7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2 locations): lib/natural/stemmers/indonesian/base_stemmer_id.js:28 \u00B7 lib/natural/stemmers/stemmer.js:28 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/stemmers/indonesian/base_stemmer_id.js"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc4284aef6e33db8f1a3f1a3b50818c2deefcc290dc1f5f28556989692ac4293"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2 locations): lib/natural/stemmers/indonesian/prefix_rules.js:111 \u00B7 lib/natural/stemmers/indonesian/prefix_rules.js:547 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/stemmers/indonesian/prefix_rules.js"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d41b9668a5ad1223637c4232104de0d0951fc101134ad99f2a641422b76bf50"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 6 locations): lib/natural/stemmers/indonesian/prefix_rules.js:324 \u00B7 lib/natural/stemmers/indonesian/prefix_rules.js:373 \u00B7 lib/natural/stemmers/indonesian/prefix_rules.js:461 \u00B7 lib/natural/stemmers/indonesian/prefix_rules.js:606 \u00B7 \u002B2 more site(s) not listed \u2014 all 6 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/stemmers/indonesian/prefix_rules.js"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"8341eac49dc11b8dee4eb483b3e473bfab5a6df2df0a35df9453142731d0e17b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (21 matched lines \u00D7 2 locations): lib/natural/ngrams/ngrams.js:79 \u00B7 lib/natural/ngrams/ngrams_zh.js:41 \u2014 the two spans are one implementation copied and then locally edited \u2014 183 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/ngrams/ngrams.js"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf896b62c7720959f9d6d55891cd7f2c98ac403f961d47afbc06ddcb44fa6eb2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): lib/natural/stemmers/porter_stemmer_de.js:103 \u00B7 lib/natural/stemmers/porter_stemmer_de.js:198 \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":"lib/natural/stemmers/porter_stemmer_de.js"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"b58601d5f7f1061ff331ff6801e251bf69ef55698626a81f71cc00372dabb2c4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (20 matched lines \u00D7 2 locations): lib/natural/classifiers/bayes_classifier.js:34 \u00B7 lib/natural/classifiers/logistic_regression_classifier.js:31 \u2014 the two spans are one implementation copied and then locally edited \u2014 125 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/classifiers/bayes_classifier.js"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"a23ec4aa0c77fa0ec8651c2bb4d85537b870d172d1b80fe7f26ed025e678f9c9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): lib/natural/stemmers/stemmer_de.js:30 \u00B7 lib/natural/stemmers/stemmer_es.js:28 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/stemmers/stemmer_de.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"47ffb2341f6aadb5238a922e0ec9c55bc0d037513ebf2dfaad5af99bd47b4791"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 4 locations): lib/natural/stemmers/stemmer_it.js:26 \u00B7 lib/natural/stemmers/stemmer_pl.js:28 \u00B7 lib/natural/stemmers/stemmer_ru.js:28 \u00B7 lib/natural/stemmers/stemmer_uk.js:6 \u2014 the 4 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 4 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/stemmers/stemmer_it.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"409adc03c57bef5b8ab55326177d3e06395c95629c8161a7201783598d7b06b9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): lib/natural/stemmers/stemmer_no.js:28 \u00B7 lib/natural/stemmers/stemmer_sv.js:28 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/stemmers/stemmer_no.js"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcd724154262585529a20395e8be009379ec7b1689be7dbac9066ff20e165579"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): lib/natural/brill_pos_tagger/lib/RuleTemplates.js:525 \u00B7 lib/natural/brill_pos_tagger/lib/RuleTemplates.js:583 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/brill_pos_tagger/lib/RuleTemplates.js"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e638eeffe7f3259f1acade7cc7703e59d38d0567ad8d964baac38942f554979"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): lib/natural/stemmers/indonesian/prefix_rules.js:423 \u00B7 lib/natural/stemmers/indonesian/prefix_rules.js:698 \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":"lib/natural/stemmers/indonesian/prefix_rules.js"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"73a264eac2a8ddf845b55125e9ed395e1fd136439ca223504c940a57d2bf95b5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4 locations): lib/natural/stemmers/indonesian/prefix_rules.js:827 \u00B7 lib/natural/stemmers/indonesian/prefix_rules.js:853 \u00B7 lib/natural/stemmers/indonesian/prefix_rules.js:879 \u00B7 lib/natural/stemmers/indonesian/prefix_rules.js:905 \u2014 all 4 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/stemmers/indonesian/prefix_rules.js"},"region":{"startLine":827}}}],"partialFingerprints":{"codehealthFindingId/v1":"258e6779ac85f9ab6b4eefd533209d7ad8ac594ea5ad3748291679a26603fb47"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): lib/natural/brill_pos_tagger/lib/RuleTemplates.js:360 \u00B7 lib/natural/brill_pos_tagger/lib/RuleTemplates.js:466 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/brill_pos_tagger/lib/RuleTemplates.js"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8534f1926f0c86c818008933493472dc561d9f8066010288f5b9d96bb46dbab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): lib/natural/brill_pos_tagger/lib/Corpus.js:86 \u00B7 lib/natural/classifiers/maxent/POS/ME_Corpus.js:41 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/brill_pos_tagger/lib/Corpus.js"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fd23bc61d39da98e4d186d509b64bc717e54f0ab7a08ddd6a120816724bef4a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): lib/natural/brill_pos_tagger/lib/RuleTemplates.js:381 \u00B7 lib/natural/brill_pos_tagger/lib/RuleTemplates.js:507 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/brill_pos_tagger/lib/RuleTemplates.js"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"61072af99ee62e9ba978063e559548abc9c7461338f864b6c0ca8cd05833638e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): lib/natural/stemmers/stemmer_es.js:33 \u00B7 lib/natural/stemmers/stemmer_nl.js:33 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/stemmers/stemmer_es.js"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"571937315952038193830c6375ae64939981532a3d6e7db29bfad83c7aad8e05"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): lib/natural/tokenizers/aggressive_tokenizer_pl.js:23 \u00B7 lib/natural/tokenizers/aggressive_tokenizer_ru.js:23 \u2014 the two spans are one implementation copied and then locally edited \u2014 87 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/tokenizers/aggressive_tokenizer_pl.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"2adaa4fa0a468d8f6e0eebe4e00c54aeece9ed31edde0ad690d422aacecad3d2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): lib/natural/tokenizers/aggressive_tokenizer_pl.js:23 \u00B7 lib/natural/tokenizers/aggressive_tokenizer_uk.js:24 \u2014 the two spans are one implementation copied and then locally edited \u2014 87 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/tokenizers/aggressive_tokenizer_pl.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"8baced177b77e52d5584f0257aeb3d53ff3a8d9360c794ee0511562325289cdf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): lib/natural/tokenizers/aggressive_tokenizer_ru.js:23 \u00B7 lib/natural/tokenizers/aggressive_tokenizer_uk.js:24 \u2014 the two spans are one implementation copied and then locally edited \u2014 87 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/tokenizers/aggressive_tokenizer_ru.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecbf2c193911c695d059e27c75bbcd3e9e1dec3f167a2665c4a58f8104fdb198"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): lib/natural/classifiers/maxent/POS/POS_Element.js:46 \u00B7 lib/natural/classifiers/maxent/POS/POS_Element.js:136 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/classifiers/maxent/POS/POS_Element.js"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"06e61509f304049426a2046ee56744b542c4ceb2b00fc8f6d8c881c3be43f338"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): lib/natural/stemmers/indonesian/prefix_rules.js:242 \u00B7 lib/natural/stemmers/indonesian/prefix_rules.js:783 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/stemmers/indonesian/prefix_rules.js"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b48388c60217d6191740fa10388863c6863758143230cd74d1983316c5e4cb9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 6 locations): lib/natural/stemmers/indonesian/prefix_rules.js:289 \u00B7 lib/natural/stemmers/indonesian/prefix_rules.js:350 \u00B7 lib/natural/stemmers/indonesian/prefix_rules.js:399 \u00B7 lib/natural/stemmers/indonesian/prefix_rules.js:589 \u00B7 \u002B2 more site(s) not listed \u2014 all 6 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/stemmers/indonesian/prefix_rules.js"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"2058ebb50737c90ef086b1763a0002c85d59e32862646e70c260dff3613af852"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): lib/natural/inflectors/fr/noun_inflector.js:204 \u00B7 lib/natural/inflectors/ja/noun_inflector.js:101 \u00B7 lib/natural/inflectors/noun_inflector.js:141 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/inflectors/fr/noun_inflector.js"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"860fee98bdd90de1fff9b72bfe5f307ed6a8a68120663901e053886b5a918795"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4 locations): lib/natural/brill_pos_tagger/lib/RuleTemplates.js:275 \u00B7 lib/natural/brill_pos_tagger/lib/RuleTemplates.js:343 \u00B7 lib/natural/brill_pos_tagger/lib/RuleTemplates.js:551 \u00B7 lib/natural/brill_pos_tagger/lib/RuleTemplates.js:567 \u2014 all 4 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/brill_pos_tagger/lib/RuleTemplates.js"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f17d3233bb361a5ffeb6c09c85e34b74887907a040cf5888416fe4603c65c33"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 9 locations): lib/natural/stemmers/indonesian/prefix_rules.js:169 \u00B7 lib/natural/stemmers/indonesian/prefix_rules.js:272 \u00B7 lib/natural/stemmers/indonesian/prefix_rules.js:506 \u00B7 lib/natural/stemmers/indonesian/prefix_rules.js:793 \u00B7 \u002B5 more site(s) not listed \u2014 all 9 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/stemmers/indonesian/prefix_rules.js"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"22b3a5b81fdfb4e4377ae74ccd84ae25e39496e3623b2f7ebd3d104b7bedbf87"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): lib/natural/stemmers/indonesian/prefix_rules.js:931 \u00B7 lib/natural/stemmers/indonesian/prefix_rules.js:948 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/stemmers/indonesian/prefix_rules.js"},"region":{"startLine":931}}}],"partialFingerprints":{"codehealthFindingId/v1":"82631e98d84c624a9df8f240e6dff481a1097710893b96a5124d38d536e3309b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): lib/natural/tokenizers/aggressive_tokenizer_pl.js:23 \u00B7 lib/natural/tokenizers/aggressive_tokenizer_pt.js:23 \u2014 the two spans are one implementation copied and then locally edited \u2014 54 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/tokenizers/aggressive_tokenizer_pl.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"456a939ba88ed094f5f9b38af5fd29a2c96bcf94943d2ca51bf4a9e6f6b1c832"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): lib/natural/tokenizers/aggressive_tokenizer_pt.js:23 \u00B7 lib/natural/tokenizers/aggressive_tokenizer_ru.js:23 \u2014 the two spans are one implementation copied and then locally edited \u2014 54 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/tokenizers/aggressive_tokenizer_pt.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b5ab459d72fe094f6c53323cef1136119fec2532ce0d8c5935d243cdc4f577d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): lib/natural/tokenizers/aggressive_tokenizer_pt.js:23 \u00B7 lib/natural/tokenizers/aggressive_tokenizer_uk.js:24 \u2014 the two spans are one implementation copied and then locally edited \u2014 54 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/tokenizers/aggressive_tokenizer_pt.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"be625ba6e3562d521f213c552c41315e7366af88450510b25d32780db6a063cb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): lib/natural/brill_pos_tagger/lib/RuleTemplates.js:481 \u00B7 lib/natural/brill_pos_tagger/lib/RuleTemplates.js:521 \u00B7 lib/natural/brill_pos_tagger/lib/RuleTemplates.js:579 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/brill_pos_tagger/lib/RuleTemplates.js"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"de0a17cad082b373840017fd9e532e4fbd6fc04a34cf75bcc6672293599547f4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): lib/natural/classifiers/classifier.js:145 \u00B7 lib/natural/classifiers/maxent/Classifier.js:75 \u2014 the two spans are one implementation copied and then locally edited \u2014 55 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/classifiers/classifier.js"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce818a49528fbda2c7aaca928c5afb6b7e8a9b9d7de819c8452f7ec02ddc5543"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5 locations): lib/natural/stemmers/indonesian/base_stemmer_id.js:31 \u00B7 lib/natural/stemmers/stemmer.js:31 \u00B7 lib/natural/stemmers/stemmer_no.js:31 \u00B7 lib/natural/stemmers/stemmer_pt.js:30 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 5 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/stemmers/indonesian/base_stemmer_id.js"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"397a5e37e5df717726b4205b5bf86c51341fcefaf058edbb5ed76dec38e4da76"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): lib/natural/stemmers/indonesian/prefix_rules.js:212 \u00B7 lib/natural/stemmers/indonesian/prefix_rules.js:252 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/stemmers/indonesian/prefix_rules.js"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"d283d1286e77b14e82e3ce52130b44021d806a76ed0960815fcd2903af7f0c64"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): lib/natural/stemmers/porter_stemmer_es.js:193 \u00B7 lib/natural/stemmers/porter_stemmer_es.js:208 \u00B7 lib/natural/stemmers/porter_stemmer_it.js:183 \u2014 the 3 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/stemmers/porter_stemmer_es.js"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"6191d86a3cd836bc346893887ee393dda8e839c6e7054d3e8b251897b912a1f5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): lib/natural/brill_pos_tagger/lib/Brill_POS_Trainer.js:266 \u00B7 lib/natural/brill_pos_tagger/lib/Brill_POS_Trainer.js:374 \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":"lib/natural/brill_pos_tagger/lib/Brill_POS_Trainer.js"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a3b1a8ac6d220bc5bbddb93ccbd09e8f96c5b23355ce9bbd275bece80fb266f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): lib/natural/util/storage/Memcached.js:33 \u00B7 lib/natural/util/storage/Redis.js:38 \u2014 the two spans are one implementation copied and then locally edited \u2014 51 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/util/storage/Memcached.js"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4e042568e42ca2821857bb679a430202051d64cc9ab09a9c79348e2a0758325"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): lib/natural/normalizers/normalizer_ja.js:584 \u00B7 lib/natural/normalizers/normalizer_ja.js:607 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/normalizers/normalizer_ja.js"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"204f5c244d996e278e8429a0e4e00eded9e6ae8da5af1e6bbb090413b6cc29ed"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6 locations): lib/natural/stemmers/stemmer_fa.js:29 \u00B7 lib/natural/stemmers/stemmer_fr.js:28 \u00B7 lib/natural/stemmers/stemmer_it.js:26 \u00B7 lib/natural/stemmers/stemmer_pl.js:28 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 copies are spread across 6 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/stemmers/stemmer_fa.js"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7dc5bacc4764215ae02a805c971d4b5a8493c0a34944f8a65a3c327f7846cb2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stem (cyclomatic 70, cognitive 100): stem has cyclomatic complexity 70 and cognitive complexity 100; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/stemmers/porter_stemmer_fr.js"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"90275cd596b4adfadbca0f78b73fd34ff1727ebb4817b46ae123cba13baccc50"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stemm (cyclomatic 48, cognitive 80): stemm has cyclomatic complexity 48 and cognitive complexity 80; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/stemmers/porter_stemmer_de.js"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"499d6fbbb48dd871030dee14ed4d52a05e78006afd016136e6aa9958552764ce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleC (cyclomatic 44, cognitive 57): handleC has cyclomatic complexity 44 and cognitive complexity 57; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/phonetics/double_metaphone.js"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"6db6afa00fc83dd09daf4ae4abad6d972f0d4d52420a2c7111b9824634ed4bbb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stem (cyclomatic 42, cognitive 58): stem has cyclomatic complexity 42 and cognitive complexity 58; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/stemmers/porter_stemmer_es.js"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6e03efed93b8f452444edfddb793e4c0e7e49f02b2399a74a9eaed535d105dc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function process (cyclomatic 38, cognitive 11): process has cyclomatic complexity 38 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/phonetics/double_metaphone.js"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"86b56edfc9ddfb8b36552cd83c2f46356c7f6d686fc1a71ef7f8f939df7e95ca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stem (cyclomatic 34, cognitive 40): stem has cyclomatic complexity 34 and cognitive complexity 40; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/stemmers/porter_stemmer_it.js"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"664abf6e5e882fb7a4e61400849e7667e60c5e71d59ac8dd620e9f75442b441e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function levenshteinDistance (cyclomatic 28, cognitive 36): levenshteinDistance has cyclomatic complexity 28 and cognitive complexity 36; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/distance/levenshtein_distance.js"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"44050d68b3fe378bcb4c9470bbf776303e9c2cdd83ace164f65214c131321e6c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleG (cyclomatic 26, cognitive 35): handleG has cyclomatic complexity 26 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/phonetics/double_metaphone.js"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae6816ba3a1173ed5cdf58b027f08c10cecc673607ab5e5d61c421b48e38719e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleS (cyclomatic 25, cognitive 33): handleS has cyclomatic complexity 25 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/phonetics/double_metaphone.js"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec3416a66024fdb9b807444bd48d5b3986dab76027710e26f8f7bc9f9acdaf24"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function regions (cyclomatic 17, cognitive 21): regions has cyclomatic complexity 17 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/stemmers/porter_stemmer_fr.js"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5b12bcb3d8e05ef729dc8e8755b0775ffad877efa2b9521e43dae02c07bba29"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function step3b (cyclomatic 17, cognitive 20): step3b has cyclomatic complexity 17 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/stemmers/porter_stemmer_nl.js"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7951e76a6fea2938f26c2905cd2581af2b649e20b03f9fd6f2ea1b8e45037f1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function tokenize (cyclomatic 17, cognitive 11): tokenize has cyclomatic complexity 17 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/tokenizers/sentence_tokenizer.js"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"90b36dafd2db619ce80f5873d807663eafb0cfb1eeaa2e93e52820a757af79e7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ngrams (cyclomatic 15, cognitive 24): ngrams has cyclomatic complexity 15 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/ngrams/ngrams.js"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"50d25aaa811c0bffc4998649eb23cd220e7345672cbde464baf4a4ac99baf1a0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function distance (cyclomatic 14, cognitive 21): distance has cyclomatic complexity 14 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/distance/jaro-winkler_distance.js"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"f73ec923dbea1a71a38fb4b0dfbe88945fbd111af290e5c87c1f59ee75de5fee"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function type (cyclomatic 14, cognitive 20): type has cyclomatic complexity 14 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/analyzers/sentence_analyzer.js"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"e36d86040bd1837d5d4798ea60436537cf4f3a3b730ad92e5fbc0b8038f80386"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function markRegions (cyclomatic 13, cognitive 18): markRegions has cyclomatic complexity 13 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/stemmers/porter_stemmer_nl.js"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f8948e7de892dcf8fe4623877f4e842ec6196e9705398c9ff9a86771a5a9adf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prelude (cyclomatic 13, cognitive 14): prelude has cyclomatic complexity 13 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/stemmers/porter_stemmer_fr.js"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff117c6602a6382f06e86edd50c2f1bbd66243731abaeeaba5c01462b7c7258d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stem (cyclomatic 12, cognitive 19): stem has cyclomatic complexity 12 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/stemmers/porter_stemmer_ru.js"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0dea62f9d650736f7f9dd7587a0c55d116b51e4031c2d065bd8342ea65f50b3"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/util/stopwords_pl.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f0f778f6d4068340e5022dd4fe090ae007a733517d92bb2de1764796c1c082d"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/stemmers/stemmer_pl.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f31f766fa14f85fd6804268905ead6952991741bf64f989068b3a3a24affdd7"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/sentiment/tools/sentimentXmlParser.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dd90cebb04b7969d67d439928aeef28583cc8b35400a1c68623c207460827b7"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/sentiment/tools/XmlParser4PatternData.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaab67eb72a349e17ae31458aa6455309d9c36e67184da932803109281554e86"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/tokenizers/sentence_tokenizer_deprecated.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"557b706089403776517a7dded98e200a9bee292230f1aa94b8fdd525b552174e"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/util/stopwords_zh.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"728c9b943a44c33c0aab7f6834ab2cd995c35d8336e69f1e1c4c0e03ced8cc6e"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ce9c6863b3d8b2e3133cab1d9ec730fe7b712fa5c1c8fecc21bd4b1873d5052"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~64 LoC): no import path from any entry point (7 application, 20 tooling, 78 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (lib/natural/stemmers/stemmer_pl.js) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/util/stopwords_pl.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3e18734f6c89dc082d70b1fa80c52cd53d8c12721716ba5bb6a888ce9704106"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~63 LoC): no import path from any entry point (7 application, 20 tooling, 78 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/stemmers/stemmer_pl.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf2d11095efc036680258e731c28d42baf08d99bf46f75993f073c4e51528f43"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~57 LoC): no import path from any entry point (7 application, 20 tooling, 78 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/sentiment/tools/sentimentXmlParser.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5a17e50e2d72e6f7202c2436afb73ad2997f1fa8fcef34830acff4d6b8dbabc"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~56 LoC): no import path from any entry point (7 application, 20 tooling, 78 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/sentiment/tools/XmlParser4PatternData.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ca4aa987a19e9823a709be563335f697e7be371095296141107dcf577fee906"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~51 LoC): no import path from any entry point (7 application, 20 tooling, 78 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/tokenizers/sentence_tokenizer_deprecated.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb455732e4c3643272c206627b032ab15200cd1d9f7b5af0a08cd0dd362ca7af"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~47 LoC): no import path from any entry point (7 application, 20 tooling, 78 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/natural/util/stopwords_zh.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fc0c0bd95a1652e4de575ebbcd8724691cac5c650c0734c33433954b9f5e7e4"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027ncp\u0027: Declared in the root package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"f0b11e84c7e2c27b240793fc168704737b69375bc863f67b0c6dda85030c62b6"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027pegjs\u0027: Declared in the root package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c23412bdb87092590d769e220b5b9aeee8dd7fc031a995ef6a8382c8a4bbf14e"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027proxyquire\u0027: Declared in the root package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"20e51832cc611659489d02e26ea08f4b4d0768f81cb586afe680f672e9be43c4"}}],"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-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-1104","guid":"4c918cb5-b2a6-6c55-9963-a44ee464305e","name":"CWE-1104","shortDescription":{"text":"CWE-1104"},"helpUri":"https://cwe.mitre.org/data/definitions/1104.html"},{"id":"CWE-125","guid":"98717707-96bf-ca5b-9568-8d1d257574c1","name":"CWE-125","shortDescription":{"text":"CWE-125"},"helpUri":"https://cwe.mitre.org/data/definitions/125.html"},{"id":"CWE-1329","guid":"f70f1c3f-4ccf-cb5e-bdd3-03ba4868d36d","name":"CWE-1329","shortDescription":{"text":"CWE-1329"},"helpUri":"https://cwe.mitre.org/data/definitions/1329.html"},{"id":"CWE-1352","guid":"5257f322-5cfc-6b52-bedd-0b9a526b4c7d","name":"CWE-1352","shortDescription":{"text":"CWE-1352"},"helpUri":"https://cwe.mitre.org/data/definitions/1352.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-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"CWE-506","shortDescription":{"text":"CWE-506"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"CWE-522","shortDescription":{"text":"CWE-522"},"helpUri":"https://cwe.mitre.org/data/definitions/522.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":54,"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."]}]}