Public report — netron, published 6 Aug 2026. Concrete security findings (CVE IDs, secret matches, dependency versions) are hidden in this version; ask the repo owner for the full report.
Watchdog 06-08-2026 @ 20:21 UTC Public
Code Health Audit

Lutzroeder/netron

32% At Risk

Hobby · weakest lens: Code Health (20%)

Grounded in facts. Every number here is computed, not narrated — reproducible, tool-backed, and traceable to a line of code. How to trust this ▸

39/41dimensions tool-verifieddeterministic · confidence 1.0 · 2 LLM-assisted, advisory
799findings with an exact file:lineof 809 — the remainder are repo-wide signals (a dimension-level measurement, not a single line); open any file:line and verify
41/102dimensions across the health lenses — wide & deep

Executive summary

Read through the Production lens — the standard calibration. *Green* means good enough to run in production. The score is absolute and comparable across repos.

lutzroeder/netron carries serious gaps (32%). Several issues below can materially affect correctness, security, or the cost of changing it — and propagate to everything that depends on it.

It is strongest in Architecture (95%) — the structure is clean and changes stay contained.

Most urgent: a critical security exposure was detected (see the Security & Compliance lens). Treat it as a priority regardless of the overall grade.

The area that most needs attention is Code Health (20%) — changes there are slower and more error-prone. Readiness (29%) is the next concern — releases are harder to depend on — versioning, release notes and dependency hygiene are thin, so consumers can't easily tell what changed or trust an upgrade.

Leadership focus, highest impact first: Migrate the remaining .js/.jsx files to TypeScript (Type Safety); Break down the listed branch-heavy functions (Cyclomatic Complexity); oversized components into smaller (Large Files).

For scale: Hobby (~0 production lines); rebuilding it from scratch would take roughly ~0.1 person-years (~1 engineer). Approximate, ±~30%.

It builds on a genuinely strong Architecture foundation (95%); the priorities above are the highest-leverage way to bring the rest up to that level.

How the score is built — each lens's share of the headline Width is the lens's weight in the worst-heaviest fold (the weakest area pulls hardest); colour is that lens's own band. A lens fixes the score in proportion to its width.
Code Health 20% · 47% weightReadiness 29% · 26% weightSecurity 42% · 14% weightMaturity 57% · 8% weightArchitecture 95% · 4% weight

Raise Code Health 20 → 70 (the Healthy floor) ⇒ headline 32 → ~43.

Code composition — where the lines go
Tests 100%
New since the last scan (100+)

782 finding(s) are new versus the previous scan (2026-07-29) — surfaced by this scheduled scan itself, no pull request required. Showing the first 100; the full set is in the report.

  • D1 · constructor (cyclomatic 265) source/ncnn.js
  • D1 · constructor (cyclomatic 248) source/pytorch.js
  • D1 · evaluateValue (cyclomatic 201) tools/tablegen.js
  • D1 · next (cyclomatic 124) source/protobuf.js
  • D1 · constructor (cyclomatic 121) source/darknet.js
  • D1 · constructor (cyclomatic 113) source/openvino.js
  • D1 · getEnumCases (cyclomatic 109) tools/tablegen.js
  • D1 · schema (cyclomatic 106) tools/mlir-script.js
  • D1 · constructor (cyclomatic 106) source/keras.js
  • D1 · read (cyclomatic 99) source/xml.js
  • D1 · _add (cyclomatic 99) source/view.js
  • D1 · open (cyclomatic 88) source/keras.js
  • D1 · constructor (cyclomatic 87) source/gguf.js
  • D1 · extractTraitsFromList (cyclomatic 80) tools/mlir-script.js
  • D1 · match (cyclomatic 80) source/tf.js
  • D1 · updateTorchScript (cyclomatic 80) source/tf.js
  • D1 · constructor (cyclomatic 78) source/pytorch.js
  • D1 · constructor (cyclomatic 75) source/keras.js
  • D1 · _decodeData (cyclomatic 74) source/base.js
  • D1 · constructor (cyclomatic 72) source/tnn.js
  • D1 · peek (cyclomatic 71) source/view.js
  • D1 · _tokenizeInline (cyclomatic 70) source/view.js
  • D1 · _format (cyclomatic 69) source/view.js
  • D1 · order (cyclomatic 66) source/dagre.js
  • D1 · constructor (cyclomatic 63) source/mxnet.js
  • D1 · weights (cyclomatic 62) source/pickle.js
  • D1 · read (cyclomatic 62) source/kmodel.js
  • D1 · constructor (cyclomatic 61) source/mxnet.js
  • D1 · decodeJson (cyclomatic 60) source/tf-proto.js
  • D1 · _tokenize (cyclomatic 58) source/view.js
  • D1 · constructor (cyclomatic 57) source/onnx.js
  • D1 · open (cyclomatic 56) source/text.js
  • D1 · weights (cyclomatic 54) source/pytorch.js
  • D1 · constructor (cyclomatic 54) source/om.js
  • D1 · graph (cyclomatic 53) source/tf.js
  • D1 · read (cyclomatic 53) source/onnx.js
  • D1 · open (cyclomatic 51) source/onnx.js
  • D1 · _parsePrimaryValue (cyclomatic 50) tools/tablegen.js
  • D1 · constructor (cyclomatic 50) source/dot.js
  • D1 · constructor (cyclomatic 48) source/paddle.js
  • D1 · constructor (cyclomatic 47) source/rknn.js
  • D1 · model (cyclomatic 47) source/coreml.js
  • D1 · constructor (cyclomatic 47) source/caffe.js
  • D1 · _internalSubset (cyclomatic 43) source/xml.js
  • D1 · constructor (cyclomatic 43) source/tf.js
  • D1 · _context (cyclomatic 43) source/base.js
  • D1 · constant (cyclomatic 42) source/openvino.js
  • D1 · refresh (cyclomatic 41) source/view.js
  • D1 · constructor (cyclomatic 41) source/tosa.js
  • D1 · constructor (cyclomatic 41) source/tflite.js
  • D1 · constructor (cyclomatic 41) source/sklearn.js
  • D1 · constructor (cyclomatic 41) source/onnx.js
  • D1 · constructor (cyclomatic 41) source/circle.js
  • D1 · _buildTable (cyclomatic 40) tools/flatc.js
  • D1 · constructor (cyclomatic 40) source/tvm.js
  • D1 · constructor (cyclomatic 40) source/onednn.js
  • D1 · _node (cyclomatic 39) source/view.js
  • D1 · toString (cyclomatic 39) source/view.js
  • D1 · _render (cyclomatic 39) source/view.js
  • D1 · (anonymous) (cyclomatic 39) source/tf.js
  • D1 · constructor (cyclomatic 39) source/megengine.js
  • D1 · read (cyclomatic 38) source/om.js
  • D1 · parse (cyclomatic 38) source/mxnet.js
  • D1 · _instantiateMulticlassDef (cyclomatic 37) tools/tablegen.js
  • D1 · _buildDecodeJsonFunction (cyclomatic 37) tools/protoc.js
  • D1 · toConstraintString (cyclomatic 37) tools/mlir-script.js
  • D1 · add (cyclomatic 37) source/view.js
  • D1 · constructor (cyclomatic 37) source/pickle.js
  • D1 · read (cyclomatic 37) source/espresso.js
  • D1 · constructor (cyclomatic 37) source/dl4j.js
  • D1 · render (cyclomatic 36) source/view.js
  • D1 · constructor (cyclomatic 36) source/tf.js
  • D1 · match (cyclomatic 36) source/ncnn.js
  • D1 · constructor (cyclomatic 36) source/kmodel.js
  • D1 · constructor (cyclomatic 36) source/caffe.js
  • D1 · _resolveInit (cyclomatic 35) tools/tablegen.js
  • D1 · _evaluateDefvar (cyclomatic 35) tools/tablegen.js
  • D1 · constructor (cyclomatic 35) source/onnx.js
  • D1 · constructor (cyclomatic 35) source/caffe2.js
  • D1 · constructor (cyclomatic 35) source/bigdl.js
  • D1 · main (cyclomatic 34) tools/tosa-script.js
  • D1 · decodeJson (cyclomatic 34) source/tf-proto.js
  • D1 · constructor (cyclomatic 34) source/openvino.js
  • D1 · _attribute (cyclomatic 34) source/onnx.js
  • D1 · (anonymous) (cyclomatic 33) source/paddle.js
  • D1 · constructor (cyclomatic 33) source/mnn.js
  • D1 · type (cyclomatic 33) source/hdf5.js
  • D1 · layout (cyclomatic 33) source/grapher.js
  • D1 · constructor (cyclomatic 33) source/espdl.js
  • D1 · checkIsAttr (cyclomatic 32) tools/mlir-script.js
  • D1 · animateTransition (cyclomatic 32) source/view.js
  • D1 · match (cyclomatic 32) source/transformers.js
  • D1 · match (cyclomatic 32) source/keras.js
  • D1 · match (cyclomatic 32) source/coreml.js
  • D1 · weights (cyclomatic 32) source/coreml.js
  • D1 · match (cyclomatic 31) source/tf.js
  • D1 · constructor (cyclomatic 31) source/darknet.js
  • D1 · constructor (cyclomatic 31) source/cntk.js
  • D1 · constructor (cyclomatic 30) source/view.js
  • D1 · render (cyclomatic 30) source/view.js

A full-fidelity diff against the previous run's complete recorded findings — line-move tolerant: a finding that only shifted line counts as unchanged, only genuinely new titles/files surface here.

Top priorities

The highest-leverage moves; the full ranked list is in the Roadmap below.

1
Resolve the 1 No tests found finding(s) in Test Distribution.
+8.7 pts · Low effort · Test Distribution
2
Migrate the remaining .js/.jsx files to TypeScript.
+13.3 pts · Medium effort · Type Safety
3
Break down the listed branch-heavy functions; aim P95 cyclomatic ≤ 5.
+13.3 pts · Medium effort · Cyclomatic Complexity

Diagnosis — what's actually going on

Highest-leverage move · Medium · Leverage
Of everything flagged, the best return on effort is: Migrate the remaining .js/.jsx files to TypeScript. The rest can wait behind it.
Evidence: priority ranking: top of 5 ranked by impact/effort
→ Migrate the remaining .js/.jsx files to TypeScript.

At a glance — Code Health · 20% · Critical · gated by D2, D3, R1, R2, R3, R7

At a glance — Architecture · 95% · Exemplary

At a glance — Maturity · 57% · Adequate · gated by M2

At a glance — Readiness · 29% · Weak · gated by D9, R4, P2

At a glance — Security · 42% · Weak · gated by D29, D36, D38

Security & Compliance — OWASP Top-10 mapping

Findings mapped to OWASP categories; the specific CVEs/secrets are in the Security dimension cards below and findings.md (redacted only on the public version of this report).

OWASP categoryFindingsSeverity
A06:2021 — Vulnerable & Outdated Components28High / Critical
A03:2021 — Injection14High / Critical

Roadmap

Begin by migrating the remaining JavaScript files to TypeScript to establish type safety. Next, reduce cyclomatic complexity by breaking down branch-heavy functions and splitting oversized components into smaller, focused units. Finally, eliminate dead code and address missing test coverage to improve maintainability and reliability.

Ranked by impact ÷ effort. "Helps" is the estimated gain on the 0–100 health score.

Do thisHelpsEffortDimension
Resolve the 1 No tests found finding(s) in Test Distribution.+8.7 ptsLowTest Distribution
Migrate the remaining .js/.jsx files to TypeScript.+13.3 ptsMediumType Safety
Break down the listed branch-heavy functions; aim P95 cyclomatic ≤ 5.+13.3 ptsMediumCyclomatic Complexity
Split the oversized components into smaller, focused ones.+13.3 ptsMediumLarge Files
Delete the dead files and unused exports — every line is maintenance cost and rebuild-estimate inflation with zero runtime value.+13.3 ptsMediumDead Code
Adopt ILogger (or Serilog) and log at meaningful points across the projects.+8.7 ptsMediumObservability
Add tests that import the unreached modules (directly or through their public entry).+8.7 ptsMediumTest Coverage
Extract the duplicated blocks into shared functions/components.+7.8 ptsMediumCode Duplication

File quality

Per-file score 0–10 — a quality signature. Of 109 files carrying findings, judged against the Production bar: 2% slop · 81% mixed · 17% near-clean.

FileScoreBandWorst signal
package-lock.json0.0SlopOSV Dependency Vulnerabilities: Critical CVE: [GHSA redacted]
package.js3.2SlopStatic Analysis (SAST): High: detect-child-process
.github/workflows/build.yml4.4MixedStatic Analysis (SAST): High: github-actions-mutable-action-tag
.github/workflows/publish.yml5.1MixedStatic Analysis (SAST): High: github-actions-mutable-action-tag
source/megengine-schema.js5.7MixedGod Classes: FileTooLong: source/megengine-schema.js
source/grapher.js6.3MixedCyclomatic Complexity: layout (cyclomatic 33)
source/ncnn.js7.0MixedCyclomatic Complexity: constructor (cyclomatic 265)
source/pytorch.js7.0MixedCyclomatic Complexity: constructor (cyclomatic 248)
tools/tablegen.js7.0MixedCyclomatic Complexity: evaluateValue (cyclomatic 201)
source/protobuf.js7.0MixedCyclomatic Complexity: next (cyclomatic 124)
source/openvino.js7.0MixedCyclomatic Complexity: constructor (cyclomatic 113)
tools/mlir-script.js7.0MixedCyclomatic Complexity: schema (cyclomatic 106)
source/keras.js7.0MixedCyclomatic Complexity: constructor (cyclomatic 106)
source/xml.js7.0MixedCyclomatic Complexity: read (cyclomatic 99)
source/view.js7.0MixedCyclomatic Complexity: _add (cyclomatic 99)
source/tf.js7.0MixedCyclomatic Complexity: match (cyclomatic 80)
source/base.js7.0MixedCyclomatic Complexity: _decodeData (cyclomatic 74)
source/dagre.js7.0MixedCyclomatic Complexity: order (cyclomatic 66)
source/tf-proto.js7.0MixedCyclomatic Complexity: decodeJson (cyclomatic 60)
source/onnx.js7.0MixedCyclomatic Complexity: constructor (cyclomatic 57)

Methodology & how to trust this report

Watchdog is a deep, periodic assessment — run each sprint, monthly, or quarterly, taking the time to go wider and deeper than a quick check and surfacing in one coherent report what you'd otherwise piece together from a dozen separate tools. It scores deterministically: the same commit yields the same score, every run. 39 of 41 evaluated dimensions are computed purely by tools and static analysis (confidence 1.0); 2 documentation/naming judgement(s) are LLM-assisted and labelled advisory. Overall confidence is 0.6 — the weighted average across measured dimensions; it falls as more of the score leans on LLM-assisted judgement and rises when it's fully tool-backed.

Every figure here is one of three kinds, and we label which: ✓ Measured — a deterministic fact (LoC, complexity, coverage); ~ Modeled — an estimate from a stated model (cost, effort, value-at-risk), always a range with its assumptions, never a precise fact; ◐ Advisory — an LLM prose judgement. We never present a modelled estimate as if it were measured. Perfect or absent scores carry their provenance too (ADR-0011): ✓ Tool-verified means the property itself was measured across the surface; ○ Nothing flagged means the probes came back clean — a claim bounded by what a repository can show; ⊘ Not evidenced means a working control (a tested restore, an automated rollback) showed no positive evidence — absence of evidence is not evidence of a control, so it's excluded from the score rather than awarded a spurious 10; ◐ Sampled · advisory marks an LLM verdict over a bounded sample — advisory, never a deterministic measurement.

What we checked — 41 dimensions across the health lenses
D1D2D3D4D5D9D12D13D15D19D21D26D27D28D29D33D34D35D36D38AX5M1M2M3M4P1P2P3R1R10R2R3R4R5R6R7R8R9X1X3X4

Each chip is a dimension scored from real signals across architecture, testing, dependencies, security & compliance, documentation, git-history and code quality — in one coherent pass. A surface report typically covers a handful.

How to trust any code-health report — three questions
  1. Can you open the finding? Real findings cite a repo-relative file and line you can open at the cited line — never an absolute scratch path. Here, 799 of 809 do; the remainder are repo-wide signals — a dimension-level measurement, not a single line. (Every path in this report is repo-relative by construction: paths are normalized at the producer and the report is rejected if any rooted path leaks through.)
  2. Is there a tool behind the number? Every score below names the method that produced it — Roslyn, git, a scanner, or (for a handful of documentation/naming dimensions) an LLM labelled sampled · advisory — not a narrative.
  3. Does re-running give the same result? Run it again on the same commit and the score — and this report, byte for byte — is identical. A report whose numbers move between runs is describing the run, not the code.

This report answers yes to all three. That's the bar to hold any assessment to.

Tools & methods

The actual versions used this run (captured at analysis time) — re-run on the same commit for the identical score.

MethodBacksVersionEvaluator
Roslyn static analysisComplexity, cohesion, coupling, dead code, API surface, layering5.3.0✓ deterministic
Native secret scannerHardcoded secrets / credentials1.0.0✓ deterministic
jscpdCode duplication✓ deterministic
Coverage (coverlet / dotnet-coverage)Line & branch coverage10.0.301✓ deterministic
NuGet / dotnetOutdated, vulnerable & deprecated dependencies10.0.301✓ deterministic
git / LibGit2SharpChurn hotspots, knowledge concentration, history2.43.0 · 0.31.0✓ deterministic
gitleaks · semgrep · trivy · checkovSecrets in history, SAST, CVEs, IaC & container, PII / GDPR1.86.0 · 0.69.3✓ deterministic
LLM (sampled · advisory)Documentation quality, ADR conformance, naming — sampled over a bounded sample; advisory, never a deterministic measurementLocal LLM◐ LLM · sampled · advisory

Every finding is locatable in findings.md. Run 019fd8bc-e9f3-75c4-943b-8d88ef52dcca.

The exact command behind every deep-scan dimension — tool, version, invocation and retained raw output — is in Appendix B — Reproduction & audit trail.

Run transparency — what happened this run

What ran differently this time — a tool absent, degraded, or that fell back to an estimate. Named openly, not folded silently into the scores. A degraded run also records its exact cause in diagnostics.md.

  • D18 Solution Shape — evaluation did not complete — Dimension evaluation failed — excluded from the score.
  • D30 Dependency Vulnerabilities — scanner not present in this environment — The backing tool was not installed where this scan ran, so this dimension was not scored. Install the tool (or run in the hosted environment, where it is always present) for a graded result.
  • D31 IaC & Container Security — scanner not present in this environment — The backing tool was not installed where this scan ran, so this dimension was not scored. Install the tool (or run in the hosted environment, where it is always present) for a graded result.
  • D32 Data Compliance (PII/GDPR) — scanner not present in this environment — The backing tool was not installed where this scan ran, so this dimension was not scored. Install the tool (or run in the hosted environment, where it is always present) for a graded result.
  • D37 Vulnerability-disclosure Policy — scanner not present in this environment — The backing tool was not installed where this scan ran, so this dimension was not scored. Install the tool (or run in the hosted environment, where it is always present) for a graded result.

Repo exclusion declarations (.gitattributes linguist-generated/vendored, .editorconfig generated_code): none declared — every source file was scored.

Limitations & what we did not check

Watchdog assesses the repository exactly as committed, and only the repository. By design it does not reach outside the source tree: the live cloud account, the running CI/CD pipeline, the host's branch-protection and approval rules, the production configuration, or a restore actually exercised against a backup are all out of scope. That boundary is a feature, not a gap — a repo-relative, deterministic scan re-runs identically on any commit and every finding opens at a real file and line, where a live audit can neither be reproduced nor traced. The visible consequence is that controls which leave no in-repo evidence are reported as "not evidenced" and excluded from the score rather than awarded a number a static scan cannot justify.

Per-dimension blind spots

For each dimension that was measured, what a static, repo-only scan structurally cannot see — the honest edge of the measurement, not a failure of it.

  • D1 Cyclomatic Complexity: Cyclomatic complexity counts branches statically — it cannot tell an essential decision tree from accidental tangle, nor see complexity that lives in data or configuration (large switch-case token tables, DSL lexers/parsers, data-as-code rule tables) rather than control flow: a tokenizer's many single-character cases read as high complexity though each branch is trivial.
  • D2 Cognitive Complexity: Cognitive-complexity heuristics approximate how hard code is to follow; genuine domain difficulty and well-named intent that eases reading are not captured.
  • D3 God Classes: "God class" is sized by members and responsibilities visible in the type — a deliberately broad facade over a coherent subsystem can read the same as an accidental grab-bag. For front-end JS the file-length check is cohesion-aware (a single-responsibility module — one class/IIFE — earns a 3× threshold), but cohesion is approximated from top-level declarations, not true dependency structure.
  • D4 Code Duplication: Duplication is token-similarity (jscpd) — it finds copy-paste, not semantic duplication expressed differently. Committed machine-written code (EF migration scaffolds, *.Designer.cs, model snapshots) is EXCLUDED — its repetition is the tool's, not the team's — so the score reflects hand-written duplication only; the generated footprint is reported separately under Solution Shape.
  • D5 Coupling: Coupling is measured between projects/assemblies — runtime coupling through DI, reflection, messaging or shared databases is invisible to a static reference graph.
  • D9 Test Distribution: The test-pyramid shape is inferred from project/folder naming and references, with a single test host bucketed per-file by its path tier and content signals — a suite that names tiers unconventionally and gives no per-file signal can still be mis-bucketed.
  • D12 Dependency Hygiene: Dependency health reads manifests and lockfiles — a vulnerability in a vendored/copied dependency, or risk from how a dependency is actually used, is outside this view.
  • D13 Secret Scanning: Secret detection is signature- and entropy-based on the current tree — a secret that does not match a known pattern, or one already rotated, will not be flagged (a clean scan is "nothing matched", not "no secrets exist").
  • D15 Churn × Complexity Hotspots: Churn hotspots come from git history — a freshly imported or squashed repository has no churn signal, and recent rewrites can mask a historically risky file.
  • D19 Documentation Quality: Documentation quality is judged by an LLM over a bounded sample of docs — it reads what is written, not whether the docs match the running system, and it is advisory, not a measurement.
  • D21 Naming Consistency: Naming quality is an LLM judgement over a bounded sample — it assesses clarity/consistency of the names it sees, not domain-correctness, and is advisory.
  • D26 Project Cohesion: Project focus is sized from members/namespaces per project — a project that is broad by deliberate design reads the same as one that has sprawled.
  • D27 Navigability: Indirection/navigability is structural — it measures hops to follow a call, not whether that indirection buys real flexibility or just ceremony.
  • D28 Secrets (history): Secret-history scanning sweeps the git log for known patterns — a secret that predates the available history, or never matched a signature, is not found (clean means "nothing matched in the history we can see").
  • D29 Static Analysis (SAST): SAST findings are pattern-based (semgrep) — it finds classes of bug it has rules for; logic flaws, auth/authorization gaps and issues needing runtime context are out of reach (and clean means "no rule matched").
  • D33 JS/npm Dependency Vulnerabilities: JS/npm CVE matching reads package manifests and lockfiles — risk from how a dependency is used, and advisories not yet published, fall outside this scan.
  • D34 Knowledge Freshness: Freshness is decayed commit RECENCY, not comprehension — code read often but rarely committed reads as orphaned, and stable code that genuinely needs no changes is penalised the same as forgotten code; bot/squash commits distort it like the bus factor.
  • D35 Change Coupling: Change coupling is co-change in COMMITS — files split across separate commits, or coupled only through a shared config/build step, read as uncoupled, and a sweeping commit (rename/format) is excluded so it doesn't couple everything. It shows that files change together, not WHY: a high coupling can be a healthy cohesive pair as readily as a hidden leak.
  • M4 Documentation accuracy: Onboarding quality is an LLM read of the docs/setup present — it cannot run the onboarding or measure how long a real new joiner takes; the verdict is sampled and advisory.

The LLM boundary

LLM-set scores this run (3): D19, D21, M4 (model: Local LLM). For these, a model reads a bounded sample and sets the numeric score (documentation, ADR quality, naming, comment value, onboarding) — D25 sets the ADR-conformance fraction over sampled code, D22 judges API accuracy over a sample. These are sampled and advisory by design: they vary at the margins between runs and are never a deterministic measurement. Every other score in this report is tool-computed at confidence 1.0.

Dimensions

D1 · Cyclomatic Complexity4.6 / 10Weak✓ Tool-verified

What it measures: How tangled the control flow is — methods with many branches are hard to test and change.

Method: Cyclomatic complexity per method (1 + decision points), computed exhaustively across production source; test projects separated by convention. Deterministic.

Maturity: DocumentedVerifiedPrevented · effective 4.6 / 10 · rule-coverage 100% · ceiling Prevented

286 method(s) exceeded the cyclomatic complexity threshold of 15; the worst was constructor at 265.

constructor (cyclomatic 29) · ×6source/tnn.js:478
constructor (cyclomatic 25) · ×6source/view.js:2779
constructor (cyclomatic 41) · ×5source/tosa.js:155
constructor (cyclomatic 23) · ×5source/om.js:536
constructor (cyclomatic 21) · ×5source/qnn.js:176

+ 212 more group(s) — more in Appendix A; the complete list is findings.md.

What to do

  1. Resolve the 6 constructor (cyclomatic 29) finding(s) in Cyclomatic Complexity — start with barracuda.js, circle.js, pytorch.js. — One of this dimension's main actionable groups (6 warning-level).
  2. Resolve the 6 constructor (cyclomatic 25) finding(s) in Cyclomatic Complexity — start with mlnet.js, pytorch.js, rknn.js. — One of this dimension's main actionable groups (6 warning-level).
  3. Resolve the 5 constructor (cyclomatic 41) finding(s) in Cyclomatic Complexity — start with circle.js, onnx.js, sklearn.js. — One of this dimension's main actionable groups (5 warning-level).
  4. Enforce Cyclomatic Complexity in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.

Detailed fixes: d1_recommendation.md · top locations in Appendix A, every location in findings.md.

D2 · Cognitive Complexity2.0 / 10Critical✓ Tool-verified

What it measures: How hard the code is for a person to follow, beyond raw branching.

Method: Cognitive complexity per method (Sonar-style nesting-penalized score), computed exhaustively over production code, excluding test projects. Deterministic.

Maturity: DocumentedVerifiedPrevented · effective 2.0 / 10 · rule-coverage 100% · ceiling Prevented

432 method(s) exceeded the cognitive complexity threshold of 15; the worst was constructor at 445.

constructor (cognitive 16) · ×6source/xmodel.js:164
constructor (cognitive 41) · ×5source/xmodel.js:115
constructor (cognitive 22) · ×5source/uff.js:161
constructor (cognitive 20) · ×5source/ncnn.js:1161
constructor (cognitive 59) · ×4source/tflite.js:79

+ 344 more group(s) — more in Appendix A; the complete list is findings.md.

What to do

  1. Resolve the 6 constructor (cognitive 16) finding(s) in Cognitive Complexity — start with dlc.js, hdf5.js, mlnet.js. — One of this dimension's main actionable groups (6 warning-level).
  2. Resolve the 5 constructor (cognitive 41) finding(s) in Cognitive Complexity — start with ncnn.js, pickle.js, pytorch.js. — One of this dimension's main actionable groups (5 warning-level).
  3. Resolve the 5 constructor (cognitive 22) finding(s) in Cognitive Complexity — start with coreml.js, hailo.js, hdf5.js. — One of this dimension's main actionable groups (5 warning-level).
  4. Enforce Cognitive Complexity in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.

Detailed fixes: d2_recommendation.md · top locations in Appendix A, every location in findings.md.

D3 · God Classes0.0 / 10Critical✓ Tool-verified

What it measures: Over-large classes that try to do too much ("god classes").

Method: God-class detection by line and method-count thresholds per logical type (partial classes unified), filtered for generated code and registration/contract false positives. Deterministic.

Maturity: DocumentedVerifiedPrevented · effective 0.0 / 10 · rule-coverage 100% · ceiling Prevented

27 god class(es) detected.

FileTooLong: ./package.js · ×27package.js:0

What to do

  1. Resolve the 27 FileTooLong finding(s) in God Classes — start with armnn-schema.js, caffe-proto.js, caffe2-proto.js. — One of this dimension's main actionable groups (27 warning-level).
  2. Enforce God Classes in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.

Detailed fixes: d3_recommendation.md · top locations in Appendix A, every location in findings.md.

D4 · Code Duplication9.8 / 10Exemplary✓ Tool-verified

What it measures: Copy-pasted code that should be shared instead.

Method: Code duplication via token-stream sliding windows with type-aware normalization (locals masked, type names preserved), density-scored per KLoC of production code. Deterministic.

Maturity: DocumentedVerifiedPrevented · effective 9.8 / 10 · rule-coverage 100% · ceiling Verified

1 duplicated block group(s) detected.

Duplicated block (12 lines × 2)source/pytorch.py:18

✓ On the Gold path — maintain.

Detailed fixes: d4_recommendation.md · top locations in Appendix A, every location in findings.md.

D5 · Coupling6.9 / 10Adequate✓ Tool-verified

What it measures: Whether volatile projects sit underneath others that depend on them (so their churn ripples upward), and whether project dependencies form cycles. A widely-depended-on but stable shared/kernel project is healthy, not penalised.

Method: Dependency cycles via elementary-DFS over real .csproj references, plus Martin instability (afferent/efferent) per project. Exhaustive over the reference graph, deterministic.

Coverage: Exhaustive · type-level: afferent/efferent coupling + cycles computed over every production type — the population is all types, not a name convention.

Maturity: DocumentedVerifiedPrevented · effective 6.9 / 10 · rule-coverage 100% · ceiling Prevented

0 projects, 0 dependency cycle(s), 0 unstable depended-on project(s).

What to do

  1. Enforce Coupling in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.

Detailed fixes: d5_recommendation.md.

D9 · Test Distribution0.0 / 10Critical✓ Tool-verified

What it measures: Whether the test suite has a healthy mix of unit / integration / end-to-end tests.

Method: Test projects classified (Unit/Integration/BDD/E2E) from compiled metadata; test methods counted exhaustively across projects with placement-agnostic disk fallback. Deterministic.

Maturity: DocumentedVerifiedPrevented · effective 0.0 / 10 · rule-coverage 100% · ceiling Documented

No test projects found.

No tests found

What to do

  1. Resolve the 1 No tests found finding(s) in Test Distribution. — One of this dimension's main actionable groups (1 recommendation-level).

Detailed fixes: d9_recommendation.md · top locations in Appendix A, every location in findings.md.

D12 · Dependency Hygiene10.0 / 10Exemplary✓ Tool-verified

What it measures: Whether dependencies are current, secure, and not bloated.

Method: Manifest scan via dotnet list package across all projects; worst-signal-per-package deduction (saturating for vulnerabilities, capped-linear for deprecation/outdated) per KLoC. Exhaustive, deterministic.

Maturity: DocumentedVerifiedPrevented · effective 10.0 / 10 · rule-coverage 100% · ceiling Verified

0 outdated, 0 vulnerable, 0 deprecated packages.

✓ On the Gold path — maintain.

Detailed fixes: d12_recommendation.md.

D13 · Secret Scanning10.0 / 10Exemplary○ Nothing flagged

What it measures: Whether any secrets (keys, tokens, passwords) have leaked into the code.

Method: In-process native secret scanner (entropy plus signature patterns) across all tracked files; no external tool. A clean result is a measured 10, not no-data zero. Deterministic.

Maturity: DocumentedVerifiedPrevented · effective 10.0 / 10 · rule-coverage 100% · ceiling Prevented

Secret scan ran and found no leaked secrets.

✓ On the Gold path — maintain.

Detailed fixes: d13_recommendation.md.

D15 · Churn × Complexity Hotspots8.0 / 10Strong✓ Tool-verified

What it measures: Files that change often and are also complex — the riskiest hotspots.

Method: Per production file churn times cyclomatic complexity over a rolling window, computed from git and Roslyn/JS/Razor analysis. Exhaustive, deterministic per commit date.

Maturity: DocumentedVerifiedPrevented · effective 8.0 / 10 · rule-coverage 100% · ceiling Documented

Top hotspots: source/view.js (11×99=1089); source/gguf.js (9×87=783); tools/mlir-script.js (7×106=742)

Hotspot: source/view.js · ×10source/view.js

What to do

  1. Resolve the 10 Hotspot finding(s) in Churn × Complexity Hotspots — start with base.js, gguf.js, litertlm-proto.js. — One of this dimension's main actionable groups (10 warning-level).

Detailed fixes: d15_recommendation.md · top locations in Appendix A, every location in findings.md.

D19 · Documentation Quality / 10Adequate◐ Sampled · advisory

What it measures: Whether the project's documentation is clear, complete, and useful.

Method: Judged by language model at low temperature (0.0-0.1) on a deterministic doc sample (READMEs plus first 25 architecture docs), with two-pass stability filtering. Advisory, sampled.

Maturity: DocumentedVerifiedPrevented · effective Adequate / 10 · rule-coverage 100% · ceiling Documented

The single README gives a strong visual presence (the dual GitHub logos and a screenshot link) plus clear install instructions for browser, macOS, Linux, Windows, and Python. It lists the supported model formats with links to sample files and the netron app. The document is well-structured and visually rich but lacks any architecture or usage documentation beyond installation; it is an excellent README for a viewer tool.

What to do

  1. Improve Documentation Quality — currently 6.0/10. — The single README gives a strong visual presence (the dual GitHub logos and a screenshot link) plus clear install instructions for browser, macOS, Linux, Windows, and Python. It lists the supported model formats with links to sample files and the netron app. The document is well-structured and visually rich but lacks any architecture or usage documentation beyond installation; it is an excellent README for a viewer tool.

Detailed fixes: d19_recommendation.md.

D21 · Naming Consistency / 10Exemplary◐ Sampled · advisory

What it measures: Whether names — types, methods, variables — are clear and consistent.

Method: Judged by language model at low temperature (0.0-0.1) on a deterministic random symbol sample (fixed size, not exhaustive), with disclosed confidence band. Advisory, sampled.

Maturity: DocumentedVerifiedPrevented · effective Exemplary / 10 · rule-coverage 100% · ceiling Verified

0 naming inconsistencies across 0 sampled symbols.

✓ On the Gold path — maintain.

Detailed fixes: d21_recommendation.md.

D26 · Project Cohesion10.0 / 10Exemplary✓ Tool-verified

What it measures: Whether each project is a focused, coherent unit rather than an oversized grab-bag.

Method: Project size overshoot penalties (LoC / public-type count / namespace count, 2-of-3 flag) weighted by log magnitude. Exhaustive across projects, deterministic, LLM-independent.

Maturity: DocumentedVerifiedPrevented · effective 10.0 / 10 · rule-coverage 100% · ceiling Documented

No projects to assess.

✓ On the Gold path — maintain.

Detailed fixes: d26_recommendation.md.

D27 · Navigability10.0 / 10Exemplary✓ Tool-verified

What it measures: How far you must trace to follow a call — low indirection and co-located slices read easier.

Method: Call indirection (interface hops, cross-namespace calls, slice-locality scaled) over a sampled set of method invocations, size-aware baseline. Sampled; confidence discounted by symbol-resolution gaps.

Coverage: Slice locality from the first namespace segments, SAMPLED (≤400 methods) — not exhaustive.

Maturity: DocumentedVerifiedPrevented · effective 10.0 / 10 · rule-coverage 100% · ceiling Documented

Too little code to assess navigability.

✓ On the Gold path — maintain.

Detailed fixes: d27_recommendation.md.

D28 · Secrets (history)10.0 / 10Exemplary○ Nothing flagged

What it measures: Whether any secrets were ever committed — scanned across the full git history, not just now.

Method: Git-history secret scan via gitleaks detect over full history in an isolated checkout; each match flagged High. Exhaustive; degrades cleanly when tool absent.

Maturity: DocumentedVerifiedPrevented · effective 10.0 / 10 · rule-coverage 100% · ceiling Documented

gitleaks scanned the full history AND the current working tree and found no secrets.

✓ On the Gold path — maintain.

Detailed fixes: d28_recommendation.md.

D29 · Static Analysis (SAST)1.0 / 10Critical✓ Tool-verified

What it measures: Real static-analysis (SAST) findings — likely security bugs in the code, any language.

Method: Polyglot static analysis via semgrep across the repo using the pinned, image-baked p/security-audit + p/owasp-top-ten rulesets (no scan-time registry fetch); severity rules (ERROR/WARNING/INFO) map to a full-band severity-weighted score. Exhaustive, deterministic; degrades on parse failure.

Coverage: semgrep pattern rules over all files — exhaustive for the rule set, blind to classes of bug without a rule (clean = no rule matched).

Maturity: DocumentedVerifiedPrevented · effective 1.0 / 10 · rule-coverage 100% · ceiling Documented

14 finding(s): 0 critical, 13 high, 1 medium, 0 low.

High: github-actions-mutable-action-tag · ×13.github/workflows/build.yml:23detected by semgrep finding
Medium: mako-templates-detectedtools/nnabla_script.py:97detected by semgrep finding

What to do

  1. Resolve the 13 High finding(s) in Static Analysis (SAST) — start with build.yml (7), publish.yml (3), package.js (2). — One of this dimension's main actionable groups (13 issue-level).
  2. Resolve the 1 Medium finding(s) in Static Analysis (SAST) — start with nnabla_script.py. — One of this dimension's main actionable groups (1 warning-level).

Detailed fixes: d29_recommendation.md · top locations in Appendix A, every location in findings.md.

D33 · JS/npm Dependency Vulnerabilities10.0 / 10Exemplary○ Nothing flagged

What it measures: Whether JavaScript/npm dependencies have known published vulnerabilities (CVEs) — the npm ecosystem's biggest risk.

Method: JS/npm CVE scan via trivy fs --scanners vuln over JS manifests (package.json/yarn.lock/pnpm-lock/bun.lockb); 0-10 tight normalizer. NotApplicable without JS manifests. Exhaustive, deterministic.

Maturity: DocumentedVerifiedPrevented · effective 10.0 / 10 · rule-coverage 100% · ceiling Documented

No known-vulnerable JS/npm dependencies.

✓ On the Gold path — maintain.

Detailed fixes: d33_recommendation.md.

D34 · Knowledge Freshness10.0 / 10Exemplary✓ Tool-verified

What it measures: Whether anyone still has living knowledge of each file, or it has been orphaned — last understood long ago by someone now gone quiet. The sibling of the bus factor: D16 asks who owns it, D34 asks whether anyone still knows it.

Method: File orphaning as total living-knowledge decay below one focused-commit's worth within a year, computed per-file from the D16 decay model. Exhaustive, deterministic over fixed history.

Maturity: DocumentedVerifiedPrevented · effective 10.0 / 10 · rule-coverage 100% · ceiling Documented

Every significant source file has living knowledge — recently and meaningfully worked.

✓ On the Gold path — maintain.

Detailed fixes: d34_recommendation.md.

D35 · Change Coupling8.9 / 10Strong✓ Tool-verified

What it measures: Whether files that change together actually belong together — pairs that repeatedly co-change in git history despite having no explicit code dependency, surfacing the hidden/logical coupling (and boundaries in the wrong place) a static scan can't see.

Method: Pairwise co-occurrence over the per-commit file sets in git history (production source only — tests and generated dropped): Degree-of-Coupling = shared ÷ min individual revisions, reported above noise floors (each file ≥10 revisions, ≥5 shared commits, ≥50% strength); sweeping commits excluded. Deterministic over fixed history.

Coverage: Population: PRODUCTION source files only — test and generated files are dropped before pairing, so a class co-changing with its own test (trivially ~100%) can't drown the real production↔production coupling. Pairs ranked by Degree-of-Coupling; coupling through a build step, config, or non-source file isn't seen.

Maturity: DocumentedVerifiedPrevented · effective 8.9 / 10 · rule-coverage 100% · ceiling Documented

Strongest change-coupling: mlir.js↔mlir-script.js 94%; dlc-schema.js↔dlc.js 70%; grapher.js↔view.js 66%

Change coupling: mlir.js ↔ mlir-script.js · ×10source/mlir.js

What to do

  1. Resolve the 10 Change coupling finding(s) in Change Coupling — start with megengine-schema.js (4), onnx-schema.js (2), caffe-proto.js. — One of this dimension's main actionable groups (10 warning-level).

Detailed fixes: d35_recommendation.md · top locations in Appendix A, every location in findings.md.

D36 · Supply-chain Provenance & Signing0.0 / 10Critical✓ Tool-verified

What it measures: Whether the build pipeline provides supply-chain integrity — generated provenance/attestation, signed artifacts (cosign/sigstore), an SBOM, and pinned build actions. Presence of the configuration, not a runtime guarantee.

Method: Supply-chain provenance/signing read deterministically from CI/build config (.github/workflows, .gitlab-ci.yml, azure-pipelines, Jenkinsfile, .circleci) + the release surface: four signals — generated provenance/attestation (SLSA/in-toto/actions-attest), artifact signing (cosign/sigstore/gitsign), an SBOM (syft/sbom-action/*.spdx.json/*.cdx.json), and SHA-pinned build actions — scored 10·present/denom. NotApplicable without a build pipeline. Detects configuration presence, not runtime enforcement.

Maturity: DocumentedVerifiedPrevented · effective 0.0 / 10 · rule-coverage 100% · ceiling Documented

0/4 supply-chain integrity signals present (provenance, signing, SBOM, pinned actions).

Unpinned build actions
No build provenance
No artifact signing
No SBOM

What to do

  1. Resolve the 1 Unpinned build actions finding(s) in Supply-chain Provenance & Signing. — One of this dimension's main actionable groups (1 warning-level).
  2. Resolve the 1 No build provenance finding(s) in Supply-chain Provenance & Signing. — One of this dimension's main actionable groups (1 recommendation-level).
  3. Resolve the 1 No artifact signing finding(s) in Supply-chain Provenance & Signing. — One of this dimension's main actionable groups (1 recommendation-level).

Detailed fixes: d36_recommendation.md · top locations in Appendix A, every location in findings.md.

D38 · OSV Dependency Vulnerabilities0.0 / 10Critical✓ Tool-verified

What it measures: Whether dependencies have known published vulnerabilities (CVEs) per the OSV database — npm and other lockfile ecosystems, parsed natively. Complements D33 (npm via trivy) and D30 (.NET via dotnet).

Method: npm/multi-ecosystem CVE scan via osv-scanner (queries the osv.dev database + parses lockfiles natively: package-lock/yarn/pnpm/bun); severity tally (Critical/High/Medium/Low) to 0-10 tight normalizer (8.0). NotApplicable without a JS lockfile. Additive to D33 (trivy fs); exhaustive + deterministic, DB kept fresh.

Maturity: DocumentedVerifiedPrevented · effective 0.0 / 10 · rule-coverage 100% · ceiling Documented

28 finding(s): 1 critical, 15 high, 10 medium, 2 low.

High CVE: [GHSA redacted] · ×15package-lock.jsondetected by osv-scanner finding
Critical CVE: [GHSA redacted]package-lock.jsondetected by osv-scanner finding
Medium CVE: [GHSA redacted] · ×10package-lock.jsondetected by osv-scanner finding
Low CVE: [GHSA redacted] · ×2package-lock.jsondetected by osv-scanner finding

What to do

  1. Resolve the 15 High CVE finding(s) in OSV Dependency Vulnerabilities — start with package-lock.json (15). — One of this dimension's main actionable groups (15 issue-level).
  2. Resolve the 10 Medium CVE finding(s) in OSV Dependency Vulnerabilities — start with package-lock.json (10). — One of this dimension's main actionable groups (10 warning-level).
  3. Resolve the 1 Critical CVE finding(s) in OSV Dependency Vulnerabilities — start with package-lock.json. — One of this dimension's main actionable groups (1 issue-level).

Detailed fixes: d38_recommendation.md · top locations in Appendix A, every location in findings.md.

Frontend & cross-cutting dimensions

R = React/JS · M = Maturity · P = Readiness.

AX5 · Architecture & structure10.0 / 10Exemplary✓ Tool-verified

Other · Architecture — Whether the codebase has a recognisable, scale-appropriate structure (a named architectural style, or modular enough for its size) rather than being an ad-hoc ball of mud.

Method: Roslyn plus csproj analysis: architecture style detection (DDD, clean, vertical-slice, CQRS) and structure fitness for repo size. Deterministic.

M1 · Documentation (README)6.7 / 10Adequate✓ Tool-verified

Maturity · Maturity — Whether the repo and its projects have a README, and whether it's substantive and current.

Method: Filesystem scan: README presence, word count, and headings for depth; git history for staleness. Exhaustive across root and project dirs, deterministic.

What to do

  • Add a 'Testing' section to the root README — how to run the test suite.
  • Add an 'Architecture' / 'How it works' section to the root README — the high-level shape.
M2 · Architecture documentation0.0 / 10Critical✓ Tool-verified

Maturity · Maturity — Whether key decisions (ADRs) and the high-level shape (C4/diagrams) are written down.

Method: Filesystem scan: ADR folder/naming conventions or content, plus Mermaid/PlantUML/C4/architecture.md discovery. Exhaustive, deterministic.

  • No Architecture Decision Records found — decisions aren't captured for future maintainers.
  • No C4/PlantUML/Mermaid diagram or architecture.md — the high-level shape isn't documented.

What to do

  • Start an ADR log (docs/adr/) recording significant decisions and their rationale.
  • Add a C4 context/container diagram (Structurizr, PlantUML or Mermaid) or an architecture.md overview.
M3 · Folder & project structure10.0 / 10Exemplary✓ Tool-verified

Maturity · Maturity — Whether the repo is organised deliberately — src/test separation and consistent project naming.

Method: Filesystem scan: src/test folder separation and namespace-prefix consistency (majority RootNamespace agreement). Exhaustive across projects, deterministic.

M4 · Documentation accuracy10.0 / 10Exemplary◐ Sampled · advisory

Maturity · Maturity — Whether the README actually describes the code that exists (LLM-judged, advisory).

Method: Judged by language model at low temperature: README accuracy versus actual projects, within a disclosed tolerance. Advisory, not a measured number.

P1 · CI/CD gates8.5 / 10Strong✓ Tool-verified

Readiness · Readiness — Whether an automated pipeline builds and tests every change.

Method: Filesystem scan: CI workflow files (.github/workflows, .gitlab-ci.yml, etc.) for build and test stages. Exhaustive, deterministic.

  • A CI pipeline exists and the word "test" appears, but no explicit test-runner invocation (dotnet test / npm test / pytest / a test job) was matched — the gate may be running tests, or "test" may be incidental (a path, "latest", a reporter). Make the test step explicit so the gate is unambiguous.

What to do

  • Run the test suite in CI via an explicit runner step (e.g. `dotnet test`) and gate merges on it.
P2 · Observability0.0 / 10Critical✓ Tool-verified

Readiness · Readiness — Whether the code is diagnosable in production — structured logging, tracing/metrics, health checks.

Method: Filesystem/Roslyn scan: structured-logging frameworks (Serilog, NLog), OpenTelemetry, and health-check endpoint patterns. Exhaustive, deterministic.

  • No ILogger/Serilog usage found — production issues will be hard to diagnose.

What to do

  • Adopt ILogger (or Serilog) and log at meaningful points across the projects.
  • Consider OpenTelemetry tracing/metrics and a health-check endpoint for operability.
P3 · Security & performance tooling4.0 / 10Weak✓ Tool-verified

Readiness · Readiness — Whether SAST, secret/dependency scanning and performance benchmarking are wired in (presence, not runtime).

Method: Filesystem/Roslyn scan: CodeQL, Dependabot, secret-scanning, and BenchmarkDotNet presence in pipelines and projects. Exhaustive, deterministic.

What to do

  • Enable Dependabot/Renovate or a dependency-review gate.
  • Add gitleaks/trufflehog in CI to block PRs that introduce committed secrets.
R1 · Type Safety0.0 / 10Critical✓ Tool-verified

React / JS · Code Health — How much of the frontend is typed TypeScript vs untyped JavaScript.

Method: Frontend file inventory: the share of typed TypeScript vs untyped JavaScript across the source tree. Deterministic, exhaustive over frontend files.

  • 0 typed · 144 plain JS

What to do

  • Migrate the remaining .js/.jsx files to TypeScript.
R10 · Code Duplication7.8 / 10Strong✓ Tool-verified

React / JS · Code Health — Copy-pasted token-identical blocks across the frontend (the D4 clone algorithm over JS/TS tokens, D-386).

Method: Copy-pasted token-identical blocks across the frontend (the D4 clone algorithm run over JS/TS tokens). Deterministic.

  • eslint.config.js:25 · eslint.config.js:56 · eslint.config.js:81 · eslint.config.js:96 — eslint.config.js:25
  • source/caffe-proto.js:4005 · source/caffe-proto.js:4197 — caffe-proto.js:4005
  • eslint.config.js:191 · eslint.config.js:208 — eslint.config.js:191
  • source/caffe-proto.js:173 · source/caffe2-proto.js:495 — caffe-proto.js:173
  • source/cntk-proto.js:135 · source/litertlm-proto.js:839 — cntk-proto.js:135
  • source/darknet.js:871 · source/jax.js:80 — darknet.js:871
  • source/dl4j.js:384 · source/gguf.js:665 — dl4j.js:384
  • source/mlir.js:3437 · source/mlir.js:3520 — mlir.js:3437

What to do

  • Extract the duplicated blocks into shared functions/components.
R2 · Cyclomatic Complexity0.0 / 10Critical✓ Tool-verified

React / JS · Code Health — Per-function cyclomatic/cognitive complexity from the token-level function scanner (D-386) — real branching, not a regex heuristic.

Method: Per-function cyclomatic/cognitive complexity from a token-level function scanner (real branching, not a regex heuristic), computed over every frontend function. Deterministic.

  • Branch-heavy code is where defects cluster — extract decisions into smaller functions. (×8) — mlir.js:9482, ncnn.js:285, pytorch.js:324, …

What to do

  • Break down the listed branch-heavy functions; aim P95 cyclomatic ≤ 5.
R3 · Large Files0.0 / 10Critical✓ Tool-verified

React / JS · Code Health — How many components/modules exceed the large-file threshold.

Method: Components/modules exceeding the large-file threshold, counted exhaustively across the frontend source tree. Deterministic.

  • 73 file(s) over 400 lines

What to do

  • Split the oversized components into smaller, focused ones.
R4 · Test Coverage1.0 / 10Critical✓ Tool-verified

React / JS · Readiness — Static test reachability (D-386): the share of production files reachable from any test via the import graph — measured without running anything.

Method: Static test reachability: the share of production files reachable from any test via the import graph — measured without running anything. Deterministic.

  • No test imports this module directly or transitively — its behavior is unverified. (×8) — mlir.js, tf-proto.js, nnabla-proto.js, …

What to do

  • Add tests that import the unreached modules (directly or through their public entry).
R5 · Dependency Freshness9.9 / 10Exemplary✓ Tool-verified

React / JS · Readiness — How outdated the npm dependencies are (a maturity signal). JS/npm CVEs are scored separately in D33 (JS/npm Dependency Vulnerabilities).

Method: npm dependency staleness from manifest/registry metadata (a maturity signal; JS/npm CVEs are scored separately in D33). Deterministic.

What to do

  • Bump outdated dependencies to current versions to limit upgrade debt.
R6 · Tooling6.7 / 10Adequate✓ Tool-verified

React / JS · Readiness — Whether the project wires up test, lint and typecheck — detected from each package.json script's COMMAND (eslint / tsc / vitest / jest / playwright), not just its name, and corroborated against CI-workflow invocations so a tool run only in CI still counts.

Method: package.json scanned for test/lint/typecheck script wiring. Deterministic presence check.

  • test ✓ · lint ✓ · typecheck ✗

What to do

  • Add the missing tooling (eslint, tsc) as package.json scripts and run them in CI.
R7 · Dead Code0.0 / 10Critical✓ Tool-verified

React / JS · Code Health — Files unreachable from every application/tooling/test entry point, and exports nothing imports (module-graph reachability, D-386).

Method: Dead code: files unreachable from every application/tooling/test entry point plus exports nothing imports, via module-graph reachability. Deterministic, exhaustive over the import graph.

  • Unreachable from the 3 application, 2 tooling and 7 test entry point(s) detected in this repo. Gate removals on your build/type-check — an undetected custom entry would make these reachable.
  • no import path from any entry point (3 application, 2 tooling, 7 test roots considered) (×7) — mlir.js, tf-proto.js, nnabla-proto.js, …

What to do

  • Delete the dead files and unused exports — every line is maintenance cost and rebuild-estimate inflation with zero runtime value.
R8 · Dependency Hygiene9.0 / 10Exemplary✓ Tool-verified

React / JS · Readiness — npm dependency truthfulness (D-386): unused dependencies, imports not declared anywhere, and type-/test-only packages shipped as production deps.

Method: npm dependency truthfulness: unused dependencies, imports declared nowhere, and type-/test-only packages shipped as production deps — from the manifest + import graph. Deterministic.

  • Declared in the root/package.json but never imported anywhere in that package or its workspace members — dead weight and attack surface. Verify against build tooling before removing. (×2)

What to do

  • Remove unused dependencies, declare unlisted imports explicitly, and demote type-/test-only packages to devDependencies.
R9 · Circular Imports10.0 / 10Exemplary✓ Tool-verified

React / JS · Architecture — Import cycles in the module graph (D-386) — files that can only be understood and changed together.

Method: Import cycles in the module graph, detected exhaustively over JS/TS imports (the same cycle detection as the .NET coupling dimension). Deterministic.

X1 · Async correctness10.0 / 10Exemplary○ Nothing flagged

Other · Code Health — Whether the code avoids sync-over-async (deadlock-prone blocking on tasks) and async void.

Method: Roslyn syntax scan: async methods scanned for .Wait()/.GetAwaiter().GetResult() and async-void outside event handlers. Deterministic, hard fact per invocation.

X3 · Exception handling10.0 / 10Exemplary○ Nothing flagged

Other · Code Health — Whether exceptions are handled rather than silently swallowed or rethrown with lost stack traces.

Method: Roslyn syntax scan: every catch clause counted; empty catches and bare rethrows flagged. Population is all catch clauses, not estimated. Deterministic, hard fact.

X4 · Structured logging10.0 / 10Exemplary○ Nothing flagged

Other · Code Health — Whether log calls use message templates (queryable) rather than interpolated strings.

Method: Roslyn syntax scan: every log call-site counted; interpolated-string first-argument violations flagged. Population is all log calls, not estimated. Deterministic.

Reference — by lens

The score is the rank-weighted fold of these lenses (worst-heaviest), each including its meta-dimensions; a lens with a Critical contributor is capped at Fair (its band reads "gated by …") and is never the strongest area however high its average.

LensScoreRatingImpact
Code Health20%Critical — gated by D2, D3, R1, R2, R3, R7Capped at Fair by a Critical contributor — resolve it before relying on this lens.
Architecture95%ExemplaryStrongest area.
Maturity57%Adequate — gated by M2Capped at Fair by a Critical contributor — resolve it before relying on this lens.
Readiness29%Weak — gated by D9, R4, P2Capped at Fair by a Critical contributor — resolve it before relying on this lens.
Security42%Weak — gated by D29, D36, D38Capped at Fair by a Critical contributor — resolve it before relying on this lens.
Not included — 62 check(s) not relevant to this codebase

These checks had nothing to measure here (no tests, no git history, the codebase is small, or the architecture style doesn't apply), so they're omitted above rather than scored low.

  • AC1 Text alternatives — No user-facing web UI (the repo is a library/CLI/worker/headless service) — accessibility is not applicable.
  • AC2 Forms & labels — No user-facing web UI (the repo is a library/CLI/worker/headless service) — accessibility is not applicable.
  • AC3 Page structure — No user-facing web UI (the repo is a library/CLI/worker/headless service) — accessibility is not applicable.
  • AC4 Keyboard semantics — No user-facing web UI (the repo is a library/CLI/worker/headless service) — accessibility is not applicable.
  • AC5 ARIA correctness — No user-facing web UI (the repo is a library/CLI/worker/headless service) — accessibility is not applicable.
  • AC6 Visual & motion safety — No user-facing web UI (the repo is a library/CLI/worker/headless service) — accessibility is not applicable.
  • AC7 A11y enforcement — No user-facing web UI (the repo is a library/CLI/worker/headless service) — accessibility is not applicable.
  • AX1 Captive dependencies — no DI registrations detected
  • AX10 Code composition — no source files detected — code composition not applicable
  • AX2 Stateful singletons — no singleton implementations detected
  • AX3 Project dependency cycles — no csproj graph available
  • AX4 Dependency direction — no csproj graph available
  • AX6 Interface segregation — no public interfaces
  • AX7 Slice cohesion — not applicable — not a vertical-slice architecture
  • AX8 Test isolation — no test/production split to check
  • AX9 CQS / query purity — no CQRS query handlers detected — query purity is not applicable to this codebase
  • AXB2 Runtime readiness — no data
  • C1 Data Protection — No personal data detected in the analyzed source — no PII-typed entity/column names (Email, FirstName, DateOfBirth, …), no ASP.NET Identity / user-account model, and no stored user credentials. GDPR data-protection controls are therefore N/A here. If this is intentional, record the no-PII posture in an ADR; if the app does process personal data, name those fields conventionally so this dimension activates.
  • C2 Access Controls — No access-control surface detected in the analyzed source — no web/app surface to authorize (no HTTP API or web-UI project) and no authorization code at all (no [Authorize]/policies, no imperative guard methods). Access control is therefore N/A here — this is a library/CLI, which is authorized by its CALLER, not by itself. If this codebase grows request handlers, the dimension reactivates and a default-deny posture is expected then.
  • C3 Audit Trail — No personal data detected in the analyzed source — no PII-typed entity/column names (Email, FirstName, DateOfBirth, …), no ASP.NET Identity / user-account model, and no stored user credentials. GDPR data-protection controls are therefore N/A here. If this is intentional, record the no-PII posture in an ADR; if the app does process personal data, name those fields conventionally so this dimension activates.
  • C4 Data Retention — No personal data detected in the analyzed source — no PII-typed entity/column names (Email, FirstName, DateOfBirth, …), no ASP.NET Identity / user-account model, and no stored user credentials. GDPR data-protection controls are therefore N/A here. If this is intentional, record the no-PII posture in an ADR; if the app does process personal data, name those fields conventionally so this dimension activates.
  • C5 Data-Subject Rights — No personal data detected in the analyzed source — no PII-typed entity/column names (Email, FirstName, DateOfBirth, …), no ASP.NET Identity / user-account model, and no stored user credentials. GDPR data-protection controls are therefore N/A here. If this is intentional, record the no-PII posture in an ADR; if the app does process personal data, name those fields conventionally so this dimension activates.
  • D10 Test Quality — ~102 lines of test code exist on disk but weren't loaded from the analyzed solution (excluded from the .sln, or co-located/using a test attribute not loaded here), so test quality couldn't be assessed. Include the tests in the analyzed solution to enable this check.
  • D11 Test Reliability — Test reliability not included
  • D14 License Compliance — license scan produced no result — the tool ran but its JSON output could not be parsed; the offline NuGet fallback resolved nothing
  • D16 Bus Factor — single-maintainer — knowledge-concentration (bus factor) risk
  • D17 Explicit Debt — the C# workspace loaded 0 projects, so explicit-debt density could not be measured
  • D18 Solution Shape — Dimension evaluation failed
  • D20 ADR Quality — N/A — ADRs are expected on deployable products with a user-facing host, not consumed libraries; no ADR log is required here.
  • D22 Internal API Consistency — No exposed public API
  • D23 Boundary Type-Coupling — Zero projects and zero LoC mean the codebase is trivial and has no structure to justify boundaries.
  • D24 Comment Value — No inline comments to assess — comment value is not applicable here.
  • D25 ADR Conformance — no ADRs to check
  • D30 Dependency Vulnerabilities — No .NET solution found; no NuGet dependencies to scan for vulnerabilities.
  • D31 IaC & Container Security — No Infrastructure-as-Code or container manifests found (Dockerfile, Terraform, Kubernetes/Helm, CloudFormation); nothing to scan.
  • D32 Data Compliance (PII/GDPR) — No PII/GDPR ruleset is bundled (the public p/gdpr semgrep pack was retired) — data compliance is not assessed in this scan.
  • D37 Vulnerability-disclosure Policy — No vulnerability-disclosure policy file found (SECURITY.md, .github/SECURITY.md, docs/SECURITY.md, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed.
  • D39 IL Efficiency — The target did not build, so no IL was available to measure.
  • D6 Cohesion (LCOM4) — No production classes were analyzable, so cohesion (LCOM4) was not measured (the solution likely failed to load or has no production code).
  • D7 Architectural Integrity — no checkable ADRs and no dependency cycles — architectural integrity not assessed
  • D8 Code Coverage — Coverage not measured — test suite did not build
  • DM1 Domain Modelling — not run — 0/3 markers found
  • ED1 Event-Driven — not run — 0/3 markers found
  • ED5 Idempotency — no mutating command handlers or message consumers detected — idempotency check not applicable
  • ES1 Event Sourcing — not run — 0/3 markers found
  • GD1 Unfinished & placeholder code — no source files
  • IC1 Incompleteness & stubs — no C# methods found
  • P12 CI test-gate honesty — no data
  • P4 Deployment & Rollback — not evidenced — no deploy/rollback/approval signal in the repo; absence of evidence is not evidence of a manual release
  • P5 DR & Backup — not evidenced — repo shows no backup/RTO/RPO controls; absence of evidence is not evidence of a working control
  • P6 Release Hygiene — not evidenced — no changelog, version stamp or semver release tag in the repo
  • P7 Outbound HTTP resilience — not applicable — this isn't a service/API/worker
  • P8 Schema migrations — no EF Core usage detected
  • P9 Domain vs controller coverage — no coverage report found on disk — run tests with `--collect:"XPlat Code Coverage"` (or in CI) to enable this cross-layer check
  • PF1 Benchmark discipline — Performance is assessed only for perf-relevant repos — a packaged library, one that ships benchmarks, or one already using allocation-aware APIs. This repo isn't one, so the Performance lens is not applicable and is excluded from the score.
  • PF2 Allocation hygiene — Performance is assessed only for perf-relevant repos — a packaged library, one that ships benchmarks, or one already using allocation-aware APIs. This repo isn't one, so the Performance lens is not applicable and is excluded from the score.
  • PF3 Async & latency hygiene — Performance is assessed only for perf-relevant repos — a packaged library, one that ships benchmarks, or one already using allocation-aware APIs. This repo isn't one, so the Performance lens is not applicable and is excluded from the score.
  • R11 Import Boundaries — No recognizable feature-sliced/layered src layout — boundary rules not applicable.
  • S1 Web-Security Posture — No web surface detected in the analyzed source — no HTTP API or web-UI project (no controllers/minimal-API endpoints, no Razor/Blazor views) and no web middleware (HTTPS redirection, HSTS, security headers, cookies). Transport security, security headers, secure cookies, CSRF/input-validation and middleware-order controls are therefore N/A here — this is a library/CLI/worker, not a web app. Crypto hygiene was still checked and found nothing to flag. If this codebase becomes web-facing, the dimension reactivates automatically.
  • SC1 Supply-chain hygiene — no data
  • X2 Cancellation propagation — no async methods found
  • X5 Nullable reference types — no NRT-eligible projects

Appendix A — Findings (grouped)

The findings behind the scores, grouped by severity, then by dimension and kind. The high-severity issues are enumerated in full below; items per group are capped at 25 with any overflow stated explicitly per group, never silently truncated. The complete machine-readable list of every finding (all severities) is the companion findings.md in this report's bundle.

Issue — 30 finding(s)
D38 · OSV Dependency Vulnerabilities · High CVE · ×15
  • High CVE: [GHSA redacted] package-lock.json — brace-expansion 1.1.15: [GHSA redacted] — upgrade to 1.1.16
  • High CVE: [GHSA redacted] package-lock.json — brace-expansion 1.1.15: [GHSA redacted] — upgrade to 1.1.17
  • High CVE: [GHSA redacted] package-lock.json — brace-expansion 1.1.15: [GHSA redacted] — upgrade to 1.1.18
  • High CVE: [GHSA redacted] package-lock.json — fast-uri 3.1.2: [GHSA redacted] — upgrade to 3.1.3
  • High CVE: [GHSA redacted] package-lock.json — fast-uri 3.1.2: [GHSA redacted] — upgrade to 3.1.5
  • High CVE: [GHSA redacted] package-lock.json — fast-uri 3.1.2: [GHSA redacted] — upgrade to 3.1.4
  • High CVE: [GHSA redacted] package-lock.json — flatted 3.3.3: [GHSA redacted] — upgrade to 3.4.0
  • High CVE: [GHSA redacted] package-lock.json — flatted 3.3.3: [GHSA redacted] — upgrade to 3.4.2
  • High CVE: [GHSA redacted] package-lock.json — form-data 4.0.5: [GHSA redacted] — upgrade to 4.0.6
  • High CVE: [GHSA redacted] package-lock.json — js-yaml 4.1.1: [GHSA redacted] — upgrade to 4.3.0
  • High CVE: [GHSA redacted] package-lock.json — tar 7.5.16: [GHSA redacted] — upgrade to 7.5.18
  • High CVE: [GHSA redacted] package-lock.json — undici 6.26.0: [GHSA redacted] — upgrade to 6.27.0
  • High CVE: [GHSA redacted] package-lock.json — undici 7.25.0: [GHSA redacted] — upgrade to 7.29.0
  • High CVE: [GHSA redacted] package-lock.json — undici 7.25.0: [GHSA redacted] — upgrade to 7.28.0
  • High CVE: [GHSA redacted] package-lock.json — undici 7.25.0: [GHSA redacted] — upgrade to 7.28.0
D29 · Static Analysis (SAST) · High · ×13
  • High: github-actions-mutable-action-tag .github/workflows/build.yml:23 — GitHub Actions step uses a mutable tag or branch reference. Tags and branch names can be silently repointed by the action owner, enabling supply-chain attacks — as seen in the trivy-action and kics-github-action compromises. Pin the reference to a full 40-character commit SHA instead, e.g. `uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608`.
  • High: github-actions-mutable-action-tag .github/workflows/build.yml:26 — GitHub Actions step uses a mutable tag or branch reference. Tags and branch names can be silently repointed by the action owner, enabling supply-chain attacks — as seen in the trivy-action and kics-github-action compromises. Pin the reference to a full 40-character commit SHA instead, e.g. `uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608`.
  • High: github-actions-mutable-action-tag .github/workflows/build.yml:31 — GitHub Actions step uses a mutable tag or branch reference. Tags and branch names can be silently repointed by the action owner, enabling supply-chain attacks — as seen in the trivy-action and kics-github-action compromises. Pin the reference to a full 40-character commit SHA instead, e.g. `uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608`.
  • High: github-actions-mutable-action-tag .github/workflows/build.yml:75 — GitHub Actions step uses a mutable tag or branch reference. Tags and branch names can be silently repointed by the action owner, enabling supply-chain attacks — as seen in the trivy-action and kics-github-action compromises. Pin the reference to a full 40-character commit SHA instead, e.g. `uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608`.
  • High: github-actions-mutable-action-tag .github/workflows/build.yml:78 — GitHub Actions step uses a mutable tag or branch reference. Tags and branch names can be silently repointed by the action owner, enabling supply-chain attacks — as seen in the trivy-action and kics-github-action compromises. Pin the reference to a full 40-character commit SHA instead, e.g. `uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608`.
  • High: github-actions-mutable-action-tag .github/workflows/build.yml:83 — GitHub Actions step uses a mutable tag or branch reference. Tags and branch names can be silently repointed by the action owner, enabling supply-chain attacks — as seen in the trivy-action and kics-github-action compromises. Pin the reference to a full 40-character commit SHA instead, e.g. `uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608`.
  • High: github-actions-mutable-action-tag .github/workflows/build.yml:86 — GitHub Actions step uses a mutable tag or branch reference. Tags and branch names can be silently repointed by the action owner, enabling supply-chain attacks — as seen in the trivy-action and kics-github-action compromises. Pin the reference to a full 40-character commit SHA instead, e.g. `uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608`.
  • High: github-actions-mutable-action-tag .github/workflows/publish.yml:18 — GitHub Actions step uses a mutable tag or branch reference. Tags and branch names can be silently repointed by the action owner, enabling supply-chain attacks — as seen in the trivy-action and kics-github-action compromises. Pin the reference to a full 40-character commit SHA instead, e.g. `uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608`.
  • High: github-actions-mutable-action-tag .github/workflows/publish.yml:26 — GitHub Actions step uses a mutable tag or branch reference. Tags and branch names can be silently repointed by the action owner, enabling supply-chain attacks — as seen in the trivy-action and kics-github-action compromises. Pin the reference to a full 40-character commit SHA instead, e.g. `uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608`.
  • High: github-actions-mutable-action-tag .github/workflows/publish.yml:31 — GitHub Actions step uses a mutable tag or branch reference. Tags and branch names can be silently repointed by the action owner, enabling supply-chain attacks — as seen in the trivy-action and kics-github-action compromises. Pin the reference to a full 40-character commit SHA instead, e.g. `uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608`.
  • High: npm-missing-minimum-release-age .npmrc:1 — This .npmrc does not set a minimum release age or sets it too low. Newly published packages can be malicious or unstable. Add `min-release-age = 7` to wait 7 days before resolving newly published package versions. Added in: v11.10 Reference: https://github.blog/changelog/2026-02-18-npm-bulk-trusted-publishing-config-and-script-security-now-generally-available/
  • High: detect-child-process package.js:97 — Detected calls to child_process from a function argument `command`. This could lead to a command injection if the input is user controllable. Try to avoid calls to child_process, and if it is needed ensure user input is correctly sanitized or sandboxed.
  • High: detect-child-process package.js:99 — Detected calls to child_process from a function argument `command`. This could lead to a command injection if the input is user controllable. Try to avoid calls to child_process, and if it is needed ensure user input is correctly sanitized or sandboxed.
D18 · Solution Shape · Dimension evaluation failed · ×1
  • Dimension evaluation failed — no .NET solution found at target path
D38 · OSV Dependency Vulnerabilities · Critical CVE · ×1
  • Critical CVE: [GHSA redacted] package-lock.json — tar 7.5.16: [GHSA redacted] — upgrade to 7.5.19
Warning — 771 finding(s)
D3 · God Classes · FileTooLong · ×27
  • FileTooLong: ./package.js package.js:0 — FileTooLong — 774 lines.
  • FileTooLong: tools/tablegen.js tools/tablegen.js:0 — FileTooLong — 3473 lines.
  • FileTooLong: tools/protoc.js tools/protoc.js:0 — FileTooLong — 1604 lines.
  • FileTooLong: tools/mlir-script.js tools/mlir-script.js:0 — FileTooLong — 1203 lines.
  • FileTooLong: source/xml.js source/xml.js:0 — FileTooLong — 1733 lines.
  • FileTooLong: source/view.js source/view.js:0 — FileTooLong — 8027 lines.
  • FileTooLong: source/tosa-schema.js source/tosa-schema.js:0 — FileTooLong — 2282 lines.
  • FileTooLong: source/tflite-schema.js source/tflite-schema.js:0 — FileTooLong — 4037 lines.
  • FileTooLong: source/tf.js source/tf.js:0 — FileTooLong — 2219 lines.
  • FileTooLong: source/tf-proto.js source/tf-proto.js:0 — FileTooLong — 13367 lines.
  • FileTooLong: source/pytorch.js source/pytorch.js:0 — FileTooLong — 2808 lines.
  • FileTooLong: source/paddle-proto.js source/paddle-proto.js:0 — FileTooLong — 1651 lines.
  • FileTooLong: source/onnx.js source/onnx.js:0 — FileTooLong — 2899 lines.
  • FileTooLong: source/onnx-proto.js source/onnx-proto.js:0 — FileTooLong — 2712 lines.
  • FileTooLong: source/nnabla-proto.js source/nnabla-proto.js:0 — FileTooLong — 12407 lines.
  • FileTooLong: source/mslite-schema.js source/mslite-schema.js:0 — FileTooLong — 4600 lines.
  • FileTooLong: source/mnn-schema.js source/mnn-schema.js:0 — FileTooLong — 3365 lines.
  • FileTooLong: source/mlnet.js source/mlnet.js:0 — FileTooLong — 2337 lines.
  • FileTooLong: source/megengine-schema.js source/megengine-schema.js:0 — FileTooLong — 2429 lines.
  • FileTooLong: source/kmodel.js source/kmodel.js:0 — FileTooLong — 2249 lines.
  • FileTooLong: source/hdf5.js source/hdf5.js:0 — FileTooLong — 1832 lines.
  • FileTooLong: source/dagre.js source/dagre.js:0 — FileTooLong — 2450 lines.
  • FileTooLong: source/coreml.js source/coreml.js:0 — FileTooLong — 1569 lines.
  • FileTooLong: source/circle-schema.js source/circle-schema.js:0 — FileTooLong — 3675 lines.
  • FileTooLong: source/caffe2-proto.js source/caffe2-proto.js:0 — FileTooLong — 1751 lines.
  • + 2 more in this group — see findings.md.
D15 · Churn × Complexity Hotspots · Hotspot · ×10
  • Hotspot: source/view.js source/view.js — source/view.js changed 11 times in last 90 days, max complexity 99.
  • Hotspot: source/gguf.js source/gguf.js — source/gguf.js changed 9 times in last 90 days, max complexity 87.
  • Hotspot: tools/mlir-script.js tools/mlir-script.js — tools/mlir-script.js changed 7 times in last 90 days, max complexity 106.
  • Hotspot: source/mnn-schema.js source/mnn-schema.js — source/mnn-schema.js changed 3 times in last 90 days, max complexity 103.
  • Hotspot: source/litertlm-proto.js source/litertlm-proto.js — source/litertlm-proto.js changed 7 times in last 90 days, max complexity 44.
  • Hotspot: source/base.js source/base.js — source/base.js changed 4 times in last 90 days, max complexity 74.
  • Hotspot: source/tflite-schema.js source/tflite-schema.js — source/tflite-schema.js changed 2 times in last 90 days, max complexity 127.
  • Hotspot: source/pytorch.js source/pytorch.js — source/pytorch.js changed 1 times in last 90 days, max complexity 248.
  • Hotspot: tools/tablegen.js tools/tablegen.js — tools/tablegen.js changed 1 times in last 90 days, max complexity 201.
  • Hotspot: source/tf-proto.js source/tf-proto.js — source/tf-proto.js changed 3 times in last 90 days, max complexity 60.
D35 · Change Coupling · Change coupling · ×10
  • Change coupling: mlir.js ↔ mlir-script.js source/mlir.js — `source/mlir.js` and `tools/mlir-script.js` change together 94% of the time (48 shared commits) with no explicit dependency — a hidden/logical coupling. If they belong together, co-locate them; if not, break the coupling.
  • Change coupling: dlc-schema.js ↔ dlc.js source/dlc-schema.js — `source/dlc-schema.js` and `source/dlc.js` change together 70% of the time (7 shared commits) with no explicit dependency — a hidden/logical coupling. If they belong together, co-locate them; if not, break the coupling.
  • Change coupling: grapher.js ↔ view.js source/grapher.js — `source/grapher.js` and `source/view.js` change together 66% of the time (33 shared commits) with no explicit dependency — a hidden/logical coupling. If they belong together, co-locate them; if not, break the coupling.
  • Change coupling: megengine-schema.js ↔ onnx-schema.js source/megengine-schema.js — `source/megengine-schema.js` and `source/onnx-schema.js` change together 58% of the time (7 shared commits) with no explicit dependency — a hidden/logical coupling. If they belong together, co-locate them; if not, break the coupling.
  • Change coupling: megengine-schema.js ↔ flatc.js source/megengine-schema.js — `source/megengine-schema.js` and `tools/flatc.js` change together 58% of the time (7 shared commits) with no explicit dependency — a hidden/logical coupling. If they belong together, co-locate them; if not, break the coupling.
  • Change coupling: megengine-schema.js ↔ pytorch-schema.js source/megengine-schema.js — `source/megengine-schema.js` and `source/pytorch-schema.js` change together 58% of the time (7 shared commits) with no explicit dependency — a hidden/logical coupling. If they belong together, co-locate them; if not, break the coupling.
  • Change coupling: onnx-schema.js ↔ flatc.js source/onnx-schema.js — `source/onnx-schema.js` and `tools/flatc.js` change together 50% of the time (8 shared commits) with no explicit dependency — a hidden/logical coupling. If they belong together, co-locate them; if not, break the coupling.
  • Change coupling: onnx-schema.js ↔ pytorch-schema.js source/onnx-schema.js — `source/onnx-schema.js` and `source/pytorch-schema.js` change together 50% of the time (8 shared commits) with no explicit dependency — a hidden/logical coupling. If they belong together, co-locate them; if not, break the coupling.
  • Change coupling: megengine-schema.js ↔ tflite-schema.js source/megengine-schema.js — `source/megengine-schema.js` and `source/tflite-schema.js` change together 50% of the time (6 shared commits) with no explicit dependency — a hidden/logical coupling. If they belong together, co-locate them; if not, break the coupling.
  • Change coupling: caffe-proto.js ↔ onnx-proto.js source/caffe-proto.js — `source/caffe-proto.js` and `source/onnx-proto.js` change together 50% of the time (5 shared commits) with no explicit dependency — a hidden/logical coupling. If they belong together, co-locate them; if not, break the coupling.
D38 · OSV Dependency Vulnerabilities · Medium CVE · ×10
  • Medium CVE: [GHSA redacted] package-lock.json — js-yaml 4.1.1: [GHSA redacted] — upgrade to 4.2.0
  • Medium CVE: [GHSA redacted] package-lock.json — tar 7.5.16: [GHSA redacted] — upgrade to 7.5.17
  • Medium CVE: [GHSA redacted] package-lock.json — tar 7.5.16: [GHSA redacted] — upgrade to 7.5.21
  • Medium CVE: [GHSA redacted] package-lock.json — tar 7.5.16: [GHSA redacted] — upgrade to 7.5.18
  • Medium CVE: [GHSA redacted] package-lock.json — undici 6.26.0: [GHSA redacted] — upgrade to 6.28.0
  • Medium CVE: [GHSA redacted] package-lock.json — undici 6.26.0: [GHSA redacted] — upgrade to 6.28.0
  • Medium CVE: [GHSA redacted] package-lock.json — undici 6.26.0: [GHSA redacted] — upgrade to 6.27.0
  • Medium CVE: [GHSA redacted] package-lock.json — undici 6.26.0: [GHSA redacted] — upgrade to 6.28.0
  • Medium CVE: [GHSA redacted] package-lock.json — undici 7.25.0: [GHSA redacted] — upgrade to 7.29.0
  • Medium CVE: [GHSA redacted] package-lock.json — undici 7.25.0: [GHSA redacted] — upgrade to 7.28.0
D1 · Cyclomatic Complexity · constructor (cyclomatic 29) · ×6
  • constructor (cyclomatic 29) source/tnn.js:478 — constructor has cyclomatic complexity 29 (threshold 15).
  • constructor (cyclomatic 29) source/tflite.js:79 — constructor has cyclomatic complexity 29 (threshold 15).
  • constructor (cyclomatic 29) source/tengine.js:83 — constructor has cyclomatic complexity 29 (threshold 15).
  • constructor (cyclomatic 29) source/pytorch.js:2282 — constructor has cyclomatic complexity 29 (threshold 15).
  • constructor (cyclomatic 29) source/circle.js:71 — constructor has cyclomatic complexity 29 (threshold 15).
  • constructor (cyclomatic 29) source/barracuda.js:100 — constructor has cyclomatic complexity 29 (threshold 15).
D1 · Cyclomatic Complexity · constructor (cyclomatic 25) · ×6
  • constructor (cyclomatic 25) source/view.js:2779 — constructor has cyclomatic complexity 25 (threshold 15).
  • constructor (cyclomatic 25) source/uff.js:161 — constructor has cyclomatic complexity 25 (threshold 15).
  • constructor (cyclomatic 25) source/torch.js:95 — constructor has cyclomatic complexity 25 (threshold 15).
  • constructor (cyclomatic 25) source/rknn.js:109 — constructor has cyclomatic complexity 25 (threshold 15).
  • constructor (cyclomatic 25) source/pytorch.js:880 — constructor has cyclomatic complexity 25 (threshold 15).
  • constructor (cyclomatic 25) source/mlnet.js:144 — constructor has cyclomatic complexity 25 (threshold 15).
D2 · Cognitive Complexity · constructor (cognitive 16) · ×6
  • constructor (cognitive 16) source/xmodel.js:164 — constructor has cognitive complexity 16 (threshold 15).
  • constructor (cognitive 16) source/tosa.js:125 — constructor has cognitive complexity 16 (threshold 15).
  • constructor (cognitive 16) source/mxnet.js:234 — constructor has cognitive complexity 16 (threshold 15).
  • constructor (cognitive 16) source/mlnet.js:393 — constructor has cognitive complexity 16 (threshold 15).
  • constructor (cognitive 16) source/hdf5.js:1655 — constructor has cognitive complexity 16 (threshold 15).
  • constructor (cognitive 16) source/dlc.js:28 — constructor has cognitive complexity 16 (threshold 15).
D1 · Cyclomatic Complexity · constructor (cyclomatic 41) · ×5
  • constructor (cyclomatic 41) source/tosa.js:155 — constructor has cyclomatic complexity 41 (threshold 15).
  • constructor (cyclomatic 41) source/tflite.js:282 — constructor has cyclomatic complexity 41 (threshold 15).
  • constructor (cyclomatic 41) source/sklearn.js:137 — constructor has cyclomatic complexity 41 (threshold 15).
  • constructor (cyclomatic 41) source/onnx.js:971 — constructor has cyclomatic complexity 41 (threshold 15).
  • constructor (cyclomatic 41) source/circle.js:274 — constructor has cyclomatic complexity 41 (threshold 15).
D1 · Cyclomatic Complexity · constructor (cyclomatic 23) · ×5
  • constructor (cyclomatic 23) source/om.js:536 — constructor has cyclomatic complexity 23 (threshold 15).
  • constructor (cyclomatic 23) source/mediapipe.js:116 — constructor has cyclomatic complexity 23 (threshold 15).
  • constructor (cyclomatic 23) source/espdl.js:341 — constructor has cyclomatic complexity 23 (threshold 15).
  • constructor (cyclomatic 23) source/dnn.js:126 — constructor has cyclomatic complexity 23 (threshold 15).
  • constructor (cyclomatic 23) source/cntk.js:594 — constructor has cyclomatic complexity 23 (threshold 15).
D1 · Cyclomatic Complexity · constructor (cyclomatic 21) · ×5
  • constructor (cyclomatic 21) source/qnn.js:176 — constructor has cyclomatic complexity 21 (threshold 15).
  • constructor (cyclomatic 21) source/message.js:47 — constructor has cyclomatic complexity 21 (threshold 15).
  • constructor (cyclomatic 21) source/kann.js:62 — constructor has cyclomatic complexity 21 (threshold 15).
  • constructor (cyclomatic 21) source/hailo.js:133 — constructor has cyclomatic complexity 21 (threshold 15).
  • constructor (cyclomatic 21) source/acuity.js:114 — constructor has cyclomatic complexity 21 (threshold 15).
D2 · Cognitive Complexity · constructor (cognitive 41) · ×5
  • constructor (cognitive 41) source/xmodel.js:115 — constructor has cognitive complexity 41 (threshold 15).
  • constructor (cognitive 41) source/tf.js:726 — constructor has cognitive complexity 41 (threshold 15).
  • constructor (cognitive 41) source/pytorch.js:880 — constructor has cognitive complexity 41 (threshold 15).
  • constructor (cognitive 41) source/pickle.js:95 — constructor has cognitive complexity 41 (threshold 15).
  • constructor (cognitive 41) source/ncnn.js:200 — constructor has cognitive complexity 41 (threshold 15).
D2 · Cognitive Complexity · constructor (cognitive 22) · ×5
  • constructor (cognitive 22) source/uff.js:161 — constructor has cognitive complexity 22 (threshold 15).
  • constructor (cognitive 22) source/onednn.js:32 — constructor has cognitive complexity 22 (threshold 15).
  • constructor (cognitive 22) source/hdf5.js:876 — constructor has cognitive complexity 22 (threshold 15).
  • constructor (cognitive 22) source/hailo.js:133 — constructor has cognitive complexity 22 (threshold 15).
  • constructor (cognitive 22) source/coreml.js:532 — constructor has cognitive complexity 22 (threshold 15).
D2 · Cognitive Complexity · constructor (cognitive 20) · ×5
  • constructor (cognitive 20) source/ncnn.js:1161 — constructor has cognitive complexity 20 (threshold 15).
  • constructor (cognitive 20) source/mxnet.js:698 — constructor has cognitive complexity 20 (threshold 15).
  • constructor (cognitive 20) source/gguf.js:26 — constructor has cognitive complexity 20 (threshold 15).
  • constructor (cognitive 20) source/espdl.js:61 — constructor has cognitive complexity 20 (threshold 15).
  • constructor (cognitive 20) source/dl4j.js:65 — constructor has cognitive complexity 20 (threshold 15).
D1 · Cyclomatic Complexity · constructor (cyclomatic 26) · ×4
  • constructor (cyclomatic 26) source/xmodel.js:115 — constructor has cyclomatic complexity 26 (threshold 15).
  • constructor (cyclomatic 26) source/onnx.js:1148 — constructor has cyclomatic complexity 26 (threshold 15).
  • constructor (cyclomatic 26) source/dlc.js:149 — constructor has cyclomatic complexity 26 (threshold 15).
  • constructor (cyclomatic 26) source/cntk.js:119 — constructor has cyclomatic complexity 26 (threshold 15).
D1 · Cyclomatic Complexity · open (cyclomatic 21) · ×4
  • open (cyclomatic 21) source/view.js:7327 — open has cyclomatic complexity 21 (threshold 15).
  • open (cyclomatic 21) source/tosa.js:18 — open has cyclomatic complexity 21 (threshold 15).
  • open (cyclomatic 21) source/paddle.js:59 — open has cyclomatic complexity 21 (threshold 15).
  • open (cyclomatic 21) source/ncnn.js:106 — open has cyclomatic complexity 21 (threshold 15).
D1 · Cyclomatic Complexity · constructor (cyclomatic 16) · ×4
  • constructor (cyclomatic 16) source/tf.js:1335 — constructor has cyclomatic complexity 16 (threshold 15).
  • constructor (cyclomatic 16) source/sklearn.js:49 — constructor has cyclomatic complexity 16 (threshold 15).
  • constructor (cyclomatic 16) source/paddle.js:456 — constructor has cyclomatic complexity 16 (threshold 15).
  • constructor (cyclomatic 16) source/hdf5.js:730 — constructor has cyclomatic complexity 16 (threshold 15).
D2 · Cognitive Complexity · constructor (cognitive 59) · ×4
  • constructor (cognitive 59) source/tflite.js:79 — constructor has cognitive complexity 59 (threshold 15).
  • constructor (cognitive 59) source/sklearn.js:137 — constructor has cognitive complexity 59 (threshold 15).
  • constructor (cognitive 59) source/cntk.js:285 — constructor has cognitive complexity 59 (threshold 15).
  • constructor (cognitive 59) source/circle.js:71 — constructor has cognitive complexity 59 (threshold 15).
D2 · Cognitive Complexity · constructor (cognitive 32) · ×4
  • constructor (cognitive 32) source/onnx.js:370 — constructor has cognitive complexity 32 (threshold 15).
  • constructor (cognitive 32) source/hailo.js:49 — constructor has cognitive complexity 32 (threshold 15).
  • constructor (cognitive 32) source/dnn.js:126 — constructor has cognitive complexity 32 (threshold 15).
  • constructor (cognitive 32) source/acuity.js:114 — constructor has cognitive complexity 32 (threshold 15).
D2 · Cognitive Complexity · match (cognitive 18) · ×4
  • match (cognitive 18) source/xgboost.js:10 — match has cognitive complexity 18 (threshold 15).
  • match (cognitive 18) source/view.js:7560 — match has cognitive complexity 18 (threshold 15).
  • match (cognitive 18) source/tf.js:48 — match has cognitive complexity 18 (threshold 15).
  • match (cognitive 18) source/onnx.js:1493 — match has cognitive complexity 18 (threshold 15).
D1 · Cyclomatic Complexity · constructor (cyclomatic 36) · ×3
  • constructor (cyclomatic 36) source/tf.js:904 — constructor has cyclomatic complexity 36 (threshold 15).
  • constructor (cyclomatic 36) source/kmodel.js:33 — constructor has cyclomatic complexity 36 (threshold 15).
  • constructor (cyclomatic 36) source/caffe.js:341 — constructor has cyclomatic complexity 36 (threshold 15).
D1 · Cyclomatic Complexity · constructor (cyclomatic 35) · ×3
  • constructor (cyclomatic 35) source/onnx.js:289 — constructor has cyclomatic complexity 35 (threshold 15).
  • constructor (cyclomatic 35) source/caffe2.js:205 — constructor has cyclomatic complexity 35 (threshold 15).
  • constructor (cyclomatic 35) source/bigdl.js:106 — constructor has cyclomatic complexity 35 (threshold 15).
D1 · Cyclomatic Complexity · match (cyclomatic 32) · ×3
  • match (cyclomatic 32) source/transformers.js:9 — match has cyclomatic complexity 32 (threshold 15).
  • match (cyclomatic 32) source/keras.js:10 — match has cyclomatic complexity 32 (threshold 15).
  • match (cyclomatic 32) source/coreml.js:8 — match has cyclomatic complexity 32 (threshold 15).
D1 · Cyclomatic Complexity · constructor (cyclomatic 28) · ×3
  • constructor (cyclomatic 28) source/view.js:4055 — constructor has cyclomatic complexity 28 (threshold 15).
  • constructor (cyclomatic 28) source/onnx.js:49 — constructor has cyclomatic complexity 28 (threshold 15).
  • constructor (cyclomatic 28) source/executorch.js:168 — constructor has cyclomatic complexity 28 (threshold 15).
D1 · Cyclomatic Complexity · constructor (cyclomatic 24) · ×3
  • constructor (cyclomatic 24) source/tf.js:726 — constructor has cyclomatic complexity 24 (threshold 15).
  • constructor (cyclomatic 24) source/pickle.js:196 — constructor has cyclomatic complexity 24 (threshold 15).
  • constructor (cyclomatic 24) source/mediapipe.js:207 — constructor has cyclomatic complexity 24 (threshold 15).
D1 · Cyclomatic Complexity · constructor (cyclomatic 22) · ×3
  • constructor (cyclomatic 22) source/uff.js:83 — constructor has cyclomatic complexity 22 (threshold 15).
  • constructor (cyclomatic 22) source/dlc.js:57 — constructor has cyclomatic complexity 22 (threshold 15).
  • constructor (cyclomatic 22) source/armnn.js:141 — constructor has cyclomatic complexity 22 (threshold 15).
D1 · Cyclomatic Complexity · map (cyclomatic 20) · ×3
  • map (cyclomatic 20) source/tflite.js:195 — map has cyclomatic complexity 20 (threshold 15).
  • map (cyclomatic 20) source/executorch.js:72 — map has cyclomatic complexity 20 (threshold 15).
  • map (cyclomatic 20) source/circle.js:187 — map has cyclomatic complexity 20 (threshold 15).
D1 · Cyclomatic Complexity · constructor (cyclomatic 20) · ×3
  • constructor (cyclomatic 20) source/rknn.js:56 — constructor has cyclomatic complexity 20 (threshold 15).
  • constructor (cyclomatic 20) source/lasagne.js:98 — constructor has cyclomatic complexity 20 (threshold 15).
  • constructor (cyclomatic 20) source/hdf5.js:994 — constructor has cyclomatic complexity 20 (threshold 15).
D1 · Cyclomatic Complexity · decodeJson (cyclomatic 18) · ×3
  • decodeJson (cyclomatic 18) source/tf-proto.js:4882 — decodeJson has cyclomatic complexity 18 (threshold 15).
  • decodeJson (cyclomatic 18) source/tf-proto.js:11088 — decodeJson has cyclomatic complexity 18 (threshold 15).
  • decodeJson (cyclomatic 18) source/onnx-proto.js:1518 — decodeJson has cyclomatic complexity 18 (threshold 15).
D1 · Cyclomatic Complexity · decodeJson (cyclomatic 17) · ×3
  • decodeJson (cyclomatic 17) source/tf-proto.js:3738 — decodeJson has cyclomatic complexity 17 (threshold 15).
  • decodeJson (cyclomatic 17) source/tf-proto.js:10377 — decodeJson has cyclomatic complexity 17 (threshold 15).
  • decodeJson (cyclomatic 17) source/pytorch-proto.js:222 — decodeJson has cyclomatic complexity 17 (threshold 15).
D1 · Cyclomatic Complexity · constructor (cyclomatic 17) · ×3
  • constructor (cyclomatic 17) source/dl4j.js:65 — constructor has cyclomatic complexity 17 (threshold 15).
  • constructor (cyclomatic 17) source/coreml.js:532 — constructor has cyclomatic complexity 17 (threshold 15).
  • constructor (cyclomatic 17) source/browser.js:8 — constructor has cyclomatic complexity 17 (threshold 15).
D2 · Cognitive Complexity · constructor (cognitive 58) · ×3
  • constructor (cognitive 58) source/zip.js:139 — constructor has cognitive complexity 58 (threshold 15).
  • constructor (cognitive 58) source/caffe2.js:205 — constructor has cognitive complexity 58 (threshold 15).
  • constructor (cognitive 58) source/caffe.js:341 — constructor has cognitive complexity 58 (threshold 15).
D2 · Cognitive Complexity · constructor (cognitive 45) · ×3
  • constructor (cognitive 45) source/view.js:2779 — constructor has cognitive complexity 45 (threshold 15).
  • constructor (cognitive 45) source/mindir.js:58 — constructor has cognitive complexity 45 (threshold 15).
  • constructor (cognitive 45) source/dlc.js:57 — constructor has cognitive complexity 45 (threshold 15).
D2 · Cognitive Complexity · constructor (cognitive 43) · ×3
  • constructor (cognitive 43) source/rknn.js:109 — constructor has cognitive complexity 43 (threshold 15).
  • constructor (cognitive 43) source/onnx.js:289 — constructor has cognitive complexity 43 (threshold 15).
  • constructor (cognitive 43) source/espdl.js:341 — constructor has cognitive complexity 43 (threshold 15).
D2 · Cognitive Complexity · constructor (cognitive 40) · ×3
  • constructor (cognitive 40) source/tf.js:1335 — constructor has cognitive complexity 40 (threshold 15).
  • constructor (cognitive 40) source/mindir.js:120 — constructor has cognitive complexity 40 (threshold 15).
  • constructor (cognitive 40) source/mediapipe.js:116 — constructor has cognitive complexity 40 (threshold 15).
D2 · Cognitive Complexity · constructor (cognitive 35) · ×3
  • constructor (cognitive 35) source/torch.js:95 — constructor has cognitive complexity 35 (threshold 15).
  • constructor (cognitive 35) source/tnn.js:478 — constructor has cognitive complexity 35 (threshold 15).
  • constructor (cognitive 35) source/pickle.js:196 — constructor has cognitive complexity 35 (threshold 15).
D2 · Cognitive Complexity · constructor (cognitive 28) · ×3
  • constructor (cognitive 28) source/view.js:3947 — constructor has cognitive complexity 28 (threshold 15).
  • constructor (cognitive 28) source/hdf5.js:730 — constructor has cognitive complexity 28 (threshold 15).
  • constructor (cognitive 28) source/caffe2.js:353 — constructor has cognitive complexity 28 (threshold 15).
D2 · Cognitive Complexity · constructor (cognitive 25) · ×3
  • constructor (cognitive 25) source/view.js:4055 — constructor has cognitive complexity 25 (threshold 15).
  • constructor (cognitive 25) source/paddle.js:456 — constructor has cognitive complexity 25 (threshold 15).
  • constructor (cognitive 25) source/lasagne.js:98 — constructor has cognitive complexity 25 (threshold 15).
D2 · Cognitive Complexity · constructor (cognitive 24) · ×3
  • constructor (cognitive 24) source/xmodel.js:41 — constructor has cognitive complexity 24 (threshold 15).
  • constructor (cognitive 24) source/pytorch.js:2493 — constructor has cognitive complexity 24 (threshold 15).
  • constructor (cognitive 24) source/armnn.js:68 — constructor has cognitive complexity 24 (threshold 15).
D2 · Cognitive Complexity · open (cognitive 20) · ×3
  • open (cognitive 20) source/view.js:726 — open has cognitive complexity 20 (threshold 15).
  • open (cognitive 20) source/tflite.js:30 — open has cognitive complexity 20 (threshold 15).
  • open (cognitive 20) source/circle.js:22 — open has cognitive complexity 20 (threshold 15).
D2 · Cognitive Complexity · constructor (cognitive 17) · ×3
  • constructor (cognitive 17) source/tf.js:858 — constructor has cognitive complexity 17 (threshold 15).
  • constructor (cognitive 17) source/sklearn.js:49 — constructor has cognitive complexity 17 (threshold 15).
  • constructor (cognitive 17) source/browser.js:8 — constructor has cognitive complexity 17 (threshold 15).
D2 · Cognitive Complexity · decodeJson (cognitive 17) · ×3
  • decodeJson (cognitive 17) source/tf-proto.js:1231 — decodeJson has cognitive complexity 17 (threshold 15).
  • decodeJson (cognitive 17) source/tf-proto.js:3738 — decodeJson has cognitive complexity 17 (threshold 15).
  • decodeJson (cognitive 17) source/tf-proto.js:11088 — decodeJson has cognitive complexity 17 (threshold 15).
D1 · Cyclomatic Complexity · constructor (cyclomatic 47) · ×2
  • constructor (cyclomatic 47) source/rknn.js:287 — constructor has cyclomatic complexity 47 (threshold 15).
  • constructor (cyclomatic 47) source/caffe.js:189 — constructor has cyclomatic complexity 47 (threshold 15).
D1 · Cyclomatic Complexity · constructor (cyclomatic 40) · ×2
  • constructor (cyclomatic 40) source/tvm.js:74 — constructor has cyclomatic complexity 40 (threshold 15).
  • constructor (cyclomatic 40) source/onednn.js:94 — constructor has cyclomatic complexity 40 (threshold 15).
D1 · Cyclomatic Complexity · constructor (cyclomatic 37) · ×2
  • constructor (cyclomatic 37) source/pickle.js:95 — constructor has cyclomatic complexity 37 (threshold 15).
  • constructor (cyclomatic 37) source/dl4j.js:167 — constructor has cyclomatic complexity 37 (threshold 15).
D1 · Cyclomatic Complexity · constructor (cyclomatic 33) · ×2
  • constructor (cyclomatic 33) source/mnn.js:142 — constructor has cyclomatic complexity 33 (threshold 15).
  • constructor (cyclomatic 33) source/espdl.js:120 — constructor has cyclomatic complexity 33 (threshold 15).
D1 · Cyclomatic Complexity · constructor (cyclomatic 31) · ×2
  • constructor (cyclomatic 31) source/darknet.js:805 — constructor has cyclomatic complexity 31 (threshold 15).
  • constructor (cyclomatic 31) source/cntk.js:285 — constructor has cyclomatic complexity 31 (threshold 15).
D1 · Cyclomatic Complexity · read (cyclomatic 29) · ×2
  • read (cyclomatic 29) source/json.js:66 — read has cyclomatic complexity 29 (threshold 15).
  • read (cyclomatic 29) source/dlc.js:306 — read has cyclomatic complexity 29 (threshold 15).
D1 · Cyclomatic Complexity · constructor (cyclomatic 27) · ×2
  • constructor (cyclomatic 27) source/mindir.js:58 — constructor has cyclomatic complexity 27 (threshold 15).
  • constructor (cyclomatic 27) source/mindir.js:120 — constructor has cyclomatic complexity 27 (threshold 15).
D1 · Cyclomatic Complexity · render (cyclomatic 25) · ×2
  • render (cyclomatic 25) source/view.js:4500 — render has cyclomatic complexity 25 (threshold 15).
  • render (cyclomatic 25) source/view.js:4661 — render has cyclomatic complexity 25 (threshold 15).
D1 · Cyclomatic Complexity · main (cyclomatic 20) · ×2
  • main (cyclomatic 20) tools/mslite-script.js:7 — main has cyclomatic complexity 20 (threshold 15).
  • main (cyclomatic 20) tools/espdl-script.js:6 — main has cyclomatic complexity 20 (threshold 15).
D1 · Cyclomatic Complexity · main (cyclomatic 19) · ×2
  • main (cyclomatic 19) tools/tflite-script.js:18 — main has cyclomatic complexity 19 (threshold 15).
  • main (cyclomatic 19) tools/circle-script.js:18 — main has cyclomatic complexity 19 (threshold 15).
D1 · Cyclomatic Complexity · constructor (cyclomatic 19) · ×2
  • constructor (cyclomatic 19) source/zip.js:139 — constructor has cyclomatic complexity 19 (threshold 15).
  • constructor (cyclomatic 19) source/ncnn.js:200 — constructor has cyclomatic complexity 19 (threshold 15).
D1 · Cyclomatic Complexity · open (cyclomatic 19) · ×2
  • open (cyclomatic 19) source/view.js:726 — open has cyclomatic complexity 19 (threshold 15).
  • open (cyclomatic 19) source/pytorch.js:1219 — open has cyclomatic complexity 19 (threshold 15).
D1 · Cyclomatic Complexity · read (cyclomatic 18) · ×2
  • read (cyclomatic 18) source/view.js:7020 — read has cyclomatic complexity 18 (threshold 15).
  • read (cyclomatic 18) source/executorch.js:357 — read has cyclomatic complexity 18 (threshold 15).
D1 · Cyclomatic Complexity · match (cyclomatic 16) · ×2
  • match (cyclomatic 16) source/tnn.js:6 — match has cyclomatic complexity 16 (threshold 15).
  • match (cyclomatic 16) source/coreml.js:14 — match has cyclomatic complexity 16 (threshold 15).
D2 · Cognitive Complexity · constructor (cognitive 89) · ×2
  • constructor (cognitive 89) source/tflite.js:282 — constructor has cognitive complexity 89 (threshold 15).
  • constructor (cognitive 89) source/circle.js:274 — constructor has cognitive complexity 89 (threshold 15).
D2 · Cognitive Complexity · constructor (cognitive 75) · ×2
  • constructor (cognitive 75) source/om.js:96 — constructor has cognitive complexity 75 (threshold 15).
  • constructor (cognitive 75) source/om.js:536 — constructor has cognitive complexity 75 (threshold 15).
D2 · Cognitive Complexity · constructor (cognitive 64) · ×2
  • constructor (cognitive 64) source/tf.js:904 — constructor has cognitive complexity 64 (threshold 15).
  • constructor (cognitive 64) source/kmodel.js:33 — constructor has cognitive complexity 64 (threshold 15).
D2 · Cognitive Complexity · constructor (cognitive 54) · ×2
  • constructor (cognitive 54) source/tengine.js:83 — constructor has cognitive complexity 54 (threshold 15).
  • constructor (cognitive 54) source/executorch.js:168 — constructor has cognitive complexity 54 (threshold 15).
D2 · Cognitive Complexity · main (cognitive 47) · ×2
  • main (cognitive 47) tools/tflite-script.js:18 — main has cognitive complexity 47 (threshold 15).
  • main (cognitive 47) tools/circle-script.js:18 — main has cognitive complexity 47 (threshold 15).
D2 · Cognitive Complexity · constructor (cognitive 47) · ×2
  • constructor (cognitive 47) source/mediapipe.js:207 — constructor has cognitive complexity 47 (threshold 15).
  • constructor (cognitive 47) source/darknet.js:805 — constructor has cognitive complexity 47 (threshold 15).
D2 · Cognitive Complexity · match (cognitive 45) · ×2
  • match (cognitive 45) source/transformers.js:9 — match has cognitive complexity 45 (threshold 15).
  • match (cognitive 45) source/openvino.js:6 — match has cognitive complexity 45 (threshold 15).
D2 · Cognitive Complexity · constructor (cognitive 42) · ×2
  • constructor (cognitive 42) source/onnx.js:49 — constructor has cognitive complexity 42 (threshold 15).
  • constructor (cognitive 42) source/dlc.js:149 — constructor has cognitive complexity 42 (threshold 15).
D2 · Cognitive Complexity · constructor (cognitive 37) · ×2
  • constructor (cognitive 37) source/uff.js:83 — constructor has cognitive complexity 37 (threshold 15).
  • constructor (cognitive 37) source/hdf5.js:994 — constructor has cognitive complexity 37 (threshold 15).
D2 · Cognitive Complexity · constructor (cognitive 36) · ×2
  • constructor (cognitive 36) source/bigdl.js:106 — constructor has cognitive complexity 36 (threshold 15).
  • constructor (cognitive 36) source/barracuda.js:100 — constructor has cognitive complexity 36 (threshold 15).
D2 · Cognitive Complexity · constructor (cognitive 34) · ×2
  • constructor (cognitive 34) source/view.js:3874 — constructor has cognitive complexity 34 (threshold 15).
  • constructor (cognitive 34) source/kann.js:62 — constructor has cognitive complexity 34 (threshold 15).
D2 · Cognitive Complexity · map (cognitive 30) · ×2
  • map (cognitive 30) source/tflite.js:195 — map has cognitive complexity 30 (threshold 15).
  • map (cognitive 30) source/circle.js:187 — map has cognitive complexity 30 (threshold 15).
D2 · Cognitive Complexity · constructor (cognitive 30) · ×2
  • constructor (cognitive 30) source/mlnet.js:144 — constructor has cognitive complexity 30 (threshold 15).
  • constructor (cognitive 30) source/message.js:47 — constructor has cognitive complexity 30 (threshold 15).
D2 · Cognitive Complexity · read (cognitive 29) · ×2
  • read (cognitive 29) source/hdf5.js:1162 — read has cognitive complexity 29 (threshold 15).
  • read (cognitive 29) source/executorch.js:357 — read has cognitive complexity 29 (threshold 15).
D2 · Cognitive Complexity · constructor (cognitive 26) · ×2
  • constructor (cognitive 26) source/qnn.js:176 — constructor has cognitive complexity 26 (threshold 15).
  • constructor (cognitive 26) source/ncnn.js:945 — constructor has cognitive complexity 26 (threshold 15).
D2 · Cognitive Complexity · (anonymous) (cognitive 26) · ×2
  • (anonymous) (cognitive 26) source/keras.js:1147 — (anonymous) has cognitive complexity 26 (threshold 15).
  • (anonymous) (cognitive 26) source/caffe2.js:358 — (anonymous) has cognitive complexity 26 (threshold 15).
D2 · Cognitive Complexity · open (cognitive 24) · ×2
  • open (cognitive 24) source/tensorrt.js:124 — open has cognitive complexity 24 (threshold 15).
  • open (cognitive 24) source/onnx.js:2042 — open has cognitive complexity 24 (threshold 15).
D2 · Cognitive Complexity · values (cognitive 21) · ×2
  • values (cognitive 21) source/tflite.js:466 — values has cognitive complexity 21 (threshold 15).
  • values (cognitive 21) source/circle.js:458 — values has cognitive complexity 21 (threshold 15).
D2 · Cognitive Complexity · (anonymous) (cognitive 20) · ×2
  • (anonymous) (cognitive 20) source/megengine.js:538 — (anonymous) has cognitive complexity 20 (threshold 15).
  • (anonymous) (cognitive 20) source/coreml.js:315 — (anonymous) has cognitive complexity 20 (threshold 15).
D2 · Cognitive Complexity · open (cognitive 19) · ×2
  • open (cognitive 19) source/pytorch.js:1332 — open has cognitive complexity 19 (threshold 15).
  • open (cognitive 19) source/caffe2.js:155 — open has cognitive complexity 19 (threshold 15).
D2 · Cognitive Complexity · decodeJson (cognitive 19) · ×2
  • decodeJson (cognitive 19) source/pytorch-proto.js:222 — decodeJson has cognitive complexity 19 (threshold 15).
  • decodeJson (cognitive 19) source/onnx-proto.js:1518 — decodeJson has cognitive complexity 19 (threshold 15).
D2 · Cognitive Complexity · constructor (cognitive 19) · ×2
  • constructor (cognitive 19) source/ncnn.js:993 — constructor has cognitive complexity 19 (threshold 15).
  • constructor (cognitive 19) source/mslite.js:110 — constructor has cognitive complexity 19 (threshold 15).
D2 · Cognitive Complexity · (anonymous) (cognitive 18) · ×2
  • (anonymous) (cognitive 18) source/tflite.js:382 — (anonymous) has cognitive complexity 18 (threshold 15).
  • (anonymous) (cognitive 18) source/circle.js:374 — (anonymous) has cognitive complexity 18 (threshold 15).
D2 · Cognitive Complexity · decodeJson (cognitive 18) · ×2
  • decodeJson (cognitive 18) source/tf-proto.js:4882 — decodeJson has cognitive complexity 18 (threshold 15).
  • decodeJson (cognitive 18) source/tf-proto.js:8071 — decodeJson has cognitive complexity 18 (threshold 15).
D2 · Cognitive Complexity · constructor (cognitive 18) · ×2
  • constructor (cognitive 18) source/onnx.js:163 — constructor has cognitive complexity 18 (threshold 15).
  • constructor (cognitive 18) source/coreml.js:576 — constructor has cognitive complexity 18 (threshold 15).
D2 · Cognitive Complexity · attribute (cognitive 17) · ×2
  • attribute (cognitive 17) source/pytorch.js:2722 — attribute has cognitive complexity 17 (threshold 15).
  • attribute (cognitive 17) source/ncnn.js:1193 — attribute has cognitive complexity 17 (threshold 15).
D2 · Cognitive Complexity · (anonymous) (cognitive 17) · ×2
  • (anonymous) (cognitive 17) source/onnx.js:1281 — (anonymous) has cognitive complexity 17 (threshold 15).
  • (anonymous) (cognitive 17) source/caffe.js:455 — (anonymous) has cognitive complexity 17 (threshold 15).
D2 · Cognitive Complexity · open (cognitive 16) · ×2
  • open (cognitive 16) source/view.js:6489 — open has cognitive complexity 16 (threshold 15).
  • open (cognitive 16) source/paddle.js:759 — open has cognitive complexity 16 (threshold 15).
D1 · Cyclomatic Complexity · constructor (cyclomatic 265) · ×1
  • constructor (cyclomatic 265) source/ncnn.js:285 — constructor has cyclomatic complexity 265 (threshold 15).
D1 · Cyclomatic Complexity · constructor (cyclomatic 248) · ×1
  • constructor (cyclomatic 248) source/pytorch.js:324 — constructor has cyclomatic complexity 248 (threshold 15).
D1 · Cyclomatic Complexity · evaluateValue (cyclomatic 201) · ×1
  • evaluateValue (cyclomatic 201) tools/tablegen.js:973 — evaluateValue has cyclomatic complexity 201 (threshold 15).
D1 · Cyclomatic Complexity · next (cyclomatic 124) · ×1
  • next (cyclomatic 124) source/protobuf.js:1124 — next has cyclomatic complexity 124 (threshold 15).
D1 · Cyclomatic Complexity · constructor (cyclomatic 121) · ×1
  • constructor (cyclomatic 121) source/darknet.js:81 — constructor has cyclomatic complexity 121 (threshold 15).
D1 · Cyclomatic Complexity · constructor (cyclomatic 113) · ×1
  • constructor (cyclomatic 113) source/openvino.js:503 — constructor has cyclomatic complexity 113 (threshold 15).
D1 · Cyclomatic Complexity · getEnumCases (cyclomatic 109) · ×1
  • getEnumCases (cyclomatic 109) tools/tablegen.js:725 — getEnumCases has cyclomatic complexity 109 (threshold 15).
D1 · Cyclomatic Complexity · schema (cyclomatic 106) · ×1
  • schema (cyclomatic 106) tools/mlir-script.js:50 — schema has cyclomatic complexity 106 (threshold 15).
D1 · Cyclomatic Complexity · constructor (cyclomatic 106) · ×1
  • constructor (cyclomatic 106) source/keras.js:905 — constructor has cyclomatic complexity 106 (threshold 15).
D1 · Cyclomatic Complexity · read (cyclomatic 99) · ×1
  • read (cyclomatic 99) source/xml.js:33 — read has cyclomatic complexity 99 (threshold 15).
D1 · Cyclomatic Complexity · _add (cyclomatic 99) · ×1
  • _add (cyclomatic 99) source/view.js:2825 — _add has cyclomatic complexity 99 (threshold 15).
D1 · Cyclomatic Complexity · open (cyclomatic 88) · ×1
  • open (cyclomatic 88) source/keras.js:79 — open has cyclomatic complexity 88 (threshold 15).
D1 · Cyclomatic Complexity · constructor (cyclomatic 87) · ×1
  • constructor (cyclomatic 87) source/gguf.js:95 — constructor has cyclomatic complexity 87 (threshold 15).
D1 · Cyclomatic Complexity · extractTraitsFromList (cyclomatic 80) · ×1
  • extractTraitsFromList (cyclomatic 80) tools/mlir-script.js:722 — extractTraitsFromList has cyclomatic complexity 80 (threshold 15).
D1 · Cyclomatic Complexity · match (cyclomatic 80) · ×1
  • match (cyclomatic 80) source/tf.js:12 — match has cyclomatic complexity 80 (threshold 15).
D1 · Cyclomatic Complexity · updateTorchScript (cyclomatic 80) · ×1
  • updateTorchScript (cyclomatic 80) source/tf.js:1906 — updateTorchScript has cyclomatic complexity 80 (threshold 15).
D1 · Cyclomatic Complexity · constructor (cyclomatic 78) · ×1
  • constructor (cyclomatic 78) source/pytorch.js:74 — constructor has cyclomatic complexity 78 (threshold 15).
D1 · Cyclomatic Complexity · constructor (cyclomatic 75) · ×1
  • constructor (cyclomatic 75) source/keras.js:524 — constructor has cyclomatic complexity 75 (threshold 15).
D1 · Cyclomatic Complexity · _decodeData (cyclomatic 74) · ×1
  • _decodeData (cyclomatic 74) source/base.js:943 — _decodeData has cyclomatic complexity 74 (threshold 15).
D1 · Cyclomatic Complexity · constructor (cyclomatic 72) · ×1
  • constructor (cyclomatic 72) source/tnn.js:134 — constructor has cyclomatic complexity 72 (threshold 15).
D1 · Cyclomatic Complexity · peek (cyclomatic 71) · ×1
  • peek (cyclomatic 71) source/view.js:6775 — peek has cyclomatic complexity 71 (threshold 15).
D1 · Cyclomatic Complexity · _tokenizeInline (cyclomatic 70) · ×1
  • _tokenizeInline (cyclomatic 70) source/view.js:5947 — _tokenizeInline has cyclomatic complexity 70 (threshold 15).
D1 · Cyclomatic Complexity · _format (cyclomatic 69) · ×1
  • _format (cyclomatic 69) source/view.js:5518 — _format has cyclomatic complexity 69 (threshold 15).
D1 · Cyclomatic Complexity · order (cyclomatic 66) · ×1
  • order (cyclomatic 66) source/dagre.js:895 — order has cyclomatic complexity 66 (threshold 15).
D1 · Cyclomatic Complexity · constructor (cyclomatic 63) · ×1
  • constructor (cyclomatic 63) source/mxnet.js:459 — constructor has cyclomatic complexity 63 (threshold 15).
D1 · Cyclomatic Complexity · weights (cyclomatic 62) · ×1
  • weights (cyclomatic 62) source/pickle.js:317 — weights has cyclomatic complexity 62 (threshold 15).
D1 · Cyclomatic Complexity · read (cyclomatic 62) · ×1
  • read (cyclomatic 62) source/kmodel.js:254 — read has cyclomatic complexity 62 (threshold 15).
D1 · Cyclomatic Complexity · constructor (cyclomatic 61) · ×1
  • constructor (cyclomatic 61) source/mxnet.js:268 — constructor has cyclomatic complexity 61 (threshold 15).
D1 · Cyclomatic Complexity · decodeJson (cyclomatic 60) · ×1
  • decodeJson (cyclomatic 60) source/tf-proto.js:12218 — decodeJson has cyclomatic complexity 60 (threshold 15).
D1 · Cyclomatic Complexity · _tokenize (cyclomatic 58) · ×1
  • _tokenize (cyclomatic 58) source/view.js:5741 — _tokenize has cyclomatic complexity 58 (threshold 15).
D1 · Cyclomatic Complexity · constructor (cyclomatic 57) · ×1
  • constructor (cyclomatic 57) source/onnx.js:440 — constructor has cyclomatic complexity 57 (threshold 15).
D1 · Cyclomatic Complexity · open (cyclomatic 56) · ×1
  • open (cyclomatic 56) source/text.js:6 — open has cyclomatic complexity 56 (threshold 15).
D1 · Cyclomatic Complexity · weights (cyclomatic 54) · ×1
  • weights (cyclomatic 54) source/pytorch.js:2168 — weights has cyclomatic complexity 54 (threshold 15).
D1 · Cyclomatic Complexity · constructor (cyclomatic 54) · ×1
  • constructor (cyclomatic 54) source/om.js:96 — constructor has cyclomatic complexity 54 (threshold 15).
D1 · Cyclomatic Complexity · graph (cyclomatic 53) · ×1
  • graph (cyclomatic 53) source/tf.js:1767 — graph has cyclomatic complexity 53 (threshold 15).
D1 · Cyclomatic Complexity · read (cyclomatic 53) · ×1
  • read (cyclomatic 53) source/onnx.js:1600 — read has cyclomatic complexity 53 (threshold 15).
D1 · Cyclomatic Complexity · open (cyclomatic 51) · ×1
  • open (cyclomatic 51) source/onnx.js:1464 — open has cyclomatic complexity 51 (threshold 15).
D1 · Cyclomatic Complexity · _parsePrimaryValue (cyclomatic 50) · ×1
  • _parsePrimaryValue (cyclomatic 50) tools/tablegen.js:3256 — _parsePrimaryValue has cyclomatic complexity 50 (threshold 15).
D1 · Cyclomatic Complexity · constructor (cyclomatic 50) · ×1
  • constructor (cyclomatic 50) source/dot.js:50 — constructor has cyclomatic complexity 50 (threshold 15).
D1 · Cyclomatic Complexity · constructor (cyclomatic 48) · ×1
  • constructor (cyclomatic 48) source/paddle.js:296 — constructor has cyclomatic complexity 48 (threshold 15).
D1 · Cyclomatic Complexity · model (cyclomatic 47) · ×1
  • model (cyclomatic 47) source/coreml.js:878 — model has cyclomatic complexity 47 (threshold 15).
D1 · Cyclomatic Complexity · _internalSubset (cyclomatic 43) · ×1
  • _internalSubset (cyclomatic 43) source/xml.js:312 — _internalSubset has cyclomatic complexity 43 (threshold 15).
D1 · Cyclomatic Complexity · constructor (cyclomatic 43) · ×1
  • constructor (cyclomatic 43) source/tf.js:1114 — constructor has cyclomatic complexity 43 (threshold 15).
D1 · Cyclomatic Complexity · _context (cyclomatic 43) · ×1
  • _context (cyclomatic 43) source/base.js:786 — _context has cyclomatic complexity 43 (threshold 15).
D1 · Cyclomatic Complexity · constant (cyclomatic 42) · ×1
  • constant (cyclomatic 42) source/openvino.js:279 — constant has cyclomatic complexity 42 (threshold 15).
D1 · Cyclomatic Complexity · refresh (cyclomatic 41) · ×1
  • refresh (cyclomatic 41) source/view.js:434 — refresh has cyclomatic complexity 41 (threshold 15).
D1 · Cyclomatic Complexity · _buildTable (cyclomatic 40) · ×1
  • _buildTable (cyclomatic 40) tools/flatc.js:952 — _buildTable has cyclomatic complexity 40 (threshold 15).
D1 · Cyclomatic Complexity · _node (cyclomatic 39) · ×1
  • _node (cyclomatic 39) source/view.js:4954 — _node has cyclomatic complexity 39 (threshold 15).
D1 · Cyclomatic Complexity · toString (cyclomatic 39) · ×1
  • toString (cyclomatic 39) source/view.js:5267 — toString has cyclomatic complexity 39 (threshold 15).
D1 · Cyclomatic Complexity · _render (cyclomatic 39) · ×1
  • _render (cyclomatic 39) source/view.js:6190 — _render has cyclomatic complexity 39 (threshold 15).
D1 · Cyclomatic Complexity · (anonymous) (cyclomatic 39) · ×1
  • (anonymous) (cyclomatic 39) source/tf.js:935 — (anonymous) has cyclomatic complexity 39 (threshold 15).
D1 · Cyclomatic Complexity · constructor (cyclomatic 39) · ×1
  • constructor (cyclomatic 39) source/megengine.js:438 — constructor has cyclomatic complexity 39 (threshold 15).
D1 · Cyclomatic Complexity · read (cyclomatic 38) · ×1
  • read (cyclomatic 38) source/om.js:355 — read has cyclomatic complexity 38 (threshold 15).
D1 · Cyclomatic Complexity · parse (cyclomatic 38) · ×1
  • parse (cyclomatic 38) source/mxnet.js:57 — parse has cyclomatic complexity 38 (threshold 15).
D1 · Cyclomatic Complexity · _instantiateMulticlassDef (cyclomatic 37) · ×1
  • _instantiateMulticlassDef (cyclomatic 37) tools/tablegen.js:2057 — _instantiateMulticlassDef has cyclomatic complexity 37 (threshold 15).
D1 · Cyclomatic Complexity · _buildDecodeJsonFunction (cyclomatic 37) · ×1
  • _buildDecodeJsonFunction (cyclomatic 37) tools/protoc.js:1415 — _buildDecodeJsonFunction has cyclomatic complexity 37 (threshold 15).
D1 · Cyclomatic Complexity · toConstraintString (cyclomatic 37) · ×1
  • toConstraintString (cyclomatic 37) tools/mlir-script.js:436 — toConstraintString has cyclomatic complexity 37 (threshold 15).
D1 · Cyclomatic Complexity · add (cyclomatic 37) · ×1
  • add (cyclomatic 37) source/view.js:1968 — add has cyclomatic complexity 37 (threshold 15).
D1 · Cyclomatic Complexity · read (cyclomatic 37) · ×1
  • read (cyclomatic 37) source/espresso.js:243 — read has cyclomatic complexity 37 (threshold 15).
D1 · Cyclomatic Complexity · render (cyclomatic 36) · ×1
  • render (cyclomatic 36) source/view.js:3675 — render has cyclomatic complexity 36 (threshold 15).
D1 · Cyclomatic Complexity · match (cyclomatic 36) · ×1
  • match (cyclomatic 36) source/ncnn.js:13 — match has cyclomatic complexity 36 (threshold 15).
D1 · Cyclomatic Complexity · _resolveInit (cyclomatic 35) · ×1
  • _resolveInit (cyclomatic 35) tools/tablegen.js:389 — _resolveInit has cyclomatic complexity 35 (threshold 15).
D1 · Cyclomatic Complexity · _evaluateDefvar (cyclomatic 35) · ×1
  • _evaluateDefvar (cyclomatic 35) tools/tablegen.js:2778 — _evaluateDefvar has cyclomatic complexity 35 (threshold 15).
D1 · Cyclomatic Complexity · main (cyclomatic 34) · ×1
  • main (cyclomatic 34) tools/tosa-script.js:45 — main has cyclomatic complexity 34 (threshold 15).
D1 · Cyclomatic Complexity · decodeJson (cyclomatic 34) · ×1
  • decodeJson (cyclomatic 34) source/tf-proto.js:9089 — decodeJson has cyclomatic complexity 34 (threshold 15).
D1 · Cyclomatic Complexity · constructor (cyclomatic 34) · ×1
  • constructor (cyclomatic 34) source/openvino.js:240 — constructor has cyclomatic complexity 34 (threshold 15).
D1 · Cyclomatic Complexity · _attribute (cyclomatic 34) · ×1
  • _attribute (cyclomatic 34) source/onnx.js:1972 — _attribute has cyclomatic complexity 34 (threshold 15).
D1 · Cyclomatic Complexity · (anonymous) (cyclomatic 33) · ×1
  • (anonymous) (cyclomatic 33) source/paddle.js:467 — (anonymous) has cyclomatic complexity 33 (threshold 15).
D1 · Cyclomatic Complexity · type (cyclomatic 33) · ×1
  • type (cyclomatic 33) source/hdf5.js:1096 — type has cyclomatic complexity 33 (threshold 15).
D1 · Cyclomatic Complexity · layout (cyclomatic 33) · ×1
  • layout (cyclomatic 33) source/grapher.js:224 — layout has cyclomatic complexity 33 (threshold 15).
D1 · Cyclomatic Complexity · checkIsAttr (cyclomatic 32) · ×1
  • checkIsAttr (cyclomatic 32) tools/mlir-script.js:511 — checkIsAttr has cyclomatic complexity 32 (threshold 15).
D1 · Cyclomatic Complexity · animateTransition (cyclomatic 32) · ×1
  • animateTransition (cyclomatic 32) source/view.js:517 — animateTransition has cyclomatic complexity 32 (threshold 15).
D1 · Cyclomatic Complexity · weights (cyclomatic 32) · ×1
  • weights (cyclomatic 32) source/coreml.js:715 — weights has cyclomatic complexity 32 (threshold 15).
D1 · Cyclomatic Complexity · match (cyclomatic 31) · ×1
  • match (cyclomatic 31) source/tf.js:1996 — match has cyclomatic complexity 31 (threshold 15).
D1 · Cyclomatic Complexity · constructor (cyclomatic 30) · ×1
  • constructor (cyclomatic 30) source/view.js:3874 — constructor has cyclomatic complexity 30 (threshold 15).
D1 · Cyclomatic Complexity · render (cyclomatic 30) · ×1
  • render (cyclomatic 30) source/view.js:4744 — render has cyclomatic complexity 30 (threshold 15).
D1 · Cyclomatic Complexity · decode (cyclomatic 30) · ×1
  • decode (cyclomatic 30) source/text.js:103 — decode has cyclomatic complexity 30 (threshold 15).
D1 · Cyclomatic Complexity · processParent (cyclomatic 29) · ×1
  • processParent (cyclomatic 29) tools/tablegen.js:1691 — processParent has cyclomatic complexity 29 (threshold 15).
D1 · Cyclomatic Complexity · parse (cyclomatic 29) · ×1
  • parse (cyclomatic 29) tools/flatc.js:352 — parse has cyclomatic complexity 29 (threshold 15).
D1 · Cyclomatic Complexity · open (cyclomatic 29) · ×1
  • open (cyclomatic 29) source/zip.js:14 — open has cyclomatic complexity 29 (threshold 15).
D1 · Cyclomatic Complexity · program (cyclomatic 29) · ×1
  • program (cyclomatic 29) source/coreml.js:1238 — program has cyclomatic complexity 29 (threshold 15).
D1 · Cyclomatic Complexity · buildSchema (cyclomatic 28) · ×1
  • buildSchema (cyclomatic 28) tools/tf-script.js:264 — buildSchema has cyclomatic complexity 28 (threshold 15).
D1 · Cyclomatic Complexity · metrics (cyclomatic 28) · ×1
  • metrics (cyclomatic 28) source/view.js:6647 — metrics has cyclomatic complexity 28 (threshold 15).
D1 · Cyclomatic Complexity · read (cyclomatic 28) · ×1
  • read (cyclomatic 28) source/pytorch.js:1576 — read has cyclomatic complexity 28 (threshold 15).
D1 · Cyclomatic Complexity · convertValue (cyclomatic 28) · ×1
  • convertValue (cyclomatic 28) source/coreml.js:1246 — convertValue has cyclomatic complexity 28 (threshold 15).
D1 · Cyclomatic Complexity · (anonymous) (cyclomatic 28) · ×1
  • (anonymous) (cyclomatic 28) source/acuity.js:482 — (anonymous) has cyclomatic complexity 28 (threshold 15).
D1 · Cyclomatic Complexity · _tokenize (cyclomatic 27) · ×1
  • _tokenize (cyclomatic 27) tools/tablegen.js:64 — _tokenize has cyclomatic complexity 27 (threshold 15).
D1 · Cyclomatic Complexity · _readBson (cyclomatic 27) · ×1
  • _readBson (cyclomatic 27) source/json.js:436 — _readBson has cyclomatic complexity 27 (threshold 15).
D1 · Cyclomatic Complexity · register (cyclomatic 26) · ×1
  • register (cyclomatic 26) source/view.js:1420 — register has cyclomatic complexity 26 (threshold 15).
D1 · Cyclomatic Complexity · graph (cyclomatic 26) · ×1
  • graph (cyclomatic 26) source/pytorch.js:1061 — graph has cyclomatic complexity 26 (threshold 15).
D1 · Cyclomatic Complexity · createAttribute (cyclomatic 26) · ×1
  • createAttribute (cyclomatic 26) source/onnx.js:814 — createAttribute has cyclomatic complexity 26 (threshold 15).
D1 · Cyclomatic Complexity · loadGraph (cyclomatic 26) · ×1
  • loadGraph (cyclomatic 26) source/megengine.js:100 — loadGraph has cyclomatic complexity 26 (threshold 15).
D1 · Cyclomatic Complexity · open (cyclomatic 26) · ×1
  • open (cyclomatic 26) source/json.js:9 — open has cyclomatic complexity 26 (threshold 15).
D1 · Cyclomatic Complexity · next (cyclomatic 25) · ×1
  • next (cyclomatic 25) tools/protoc.js:970 — next has cyclomatic complexity 25 (threshold 15).
D1 · Cyclomatic Complexity · expand (cyclomatic 25) · ×1
  • expand (cyclomatic 25) source/view.js:4118 — expand has cyclomatic complexity 25 (threshold 15).
D1 · Cyclomatic Complexity · open (cyclomatic 25) · ×1
  • open (cyclomatic 25) source/view.js:5319 — open has cyclomatic complexity 25 (threshold 15).
D1 · Cyclomatic Complexity · _parseAttribute (cyclomatic 25) · ×1
  • _parseAttribute (cyclomatic 25) source/onnx.js:2251 — _parseAttribute has cyclomatic complexity 25 (threshold 15).
D1 · Cyclomatic Complexity · process_node (cyclomatic 25) · ×1
  • process_node (cyclomatic 25) source/keras.js:692 — process_node has cyclomatic complexity 25 (threshold 15).
D1 · Cyclomatic Complexity · read (cyclomatic 25) · ×1
  • read (cyclomatic 25) source/hdf5.js:1162 — read has cyclomatic complexity 25 (threshold 15).
D1 · Cyclomatic Complexity · _parseTemplateArgList (cyclomatic 24) · ×1
  • _parseTemplateArgList (cyclomatic 24) tools/tablegen.js:3086 — _parseTemplateArgList has cyclomatic complexity 24 (threshold 15).
D1 · Cyclomatic Complexity · test (cyclomatic 24) · ×1
  • test (cyclomatic 24) tools/mlir-script.js:931 — test has cyclomatic complexity 24 (threshold 15).
D1 · Cyclomatic Complexity · findTarget (cyclomatic 24) · ×1
  • findTarget (cyclomatic 24) source/view.js:2205 — findTarget has cyclomatic complexity 24 (threshold 15).
D1 · Cyclomatic Complexity · open (cyclomatic 24) · ×1
  • open (cyclomatic 24) source/protobuf.js:650 — open has cyclomatic complexity 24 (threshold 15).
D1 · Cyclomatic Complexity · match (cyclomatic 24) · ×1
  • match (cyclomatic 24) source/openvino.js:6 — match has cyclomatic complexity 24 (threshold 15).
D1 · Cyclomatic Complexity · _parseForeachListValue (cyclomatic 23) · ×1
  • _parseForeachListValue (cyclomatic 23) tools/tablegen.js:2355 — _parseForeachListValue has cyclomatic complexity 23 (threshold 15).
D1 · Cyclomatic Complexity · _parseRecordBody (cyclomatic 23) · ×1
  • _parseRecordBody (cyclomatic 23) tools/tablegen.js:3003 — _parseRecordBody has cyclomatic complexity 23 (threshold 15).
D1 · Cyclomatic Complexity · _tokenize (cyclomatic 23) · ×1
  • _tokenize (cyclomatic 23) tools/flatc.js:641 — _tokenize has cyclomatic complexity 23 (threshold 15).
D1 · Cyclomatic Complexity · _buildStruct (cyclomatic 23) · ×1
  • _buildStruct (cyclomatic 23) tools/flatc.js:1129 — _buildStruct has cyclomatic complexity 23 (threshold 15).
D1 · Cyclomatic Complexity · read (cyclomatic 23) · ×1
  • read (cyclomatic 23) source/tengine.js:254 — read has cyclomatic complexity 23 (threshold 15).
D1 · Cyclomatic Complexity · _number (cyclomatic 23) · ×1
  • _number (cyclomatic 23) source/json.js:260 — _number has cyclomatic complexity 23 (threshold 15).
D1 · Cyclomatic Complexity · match (cyclomatic 23) · ×1
  • match (cyclomatic 23) source/caffe2.js:6 — match has cyclomatic complexity 23 (threshold 15).
D1 · Cyclomatic Complexity · start (cyclomatic 23) · ×1
  • start (cyclomatic 23) source/browser.js:147 — start has cyclomatic complexity 23 (threshold 15).
D1 · Cyclomatic Complexity · categories (cyclomatic 22) · ×1
  • categories (cyclomatic 22) tools/tosa-script.js:14 — categories has cyclomatic complexity 22 (threshold 15).
D1 · Cyclomatic Complexity · inflateRaw (cyclomatic 22) · ×1
  • inflateRaw (cyclomatic 22) source/zip.js:267 — inflateRaw has cyclomatic complexity 22 (threshold 15).
D1 · Cyclomatic Complexity · subgraphOuterRefs (cyclomatic 22) · ×1
  • subgraphOuterRefs (cyclomatic 22) source/view.js:2076 — subgraphOuterRefs has cyclomatic complexity 22 (threshold 15).
D1 · Cyclomatic Complexity · scrollTo (cyclomatic 22) · ×1
  • scrollTo (cyclomatic 22) source/view.js:2701 — scrollTo has cyclomatic complexity 22 (threshold 15).
D1 · Cyclomatic Complexity · openJson (cyclomatic 22) · ×1
  • openJson (cyclomatic 22) source/tf.js:397 — openJson has cyclomatic complexity 22 (threshold 15).
D1 · Cyclomatic Complexity · decodeJson (cyclomatic 22) · ×1
  • decodeJson (cyclomatic 22) source/tf-proto.js:1901 — decodeJson has cyclomatic complexity 22 (threshold 15).
D1 · Cyclomatic Complexity · _parseAttributeValue (cyclomatic 22) · ×1
  • _parseAttributeValue (cyclomatic 22) source/onnx.js:2322 — _parseAttributeValue has cyclomatic complexity 22 (threshold 15).
D1 · Cyclomatic Complexity · dict (cyclomatic 22) · ×1
  • dict (cyclomatic 22) source/numpy.js:173 — dict has cyclomatic complexity 22 (threshold 15).
D1 · Cyclomatic Complexity · build (cyclomatic 22) · ×1
  • build (cyclomatic 22) source/gguf.js:935 — build has cyclomatic complexity 22 (threshold 15).
D1 · Cyclomatic Complexity · _params4 (cyclomatic 22) · ×1
  • _params4 (cyclomatic 22) source/dlc.js:571 — _params4 has cyclomatic complexity 22 (threshold 15).
D1 · Cyclomatic Complexity · position (cyclomatic 22) · ×1
  • position (cyclomatic 22) source/dagre.js:1631 — position has cyclomatic complexity 22 (threshold 15).
D1 · Cyclomatic Complexity · (anonymous) (cyclomatic 22) · ×1
  • (anonymous) (cyclomatic 22) source/cntk.js:379 — (anonymous) has cyclomatic complexity 22 (threshold 15).
D1 · Cyclomatic Complexity · open (cyclomatic 22) · ×1
  • open (cyclomatic 22) source/caffe2.js:58 — open has cyclomatic complexity 22 (threshold 15).
D1 · Cyclomatic Complexity · metrics (cyclomatic 21) · ×1
  • metrics (cyclomatic 21) source/view.js:6598 — metrics has cyclomatic complexity 21 (threshold 15).
D1 · Cyclomatic Complexity · _parseTensor (cyclomatic 21) · ×1
  • _parseTensor (cyclomatic 21) source/onnx.js:2447 — _parseTensor has cyclomatic complexity 21 (threshold 15).
D1 · Cyclomatic Complexity · _parseLiteral (cyclomatic 21) · ×1
  • _parseLiteral (cyclomatic 21) source/onnx.js:2579 — _parseLiteral has cyclomatic complexity 21 (threshold 15).
D1 · Cyclomatic Complexity · decodeJson (cyclomatic 21) · ×1
  • decodeJson (cyclomatic 21) source/onnx-proto.js:169 — decodeJson has cyclomatic complexity 21 (threshold 15).
D1 · Cyclomatic Complexity · read (cyclomatic 21) · ×1
  • read (cyclomatic 21) source/darknet.js:924 — read has cyclomatic complexity 21 (threshold 15).
D1 · Cyclomatic Complexity · start (cyclomatic 21) · ×1
  • start (cyclomatic 21) source/base.js:1292 — start has cyclomatic complexity 21 (threshold 15).
D1 · Cyclomatic Complexity · _processingInstruction (cyclomatic 20) · ×1
  • _processingInstruction (cyclomatic 20) source/xml.js:944 — _processingInstruction has cyclomatic complexity 20 (threshold 15).
D1 · Cyclomatic Complexity · _next (cyclomatic 20) · ×1
  • _next (cyclomatic 20) source/xml.js:1084 — _next has cyclomatic complexity 20 (threshold 15).
D1 · Cyclomatic Complexity · _update (cyclomatic 20) · ×1
  • _update (cyclomatic 20) source/view.js:1618 — _update has cyclomatic complexity 20 (threshold 15).
D1 · Cyclomatic Complexity · tags (cyclomatic 20) · ×1
  • tags (cyclomatic 20) source/view.js:7098 — tags has cyclomatic complexity 20 (threshold 15).
D1 · Cyclomatic Complexity · match (cyclomatic 20) · ×1
  • match (cyclomatic 20) source/uff.js:6 — match has cyclomatic complexity 20 (threshold 15).
D1 · Cyclomatic Complexity · decodeJson (cyclomatic 20) · ×1
  • decodeJson (cyclomatic 20) source/tf-proto.js:8789 — decodeJson has cyclomatic complexity 20 (threshold 15).
D1 · Cyclomatic Complexity · decodeMessage (cyclomatic 20) · ×1
  • decodeMessage (cyclomatic 20) source/protobuf.js:60 — decodeMessage has cyclomatic complexity 20 (threshold 15).
D1 · Cyclomatic Complexity · open (cyclomatic 20) · ×1
  • open (cyclomatic 20) source/flatbuffers.js:6 — open has cyclomatic complexity 20 (threshold 15).
D1 · Cyclomatic Complexity · buildLayerGraph (cyclomatic 20) · ×1
  • buildLayerGraph (cyclomatic 20) source/dagre.js:1257 — buildLayerGraph has cyclomatic complexity 20 (threshold 15).
D1 · Cyclomatic Complexity · featureType (cyclomatic 20) · ×1
  • featureType (cyclomatic 20) source/coreml.js:1457 — featureType has cyclomatic complexity 20 (threshold 15).
D1 · Cyclomatic Complexity · addSubClass (cyclomatic 19) · ×1
  • addSubClass (cyclomatic 19) tools/tablegen.js:1640 — addSubClass has cyclomatic complexity 19 (threshold 15).
D1 · Cyclomatic Complexity · decodeJson (cyclomatic 19) · ×1
  • decodeJson (cyclomatic 19) source/tf-proto.js:8071 — decodeJson has cyclomatic complexity 19 (threshold 15).
D1 · Cyclomatic Complexity · match (cyclomatic 19) · ×1
  • match (cyclomatic 19) source/paddle.js:11 — match has cyclomatic complexity 19 (threshold 15).
D1 · Cyclomatic Complexity · openProgram (cyclomatic 19) · ×1
  • openProgram (cyclomatic 19) source/paddle.js:83 — openProgram has cyclomatic complexity 19 (threshold 15).
D1 · Cyclomatic Complexity · op (cyclomatic 19) · ×1
  • op (cyclomatic 19) source/paddle.js:1014 — op has cyclomatic complexity 19 (threshold 15).
D1 · Cyclomatic Complexity · getAttr (cyclomatic 19) · ×1
  • getAttr (cyclomatic 19) source/paddle.js:1282 — getAttr has cyclomatic complexity 19 (threshold 15).
D1 · Cyclomatic Complexity · (anonymous) (cyclomatic 19) · ×1
  • (anonymous) (cyclomatic 19) source/caffe2.js:358 — (anonymous) has cyclomatic complexity 19 (threshold 15).
D1 · Cyclomatic Complexity · getValueAsDef (cyclomatic 18) · ×1
  • getValueAsDef (cyclomatic 18) tools/tablegen.js:624 — getValueAsDef has cyclomatic complexity 18 (threshold 15).
D1 · Cyclomatic Complexity · _instantiateMulticlass (cyclomatic 18) · ×1
  • _instantiateMulticlass (cyclomatic 18) tools/tablegen.js:1925 — _instantiateMulticlass has cyclomatic complexity 18 (threshold 15).
D1 · Cyclomatic Complexity · _evaluateSimpleExpr (cyclomatic 18) · ×1
  • _evaluateSimpleExpr (cyclomatic 18) tools/tablegen.js:2740 — _evaluateSimpleExpr has cyclomatic complexity 18 (threshold 15).
D1 · Cyclomatic Complexity · checkValueIsAttr (cyclomatic 18) · ×1
  • checkValueIsAttr (cyclomatic 18) tools/mlir-script.js:553 — checkValueIsAttr has cyclomatic complexity 18 (threshold 15).
D1 · Cyclomatic Complexity · main (cyclomatic 18) · ×1
  • main (cyclomatic 18) tools/megengine-script.js:7 — main has cyclomatic complexity 18 (threshold 15).
D1 · Cyclomatic Complexity · tick (cyclomatic 18) · ×1
  • tick (cyclomatic 18) source/view.js:619 — tick has cyclomatic complexity 18 (threshold 15).
D1 · Cyclomatic Complexity · constructor (cyclomatic 18) · ×1
  • constructor (cyclomatic 18) source/view.js:3947 — constructor has cyclomatic complexity 18 (threshold 15).
D1 · Cyclomatic Complexity · decode (cyclomatic 18) · ×1
  • decode (cyclomatic 18) source/protobuf.js:56 — decode has cyclomatic complexity 18 (threshold 15).
D1 · Cyclomatic Complexity · map (cyclomatic 18) · ×1
  • map (cyclomatic 18) source/openvino.js:247 — map has cyclomatic complexity 18 (threshold 15).
D1 · Cyclomatic Complexity · (anonymous) (cyclomatic 18) · ×1
  • (anonymous) (cyclomatic 18) source/onnx.js:1281 — (anonymous) has cyclomatic complexity 18 (threshold 15).
D1 · Cyclomatic Complexity · data (cyclomatic 18) · ×1
  • data (cyclomatic 18) source/hdf5.js:218 — data has cyclomatic complexity 18 (threshold 15).
D1 · Cyclomatic Complexity · buildBlockGraph (cyclomatic 18) · ×1
  • buildBlockGraph (cyclomatic 18) source/dagre.js:1649 — buildBlockGraph has cyclomatic complexity 18 (threshold 15).
D1 · Cyclomatic Complexity · node (cyclomatic 18) · ×1
  • node (cyclomatic 18) source/coreml.js:655 — node has cyclomatic complexity 18 (threshold 15).
D1 · Cyclomatic Complexity · _buildDecodeFunction (cyclomatic 17) · ×1
  • _buildDecodeFunction (cyclomatic 17) tools/protoc.js:1269 — _buildDecodeFunction has cyclomatic complexity 17 (threshold 15).
D1 · Cyclomatic Complexity · generate (cyclomatic 17) · ×1
  • generate (cyclomatic 17) tools/gguf-script.js:93 — generate has cyclomatic complexity 17 (threshold 15).
D1 · Cyclomatic Complexity · isObject (cyclomatic 17) · ×1
  • isObject (cyclomatic 17) source/view.js:2908 — isObject has cyclomatic complexity 17 (threshold 15).
D1 · Cyclomatic Complexity · update (cyclomatic 17) · ×1
  • update (cyclomatic 17) source/view.js:3552 — update has cyclomatic complexity 17 (threshold 15).
D1 · Cyclomatic Complexity · _value (cyclomatic 17) · ×1
  • _value (cyclomatic 17) source/view.js:4912 — _value has cyclomatic complexity 17 (threshold 15).
D1 · Cyclomatic Complexity · openShards (cyclomatic 17) · ×1
  • openShards (cyclomatic 17) source/tf.js:424 — openShards has cyclomatic complexity 17 (threshold 15).
D1 · Cyclomatic Complexity · signature (cyclomatic 17) · ×1
  • signature (cyclomatic 17) source/rknn.js:557 — signature has cyclomatic complexity 17 (threshold 15).
D1 · Cyclomatic Complexity · unpack (cyclomatic 17) · ×1
  • unpack (cyclomatic 17) source/pytorch.js:2057 — unpack has cyclomatic complexity 17 (threshold 15).
D1 · Cyclomatic Complexity · _skipType (cyclomatic 17) · ×1
  • _skipType (cyclomatic 17) source/protobuf.js:395 — _skipType has cyclomatic complexity 17 (threshold 15).
D1 · Cyclomatic Complexity · _parseModel (cyclomatic 17) · ×1
  • _parseModel (cyclomatic 17) source/onnx.js:2109 — _parseModel has cyclomatic complexity 17 (threshold 15).
D1 · Cyclomatic Complexity · _parseBlock (cyclomatic 17) · ×1
  • _parseBlock (cyclomatic 17) source/dot.js:338 — _parseBlock has cyclomatic complexity 17 (threshold 15).
D1 · Cyclomatic Complexity · _model4 (cyclomatic 17) · ×1
  • _model4 (cyclomatic 17) source/dlc.js:426 — _model4 has cyclomatic complexity 17 (threshold 15).
D1 · Cyclomatic Complexity · updateClassifierOutput (cyclomatic 17) · ×1
  • updateClassifierOutput (cyclomatic 17) source/coreml.js:1158 — updateClassifierOutput has cyclomatic complexity 17 (threshold 15).
D1 · Cyclomatic Complexity · _stringify (cyclomatic 17) · ×1
  • _stringify (cyclomatic 17) source/base.js:1172 — _stringify has cyclomatic complexity 17 (threshold 15).
D1 · Cyclomatic Complexity · _parseFile (cyclomatic 16) · ×1
  • _parseFile (cyclomatic 16) tools/tablegen.js:1781 — _parseFile has cyclomatic complexity 16 (threshold 15).
D1 · Cyclomatic Complexity · _resolveMulticlassForeach (cyclomatic 16) · ×1
  • _resolveMulticlassForeach (cyclomatic 16) tools/tablegen.js:1994 — _resolveMulticlassForeach has cyclomatic complexity 16 (threshold 15).
D1 · Cyclomatic Complexity · _resolveForeachLoop (cyclomatic 16) · ×1
  • _resolveForeachLoop (cyclomatic 16) tools/tablegen.js:2671 — _resolveForeachLoop has cyclomatic complexity 16 (threshold 15).
D1 · Cyclomatic Complexity · build (cyclomatic 16) · ×1
  • build (cyclomatic 16) source/view.js:3195 — build has cyclomatic complexity 16 (threshold 15).
D1 · Cyclomatic Complexity · render (cyclomatic 16) · ×1
  • render (cyclomatic 16) source/view.js:4602 — render has cyclomatic complexity 16 (threshold 15).
D1 · Cyclomatic Complexity · map (cyclomatic 16) · ×1
  • map (cyclomatic 16) source/pytorch.js:2422 — map has cyclomatic complexity 16 (threshold 15).
D1 · Cyclomatic Complexity · _uint32 (cyclomatic 16) · ×1
  • _uint32 (cyclomatic 16) source/protobuf.js:237 — _uint32 has cyclomatic complexity 16 (threshold 15).
D1 · Cyclomatic Complexity · layout (cyclomatic 16) · ×1
  • layout (cyclomatic 16) source/dagre.js:8 — layout has cyclomatic complexity 16 (threshold 15).
D1 · Cyclomatic Complexity · _updateMenu (cyclomatic 16) · ×1
  • _updateMenu (cyclomatic 16) source/app.js:358 — _updateMenu has cyclomatic complexity 16 (threshold 15).
D16 · Bus Factor · single-maintainer · ×1
  • single-maintainer — knowledge-concentration (bus factor) risk — single-maintainer — knowledge-concentration (bus factor) risk (1 author(s) across 10151 commit(s) sampled).
D2 · Cognitive Complexity · constructor (cognitive 445) · ×1
  • constructor (cognitive 445) source/pytorch.js:324 — constructor has cognitive complexity 445 (threshold 15).
D2 · Cognitive Complexity · evaluateValue (cognitive 440) · ×1
  • evaluateValue (cognitive 440) tools/tablegen.js:973 — evaluateValue has cognitive complexity 440 (threshold 15).
D2 · Cognitive Complexity · constructor (cognitive 349) · ×1
  • constructor (cognitive 349) source/ncnn.js:285 — constructor has cognitive complexity 349 (threshold 15).
D2 · Cognitive Complexity · getEnumCases (cognitive 325) · ×1
  • getEnumCases (cognitive 325) tools/tablegen.js:725 — getEnumCases has cognitive complexity 325 (threshold 15).
D2 · Cognitive Complexity · read (cognitive 285) · ×1
  • read (cognitive 285) source/xml.js:33 — read has cognitive complexity 285 (threshold 15).
D2 · Cognitive Complexity · schema (cognitive 268) · ×1
  • schema (cognitive 268) tools/mlir-script.js:50 — schema has cognitive complexity 268 (threshold 15).
D2 · Cognitive Complexity · constructor (cognitive 249) · ×1
  • constructor (cognitive 249) source/darknet.js:81 — constructor has cognitive complexity 249 (threshold 15).
D2 · Cognitive Complexity · peek (cognitive 229) · ×1
  • peek (cognitive 229) source/view.js:6775 — peek has cognitive complexity 229 (threshold 15).
D2 · Cognitive Complexity · open (cognitive 209) · ×1
  • open (cognitive 209) source/keras.js:79 — open has cognitive complexity 209 (threshold 15).
D2 · Cognitive Complexity · constructor (cognitive 209) · ×1
  • constructor (cognitive 209) source/keras.js:524 — constructor has cognitive complexity 209 (threshold 15).
D2 · Cognitive Complexity · order (cognitive 197) · ×1
  • order (cognitive 197) source/dagre.js:895 — order has cognitive complexity 197 (threshold 15).
D2 · Cognitive Complexity · extractTraitsFromList (cognitive 196) · ×1
  • extractTraitsFromList (cognitive 196) tools/mlir-script.js:722 — extractTraitsFromList has cognitive complexity 196 (threshold 15).
D2 · Cognitive Complexity · next (cognitive 178) · ×1
  • next (cognitive 178) source/protobuf.js:1124 — next has cognitive complexity 178 (threshold 15).
D2 · Cognitive Complexity · constructor (cognitive 178) · ×1
  • constructor (cognitive 178) source/gguf.js:95 — constructor has cognitive complexity 178 (threshold 15).
D2 · Cognitive Complexity · constructor (cognitive 171) · ×1
  • constructor (cognitive 171) source/keras.js:905 — constructor has cognitive complexity 171 (threshold 15).
D2 · Cognitive Complexity · main (cognitive 165) · ×1
  • main (cognitive 165) tools/tosa-script.js:45 — main has cognitive complexity 165 (threshold 15).
D2 · Cognitive Complexity · constructor (cognitive 162) · ×1
  • constructor (cognitive 162) source/onnx.js:971 — constructor has cognitive complexity 162 (threshold 15).
D2 · Cognitive Complexity · constructor (cognitive 160) · ×1
  • constructor (cognitive 160) source/pytorch.js:74 — constructor has cognitive complexity 160 (threshold 15).
D2 · Cognitive Complexity · _tokenize (cognitive 158) · ×1
  • _tokenize (cognitive 158) source/view.js:5741 — _tokenize has cognitive complexity 158 (threshold 15).
D2 · Cognitive Complexity · _tokenizeInline (cognitive 158) · ×1
  • _tokenizeInline (cognitive 158) source/view.js:5947 — _tokenizeInline has cognitive complexity 158 (threshold 15).
D2 · Cognitive Complexity · constructor (cognitive 157) · ×1
  • constructor (cognitive 157) source/mxnet.js:459 — constructor has cognitive complexity 157 (threshold 15).
D2 · Cognitive Complexity · match (cognitive 156) · ×1
  • match (cognitive 156) source/tf.js:12 — match has cognitive complexity 156 (threshold 15).
D2 · Cognitive Complexity · constructor (cognitive 148) · ×1
  • constructor (cognitive 148) source/mxnet.js:268 — constructor has cognitive complexity 148 (threshold 15).
D2 · Cognitive Complexity · constructor (cognitive 144) · ×1
  • constructor (cognitive 144) source/openvino.js:503 — constructor has cognitive complexity 144 (threshold 15).
D2 · Cognitive Complexity · read (cognitive 142) · ×1
  • read (cognitive 142) source/kmodel.js:254 — read has cognitive complexity 142 (threshold 15).
D2 · Cognitive Complexity · weights (cognitive 127) · ×1
  • weights (cognitive 127) source/pickle.js:317 — weights has cognitive complexity 127 (threshold 15).
D2 · Cognitive Complexity · _internalSubset (cognitive 126) · ×1
  • _internalSubset (cognitive 126) source/xml.js:312 — _internalSubset has cognitive complexity 126 (threshold 15).
D2 · Cognitive Complexity · updateTorchScript (cognitive 122) · ×1
  • updateTorchScript (cognitive 122) source/tf.js:1906 — updateTorchScript has cognitive complexity 122 (threshold 15).
D2 · Cognitive Complexity · read (cognitive 117) · ×1
  • read (cognitive 117) source/onnx.js:1600 — read has cognitive complexity 117 (threshold 15).
D2 · Cognitive Complexity · constructor (cognitive 117) · ×1
  • constructor (cognitive 117) source/dot.js:50 — constructor has cognitive complexity 117 (threshold 15).
D2 · Cognitive Complexity · _add (cognitive 116) · ×1
  • _add (cognitive 116) source/view.js:2825 — _add has cognitive complexity 116 (threshold 15).
D2 · Cognitive Complexity · constructor (cognitive 112) · ×1
  • constructor (cognitive 112) source/paddle.js:296 — constructor has cognitive complexity 112 (threshold 15).
D2 · Cognitive Complexity · weights (cognitive 108) · ×1
  • weights (cognitive 108) source/pytorch.js:2168 — weights has cognitive complexity 108 (threshold 15).
D2 · Cognitive Complexity · constructor (cognitive 101) · ×1
  • constructor (cognitive 101) source/tnn.js:134 — constructor has cognitive complexity 101 (threshold 15).
D2 · Cognitive Complexity · _decodeData (cognitive 100) · ×1
  • _decodeData (cognitive 100) source/base.js:943 — _decodeData has cognitive complexity 100 (threshold 15).
D2 · Cognitive Complexity · constructor (cognitive 98) · ×1
  • constructor (cognitive 98) source/megengine.js:438 — constructor has cognitive complexity 98 (threshold 15).
D2 · Cognitive Complexity · add (cognitive 96) · ×1
  • add (cognitive 96) source/view.js:1968 — add has cognitive complexity 96 (threshold 15).
D2 · Cognitive Complexity · _parsePrimaryValue (cognitive 93) · ×1
  • _parsePrimaryValue (cognitive 93) tools/tablegen.js:3256 — _parsePrimaryValue has cognitive complexity 93 (threshold 15).
D2 · Cognitive Complexity · _node (cognitive 92) · ×1
  • _node (cognitive 92) source/view.js:4954 — _node has cognitive complexity 92 (threshold 15).
D2 · Cognitive Complexity · _render (cognitive 91) · ×1
  • _render (cognitive 91) source/view.js:6190 — _render has cognitive complexity 91 (threshold 15).
D2 · Cognitive Complexity · open (cognitive 89) · ×1
  • open (cognitive 89) source/onnx.js:1464 — open has cognitive complexity 89 (threshold 15).
D2 · Cognitive Complexity · _parseTemplateArgList (cognitive 86) · ×1
  • _parseTemplateArgList (cognitive 86) tools/tablegen.js:3086 — _parseTemplateArgList has cognitive complexity 86 (threshold 15).
D2 · Cognitive Complexity · match (cognitive 84) · ×1
  • match (cognitive 84) source/ncnn.js:13 — match has cognitive complexity 84 (threshold 15).
D2 · Cognitive Complexity · constructor (cognitive 83) · ×1
  • constructor (cognitive 83) source/tvm.js:74 — constructor has cognitive complexity 83 (threshold 15).
D2 · Cognitive Complexity · constructor (cognitive 82) · ×1
  • constructor (cognitive 82) source/rknn.js:287 — constructor has cognitive complexity 82 (threshold 15).
D2 · Cognitive Complexity · decodeJson (cognitive 81) · ×1
  • decodeJson (cognitive 81) source/tf-proto.js:12218 — decodeJson has cognitive complexity 81 (threshold 15).
D2 · Cognitive Complexity · constructor (cognitive 81) · ×1
  • constructor (cognitive 81) source/onednn.js:94 — constructor has cognitive complexity 81 (threshold 15).
D2 · Cognitive Complexity · _format (cognitive 80) · ×1
  • _format (cognitive 80) source/view.js:5518 — _format has cognitive complexity 80 (threshold 15).
D2 · Cognitive Complexity · graph (cognitive 80) · ×1
  • graph (cognitive 80) source/tf.js:1767 — graph has cognitive complexity 80 (threshold 15).
D2 · Cognitive Complexity · parse (cognitive 80) · ×1
  • parse (cognitive 80) source/mxnet.js:57 — parse has cognitive complexity 80 (threshold 15).
D2 · Cognitive Complexity · _resolveInit (cognitive 79) · ×1
  • _resolveInit (cognitive 79) tools/tablegen.js:389 — _resolveInit has cognitive complexity 79 (threshold 15).
D2 · Cognitive Complexity · read (cognitive 79) · ×1
  • read (cognitive 79) source/json.js:66 — read has cognitive complexity 79 (threshold 15).
D2 · Cognitive Complexity · constructor (cognitive 78) · ×1
  • constructor (cognitive 78) source/caffe.js:189 — constructor has cognitive complexity 78 (threshold 15).
D2 · Cognitive Complexity · read (cognitive 77) · ×1
  • read (cognitive 77) source/pytorch.js:1576 — read has cognitive complexity 77 (threshold 15).
D2 · Cognitive Complexity · refresh (cognitive 71) · ×1
  • refresh (cognitive 71) source/view.js:434 — refresh has cognitive complexity 71 (threshold 15).
D2 · Cognitive Complexity · metrics (cognitive 70) · ×1
  • metrics (cognitive 70) source/view.js:6647 — metrics has cognitive complexity 70 (threshold 15).
D2 · Cognitive Complexity · toConstraintString (cognitive 69) · ×1
  • toConstraintString (cognitive 69) tools/mlir-script.js:436 — toConstraintString has cognitive complexity 69 (threshold 15).
D2 · Cognitive Complexity · parse (cognitive 69) · ×1
  • parse (cognitive 69) tools/flatc.js:352 — parse has cognitive complexity 69 (threshold 15).
D2 · Cognitive Complexity · render (cognitive 69) · ×1
  • render (cognitive 69) source/view.js:4744 — render has cognitive complexity 69 (threshold 15).
D2 · Cognitive Complexity · _instantiateMulticlassDef (cognitive 68) · ×1
  • _instantiateMulticlassDef (cognitive 68) tools/tablegen.js:2057 — _instantiateMulticlassDef has cognitive complexity 68 (threshold 15).
D2 · Cognitive Complexity · constructor (cognitive 67) · ×1
  • constructor (cognitive 67) source/cntk.js:119 — constructor has cognitive complexity 67 (threshold 15).
D2 · Cognitive Complexity · constructor (cognitive 66) · ×1
  • constructor (cognitive 66) source/tosa.js:155 — constructor has cognitive complexity 66 (threshold 15).
D2 · Cognitive Complexity · loadGraph (cognitive 66) · ×1
  • loadGraph (cognitive 66) source/megengine.js:100 — loadGraph has cognitive complexity 66 (threshold 15).
D2 · Cognitive Complexity · _buildTable (cognitive 64) · ×1
  • _buildTable (cognitive 64) tools/flatc.js:952 — _buildTable has cognitive complexity 64 (threshold 15).
D2 · Cognitive Complexity · constant (cognitive 64) · ×1
  • constant (cognitive 64) source/openvino.js:279 — constant has cognitive complexity 64 (threshold 15).
D2 · Cognitive Complexity · toString (cognitive 63) · ×1
  • toString (cognitive 63) source/view.js:5267 — toString has cognitive complexity 63 (threshold 15).
D2 · Cognitive Complexity · constructor (cognitive 63) · ×1
  • constructor (cognitive 63) source/mnn.js:142 — constructor has cognitive complexity 63 (threshold 15).
D2 · Cognitive Complexity · read (cognitive 63) · ×1
  • read (cognitive 63) source/espresso.js:243 — read has cognitive complexity 63 (threshold 15).
D2 · Cognitive Complexity · constructor (cognitive 62) · ×1
  • constructor (cognitive 62) source/onnx.js:440 — constructor has cognitive complexity 62 (threshold 15).
D2 · Cognitive Complexity · read (cognitive 62) · ×1
  • read (cognitive 62) source/om.js:355 — read has cognitive complexity 62 (threshold 15).
D2 · Cognitive Complexity · register (cognitive 61) · ×1
  • register (cognitive 61) source/view.js:1420 — register has cognitive complexity 61 (threshold 15).
D2 · Cognitive Complexity · _context (cognitive 61) · ×1
  • _context (cognitive 61) source/base.js:786 — _context has cognitive complexity 61 (threshold 15).
D2 · Cognitive Complexity · open (cognitive 60) · ×1
  • open (cognitive 60) source/zip.js:14 — open has cognitive complexity 60 (threshold 15).
D2 · Cognitive Complexity · constructor (cognitive 60) · ×1
  • constructor (cognitive 60) source/espdl.js:120 — constructor has cognitive complexity 60 (threshold 15).
D2 · Cognitive Complexity · buildBlockGraph (cognitive 59) · ×1
  • buildBlockGraph (cognitive 59) source/dagre.js:1649 — buildBlockGraph has cognitive complexity 59 (threshold 15).
D2 · Cognitive Complexity · next (cognitive 58) · ×1
  • next (cognitive 58) tools/protoc.js:970 — next has cognitive complexity 58 (threshold 15).
D2 · Cognitive Complexity · animateTransition (cognitive 58) · ×1
  • animateTransition (cognitive 58) source/view.js:517 — animateTransition has cognitive complexity 58 (threshold 15).
D2 · Cognitive Complexity · metrics (cognitive 58) · ×1
  • metrics (cognitive 58) source/view.js:6598 — metrics has cognitive complexity 58 (threshold 15).
D2 · Cognitive Complexity · open (cognitive 58) · ×1
  • open (cognitive 58) source/text.js:6 — open has cognitive complexity 58 (threshold 15).
D2 · Cognitive Complexity · decode (cognitive 57) · ×1
  • decode (cognitive 57) source/protobuf.js:56 — decode has cognitive complexity 57 (threshold 15).
D2 · Cognitive Complexity · open (cognitive 57) · ×1
  • open (cognitive 57) source/protobuf.js:650 — open has cognitive complexity 57 (threshold 15).
D2 · Cognitive Complexity · data (cognitive 57) · ×1
  • data (cognitive 57) source/hdf5.js:218 — data has cognitive complexity 57 (threshold 15).
D2 · Cognitive Complexity · program (cognitive 57) · ×1
  • program (cognitive 57) source/coreml.js:1238 — program has cognitive complexity 57 (threshold 15).
D2 · Cognitive Complexity · (anonymous) (cognitive 57) · ×1
  • (anonymous) (cognitive 57) source/acuity.js:482 — (anonymous) has cognitive complexity 57 (threshold 15).
D2 · Cognitive Complexity · _buildDecodeJsonFunction (cognitive 53) · ×1
  • _buildDecodeJsonFunction (cognitive 53) tools/protoc.js:1415 — _buildDecodeJsonFunction has cognitive complexity 53 (threshold 15).
D2 · Cognitive Complexity · decode (cognitive 53) · ×1
  • decode (cognitive 53) source/text.js:103 — decode has cognitive complexity 53 (threshold 15).
D2 · Cognitive Complexity · collectRegions (cognitive 52) · ×1
  • collectRegions (cognitive 52) source/paddle.js:1071 — collectRegions has cognitive complexity 52 (threshold 15).
D2 · Cognitive Complexity · constructor (cognitive 52) · ×1
  • constructor (cognitive 52) source/openvino.js:240 — constructor has cognitive complexity 52 (threshold 15).
D2 · Cognitive Complexity · graph (cognitive 51) · ×1
  • graph (cognitive 51) source/pytorch.js:1061 — graph has cognitive complexity 51 (threshold 15).
D2 · Cognitive Complexity · main (cognitive 50) · ×1
  • main (cognitive 50) tools/mslite-script.js:7 — main has cognitive complexity 50 (threshold 15).
D2 · Cognitive Complexity · _buildStruct (cognitive 50) · ×1
  • _buildStruct (cognitive 50) tools/flatc.js:1129 — _buildStruct has cognitive complexity 50 (threshold 15).
D2 · Cognitive Complexity · open (cognitive 50) · ×1
  • open (cognitive 50) source/paddle.js:59 — open has cognitive complexity 50 (threshold 15).
D2 · Cognitive Complexity · dict (cognitive 50) · ×1
  • dict (cognitive 50) source/numpy.js:173 — dict has cognitive complexity 50 (threshold 15).
D2 · Cognitive Complexity · position (cognitive 50) · ×1
  • position (cognitive 50) source/dagre.js:1631 — position has cognitive complexity 50 (threshold 15).
D2 · Cognitive Complexity · _parseForeachListValue (cognitive 49) · ×1
  • _parseForeachListValue (cognitive 49) tools/tablegen.js:2355 — _parseForeachListValue has cognitive complexity 49 (threshold 15).
D2 · Cognitive Complexity · findTarget (cognitive 49) · ×1
  • findTarget (cognitive 49) source/view.js:2205 — findTarget has cognitive complexity 49 (threshold 15).
D2 · Cognitive Complexity · findType1Conflicts (cognitive 49) · ×1
  • findType1Conflicts (cognitive 49) source/dagre.js:1815 — findType1Conflicts has cognitive complexity 49 (threshold 15).
D2 · Cognitive Complexity · _evaluateDefvar (cognitive 48) · ×1
  • _evaluateDefvar (cognitive 48) tools/tablegen.js:2778 — _evaluateDefvar has cognitive complexity 48 (threshold 15).
D2 · Cognitive Complexity · test (cognitive 47) · ×1
  • test (cognitive 47) tools/mlir-script.js:931 — test has cognitive complexity 47 (threshold 15).
D2 · Cognitive Complexity · open (cognitive 47) · ×1
  • open (cognitive 47) source/view.js:5319 — open has cognitive complexity 47 (threshold 15).
D2 · Cognitive Complexity · render (cognitive 46) · ×1
  • render (cognitive 46) source/view.js:3675 — render has cognitive complexity 46 (threshold 15).
D2 · Cognitive Complexity · open (cognitive 46) · ×1
  • open (cognitive 46) source/flatbuffers.js:6 — open has cognitive complexity 46 (threshold 15).
D2 · Cognitive Complexity · constructor (cognitive 46) · ×1
  • constructor (cognitive 46) source/dl4j.js:167 — constructor has cognitive complexity 46 (threshold 15).
D2 · Cognitive Complexity · subgraphOuterRefs (cognitive 45) · ×1
  • subgraphOuterRefs (cognitive 45) source/view.js:2076 — subgraphOuterRefs has cognitive complexity 45 (threshold 15).
D2 · Cognitive Complexity · tags (cognitive 45) · ×1
  • tags (cognitive 45) source/view.js:7098 — tags has cognitive complexity 45 (threshold 15).
D2 · Cognitive Complexity · _uint32 (cognitive 45) · ×1
  • _uint32 (cognitive 45) source/protobuf.js:237 — _uint32 has cognitive complexity 45 (threshold 15).
D2 · Cognitive Complexity · buildSchema (cognitive 44) · ×1
  • buildSchema (cognitive 44) tools/tf-script.js:264 — buildSchema has cognitive complexity 44 (threshold 15).
D2 · Cognitive Complexity · render (cognitive 44) · ×1
  • render (cognitive 44) source/view.js:4500 — render has cognitive complexity 44 (threshold 15).
D2 · Cognitive Complexity · read (cognitive 44) · ×1
  • read (cognitive 44) source/tengine.js:254 — read has cognitive complexity 44 (threshold 15).
D2 · Cognitive Complexity · decodeMessage (cognitive 44) · ×1
  • decodeMessage (cognitive 44) source/protobuf.js:60 — decodeMessage has cognitive complexity 44 (threshold 15).
D2 · Cognitive Complexity · match (cognitive 44) · ×1
  • match (cognitive 44) source/coreml.js:8 — match has cognitive complexity 44 (threshold 15).
D2 · Cognitive Complexity · constructor (cognitive 44) · ×1
  • constructor (cognitive 44) source/armnn.js:141 — constructor has cognitive complexity 44 (threshold 15).
D2 · Cognitive Complexity · main (cognitive 43) · ×1
  • main (cognitive 43) tools/espdl-script.js:6 — main has cognitive complexity 43 (threshold 15).
D2 · Cognitive Complexity · openShards (cognitive 43) · ×1
  • openShards (cognitive 43) source/tf.js:424 — openShards has cognitive complexity 43 (threshold 15).
D2 · Cognitive Complexity · _params4 (cognitive 43) · ×1
  • _params4 (cognitive 43) source/dlc.js:571 — _params4 has cognitive complexity 43 (threshold 15).
D2 · Cognitive Complexity · buildLayerGraph (cognitive 43) · ×1
  • buildLayerGraph (cognitive 43) source/dagre.js:1257 — buildLayerGraph has cognitive complexity 43 (threshold 15).
D2 · Cognitive Complexity · main (cognitive 42) · ×1
  • main (cognitive 42) tools/megengine-script.js:7 — main has cognitive complexity 42 (threshold 15).
D2 · Cognitive Complexity · open (cognitive 42) · ×1
  • open (cognitive 42) source/caffe2.js:58 — open has cognitive complexity 42 (threshold 15).
D2 · Cognitive Complexity · process_node (cognitive 41) · ×1
  • process_node (cognitive 41) source/keras.js:692 — process_node has cognitive complexity 41 (threshold 15).
D2 · Cognitive Complexity · layout (cognitive 41) · ×1
  • layout (cognitive 41) source/grapher.js:224 — layout has cognitive complexity 41 (threshold 15).
D2 · Cognitive Complexity · initCutValues (cognitive 41) · ×1
  • initCutValues (cognitive 41) source/dagre.js:367 — initCutValues has cognitive complexity 41 (threshold 15).
D2 · Cognitive Complexity · constructor (cognitive 39) · ×1
  • constructor (cognitive 39) source/pytorch.js:2282 — constructor has cognitive complexity 39 (threshold 15).
D2 · Cognitive Complexity · _parseAttributeValue (cognitive 39) · ×1
  • _parseAttributeValue (cognitive 39) source/onnx.js:2322 — _parseAttributeValue has cognitive complexity 39 (threshold 15).
D2 · Cognitive Complexity · match (cognitive 39) · ×1
  • match (cognitive 39) source/keras.js:10 — match has cognitive complexity 39 (threshold 15).
D2 · Cognitive Complexity · read_weights_hdf5 (cognitive 39) · ×1
  • read_weights_hdf5 (cognitive 39) source/keras.js:141 — read_weights_hdf5 has cognitive complexity 39 (threshold 15).
D2 · Cognitive Complexity · _parseBlock (cognitive 39) · ×1
  • _parseBlock (cognitive 39) source/dot.js:338 — _parseBlock has cognitive complexity 39 (threshold 15).
D2 · Cognitive Complexity · read (cognitive 39) · ×1
  • read (cognitive 39) source/dlc.js:306 — read has cognitive complexity 39 (threshold 15).
D2 · Cognitive Complexity · getValueAsDef (cognitive 38) · ×1
  • getValueAsDef (cognitive 38) tools/tablegen.js:624 — getValueAsDef has cognitive complexity 38 (threshold 15).
D2 · Cognitive Complexity · processParent (cognitive 38) · ×1
  • processParent (cognitive 38) tools/tablegen.js:1691 — processParent has cognitive complexity 38 (threshold 15).
D2 · Cognitive Complexity · match (cognitive 38) · ×1
  • match (cognitive 38) source/tf.js:1996 — match has cognitive complexity 38 (threshold 15).
D2 · Cognitive Complexity · constructor (cognitive 38) · ×1
  • constructor (cognitive 38) source/onnx.js:1148 — constructor has cognitive complexity 38 (threshold 15).
D2 · Cognitive Complexity · open (cognitive 38) · ×1
  • open (cognitive 38) source/json.js:9 — open has cognitive complexity 38 (threshold 15).
D2 · Cognitive Complexity · _evaluateSimpleExpr (cognitive 37) · ×1
  • _evaluateSimpleExpr (cognitive 37) tools/tablegen.js:2740 — _evaluateSimpleExpr has cognitive complexity 37 (threshold 15).
D2 · Cognitive Complexity · open (cognitive 37) · ×1
  • open (cognitive 37) source/view.js:7327 — open has cognitive complexity 37 (threshold 15).
D2 · Cognitive Complexity · read (cognitive 37) · ×1
  • read (cognitive 37) source/darknet.js:924 — read has cognitive complexity 37 (threshold 15).
D2 · Cognitive Complexity · match (cognitive 37) · ×1
  • match (cognitive 37) source/caffe2.js:6 — match has cognitive complexity 37 (threshold 15).
D2 · Cognitive Complexity · addSubClass (cognitive 36) · ×1
  • addSubClass (cognitive 36) tools/tablegen.js:1640 — addSubClass has cognitive complexity 36 (threshold 15).
D2 · Cognitive Complexity · _update (cognitive 36) · ×1
  • _update (cognitive 36) source/view.js:1618 — _update has cognitive complexity 36 (threshold 15).
D2 · Cognitive Complexity · (anonymous) (cognitive 36) · ×1
  • (anonymous) (cognitive 36) source/tf.js:935 — (anonymous) has cognitive complexity 36 (threshold 15).
D2 · Cognitive Complexity · openProgram (cognitive 36) · ×1
  • openProgram (cognitive 36) source/paddle.js:83 — openProgram has cognitive complexity 36 (threshold 15).
D2 · Cognitive Complexity · build (cognitive 36) · ×1
  • build (cognitive 36) source/gguf.js:935 — build has cognitive complexity 36 (threshold 15).
D2 · Cognitive Complexity · weights (cognitive 36) · ×1
  • weights (cognitive 36) source/coreml.js:715 — weights has cognitive complexity 36 (threshold 15).
D2 · Cognitive Complexity · _parseRecordBody (cognitive 35) · ×1
  • _parseRecordBody (cognitive 35) tools/tablegen.js:3003 — _parseRecordBody has cognitive complexity 35 (threshold 15).
D2 · Cognitive Complexity · checkIsAttr (cognitive 35) · ×1
  • checkIsAttr (cognitive 35) tools/mlir-script.js:511 — checkIsAttr has cognitive complexity 35 (threshold 15).
D2 · Cognitive Complexity · _value (cognitive 35) · ×1
  • _value (cognitive 35) source/view.js:4912 — _value has cognitive complexity 35 (threshold 15).
D2 · Cognitive Complexity · _parseLiteral (cognitive 35) · ×1
  • _parseLiteral (cognitive 35) source/onnx.js:2579 — _parseLiteral has cognitive complexity 35 (threshold 15).
D2 · Cognitive Complexity · removeEmptyRanks (cognitive 35) · ×1
  • removeEmptyRanks (cognitive 35) source/dagre.js:532 — removeEmptyRanks has cognitive complexity 35 (threshold 15).
D2 · Cognitive Complexity · (anonymous) (cognitive 35) · ×1
  • (anonymous) (cognitive 35) source/cntk.js:379 — (anonymous) has cognitive complexity 35 (threshold 15).
D2 · Cognitive Complexity · tick (cognitive 34) · ×1
  • tick (cognitive 34) source/view.js:619 — tick has cognitive complexity 34 (threshold 15).
D2 · Cognitive Complexity · decodeJson (cognitive 34) · ×1
  • decodeJson (cognitive 34) source/tf-proto.js:9089 — decodeJson has cognitive complexity 34 (threshold 15).
D2 · Cognitive Complexity · _attribute (cognitive 34) · ×1
  • _attribute (cognitive 34) source/onnx.js:1972 — _attribute has cognitive complexity 34 (threshold 15).
D2 · Cognitive Complexity · _readBson (cognitive 34) · ×1
  • _readBson (cognitive 34) source/json.js:436 — _readBson has cognitive complexity 34 (threshold 15).
D2 · Cognitive Complexity · exception (cognitive 34) · ×1
  • exception (cognitive 34) source/browser.js:300 — exception has cognitive complexity 34 (threshold 15).
D2 · Cognitive Complexity · read (cognitive 33) · ×1
  • read (cognitive 33) source/tnn.js:385 — read has cognitive complexity 33 (threshold 15).
D2 · Cognitive Complexity · constructor (cognitive 33) · ×1
  • constructor (cognitive 33) source/tf.js:1114 — constructor has cognitive complexity 33 (threshold 15).
D2 · Cognitive Complexity · open (cognitive 33) · ×1
  • open (cognitive 33) source/pytorch.js:1219 — open has cognitive complexity 33 (threshold 15).
D2 · Cognitive Complexity · horizontalCompaction (cognitive 33) · ×1
  • horizontalCompaction (cognitive 33) source/dagre.js:1746 — horizontalCompaction has cognitive complexity 33 (threshold 15).
D2 · Cognitive Complexity · open (cognitive 32) · ×1
  • open (cognitive 32) source/tosa.js:18 — open has cognitive complexity 32 (threshold 15).
D2 · Cognitive Complexity · type (cognitive 32) · ×1
  • type (cognitive 32) source/hdf5.js:1096 — type has cognitive complexity 32 (threshold 15).
D2 · Cognitive Complexity · model (cognitive 32) · ×1
  • model (cognitive 32) source/coreml.js:878 — model has cognitive complexity 32 (threshold 15).
D2 · Cognitive Complexity · updatePreprocessing (cognitive 32) · ×1
  • updatePreprocessing (cognitive 32) source/coreml.js:1204 — updatePreprocessing has cognitive complexity 32 (threshold 15).
D2 · Cognitive Complexity · addTunnels (cognitive 31) · ×1
  • addTunnels (cognitive 31) source/view.js:2074 — addTunnels has cognitive complexity 31 (threshold 15).
D2 · Cognitive Complexity · build (cognitive 31) · ×1
  • build (cognitive 31) source/view.js:3195 — build has cognitive complexity 31 (threshold 15).
D2 · Cognitive Complexity · visible (cognitive 31) · ×1
  • visible (cognitive 31) source/tf.js:1704 — visible has cognitive complexity 31 (threshold 15).
D2 · Cognitive Complexity · op (cognitive 31) · ×1
  • op (cognitive 31) source/paddle.js:1014 — op has cognitive complexity 31 (threshold 15).
D2 · Cognitive Complexity · open (cognitive 31) · ×1
  • open (cognitive 31) source/ncnn.js:106 — open has cognitive complexity 31 (threshold 15).
D2 · Cognitive Complexity · constructor (cognitive 31) · ×1
  • constructor (cognitive 31) source/mlnet.js:745 — constructor has cognitive complexity 31 (threshold 15).
D2 · Cognitive Complexity · start (cognitive 31) · ×1
  • start (cognitive 31) source/browser.js:147 — start has cognitive complexity 31 (threshold 15).
D2 · Cognitive Complexity · scrollTo (cognitive 30) · ×1
  • scrollTo (cognitive 30) source/view.js:2701 — scrollTo has cognitive complexity 30 (threshold 15).
D2 · Cognitive Complexity · expand (cognitive 30) · ×1
  • expand (cognitive 30) source/view.js:4118 — expand has cognitive complexity 30 (threshold 15).
D2 · Cognitive Complexity · render (cognitive 30) · ×1
  • render (cognitive 30) source/view.js:4661 — render has cognitive complexity 30 (threshold 15).
D2 · Cognitive Complexity · extractTraitsFromParents (cognitive 29) · ×1
  • extractTraitsFromParents (cognitive 29) tools/mlir-script.js:866 — extractTraitsFromParents has cognitive complexity 29 (threshold 15).
D2 · Cognitive Complexity · resolve (cognitive 29) · ×1
  • resolve (cognitive 29) tools/flatc.js:208 — resolve has cognitive complexity 29 (threshold 15).
D2 · Cognitive Complexity · _processingInstruction (cognitive 29) · ×1
  • _processingInstruction (cognitive 29) source/xml.js:944 — _processingInstruction has cognitive complexity 29 (threshold 15).
D2 · Cognitive Complexity · openJson (cognitive 29) · ×1
  • openJson (cognitive 29) source/tf.js:397 — openJson has cognitive complexity 29 (threshold 15).
D2 · Cognitive Complexity · getAllOprAndTensor (cognitive 29) · ×1
  • getAllOprAndTensor (cognitive 29) source/megengine.js:359 — getAllOprAndTensor has cognitive complexity 29 (threshold 15).
D2 · Cognitive Complexity · constructor (cognitive 29) · ×1
  • constructor (cognitive 29) source/cntk.js:594 — constructor has cognitive complexity 29 (threshold 15).
D2 · Cognitive Complexity · infer (cognitive 29) · ×1
  • infer (cognitive 29) source/acuity.js:643 — infer has cognitive complexity 29 (threshold 15).
D2 · Cognitive Complexity · _tokenize (cognitive 28) · ×1
  • _tokenize (cognitive 28) tools/tablegen.js:64 — _tokenize has cognitive complexity 28 (threshold 15).
D2 · Cognitive Complexity · _updatePath (cognitive 28) · ×1
  • _updatePath (cognitive 28) source/view.js:816 — _updatePath has cognitive complexity 28 (threshold 15).
D2 · Cognitive Complexity · update (cognitive 28) · ×1
  • update (cognitive 28) source/view.js:3552 — update has cognitive complexity 28 (threshold 15).
D2 · Cognitive Complexity · getOutputAttr (cognitive 28) · ×1
  • getOutputAttr (cognitive 28) source/paddle.js:1343 — getOutputAttr has cognitive complexity 28 (threshold 15).
D2 · Cognitive Complexity · _number (cognitive 28) · ×1
  • _number (cognitive 28) source/json.js:260 — _number has cognitive complexity 28 (threshold 15).
D2 · Cognitive Complexity · updateClassifierOutput (cognitive 28) · ×1
  • updateClassifierOutput (cognitive 28) source/coreml.js:1158 — updateClassifierOutput has cognitive complexity 28 (threshold 15).
D2 · Cognitive Complexity · start (cognitive 28) · ×1
  • start (cognitive 28) source/base.js:1292 — start has cognitive complexity 28 (threshold 15).
D2 · Cognitive Complexity · exception (cognitive 28) · ×1
  • exception (cognitive 28) source/desktop.mjs:388 — exception has cognitive complexity 28 (threshold 15).
D2 · Cognitive Complexity · resolve (cognitive 27) · ×1
  • resolve (cognitive 27) tools/flatc.js:249 — resolve has cognitive complexity 27 (threshold 15).
D2 · Cognitive Complexity · _skipType (cognitive 27) · ×1
  • _skipType (cognitive 27) source/protobuf.js:395 — _skipType has cognitive complexity 27 (threshold 15).
D2 · Cognitive Complexity · _parseGraph (cognitive 27) · ×1
  • _parseGraph (cognitive 27) source/onnx.js:2162 — _parseGraph has cognitive complexity 27 (threshold 15).
D2 · Cognitive Complexity · read (cognitive 27) · ×1
  • read (cognitive 27) source/hailo.js:296 — read has cognitive complexity 27 (threshold 15).
D2 · Cognitive Complexity · generate (cognitive 26) · ×1
  • generate (cognitive 26) tools/gguf-script.js:93 — generate has cognitive complexity 26 (threshold 15).
D2 · Cognitive Complexity · start (cognitive 26) · ×1
  • start (cognitive 26) source/view.js:35 — start has cognitive complexity 26 (threshold 15).
D2 · Cognitive Complexity · metrics (cognitive 26) · ×1
  • metrics (cognitive 26) source/view.js:6567 — metrics has cognitive complexity 26 (threshold 15).
D2 · Cognitive Complexity · _lzf (cognitive 26) · ×1
  • _lzf (cognitive 26) source/hdf5.js:1468 — _lzf has cognitive complexity 26 (threshold 15).
D2 · Cognitive Complexity · node (cognitive 26) · ×1
  • node (cognitive 26) source/coreml.js:655 — node has cognitive complexity 26 (threshold 15).
D2 · Cognitive Complexity · getFloat8e4m3 (cognitive 26) · ×1
  • getFloat8e4m3 (cognitive 26) source/base.js:106 — getFloat8e4m3 has cognitive complexity 26 (threshold 15).
D2 · Cognitive Complexity · _updateMenu (cognitive 26) · ×1
  • _updateMenu (cognitive 26) source/app.js:358 — _updateMenu has cognitive complexity 26 (threshold 15).
D2 · Cognitive Complexity · _skipWhitespace (cognitive 25) · ×1
  • _skipWhitespace (cognitive 25) tools/tablegen.js:143 — _skipWhitespace has cognitive complexity 25 (threshold 15).
D2 · Cognitive Complexity · _entityReference (cognitive 25) · ×1
  • _entityReference (cognitive 25) source/xml.js:890 — _entityReference has cognitive complexity 25 (threshold 15).
D2 · Cognitive Complexity · match (cognitive 25) · ×1
  • match (cognitive 25) source/tnn.js:6 — match has cognitive complexity 25 (threshold 15).
D2 · Cognitive Complexity · read (cognitive 25) · ×1
  • read (cognitive 25) source/paddle.js:654 — read has cognitive complexity 25 (threshold 15).
D2 · Cognitive Complexity · _parseModel (cognitive 25) · ×1
  • _parseModel (cognitive 25) source/onnx.js:2109 — _parseModel has cognitive complexity 25 (threshold 15).
D2 · Cognitive Complexity · _instantiateMulticlass (cognitive 24) · ×1
  • _instantiateMulticlass (cognitive 24) tools/tablegen.js:1925 — _instantiateMulticlass has cognitive complexity 24 (threshold 15).
D2 · Cognitive Complexity · inflateRaw (cognitive 24) · ×1
  • inflateRaw (cognitive 24) source/zip.js:267 — inflateRaw has cognitive complexity 24 (threshold 15).
D2 · Cognitive Complexity · decodeJson (cognitive 24) · ×1
  • decodeJson (cognitive 24) source/tf-proto.js:1901 — decodeJson has cognitive complexity 24 (threshold 15).
D2 · Cognitive Complexity · _parseAttribute (cognitive 24) · ×1
  • _parseAttribute (cognitive 24) source/onnx.js:2251 — _parseAttribute has cognitive complexity 24 (threshold 15).
D2 · Cognitive Complexity · parentDummyChains (cognitive 24) · ×1
  • parentDummyChains (cognitive 24) source/dagre.js:786 — parentDummyChains has cognitive complexity 24 (threshold 15).
D2 · Cognitive Complexity · crossCount (cognitive 24) · ×1
  • crossCount (cognitive 24) source/dagre.js:1147 — crossCount has cognitive complexity 24 (threshold 15).
D2 · Cognitive Complexity · coordinateSystem_undo (cognitive 24) · ×1
  • coordinateSystem_undo (cognitive 24) source/dagre.js:1595 — coordinateSystem_undo has cognitive complexity 24 (threshold 15).
D2 · Cognitive Complexity · _stringify (cognitive 24) · ×1
  • _stringify (cognitive 24) source/base.js:1172 — _stringify has cognitive complexity 24 (threshold 15).
D2 · Cognitive Complexity · _resolveMulticlassForeach (cognitive 23) · ×1
  • _resolveMulticlassForeach (cognitive 23) tools/tablegen.js:1994 — _resolveMulticlassForeach has cognitive complexity 23 (threshold 15).
D2 · Cognitive Complexity · _resolveForeachLoop (cognitive 23) · ×1
  • _resolveForeachLoop (cognitive 23) tools/tablegen.js:2671 — _resolveForeachLoop has cognitive complexity 23 (threshold 15).
D2 · Cognitive Complexity · _buildDecodeFunction (cognitive 23) · ×1
  • _buildDecodeFunction (cognitive 23) tools/protoc.js:1269 — _buildDecodeFunction has cognitive complexity 23 (threshold 15).
D2 · Cognitive Complexity · checkValueIsAttr (cognitive 23) · ×1
  • checkValueIsAttr (cognitive 23) tools/mlir-script.js:553 — checkValueIsAttr has cognitive complexity 23 (threshold 15).
D2 · Cognitive Complexity · find (cognitive 23) · ×1
  • find (cognitive 23) tools/flatc.js:72 — find has cognitive complexity 23 (threshold 15).
D2 · Cognitive Complexity · _skipWhitespace (cognitive 23) · ×1
  • _skipWhitespace (cognitive 23) tools/flatc.js:721 — _skipWhitespace has cognitive complexity 23 (threshold 15).
D2 · Cognitive Complexity · _next (cognitive 23) · ×1
  • _next (cognitive 23) source/xml.js:1084 — _next has cognitive complexity 23 (threshold 15).
D2 · Cognitive Complexity · _openContext (cognitive 23) · ×1
  • _openContext (cognitive 23) source/view.js:7703 — _openContext has cognitive complexity 23 (threshold 15).
D2 · Cognitive Complexity · constructor (cognitive 23) · ×1
  • constructor (cognitive 23) source/rknn.js:56 — constructor has cognitive complexity 23 (threshold 15).
D2 · Cognitive Complexity · (anonymous) (cognitive 23) · ×1
  • (anonymous) (cognitive 23) source/paddle.js:467 — (anonymous) has cognitive complexity 23 (threshold 15).
D2 · Cognitive Complexity · open (cognitive 23) · ×1
  • open (cognitive 23) source/nnabla.js:17 — open has cognitive complexity 23 (threshold 15).
D2 · Cognitive Complexity · match (cognitive 23) · ×1
  • match (cognitive 23) source/megengine.js:10 — match has cognitive complexity 23 (threshold 15).
D2 · Cognitive Complexity · read (cognitive 23) · ×1
  • read (cognitive 23) source/gguf.js:619 — read has cognitive complexity 23 (threshold 15).
D2 · Cognitive Complexity · sortSubgraph (cognitive 23) · ×1
  • sortSubgraph (cognitive 23) source/dagre.js:896 — sortSubgraph has cognitive complexity 23 (threshold 15).
D2 · Cognitive Complexity · getFloat8e5m2 (cognitive 23) · ×1
  • getFloat8e5m2 (cognitive 23) source/base.js:162 — getFloat8e5m2 has cognitive complexity 23 (threshold 15).
D2 · Cognitive Complexity · test (cognitive 22) · ×1
  • test (cognitive 22) package.js:518 — test has cognitive complexity 22 (threshold 15).
D2 · Cognitive Complexity · _readCodeBlock (cognitive 22) · ×1
  • _readCodeBlock (cognitive 22) tools/tablegen.js:220 — _readCodeBlock has cognitive complexity 22 (threshold 15).
D2 · Cognitive Complexity · _update (cognitive 22) · ×1
  • _update (cognitive 22) source/view.js:5071 — _update has cognitive complexity 22 (threshold 15).
D2 · Cognitive Complexity · filter (cognitive 22) · ×1
  • filter (cognitive 22) source/paddle.js:710 — filter has cognitive complexity 22 (threshold 15).
D2 · Cognitive Complexity · decodeJson (cognitive 22) · ×1
  • decodeJson (cognitive 22) source/onnx-proto.js:169 — decodeJson has cognitive complexity 22 (threshold 15).
D2 · Cognitive Complexity · createModel (cognitive 22) · ×1
  • createModel (cognitive 22) source/mxnet.js:158 — createModel has cognitive complexity 22 (threshold 15).
D2 · Cognitive Complexity · _decodeGroups (cognitive 22) · ×1
  • _decodeGroups (cognitive 22) source/hdf5.js:155 — _decodeGroups has cognitive complexity 22 (threshold 15).
D2 · Cognitive Complexity · _decodeValues (cognitive 22) · ×1
  • _decodeValues (cognitive 22) source/base.js:1130 — _decodeValues has cognitive complexity 22 (threshold 15).
D2 · Cognitive Complexity · categories (cognitive 21) · ×1
  • categories (cognitive 21) tools/tosa-script.js:14 — categories has cognitive complexity 21 (threshold 15).
D2 · Cognitive Complexity · _parseDefTemplate (cognitive 21) · ×1
  • _parseDefTemplate (cognitive 21) tools/tablegen.js:2562 — _parseDefTemplate has cognitive complexity 21 (threshold 15).
D2 · Cognitive Complexity · _substituteValue (cognitive 21) · ×1
  • _substituteValue (cognitive 21) tools/tablegen.js:2923 — _substituteValue has cognitive complexity 21 (threshold 15).
D2 · Cognitive Complexity · flatbuffers (cognitive 21) · ×1
  • flatbuffers (cognitive 21) source/view.js:7600 — flatbuffers has cognitive complexity 21 (threshold 15).
D2 · Cognitive Complexity · match (cognitive 21) · ×1
  • match (cognitive 21) source/uff.js:6 — match has cognitive complexity 21 (threshold 15).
D2 · Cognitive Complexity · read (cognitive 21) · ×1
  • read (cognitive 21) source/rknn.js:498 — read has cognitive complexity 21 (threshold 15).
D2 · Cognitive Complexity · signature (cognitive 21) · ×1
  • signature (cognitive 21) source/rknn.js:557 — signature has cognitive complexity 21 (threshold 15).
D2 · Cognitive Complexity · skip (cognitive 21) · ×1
  • skip (cognitive 21) source/protobuf.js:1073 — skip has cognitive complexity 21 (threshold 15).
D2 · Cognitive Complexity · createAttribute (cognitive 21) · ×1
  • createAttribute (cognitive 21) source/onnx.js:814 — createAttribute has cognitive complexity 21 (threshold 15).
D2 · Cognitive Complexity · open (cognitive 21) · ×1
  • open (cognitive 21) source/litertlm.js:21 — open has cognitive complexity 21 (threshold 15).
D2 · Cognitive Complexity · constructor (cognitive 21) · ×1
  • constructor (cognitive 21) source/lasagne.js:32 — constructor has cognitive complexity 21 (threshold 15).
D2 · Cognitive Complexity · map (cognitive 21) · ×1
  • map (cognitive 21) source/executorch.js:72 — map has cognitive complexity 21 (threshold 15).
D2 · Cognitive Complexity · _model4 (cognitive 21) · ×1
  • _model4 (cognitive 21) source/dlc.js:426 — _model4 has cognitive complexity 21 (threshold 15).
D2 · Cognitive Complexity · _signature (cognitive 21) · ×1
  • _signature (cognitive 21) source/dlc.js:641 — _signature has cognitive complexity 21 (threshold 15).
D2 · Cognitive Complexity · sweepLayerGraphs (cognitive 21) · ×1
  • sweepLayerGraphs (cognitive 21) source/dagre.js:1096 — sweepLayerGraphs has cognitive complexity 21 (threshold 15).
D2 · Cognitive Complexity · BatchNormalization (cognitive 21) · ×1
  • BatchNormalization (cognitive 21) source/cntk.js:746 — BatchNormalization has cognitive complexity 21 (threshold 15).
D2 · Cognitive Complexity · _parseDefm (cognitive 20) · ×1
  • _parseDefm (cognitive 20) tools/tablegen.js:1885 — _parseDefm has cognitive complexity 20 (threshold 15).
D2 · Cognitive Complexity · _instantiateDef (cognitive 20) · ×1
  • _instantiateDef (cognitive 20) tools/tablegen.js:2844 — _instantiateDef has cognitive complexity 20 (threshold 15).
D2 · Cognitive Complexity · _buildType (cognitive 20) · ×1
  • _buildType (cognitive 20) tools/protoc.js:1184 — _buildType has cognitive complexity 20 (threshold 15).
D2 · Cognitive Complexity · tensor (cognitive 20) · ×1
  • tensor (cognitive 20) source/view.js:5643 — tensor has cognitive complexity 20 (threshold 15).
D2 · Cognitive Complexity · decodeJson (cognitive 20) · ×1
  • decodeJson (cognitive 20) source/tf-proto.js:8789 — decodeJson has cognitive complexity 20 (threshold 15).
D2 · Cognitive Complexity · match (cognitive 20) · ×1
  • match (cognitive 20) source/paddle.js:11 — match has cognitive complexity 20 (threshold 15).
D2 · Cognitive Complexity · _openShards (cognitive 20) · ×1
  • _openShards (cognitive 20) source/keras.js:1400 — _openShards has cognitive complexity 20 (threshold 15).
D2 · Cognitive Complexity · verticalAlignment (cognitive 20) · ×1
  • verticalAlignment (cognitive 20) source/dagre.js:1707 — verticalAlignment has cognitive complexity 20 (threshold 15).
D2 · Cognitive Complexity · _parseDefmTemplate (cognitive 19) · ×1
  • _parseDefmTemplate (cognitive 19) tools/tablegen.js:2217 — _parseDefmTemplate has cognitive complexity 19 (threshold 15).
D2 · Cognitive Complexity · _buildDecodeTextFunction (cognitive 19) · ×1
  • _buildDecodeTextFunction (cognitive 19) tools/protoc.js:1347 — _buildDecodeTextFunction has cognitive complexity 19 (threshold 15).
D2 · Cognitive Complexity · _attributeDefinition (cognitive 19) · ×1
  • _attributeDefinition (cognitive 19) source/xml.js:666 — _attributeDefinition has cognitive complexity 19 (threshold 15).
D2 · Cognitive Complexity · updateTunnels (cognitive 19) · ×1
  • updateTunnels (cognitive 19) source/view.js:2162 — updateTunnels has cognitive complexity 19 (threshold 15).
D2 · Cognitive Complexity · _string (cognitive 19) · ×1
  • _string (cognitive 19) source/json.js:320 — _string has cognitive complexity 19 (threshold 15).
D2 · Cognitive Complexity · match (cognitive 19) · ×1
  • match (cognitive 19) source/darknet.js:6 — match has cognitive complexity 19 (threshold 15).
D2 · Cognitive Complexity · dfs (cognitive 19) · ×1
  • dfs (cognitive 19) source/dagre.js:330 — dfs has cognitive complexity 19 (threshold 15).
D2 · Cognitive Complexity · _parseCommandLine (cognitive 19) · ×1
  • _parseCommandLine (cognitive 19) source/app.js:148 — _parseCommandLine has cognitive complexity 19 (threshold 15).
D2 · Cognitive Complexity · _openPath (cognitive 19) · ×1
  • _openPath (cognitive 19) source/app.js:208 — _openPath has cognitive complexity 19 (threshold 15).
D2 · Cognitive Complexity · _open (cognitive 19) · ×1
  • _open (cognitive 19) source/desktop.mjs:470 — _open has cognitive complexity 19 (threshold 15).
D2 · Cognitive Complexity · _name (cognitive 18) · ×1
  • _name (cognitive 18) source/xml.js:521 — _name has cognitive complexity 18 (threshold 15).
D2 · Cognitive Complexity · _list (cognitive 18) · ×1
  • _list (cognitive 18) source/view.js:6525 — _list has cognitive complexity 18 (threshold 15).
D2 · Cognitive Complexity · read (cognitive 18) · ×1
  • read (cognitive 18) source/view.js:7020 — read has cognitive complexity 18 (threshold 15).
D2 · Cognitive Complexity · signature (cognitive 18) · ×1
  • signature (cognitive 18) source/protobuf.js:24 — signature has cognitive complexity 18 (threshold 15).
D2 · Cognitive Complexity · map (cognitive 18) · ×1
  • map (cognitive 18) source/openvino.js:247 — map has cognitive complexity 18 (threshold 15).
D2 · Cognitive Complexity · registerSection (cognitive 18) · ×1
  • registerSection (cognitive 18) source/gguf.js:890 — registerSection has cognitive complexity 18 (threshold 15).
D2 · Cognitive Complexity · layout (cognitive 18) · ×1
  • layout (cognitive 18) source/dagre.js:8 — layout has cognitive complexity 18 (threshold 15).
D2 · Cognitive Complexity · update (cognitive 17) · ×1
  • update (cognitive 17) package.js:562 — update has cognitive complexity 17 (threshold 15).
D2 · Cognitive Complexity · _readNumber (cognitive 17) · ×1
  • _readNumber (cognitive 17) tools/tablegen.js:271 — _readNumber has cognitive complexity 17 (threshold 15).
D2 · Cognitive Complexity · _evaluateCondition (cognitive 17) · ×1
  • _evaluateCondition (cognitive 17) tools/tablegen.js:2714 — _evaluateCondition has cognitive complexity 17 (threshold 15).
D2 · Cognitive Complexity · find (cognitive 17) · ×1
  • find (cognitive 17) tools/protoc.js:81 — find has cognitive complexity 17 (threshold 15).
D2 · Cognitive Complexity · render (cognitive 17) · ×1
  • render (cognitive 17) source/view.js:4602 — render has cognitive complexity 17 (threshold 15).
D2 · Cognitive Complexity · masked_crc32c (cognitive 17) · ×1
  • masked_crc32c (cognitive 17) source/tf.js:1600 — masked_crc32c has cognitive complexity 17 (threshold 15).
D2 · Cognitive Complexity · match (cognitive 17) · ×1
  • match (cognitive 17) source/sklearn.js:8 — match has cognitive complexity 17 (threshold 15).
D2 · Cognitive Complexity · unpack (cognitive 17) · ×1
  • unpack (cognitive 17) source/pytorch.js:2057 — unpack has cognitive complexity 17 (threshold 15).
D2 · Cognitive Complexity · block (cognitive 17) · ×1
  • block (cognitive 17) source/paddle.js:976 — block has cognitive complexity 17 (threshold 15).
D2 · Cognitive Complexity · type (cognitive 17) · ×1
  • type (cognitive 17) source/onnx.js:1359 — type has cognitive complexity 17 (threshold 15).
D2 · Cognitive Complexity · list (cognitive 17) · ×1
  • list (cognitive 17) source/numpy.js:219 — list has cognitive complexity 17 (threshold 15).
D2 · Cognitive Complexity · _openModelJson (cognitive 17) · ×1
  • _openModelJson (cognitive 17) source/keras.js:1464 — _openModelJson has cognitive complexity 17 (threshold 15).
D2 · Cognitive Complexity · deserialize (cognitive 17) · ×1
  • deserialize (cognitive 17) source/hickle.js:32 — deserialize has cognitive complexity 17 (threshold 15).
D2 · Cognitive Complexity · longestPath (cognitive 17) · ×1
  • longestPath (cognitive 17) source/dagre.js:254 — longestPath has cognitive complexity 17 (threshold 15).
D2 · Cognitive Complexity · _decodeSparse (cognitive 17) · ×1
  • _decodeSparse (cognitive 17) source/base.js:907 — _decodeSparse has cognitive complexity 17 (threshold 15).
D2 · Cognitive Complexity · _instantiateClassTemplate (cognitive 16) · ×1
  • _instantiateClassTemplate (cognitive 16) tools/tablegen.js:2420 — _instantiateClassTemplate has cognitive complexity 16 (threshold 15).
D2 · Cognitive Complexity · _parseIfAsLoop (cognitive 16) · ×1
  • _parseIfAsLoop (cognitive 16) tools/tablegen.js:2518 — _parseIfAsLoop has cognitive complexity 16 (threshold 15).
D2 · Cognitive Complexity · _parseRecordBodyFields (cognitive 16) · ×1
  • _parseRecordBodyFields (cognitive 16) tools/tablegen.js:2630 — _parseRecordBodyFields has cognitive complexity 16 (threshold 15).
D2 · Cognitive Complexity · resolve (cognitive 16) · ×1
  • resolve (cognitive 16) tools/flatc.js:50 — resolve has cognitive complexity 16 (threshold 15).
D2 · Cognitive Complexity · (anonymous) (cognitive 16) · ×1
  • (anonymous) (cognitive 16) source/view.js:69 — (anonymous) has cognitive complexity 16 (threshold 15).
D2 · Cognitive Complexity · _keydown (cognitive 16) · ×1
  • _keydown (cognitive 16) source/view.js:1274 — _keydown has cognitive complexity 16 (threshold 15).
D2 · Cognitive Complexity · find (cognitive 16) · ×1
  • find (cognitive 16) source/view.js:1949 — find has cognitive complexity 16 (threshold 15).
D2 · Cognitive Complexity · isObject (cognitive 16) · ×1
  • isObject (cognitive 16) source/view.js:2908 — isObject has cognitive complexity 16 (threshold 15).
D2 · Cognitive Complexity · filter (cognitive 16) · ×1
  • filter (cognitive 16) source/view.js:7758 — filter has cognitive complexity 16 (threshold 15).
D2 · Cognitive Complexity · decodeJson (cognitive 16) · ×1
  • decodeJson (cognitive 16) source/tf-proto.js:10377 — decodeJson has cognitive complexity 16 (threshold 15).
D2 · Cognitive Complexity · get (cognitive 16) · ×1
  • get (cognitive 16) source/keras.js:1294 — get has cognitive complexity 16 (threshold 15).
D2 · Cognitive Complexity · backref (cognitive 16) · ×1
  • backref (cognitive 16) source/flux.js:27 — backref has cognitive complexity 16 (threshold 15).
D2 · Cognitive Complexity · walkProgram (cognitive 16) · ×1
  • walkProgram (cognitive 16) source/coreml.js:98 — walkProgram has cognitive complexity 16 (threshold 15).
D2 · Cognitive Complexity · _updateLabel (cognitive 16) · ×1
  • _updateLabel (cognitive 16) source/app.js:1070 — _updateLabel has cognitive complexity 16 (threshold 15).
D29 · Static Analysis (SAST) · Medium · ×1
  • Medium: mako-templates-detected tools/nnabla_script.py:97 — Mako templates do not provide a global HTML escaping mechanism. This means you must escape all sensitive data in your templates using '| u' for URL escaping or '| h' for HTML escaping. If you are using Mako to serve web content, consider using a system such as Jinja2 which enables global escaping.
D36 · Supply-chain Provenance & Signing · Unpinned build actions · ×1
  • Unpinned build actions — CI references GitHub Actions by a floating ref (@main / @tag) rather than a pinned commit SHA, weakening build integrity.
D4 · Code Duplication · Duplicated block (12 lines × 2) · ×1
  • Duplicated block (12 lines × 2) source/pytorch.py:18 — source/pytorch.py:18-29 | source/pytorch.py:30-41
D8 · Code Coverage · Coverage not measured · ×1
  • Coverage not measured — test suite did not build — Coverage NOT MEASURED: the repo's own test suite did not build (a C#/MSBuild compiler error in the test code), so no coverage could be collected. It is excluded from the score rather than counted as a near-zero defect. Fix the test build, or commit the Cobertura/OpenCover/lcov report your CI already produces, and real coverage will be measured.
Recommendation — 7 finding(s)
D38 · OSV Dependency Vulnerabilities · Low CVE · ×2
  • Low CVE: [GHSA redacted] package-lock.json — undici 6.26.0: [GHSA redacted] — upgrade to 6.27.0
  • Low CVE: [GHSA redacted] package-lock.json — undici 6.26.0: [GHSA redacted] — upgrade to 6.27.0
D11 · Test Reliability · Test reliability not included · ×1
  • Test reliability not included — No test projects found, so reliability couldn't be assessed.
D36 · Supply-chain Provenance & Signing · No build provenance · ×1
  • No build provenance — No SLSA provenance generation or build attestation found in CI (e.g. slsa-github-generator, actions/attest-build-provenance).
D36 · Supply-chain Provenance & Signing · No artifact signing · ×1
  • No artifact signing — No artifact signing found in CI (e.g. cosign / sigstore / gitsign).
D36 · Supply-chain Provenance & Signing · No SBOM · ×1
  • No SBOM — No SBOM generation or committed SBOM found (e.g. syft / anchore/sbom-action / *.spdx.json / *.cdx.json).
D9 · Test Distribution · No tests found · ×1
  • No tests found — No test projects found in the repository.
Info — 1 finding(s)
D22 · Internal API Consistency · No exposed public API · ×1
  • No exposed public API — No intentionally-exposed types (IsPackable or .Contracts) to evaluate.

Appendix B — Reproduction & audit trail

Every external tool invocation behind a deep-scan dimension — the tool, its captured version, the exact command, how many findings it yielded, and a link to the retained raw output. To reproduce any finding: check out the same commit and run the command shown (repo-relative — never an absolute scratch path). The complete raw scanner output is retained verbatim under artifacts/raw/ (indexed in artifacts/raw/index.json); per-invocation exit codes and wall-clock durations are in sidecar.json — kept out of this table so the rendered report stays byte-identical across runs of the same commit.

DimensionToolVersionCommandFindingsRaw output
D28 · Secrets (history)gitleaksgitleaks detect --no-banner --report-format json --report-path /dev/stdout --exit-code 0 --source .0artifacts/raw/gitleaks-history.json
D29 · Static Analysis (SAST)semgrepsemgrep --config /opt/semgrep-rules/security-audit.yml --config /opt/semgrep-rules/owasp-top-ten.yml --json --quiet --timeout 0 --metrics off .14artifacts/raw/semgrep.json
D30 · Dependency Vulnerabilitiesdotnet (no .NET solution)dotnet (no .NET solution): not present in this environment0
D31 · IaC & Container Securitytrivytrivy: not applicable — No Infrastructure-as-Code or container manifests found (Dockerfile, Terraform, Kubernetes/Helm, CloudFormation); nothing to scan.0
D32 · Data Compliance (PII/GDPR)semgrepsemgrep: not applicable — No PII/GDPR ruleset is bundled (the public p/gdpr semgrep pack was retired) — data compliance is not assessed in this scan.0
D33 · JS/npm Dependency Vulnerabilitiestrivytrivy fs --scanners vuln --format json --quiet --severity CRITICAL,HIGH,MEDIUM,LOW --skip-dirs **/bin/** --skip-dirs **/obj/** . --skip-db-update0
D37 · Vulnerability-disclosure Policydisclosuredisclosure: not applicable — No vulnerability-disclosure policy file found (SECURITY.md, .github/SECURITY.md, docs/SECURITY.md, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed.0
D38 · OSV Dependency Vulnerabilitiesosv-scannerosv-scanner --format json --recursive .28artifacts/raw/osv-scanner.json

Run 019fd8bc-e9f3-75c4-943b-8d88ef52dcca · every finding is also locatable in findings.md, and the complete scoring record (with exit codes + durations) in sidecar.json.

Downloadable artifacts

Machine-readable and reproducible from this commit + frozen rubric — drop them straight into a contract appendix, a CRA dossier, or a downstream SCA / VEX tool.

⬇ Findings, MITRE CWE-tagged .sarif⬇ Health changelog .md