Public report — appsmith, published 8 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 08-08-2026 @ 00:03 UTC Public
Code Health Audit

Appsmithorg/appsmith

34% At Risk

Hobby · weakest lens: Readiness (25%)

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

42/44dimensions tool-verifieddeterministic · confidence 1.0 · 2 LLM-assisted, advisory
418findings with an exact file:lineof 431 — the remainder are repo-wide signals (a dimension-level measurement, not a single line); open any file:line and verify
44/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.

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

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 Readiness (25%) — 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. Architecture (32%) is the next concern — the code resists change, so features cost more over time.

Leadership focus, highest impact first: 1 No tests found finding(s) in Test Distribution (Test Distribution); ILogger (or Serilog) and log at meaningful points across… (Observability); unused dependencies, declare unlisted imports explicitly,… (Dependency Hygiene).

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

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.
Readiness 25% · 47% weightArchitecture 32% · 26% weightSecurity 36% · 14% weightCode Health 66% · 8% weightMaturity 70% · 4% weight

Raise Readiness 25 → 70 (the Healthy floor) ⇒ headline 34 → ~43.

Code composition — where the lines go
Tests 100%

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.
+10.4 pts · Low effort · Test Distribution
2
Resolve the 1 Leaked secret finding(s) in Secret Scanning — start with forge.json.
+9.3 pts · Low effort · Secret Scanning
3
Adopt ILogger (or Serilog) and log at meaningful points across the projects.
+10.4 pts · Medium effort · Observability

Diagnosis — what's actually going on

Highest-leverage move · Medium · Leverage
Of everything flagged, the best return on effort is: Resolve the 1 No tests found finding(s) in Test Distribution. The rest can wait behind it.
Evidence: priority ranking: top of 5 ranked by impact/effort
→ Resolve the 1 No tests found finding(s) in Test Distribution.

At a glance — Code Health · 66% · Adequate · gated by D3, D4

At a glance — Architecture · 32% · Weak · gated by R11, R9

At a glance — Maturity · 70% · Strong

At a glance — Readiness · 25% · Critical · gated by D9, R8, P2, P3

At a glance — Security · 36% · Weak · gated by D28, 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
A03:2021 — Injection50High / Critical
A06:2021 — Vulnerable & Outdated Components40High / Critical
A05:2021 — Security Misconfiguration14High / Critical
A02:2021 — Cryptographic Failures11High / Critical

Roadmap

Begin by addressing the single missing test in the Test Distribution to ensure coverage gaps are closed. Next, implement structured logging using ILogger or Serilog across all projects to improve observability and enable OpenTelemetry and health checks. Simultaneously, clean up the dependency tree by removing unused packages, explicitly declaring imports, and moving type- and test-only packages to devDependencies. Finally, integrate a SAST tool like CodeQL to enhance security posture and immediately resolve the leaked secret in forge.json.

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.+10.4 ptsLowTest Distribution
Resolve the 1 Leaked secret finding(s) in Secret Scanning — start with forge.json.+9.3 ptsLowSecret Scanning
Adopt ILogger (or Serilog) and log at meaningful points across the projects.+10.4 ptsMediumObservability
Remove unused dependencies, declare unlisted imports explicitly, and demote type-/test-only packages to devDependencies.+10.4 ptsMediumDependency Hygiene
Add a SAST step (e.g. CodeQL) or a security analyzer package.+10.2 ptsMediumSecurity & performance tooling
Stamp a version (csproj <Version>, a VERSION file, or GitVersion) or tag releases with semver so builds and releases are traceable.+9.3 ptsMediumRelease Hygiene
Fix the listed violations: import through public entries (package exports / slice index), never reach into another layer or package's internals.+6.9 ptsMediumImport Boundaries
Break each cycle by extracting the shared piece into a module both sides can import.+6.9 ptsMediumCircular Imports

File quality

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

FileScoreBandWorst signal
app/client/yarn.lock0.0SlopOSV Dependency Vulnerabilities: High CVE: [GHSA redacted]
app/client/src/constants/defs/forge.json3.0SlopSecret Scanning: Leaked secret: hardcoded-credential
.github/workflows/ad-hoc-docker-image.yml4.4MixedStatic Analysis (SAST): High: secrets-inherit
.github/workflows/build-client-server-count.yml4.4MixedStatic Analysis (SAST): High: github-actions-mutable-action-tag
deploy/heroku/Dockerfile4.4MixedIaC & Container Security: High IaC: DS-0002
.github/workflows/build-client-server.yml4.5MixedStatic Analysis (SAST): High: github-actions-mutable-action-tag
Dockerfile4.6MixedIaC & Container Security: Critical IaC: DS-0031
.github/workflows/build-chromatic.yml4.8MixedStatic Analysis (SAST): High: github-actions-mutable-action-tag
.github/dependabot.yml5.1MixedStatic Analysis (SAST): High: dependabot-missing-cooldown
deploy/docker/base.dockerfile5.1MixedIaC & Container Security: Critical IaC: DS-0031
app/client/cypress/support/Objects/DataManager.ts5.8MixedSecrets (history): Secret: airtable-api-key
.github/actions/setup-server-java/action.yml5.8MixedStatic Analysis (SAST): High: run-shell-injection
deploy/docker/route-tests/Dockerfile6.5MixedIaC & Container Security: High IaC: DS-0002
app/client/public/libraries/jsonwebtoken@8.5.1.js7.0MixedCyclomatic Complexity: (anonymous) (cyclomatic 46)
app/client/public/libraries/fast-csv@4.3.6.js7.0MixedCyclomatic Complexity: (anonymous) (cyclomatic 42)
app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/MigrationHelperMethods.java7.0MixedCode Duplication: Duplicated block (264 lines × 2)
app/client/src/widgets/TableWidgetV2/widget/derived.js7.0MixedCyclomatic Complexity: (anonymous) (cyclomatic 25)
app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/AIConfigServiceCEImpl.java7.0MixedCode Duplication: Duplicated block (429 lines × 2)
app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/DatabaseChangelog1.java7.0MixedCode Duplication: Duplicated block (387 lines × 4)
app/client/src/widgets/wds/WDSTableWidget/widget/derived.js7.0MixedCyclomatic Complexity: (anonymous) (cyclomatic 21)

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. 42 of 44 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.7 — 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 — 44 dimensions across the health lenses
D1D2D3D4D5D7D9D12D13D20D21D26D27D28D29D31D33D36D37D38AX5M1M2M3M4P1P2P3P4P5P6R1R10R11R2R3R4R6R7R8R9X1X3X4

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, 418 of 431 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 019fdeae-3467-70c7-baee-0789b4e5e7b8.

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.
  • D19 Documentation Quality — LLM provider failed — The model provider returned an unusable result, so this LLM-assisted dimension fell back to a measurement gap (confidence 0) rather than a penalty. Re-run with a reachable provider to score it.
  • 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.
  • 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.

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.
  • D7 Architectural Integrity: Layering is checked against detected/declared rules — an architecture whose boundaries live in convention or in code review, not in a rule a scanner can read, is not enforced here.
  • 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").
  • D20 ADR Quality: ADR quality is an LLM read of the decision records present — it cannot know about decisions made and never recorded, and its verdict is sampled and advisory.
  • 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").
  • D31 IaC & Container Security: IaC scanning checks Dockerfiles/Terraform/Kubernetes against best-practice rules — it cannot see the live cloud account, runtime configuration, or drift between the committed config and what is actually deployed.
  • 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.
  • 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.
  • P4 Deployment & Rollback: Approval/branch-protection rules live in repository settings the scan cannot see — only their in-repo evidence (config files, workflows) is checked, so a control enforced purely in the host's settings reads as "not evidenced".
  • P5 DR & Backup: Backup/restore and disaster-recovery readiness is judged from in-repo evidence — a config that exists is not a tested restore, so the absence of positive evidence is reported as "not evidenced", never scored as present.
  • P6 Release Hygiene: Rollback/observability controls are inferred from repo artefacts (pipelines, dashboards-as-code) — controls configured in external tooling, with no in-repo trace, cannot be credited.

The LLM boundary

LLM-set scores this run (3): D20, 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 Complexity6.5 / 10Adequate✓ 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 6.5 / 10 · rule-coverage 100% · ceiling Prevented

116 method(s) exceeded the cyclomatic complexity threshold of 15; the worst was MigrationHelperMethods.mapGoogleSheetsToNewFormData at 63.

(anonymous) (cyclomatic 22) · ×4app/client/public/libraries/fast-csv@4.3.6.js:2122
(anonymous) (cyclomatic 21) · ×3app/client/public/libraries/fast-csv@4.3.6.js:2137
(anonymous) (cyclomatic 17) · ×3app/client/public/libraries/fast-csv@4.3.6.js:3649
isValid (cyclomatic 36) · ×2app/client/src/widgets/InputWidgetV2/widget/derived.js:3
write (cyclomatic 27) · ×2app/client/public/libraries/fast-csv@4.3.6.js:4420

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

What to do

  1. Resolve the 4 (anonymous) (cyclomatic 22) finding(s) in Cyclomatic Complexity — start with fast-csv@4.3.6.js (2), derived.js, jsonwebtoken@8.5.1.js. — One of this dimension's main actionable groups (4 warning-level).
  2. Resolve the 3 (anonymous) (cyclomatic 21) finding(s) in Cyclomatic Complexity — start with fast-csv@4.3.6.js (2), derived.js. — One of this dimension's main actionable groups (3 warning-level).
  3. Resolve the 3 (anonymous) (cyclomatic 17) finding(s) in Cyclomatic Complexity — start with derived.js, fast-csv@4.3.6.js, jsonwebtoken@8.5.1.js. — One of this dimension's main actionable groups (3 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 Complexity5.5 / 10Adequate✓ 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 5.5 / 10 · rule-coverage 100% · ceiling Prevented

189 method(s) exceeded the cognitive complexity threshold of 15; the worst was EncryptionHandler.findCandidateFieldsForType at 162.

isValid (cognitive 39) · ×2app/client/src/widgets/InputWidgetV2/widget/derived.js:3
(anonymous) (cognitive 31) · ×2app/client/public/libraries/fast-csv@4.3.6.js:1762
(anonymous) (cognitive 30) · ×2app/client/public/libraries/fast-csv@4.3.6.js:2191
fill (cognitive 29) · ×2app/client/public/libraries/fast-csv@4.3.6.js:4860
(anonymous) (cognitive 28) · ×2app/client/public/libraries/fast-csv@4.3.6.js:2862

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

What to do

  1. Resolve the 2 isValid (cognitive 39) finding(s) in Cognitive Complexity — start with derived.js (2). — One of this dimension's main actionable groups (2 warning-level).
  2. Resolve the 2 (anonymous) (cognitive 31) finding(s) in Cognitive Complexity — start with derived.js, fast-csv@4.3.6.js. — One of this dimension's main actionable groups (2 warning-level).
  3. Resolve the 2 (anonymous) (cognitive 30) finding(s) in Cognitive Complexity — start with fast-csv@4.3.6.js (2). — One of this dimension's main actionable groups (2 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

5 god class(es) detected.

FileTooLong: support/widgetCommands.js · ×5app/client/cypress/support/widgetCommands.js:0

What to do

  1. Resolve the 5 FileTooLong finding(s) in God Classes — start with derived.test.js, fast-csv@4.3.6.js, jsonwebtoken@8.5.1.js. — One of this dimension's main actionable groups (5 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 Duplication0.0 / 10Critical✓ 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 0.0 / 10 · rule-coverage 100% · ceiling Verified

143 duplicated block group(s) detected.

Duplicated block (6 lines × 2) · ×30app/server/appsmith-git/src/main/java/com/appsmith/git/helpers/DSLTransformerHelper.java:116
Duplicated block (5 lines × 2) · ×19app/server/appsmith-interfaces/src/main/java/com/appsmith/external/annotations/encryption/EncryptionHandler.java:90
Duplicated block (7 lines × 2) · ×10app/server/appsmith-interfaces/src/main/java/com/appsmith/util/RestrictedHostFilter.java:411
Duplicated block (6 lines × 3) · ×4app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/AIConfigServiceCEImpl.java:1189
Duplicated block (24 lines × 2) · ×3app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/ce/UserUtilsCE.java:108

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

What to do

  1. Resolve the 30 Duplicated block (6 lines × 2) finding(s) in Code Duplication — start with ApplicationServiceCEImpl.java (2), MigrationHelperMethods.java (2), MssqlDatasourceUtils.java (2). — One of this dimension's main actionable groups (30 warning-level).
  2. Resolve the 19 Duplicated block (5 lines × 2) finding(s) in Code Duplication — start with AIConfigServiceCEImpl.java (2), StaticUrlServiceImpl.java (2), AIAssistantServiceCEImpl.java. — One of this dimension's main actionable groups (19 warning-level).
  3. Resolve the 10 Duplicated block (7 lines × 2) finding(s) in Code Duplication — start with MigrationHelperMethods.java (2), AppsmithComparatorsCE.java, DatasourceStorageServiceCEImpl.java. — One of this dimension's main actionable groups (10 warning-level).
  4. Enforce Code Duplication in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Verified — provenance only; does not change the score.

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.

D7 · Architectural Integrity6.0 / 10Adequate✓ Tool-verified

What it measures: Whether the code respects its intended layering / architecture rules.

Method: Enforcement rung (Prevented/Verified/Documented) per checkable ADR via Roslyn, plus dependency cycles via the engine shared with D5/AX3. Deterministic, exact.

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

Of 0 mechanizable ADRs, 0 are prevented by analyzers, 0 by tests, 0 exist only in prose. Coverage: 100 %. Cycles found: 0.

What to do

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

Detailed fixes: d7_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 Scanning5.0 / 10Adequate✓ Tool-verified

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 5.0 / 10 · rule-coverage 100% · ceiling Prevented

1 secret(s) detected.

Leaked secret: hardcoded-credentialapp/client/src/constants/defs/forge.json:9961

What to do

  1. Resolve the 1 Leaked secret finding(s) in Secret Scanning — start with forge.json. — One of this dimension's main actionable groups (1 issue-level).
  2. Enforce Secret Scanning in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.

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

D20 · ADR Quality / 10Exemplary◐ Sampled · advisory

What it measures: Whether architecture decisions are recorded well (context, decision, consequences).

Method: Per-ADR judgment by language model at low temperature with two-pass stability; confidence is share of ADRs evaluated; enforcement-field presence detected deterministically. Advisory.

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

Evaluated 1 ADR(s) individually; mean quality 10.0/10 (consistently complete and clear). 0 flagged with a specific gap.

✓ On the Gold path — maintain.

Detailed fixes: d20_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)0.0 / 10Critical✓ Tool-verified

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 0.0 / 10 · rule-coverage 100% · ceiling Documented

10 finding(s): 0 critical, 10 high, 0 medium, 0 low.

Secret: airtable-api-key · ×10app/client/cypress/support/Objects/DataManager.ts:71detected by gitleaks finding

What to do

  1. Resolve the 10 Secret finding(s) in Secrets (history) — start with DataManager.ts (2), forge.json (2), CRUD-DB-Table-Template-Application.json. — One of this dimension's main actionable groups (10 issue-level).

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

D29 · Static Analysis (SAST)0.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 0.0 / 10 · rule-coverage 100% · ceiling Documented

426 finding(s): 0 critical, 368 high, 51 medium, 7 low.

High: run-shell-injection · ×50.github/actions/setup-server-java/action.yml:21detected by semgrep finding

What to do

  1. Resolve the 50 High finding(s) in Static Analysis (SAST) — start with build-client-server-count.yml (24), ad-hoc-docker-image.yml (11), build-client-server.yml (6). — One of this dimension's main actionable groups (50 issue-level).

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

D31 · IaC & Container Security5.1 / 10Adequate✓ Tool-verified

What it measures: Whether Dockerfiles / Terraform / Kubernetes config follow security best practices.

Method: IaC/container misconfiguration scan via trivy config (Dockerfile/Terraform/K8s/Helm/CloudFormation); severity rules to 0-10 moderate normalizer. NotApplicable without manifests. Exhaustive, deterministic.

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

14 finding(s): 5 critical, 4 high, 1 medium, 4 low.

Critical IaC: DS-0031 · ×5Dockerfiledetected by trivy finding
High IaC: DS-0002 · ×4Dockerfiledetected by trivy finding
Medium IaC: DS-0001deploy/heroku/Dockerfiledetected by trivy finding
Low IaC: DS-0026 · ×4app/client/cypress/Dockerfiledetected by trivy finding

What to do

  1. Resolve the 5 Critical IaC finding(s) in IaC & Container Security — start with Dockerfile (4), base.dockerfile. — One of this dimension's main actionable groups (5 issue-level).
  2. Resolve the 4 High IaC finding(s) in IaC & Container Security — start with Dockerfile (3), base.dockerfile. — One of this dimension's main actionable groups (4 issue-level).
  3. Resolve the 1 Medium IaC finding(s) in IaC & Container Security — start with Dockerfile. — One of this dimension's main actionable groups (1 warning-level).

Detailed fixes: d31_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.

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.

D37 · Vulnerability-disclosure Policy10.0 / 10Exemplary✓ Tool-verified

What it measures: Whether the repository publishes a coordinated-vulnerability-disclosure policy (SECURITY.md or security.txt) with a reporting contact, so finders know how to report a vulnerability. Presence of a policy file with a contact, not whether the policy is adequate or honoured.

Method: Vulnerability-disclosure policy read deterministically from the repo: a SECURITY.md (root/.github/docs) or .well-known/security.txt / security.txt, regex-checked for a reporting contact (email / URL / mailto). Present + contact → 10; present without a contact → 4; NotApplicable when no policy file exists (it may live off-repo). Detects the policy file's presence + contact, not its adequacy.

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

A vulnerability-disclosure policy (SECURITY.md) is published with a reporting contact.

✓ On the Gold path — maintain.

Detailed fixes: d37_recommendation.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

40 finding(s): 0 critical, 15 high, 18 medium, 7 low.

High CVE: [GHSA redacted] · ×15app/client/yarn.lockdetected by osv-scanner finding
Medium CVE: [GHSA redacted] · ×18app/client/yarn.lockdetected by osv-scanner finding
Low CVE: [GHSA redacted] · ×7app/client/yarn.lockdetected by osv-scanner finding

What to do

  1. Resolve the 18 Medium CVE finding(s) in OSV Dependency Vulnerabilities — start with yarn.lock (18). — One of this dimension's main actionable groups (18 warning-level).
  2. Resolve the 15 High CVE finding(s) in OSV Dependency Vulnerabilities — start with yarn.lock (15). — One of this dimension's main actionable groups (15 issue-level).
  3. Resolve the 7 Low CVE finding(s) in OSV Dependency Vulnerabilities — start with yarn.lock (7). — One of this dimension's main actionable groups (7 recommendation-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 documentation7.0 / 10Strong✓ 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.

What to do

  • Grow the ADR log (currently 1) — reach 8 to raise the maturity tier; document significant decisions as they're made.
M3 · Folder & project structure6.0 / 10Adequate✓ 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.

  • Projects aren't grouped under a src/ folder — production and tooling code are mixed at the root.
  • Test projects aren't grouped under a tests/ folder — the test surface isn't separable from production code at a glance.

What to do

  • Group production code under src/ (or split deliberately, e.g. backend/ + frontend/) so production and tooling code aren't mixed at the root.
  • Group test projects under tests/ (or test/, spec/) so the test surface is discoverable and CI can scope it.
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 gates10.0 / 10Exemplary○ Nothing flagged

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.

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 tooling3.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.

  • No static application security testing (CodeQL / security analyzers / codehealth) detected.

What to do

  • Add a SAST step (e.g. CodeQL) or a security analyzer package.
  • Add gitleaks/trufflehog in CI to block PRs that introduce committed secrets.
P4 · Deployment & Rollback10.0 / 10Exemplary✓ Tool-verified

Readiness · Readiness — Whether releases are automated and safely reversible (probes, rolling updates, approval gates) — from manifests/pipeline files, not the live environment.

Method: Filesystem scan: deployment manifests/IaC (K8s YAML, Helm, Terraform) for rolling updates, probes, approval gates, migration hooks. Exhaustive, deterministic.

P5 · DR & Backup10.0 / 10Exemplary✓ Tool-verified

Readiness · Readiness — Whether disaster recovery is planned and codified — backups, geo-recovery, RTO/RPO, persistence guarantees — from IaC + container manifests + docs, never the live cloud.

Method: Filesystem scan: disaster recovery, backup, geo-recovery, RTO/RPO, persistence guarantees from IaC, manifests, and docs. Exhaustive, deterministic, never a live environment.

P6 · Release Hygiene5.0 / 10Adequate✓ Tool-verified

Readiness · Readiness — Whether releases are traceable — a maintained changelog and explicit version stamping.

Method: Filesystem scan: changelog file presence and version tags in csproj or git tags. Exhaustive, deterministic.

What to do

  • Stamp a version (csproj <Version>, a VERSION file, or GitVersion) or tag releases with semver so builds and releases are traceable.
R1 · Type Safety9.2 / 10Exemplary✓ 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.

What to do

  • Migrate the remaining .js/.jsx files to TypeScript.
R10 · Code Duplication9.2 / 10Exemplary✓ 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.

  • app/client/cypress/e2e/Regression/ClientSide/Widgets/Input/Inputv2_inside_List_spec.js:25 · app/client/cypress/e2e/Regression/ClientSide/Widgets/Input/Inputv2_inside_List_spec.js:62 · app/client/cypress/e2e/Regression/ClientSide/Widgets/Input/Inputv2_inside_List_spec.js:105 · app/client/cypress/e2e/Regression/ClientSide/Widgets/Input/Inputv2_inside_List_spec.js:145 — Inputv2_inside_List_spec.js:25
  • app/client/cypress/e2e/Regression/ClientSide/Widgets/Checkbox/CheckboxGroup1_spec.js:22 · app/client/cypress/e2e/Regression/ClientSide/Widgets/Dropdown/Dropdown_spec.js:56 · app/client/cypress/e2e/Regression/ClientSide/Widgets/Multiselect/MultiSelect1_spec.js:53 · app/client/cypress/e2e/Regression/ClientSide/Widgets/Multiselect/MultiTreeSelect_spec.js:18 — CheckboxGroup1_spec.js:22
  • app/client/cypress/e2e/Regression/ClientSide/Widgets/ListV2/ListV2_PageNo_PageSize_spec.js:68 · app/client/cypress/e2e/Regression/ClientSide/Widgets/Radio/RadioGroup_Int_Value_spec.js:131 · app/client/cypress/e2e/Regression/ClientSide/Widgets/Radio/RadioGroup_Int_Value_spec.js:230 — ListV2_PageNo_PageSize_spec.js:68
  • app/client/cypress/e2e/Regression/ClientSide/Widgets/Select/select_Widget_Bug_spec.js:67 · app/client/cypress/e2e/Regression/ClientSide/Widgets/Select/select_Widget_Bug_spec.js:95 — select_Widget_Bug_spec.js:67
  • app/client/cypress/e2e/Regression/ClientSide/Widgets/ListV2/ListV2_PageNo_PageSize_spec.js:7 · app/client/cypress/e2e/Regression/ClientSide/Widgets/Radio/RadioGroup_Int_Value_spec.js:116 · app/client/cypress/e2e/Regression/ClientSide/Widgets/Radio/RadioGroup_Int_Value_spec.js:224 — ListV2_PageNo_PageSize_spec.js:7
  • app/client/cypress/e2e/Regression/ClientSide/Widgets/Radio/RadioGroup_Int_Value_spec.js:132 · app/client/cypress/e2e/Regression/ClientSide/Widgets/Radio/RadioGroup_Int_Value_spec.js:231 — RadioGroup_Int_Value_spec.js:132
  • app/client/cypress/e2e/Regression/ClientSide/Widgets/TableV2/TableV2_Sorting_spec.js:4 · app/client/cypress/e2e/Regression/ClientSide/Widgets/TableV2/table_data_change_spec.ts:57 — TableV2_Sorting_spec.js:4
  • app/client/cypress/e2e/Regression/ClientSide/OtherUIFeatures/Replay_spec.js:33 · app/client/cypress/e2e/Regression/ClientSide/OtherUIFeatures/Replay_spec.js:128 — Replay_spec.js:33

What to do

  • Extract the duplicated blocks into shared functions/components.
R11 · Import Boundaries0.0 / 10Critical✓ Tool-verified

React / JS · Architecture — Conformance to the detected frontend architecture layout (feature-sliced / layered src) plus cross-package deep-import rules (D-386).

Method: Conformance to the detected frontend layout (feature-sliced / layered src) plus cross-package deep-import rules, over the module graph. Deterministic.

  • app/client/cypress/plugins/index.js:9 reaches into another package with a relative path (../scripts/cypress-hooks) — import the package by name instead. — index.js:9
  • app/client/cypress/plugins/index.js:10 reaches into another package with a relative path (../scripts/cypress-split-dynamic) — import the package by name instead. — index.js:10
  • app/client/cypress/plugins/index.js:11 reaches into another package with a relative path (../scripts/cypress-split-static) — import the package by name instead. — index.js:11
  • app/client/src/entities/Action/actionProperties.test.ts:2 imports app/client/src/entities/Plugin/index.ts against the feature-sliced rules. — actionProperties.test.ts:2
  • app/client/src/entities/Action/index.ts:7 imports app/client/src/entities/Plugin/index.ts against the feature-sliced rules. — index.ts:7
  • app/client/src/entities/AppTheming/utils.test.ts:3 imports app/client/src/widgets/ButtonWidget/index.ts against the feature-sliced rules. — utils.test.ts:3
  • app/client/src/entities/AppTheming/utils.test.ts:4 imports app/client/src/widgets/TableWidget/index.ts against the feature-sliced rules. — utils.test.ts:4
  • app/client/src/entities/AppTheming/utils.test.ts:5 imports app/client/src/widgets/JSONFormWidget/index.ts against the feature-sliced rules. — utils.test.ts:5

What to do

  • Fix the listed violations: import through public entries (package exports / slice index), never reach into another layer or package's internals.
R2 · Cyclomatic Complexity8.0 / 10Strong✓ 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) — index.ts:151, index.tsx:434, index.tsx:2009, …

What to do

  • Break down the listed branch-heavy functions; aim P95 cyclomatic ≤ 5.
R3 · Large Files8.0 / 10Strong✓ 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.

What to do

  • Split the oversized components into smaller, focused ones.
R4 · Test Coverage8.7 / 10Strong✓ 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) — jsonwebtoken@8.5.1.js, fast-csv@4.3.6.js, DefaultTheme.tsx, …

What to do

  • Add tests that import the unreached modules (directly or through their public entry).
R6 · Tooling10.0 / 10Exemplary✓ 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.

R7 · Dead Code5.7 / 10Adequate✓ 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 30 application, 56 tooling and 1672 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 (30 application, 56 tooling, 1672 test roots considered) (×7) — jsonwebtoken@8.5.1.js, fast-csv@4.3.6.js, DefaultTheme.tsx, …

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 Hygiene0.0 / 10Critical✓ 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.

  • Imported but not declared in any reachable package.json — installs work only by hoisting accident. (×3) — parsedDerivedProperties.ts:2, index.tsx:33, index.tsx:9
  • Declared in app/client/package.json but never imported anywhere in that package or its workspace members — dead weight and attack surface. Verify against build tooling before removing. (×3)
  • Every import is type-only — move it to devDependencies. — Radio.types.tsx:3
  • Only test files import it — move it to devDependencies. — util.ts:2

What to do

  • Remove unused dependencies, declare unlisted imports explicitly, and demote type-/test-only packages to devDependencies.
R9 · Circular Imports0.0 / 10Critical✓ 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.

  • app/client/cypress/support/Objects/FeatureFlags.ts → app/client/cypress/support/Objects/ObjectsCore.ts → app/client/cypress/support/Objects/Registry.ts → app/client/cypress/support/Pages/AdminSettings.ts → app/client/cypress/support/Pages/AggregateHelper.ts → app/client/cypress/support/Pages/Anvil/AnvilDnDHelper.ts → app/client/cypress/support/Pages/Anvil/AnvilLayout.ts → app/client/cypress/support/Pages/Anvil/AnvilSectionsZonesHelper.ts → app/client/cypress/support/Pages/Anvil/AnvilSnapshot.ts → app/client/cypress/support/Pages/ApiPage.ts → app/client/cypress/support/Pages/AppSettings/AppSettings.ts → app/client/cypress/support/Pages/AppSettings/EmbedSettings.ts → app/client/cypress/support/Pages/AppSettings/GeneralSettings.ts → app/client/cypress/support/Pages/AppSettings/PageSettings.ts → app/client/cypress/support/Pages/AppSettings/ThemeSettings.ts → app/client/cypress/support/Pages/AutoLayout.ts → app/client/cypress/support/Pages/CommunityTemplates.ts → app/client/cypress/support/Pages/DataSources.ts → app/client/cypress/support/Pages/DebuggerHelper.ts → app/client/cypress/support/Pages/DeployModeHelper.ts → app/client/cypress/support/Pages/EditorNavigation.ts → app/client/cypress/support/Pages/EntityExplorer.ts → app/client/cypress/support/Pages/GSheetHelper.ts → app/client/cypress/support/Pages/GitSync.ts → app/client/cypress/support/Pages/HomePage.ts → app/client/cypress/support/Pages/IDE/AddView.ts → app/client/cypress/support/Pages/IDE/FileTabs.ts → app/client/cypress/support/Pages/IDE/LeftPane.ts → app/client/cypress/support/Pages/IDE/ListView.ts → app/client/cypress/support/Pages/InviteModal.ts → app/client/cypress/support/Pages/JSEditor.ts → app/client/cypress/support/Pages/LibraryInstaller.ts → app/client/cypress/support/Pages/Onboarding.ts → app/client/cypress/support/Pages/PageList.ts → app/client/cypress/support/Pages/PartialImportExport.ts → app/client/cypress/support/Pages/PeekOverlay.ts → app/client/cypress/support/Pages/PropertyPane.ts → app/client/cypress/support/Pages/Table.ts → app/client/cypress/support/Pages/Tabs.ts → app/client/cypress/support/Pages/Templates.ts → app/client/cypress/support/Pages/WDSWidgets.ts → app/client/cypress/support/Objects/FeatureFlags.ts — FeatureFlags.ts
  • app/client/packages/ast/index.ts → app/client/packages/ast/src/actionCreator/index.ts → app/client/packages/ast/src/index.ts → app/client/packages/ast/src/jsObject/index.ts → app/client/packages/ast/src/peekOverlay/index.ts → app/client/packages/ast/src/peekOverlay/utils.ts → app/client/packages/ast/src/utils.ts → app/client/packages/ast/index.ts — index.ts
  • app/client/packages/design-system/ads-old/src/EditableText/index.tsx → app/client/packages/design-system/ads-old/src/EditableTextSubComponent/index.tsx → app/client/packages/design-system/ads-old/src/index.ts → app/client/packages/design-system/ads-old/src/EditableText/index.tsx — index.tsx
  • app/client/packages/design-system/widgets-old/src/Icon/index.tsx → app/client/packages/design-system/widgets-old/src/Spinner/index.tsx → app/client/packages/design-system/widgets-old/src/Icon/index.tsx — index.tsx
  • app/client/packages/design-system/widgets/src/components/Button/index.ts → app/client/packages/design-system/widgets/src/components/Button/src/Button.tsx → app/client/packages/design-system/widgets/src/components/Button/src/index.ts → app/client/packages/design-system/widgets/src/components/Calendar/index.ts → app/client/packages/design-system/widgets/src/components/Calendar/src/Calendar.tsx → app/client/packages/design-system/widgets/src/components/Calendar/src/CalendarCell.tsx → app/client/packages/design-system/widgets/src/components/Calendar/src/CalendarHeaderCell.tsx → app/client/packages/design-system/widgets/src/components/Calendar/src/CalendarHeading.tsx → app/client/packages/design-system/widgets/src/components/Calendar/src/CalendarMonthDropdown.tsx → app/client/packages/design-system/widgets/src/components/Calendar/src/CalendarYearDropdown.tsx → app/client/packages/design-system/widgets/src/components/Calendar/src/index.ts → app/client/packages/design-system/widgets/src/components/Checkbox/index.ts → app/client/packages/design-system/widgets/src/components/Checkbox/src/Checkbox.tsx → app/client/packages/design-system/widgets/src/components/Checkbox/src/index.ts → app/client/packages/design-system/widgets/src/components/ComboBox/index.ts → app/client/packages/design-system/widgets/src/components/ComboBox/src/ComboBox.tsx → app/client/packages/design-system/widgets/src/components/ComboBox/src/ComboBoxTrigger.tsx → app/client/packages/design-system/widgets/src/components/ComboBox/src/index.ts → app/client/packages/design-system/widgets/src/components/ContextualHelp/index.ts → app/client/packages/design-system/widgets/src/components/ContextualHelp/src/ContextualHelp.tsx → app/client/packages/design-system/widgets/src/components/ContextualHelp/src/index.ts → app/client/packages/design-system/widgets/src/components/Datepicker/index.ts → app/client/packages/design-system/widgets/src/components/Datepicker/src/Datepicker.tsx → app/client/packages/design-system/widgets/src/components/Datepicker/src/DatepickerTrigger.tsx → app/client/packages/design-system/widgets/src/components/Datepicker/src/index.ts → app/client/packages/design-system/widgets/src/components/FieldError/index.ts → app/client/packages/design-system/widgets/src/components/FieldError/src/FieldError.tsx → app/client/packages/design-system/widgets/src/components/FieldError/src/index.ts → app/client/packages/design-system/widgets/src/components/FieldLabel/index.ts → app/client/packages/design-system/widgets/src/components/FieldLabel/src/FieldLabel.tsx → app/client/packages/design-system/widgets/src/components/FieldLabel/src/index.ts → app/client/packages/design-system/widgets/src/components/IconButton/index.ts → app/client/packages/design-system/widgets/src/components/IconButton/src/IconButton.tsx → app/client/packages/design-system/widgets/src/components/IconButton/src/index.ts → app/client/packages/design-system/widgets/src/components/InlineButtons/index.ts → app/client/packages/design-system/widgets/src/components/InlineButtons/src/InlineButton.tsx → app/client/packages/design-system/widgets/src/components/InlineButtons/src/InlineButtons.tsx → app/client/packages/design-system/widgets/src/components/InlineButtons/src/index.ts → app/client/packages/design-system/widgets/src/components/Input/index.ts → app/client/packages/design-system/widgets/src/components/Input/src/Input.tsx → app/client/packages/design-system/widgets/src/components/Input/src/TextAreaInput.tsx → app/client/packages/design-system/widgets/src/components/Input/src/index.ts → app/client/packages/design-system/widgets/src/components/ListBoxItem/index.ts → app/client/packages/design-system/widgets/src/components/ListBoxItem/src/ListBoxItem.tsx → app/client/packages/design-system/widgets/src/components/ListBoxItem/src/index.ts → app/client/packages/design-system/widgets/src/components/Markdown/index.ts → app/client/packages/design-system/widgets/src/components/Markdown/src/Markdown.tsx → app/client/packages/design-system/widgets/src/components/Markdown/src/components.tsx → app/client/packages/design-system/widgets/src/components/Markdown/src/index.ts → app/client/packages/design-system/widgets/src/components/Markdown/src/mdComponents/Code.tsx → app/client/packages/design-system/widgets/src/components/Markdown/src/mdComponents/Heading.tsx → app/client/packages/design-system/widgets/src/components/Markdown/src/mdComponents/Link.tsx → app/client/packages/design-system/widgets/src/components/Menu/index.ts → app/client/packages/design-system/widgets/src/components/Menu/src/Menu.tsx → app/client/packages/design-system/widgets/src/components/Menu/src/index.ts → app/client/packages/design-system/widgets/src/components/MenuItem/index.ts → app/client/packages/design-system/widgets/src/components/MenuItem/src/MenuItem.tsx → app/client/packages/design-system/widgets/src/components/MenuItem/src/index.ts → app/client/packages/design-system/widgets/src/components/Modal/index.ts → app/client/packages/design-system/widgets/src/components/Modal/src/ModalFooter.tsx → app/client/packages/design-system/widgets/src/components/Modal/src/ModalHeader.tsx → app/client/packages/design-system/widgets/src/components/Modal/src/index.ts → app/client/packages/design-system/widgets/src/components/MultiSelect/index.ts → app/client/packages/design-system/widgets/src/components/MultiSelect/src/MultiSelect.tsx → app/client/packages/design-system/widgets/src/components/MultiSelect/src/MultiSelectValue.tsx → app/client/packages/design-system/widgets/src/components/MultiSelect/src/index.ts → app/client/packages/design-system/widgets/src/components/Radio/index.ts → app/client/packages/design-system/widgets/src/components/Radio/src/Radio.tsx → app/client/packages/design-system/widgets/src/components/Radio/src/index.ts → app/client/packages/design-system/widgets/src/components/RadioGroup/index.ts → app/client/packages/design-system/widgets/src/components/RadioGroup/src/RadioGroup.tsx → app/client/packages/design-system/widgets/src/components/RadioGroup/src/index.ts → app/client/packages/design-system/widgets/src/components/Select/index.ts → app/client/packages/design-system/widgets/src/components/Select/src/Select.tsx → app/client/packages/design-system/widgets/src/components/Select/src/SelectTrigger.tsx → app/client/packages/design-system/widgets/src/components/Select/src/index.ts → app/client/packages/design-system/widgets/src/components/Sidebar/index.ts → app/client/packages/design-system/widgets/src/components/Sidebar/src/SidebarTrigger.tsx → app/client/packages/design-system/widgets/src/components/Sidebar/src/index.ts → app/client/packages/design-system/widgets/src/components/Switch/index.ts → app/client/packages/design-system/widgets/src/components/Switch/src/Switch.tsx → app/client/packages/design-system/widgets/src/components/Switch/src/index.ts → app/client/packages/design-system/widgets/src/components/TextArea/index.ts → app/client/packages/design-system/widgets/src/components/TextArea/src/TextArea.tsx → app/client/packages/design-system/widgets/src/components/TextArea/src/index.ts → app/client/packages/design-system/widgets/src/components/TextField/index.ts → app/client/packages/design-system/widgets/src/components/TextField/src/TextField.tsx → app/client/packages/design-system/widgets/src/components/TextField/src/index.ts → app/client/packages/design-system/widgets/src/components/TimeField/index.ts → app/client/packages/design-system/widgets/src/components/TimeField/src/TimeField.tsx → app/client/packages/design-system/widgets/src/components/TimeField/src/index.ts → app/client/packages/design-system/widgets/src/components/ToggleGroup/index.ts → app/client/packages/design-system/widgets/src/components/ToggleGroup/src/ToggleGroup.tsx → app/client/packages/design-system/widgets/src/components/ToggleGroup/src/index.ts → app/client/packages/design-system/widgets/src/components/ToolbarButtons/index.ts → app/client/packages/design-system/widgets/src/components/ToolbarButtons/src/ToolbarButton.tsx → app/client/packages/design-system/widgets/src/components/ToolbarButtons/src/ToolbarButtons.tsx → app/client/packages/design-system/widgets/src/components/ToolbarButtons/src/index.tsx → app/client/packages/design-system/widgets/src/components/Tooltip/index.ts → app/client/packages/design-system/widgets/src/components/Tooltip/src/Tooltip.tsx → app/client/packages/design-system/widgets/src/components/Tooltip/src/TooltipContent.tsx → app/client/packages/design-system/widgets/src/components/Tooltip/src/index.ts → app/client/packages/design-system/widgets/src/index.ts → app/client/packages/design-system/widgets/src/components/Button/index.ts — index.ts
  • app/client/packages/storybook/src/components/ColorTable.tsx → app/client/packages/storybook/src/index.ts → app/client/packages/storybook/src/components/ColorTable.tsx — ColorTable.tsx
  • app/client/src/PluginActionEditor/components/PluginActionResponse/PluginActionResponse.tsx → app/client/src/PluginActionEditor/components/PluginActionResponse/index.ts → app/client/src/PluginActionEditor/index.ts → app/client/src/ce/PluginActionEditor/components/PluginActionResponse/hooks/useDefaultTab.tsx → app/client/src/ee/PluginActionEditor/components/PluginActionResponse/hooks/useDefaultTab.tsx → app/client/src/PluginActionEditor/components/PluginActionResponse/PluginActionResponse.tsx — PluginActionResponse.tsx
  • app/client/src/WidgetProvider/factory/helpers.ts → app/client/src/WidgetProvider/factory/index.tsx → app/client/src/WidgetProvider/factory/helpers.ts — helpers.ts

What to do

  • Break each cycle by extracting the shared piece into a module both sides can import.
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 Health66%Adequate — gated by D3, D4Capped at Fair by a Critical contributor — resolve it before relying on this lens.
Architecture32%Weak — gated by R11, R9Capped at Fair by a Critical contributor — resolve it before relying on this lens.
Maturity70%StrongStrongest area.
Readiness25%Critical — gated by D9, R8, P2, P3Capped at Fair by a Critical contributor — resolve it before relying on this lens.
Security36%Weak — gated by D28, D29, D36, D38Capped at Fair by a Critical contributor — resolve it before relying on this lens.
Not included — 59 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 — not applicable to a vertical-slice + CQRS architecture (the inward-dependency rule is for layered/clean styles)
  • AX6 Interface segregation — no public interfaces
  • AX7 Slice cohesion — vertical-slice architecture detected, but individual slices could not be resolved from namespaces or project layout
  • 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 — ~84504 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
  • D15 Churn × Complexity Hotspots — single-commit history — no usable git history window to measure hotspots
  • 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
  • D19 Documentation Quality — LLM evaluation failed
  • 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 — none of 1 ADRs are conformance-checkable — unverifiable.
  • D30 Dependency Vulnerabilities — No .NET solution found; no NuGet dependencies to scan for vulnerabilities.
  • 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.
  • D34 Knowledge Freshness — early-stage repository — too little history to judge knowledge freshness
  • D35 Change Coupling — no production change history to mine for change-coupling
  • 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).
  • D8 Code Coverage — Coverage not measured — test suite did not build
  • DM1 Domain Modelling — applicable but skipped (2/3 markers — below the conservative bar): 287 value object(s); a Domain/Aggregates/ValueObjects layer
  • ED1 Event-Driven — applicable but skipped (2/3 markers — below the conservative bar): 2 event handler(s); 1 CQRS handler(s)
  • ED5 Idempotency — no mutating command handlers or message consumers detected — idempotency check not applicable
  • ES1 Event Sourcing — not run — only 1/3 markers (an Axon event-sourcing framework (@Aggregate/@CommandHandler/@EventSourcingHandler annotations))
  • GD1 Unfinished & placeholder code — no source files
  • IC1 Incompleteness & stubs — no C# methods found
  • P12 CI test-gate honesty — no data
  • 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.
  • R5 Dependency Freshness — uses a yarn lockfile — dependency freshness not measured here; JS/npm CVEs are scored in D33 (JS/npm Dependency Vulnerabilities)
  • 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 — 86 finding(s)
D29 · Static Analysis (SAST) · High · ×50
  • High: run-shell-injection .github/actions/setup-server-java/action.yml:21 — Using variable interpolation `${{...}}` with `github` context data in a `run:` step could allow an attacker to inject their own code into the runner. This would allow them to steal secrets and code. `github` context data can have arbitrary user input and should be treated as untrusted. Instead, use an intermediate environment variable with `env:` to store the data and use the environment variable in the `run:` script. Be sure to use double-quotes the environment variable, like this: "$ENVVAR".
  • High: github-actions-mutable-action-tag .github/actions/setup-server-java/action.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: dependabot-missing-cooldown .github/dependabot.yml:3 — This Dependabot configuration does not set a cooldown period. Newly published packages can be malicious or unstable. Add a `cooldown` block with `default-days: 7` to each `package-ecosystem` entry under `updates` to wait 7 days before proposing updates to newly published package versions. Reference: https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#cooldown
  • High: dependabot-missing-cooldown .github/dependabot.yml:14 — This Dependabot configuration does not set a cooldown period. Newly published packages can be malicious or unstable. Add a `cooldown` block with `default-days: 7` to each `package-ecosystem` entry under `updates` to wait 7 days before proposing updates to newly published package versions. Reference: https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#cooldown
  • High: dependabot-missing-cooldown .github/dependabot.yml:25 — This Dependabot configuration does not set a cooldown period. Newly published packages can be malicious or unstable. Add a `cooldown` block with `default-days: 7` to each `package-ecosystem` entry under `updates` to wait 7 days before proposing updates to newly published package versions. Reference: https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#cooldown
  • High: secrets-inherit .github/workflows/ad-hoc-docker-image.yml:32 — This workflow uses `secrets: inherit` to pass all of the calling workflow's secrets to a reusable workflow. This violates the principle of least privilege because the called workflow receives access to every secret in the repository, not just the ones it needs. If the called workflow is compromised or sourced from a third party, an attacker gains access to all repository secrets. Instead, explicitly pass only the secrets that the called workflow requires using the `secrets:` map, e.g. `secrets: { MY_SECRET: ${{ secrets.MY_SECRET }} }`.
  • High: secrets-inherit .github/workflows/ad-hoc-docker-image.yml:40 — This workflow uses `secrets: inherit` to pass all of the calling workflow's secrets to a reusable workflow. This violates the principle of least privilege because the called workflow receives access to every secret in the repository, not just the ones it needs. If the called workflow is compromised or sourced from a third party, an attacker gains access to all repository secrets. Instead, explicitly pass only the secrets that the called workflow requires using the `secrets:` map, e.g. `secrets: { MY_SECRET: ${{ secrets.MY_SECRET }} }`.
  • High: secrets-inherit .github/workflows/ad-hoc-docker-image.yml:47 — This workflow uses `secrets: inherit` to pass all of the calling workflow's secrets to a reusable workflow. This violates the principle of least privilege because the called workflow receives access to every secret in the repository, not just the ones it needs. If the called workflow is compromised or sourced from a third party, an attacker gains access to all repository secrets. Instead, explicitly pass only the secrets that the called workflow requires using the `secrets:` map, e.g. `secrets: { MY_SECRET: ${{ secrets.MY_SECRET }} }`.
  • High: github-actions-mutable-action-tag .github/workflows/ad-hoc-docker-image.yml:62 — 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/ad-hoc-docker-image.yml:68 — 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/ad-hoc-docker-image.yml:80 — 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/ad-hoc-docker-image.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: run-shell-injection .github/workflows/ad-hoc-docker-image.yml:103 — Using variable interpolation `${{...}}` with `github` context data in a `run:` step could allow an attacker to inject their own code into the runner. This would allow them to steal secrets and code. `github` context data can have arbitrary user input and should be treated as untrusted. Instead, use an intermediate environment variable with `env:` to store the data and use the environment variable in the `run:` script. Be sure to use double-quotes the environment variable, like this: "$ENVVAR".
  • High: github-actions-mutable-action-tag .github/workflows/ad-hoc-docker-image.yml:112 — 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/ad-hoc-docker-image.yml:115 — 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/ad-hoc-docker-image.yml:122 — 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-chromatic.yml:22 — 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-chromatic.yml:29 — 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-chromatic.yml:35 — 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-chromatic.yml:45 — 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-client-server-count.yml:24 — 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: run-shell-injection .github/workflows/build-client-server-count.yml:74 — Using variable interpolation `${{...}}` with `github` context data in a `run:` step could allow an attacker to inject their own code into the runner. This would allow them to steal secrets and code. `github` context data can have arbitrary user input and should be treated as untrusted. Instead, use an intermediate environment variable with `env:` to store the data and use the environment variable in the `run:` script. Be sure to use double-quotes the environment variable, like this: "$ENVVAR".
  • High: github-actions-mutable-action-tag .github/workflows/build-client-server-count.yml:100 — 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-client-server-count.yml:112 — 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: secrets-inherit .github/workflows/build-client-server-count.yml:125 — This workflow uses `secrets: inherit` to pass all of the calling workflow's secrets to a reusable workflow. This violates the principle of least privilege because the called workflow receives access to every secret in the repository, not just the ones it needs. If the called workflow is compromised or sourced from a third party, an attacker gains access to all repository secrets. Instead, explicitly pass only the secrets that the called workflow requires using the `secrets:` map, e.g. `secrets: { MY_SECRET: ${{ secrets.MY_SECRET }} }`.
  • + 25 more in this group — see findings.md.
D38 · OSV Dependency Vulnerabilities · High CVE · ×15
  • High CVE: [GHSA redacted] app/client/yarn.lock — @opentelemetry/propagator-jaeger 1.27.0: [GHSA redacted] — upgrade to 2.9.0
  • High CVE: [GHSA redacted] app/client/yarn.lock — flatted 3.2.5: [GHSA redacted] — upgrade to 3.4.0
  • High CVE: [GHSA redacted] app/client/yarn.lock — flatted 3.2.5: [GHSA redacted] — upgrade to 3.4.2
  • High CVE: [GHSA redacted] app/client/yarn.lock — ip-address 9.0.5: [GHSA redacted] — upgrade to 10.3.1
  • High CVE: [GHSA redacted] app/client/yarn.lock — js-yaml 3.15.0: [GHSA redacted] — upgrade to 3.15.1
  • High CVE: [GHSA redacted] app/client/yarn.lock — nanoid 3.3.11: [GHSA redacted] — upgrade to 3.3.16
  • High CVE: [GHSA redacted] app/client/yarn.lock — nanoid 3.3.11: [GHSA redacted] — upgrade to 3.3.17
  • High CVE: [GHSA redacted] app/client/yarn.lock — rollup 2.79.2: [GHSA redacted] — upgrade to 2.80.0
  • High CVE: [GHSA redacted] app/client/yarn.lock — serialize-javascript 6.0.2: [GHSA redacted] — upgrade to 7.0.3
  • High CVE: [GHSA redacted] app/client/yarn.lock — storybook 8.2.7: [GHSA redacted] — upgrade to 8.6.15
  • High CVE: [GHSA redacted] app/client/yarn.lock — storybook 8.2.7: [GHSA redacted] — upgrade to 8.6.17
  • High CVE: [GHSA redacted] app/client/yarn.lock — tmp 0.0.33: [GHSA redacted] — upgrade to 0.2.6
  • High CVE: [GHSA redacted] app/client/yarn.lock — validator 13.9.0: [GHSA redacted] — upgrade to 13.15.22
  • High CVE: [GHSA redacted] app/client/yarn.lock — xlsx: [GHSA redacted]
  • High CVE: [GHSA redacted] app/client/yarn.lock — xlsx: [GHSA redacted]
D28 · Secrets (history) · Secret · ×10
  • Secret: airtable-api-key app/client/cypress/support/Objects/DataManager.ts:71 — matched rule 'airtable-api-key'
  • Secret: airtable-api-key app/client/cypress/support/Objects/DataManager.ts:72 — matched rule 'airtable-api-key'
  • Secret: airtable-api-key app/client/packages/design-system/widgets/src/components/Icon/src/icons.ts:728 — matched rule 'airtable-api-key'
  • Secret: generic-api-key app/client/public/terms-and-conditions.html:2 — matched rule 'generic-api-key'
  • Secret: generic-api-key app/client/src/constants/defs/forge.json:9519 — matched rule 'generic-api-key'
  • Secret: generic-api-key app/client/src/constants/defs/forge.json:9712 — matched rule 'generic-api-key'
  • Secret: private-key app/server/appsmith-interfaces/src/main/java/com/appsmith/external/helpers/RSAKeyUtil.java:21 — matched rule 'private-key'
  • Secret: private-key app/server/appsmith-server/src/main/java/com/appsmith/server/aspect/ce/GitRouteAspectCE.java:925 — matched rule 'private-key'
  • Secret: generic-api-key app/server/appsmith-server/src/main/resources/CRUD-DB-Table-Template-Application.json:4044 — matched rule 'generic-api-key'
  • Secret: private-key deploy/helm/values.yaml:870 — matched rule 'private-key'
D31 · IaC & Container Security · Critical IaC · ×5
  • Critical IaC: DS-0031 Dockerfile — Secrets passed via `build-args` or envs or copied secret files
  • Critical IaC: DS-0031 Dockerfile — Secrets passed via `build-args` or envs or copied secret files
  • Critical IaC: DS-0031 Dockerfile — Secrets passed via `build-args` or envs or copied secret files
  • Critical IaC: DS-0031 Dockerfile — Secrets passed via `build-args` or envs or copied secret files
  • Critical IaC: DS-0031 deploy/docker/base.dockerfile — Secrets passed via `build-args` or envs or copied secret files
D31 · IaC & Container Security · High IaC · ×4
  • High IaC: DS-0002 Dockerfile — Image user should not be 'root'
  • High IaC: DS-0002 deploy/docker/base.dockerfile — Image user should not be 'root'
  • High IaC: DS-0002 deploy/docker/route-tests/Dockerfile — Image user should not be 'root'
  • High IaC: DS-0002 deploy/heroku/Dockerfile — Image user should not be 'root'
D13 · Secret Scanning · Leaked secret · ×1
  • Leaked secret: hardcoded-credential app/client/src/constants/defs/forge.json:9961 — hardcoded-credential detected.
D18 · Solution Shape · Dimension evaluation failed · ×1
  • Dimension evaluation failed — no .NET solution found at target path
Warning — 326 finding(s)
D4 · Code Duplication · Duplicated block (6 lines × 2) · ×30
  • Duplicated block (6 lines × 2) app/server/appsmith-git/src/main/java/com/appsmith/git/helpers/DSLTransformerHelper.java:116 — app/server/appsmith-git/src/main/java/com/appsmith/git/helpers/DSLTransformerHelper.java:116-121 | app/server/appsmith-git/src/main/java/com/appsmith/git/helpers/DSLTransformerHelper.java:122-127
  • Duplicated block (6 lines × 2) app/server/appsmith-interfaces/src/main/java/com/appsmith/external/annotations/encryption/EncryptionHandler.java:104 — app/server/appsmith-interfaces/src/main/java/com/appsmith/external/annotations/encryption/EncryptionHandler.java:104-109 | app/server/appsmith-interfaces/src/main/java/com/appsmith/external/annotations/encryption/EncryptionHandler.java:144-149
  • Duplicated block (6 lines × 2) app/server/appsmith-interfaces/src/main/java/com/appsmith/external/services/ce/FilterDataServiceCE.java:685 — app/server/appsmith-interfaces/src/main/java/com/appsmith/external/services/ce/FilterDataServiceCE.java:685-690 | app/server/appsmith-interfaces/src/main/java/com/appsmith/external/services/ce/FilterDataServiceCE.java:768-773
  • Duplicated block (6 lines × 2) app/server/appsmith-interfaces/src/main/java/com/appsmith/util/JSONPrettyPrinter.java:12 — app/server/appsmith-interfaces/src/main/java/com/appsmith/util/JSONPrettyPrinter.java:12-17 | app/server/appsmith-interfaces/src/main/java/com/appsmith/util/JSONPrettyPrinter.java:44-49
  • Duplicated block (6 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/AIConfigServiceCEImpl.java:194 — app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/AIConfigServiceCEImpl.java:194-199 | app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/AIConfigServiceCEImpl.java:1434-1439
  • Duplicated block (6 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/AnalyticsServiceCEImpl.java:209 — app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/AnalyticsServiceCEImpl.java:209-214 | app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/AnalyticsServiceCEImpl.java:343-348
  • Duplicated block (6 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/LayoutActionServiceCEImpl.java:156 — app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/LayoutActionServiceCEImpl.java:156-161 | app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/LayoutActionServiceCEImpl.java:164-169
  • Duplicated block (6 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/LayoutCollectionServiceCEImpl.java:206 — app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/LayoutCollectionServiceCEImpl.java:206-211 | app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/LayoutCollectionServiceCEImpl.java:214-219
  • Duplicated block (6 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/MockDataServiceCEImpl.java:149 — app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/MockDataServiceCEImpl.java:149-154 | app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/MockDataServiceCEImpl.java:190-195
  • Duplicated block (6 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/UserDataServiceCEImpl.java:461 — app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/UserDataServiceCEImpl.java:461-466 | app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/UserDataServiceCEImpl.java:474-479
  • Duplicated block (6 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/UserServiceCEImpl.java:195 — app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/UserServiceCEImpl.java:195-200 | app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/UserServiceCEImpl.java:874-879
  • Duplicated block (6 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/UserServiceCEImpl.java:341 — app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/UserServiceCEImpl.java:341-346 | app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/UserServiceCEImpl.java:366-371
  • Duplicated block (6 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/UserWorkspaceServiceCEImpl.java:254 — app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/UserWorkspaceServiceCEImpl.java:254-259 | app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/UserWorkspaceServiceCEImpl.java:321-326
  • Duplicated block (6 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce_compatible/AIConfigServiceCECompatibleImpl.java:21 — app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce_compatible/AIConfigServiceCECompatibleImpl.java:21-26 | app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce_compatible/AIConfigServiceCECompatibleImpl.java:31-36
  • Duplicated block (6 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/applications/base/ApplicationServiceCEImpl.java:282 — app/server/appsmith-server/src/main/java/com/appsmith/server/applications/base/ApplicationServiceCEImpl.java:282-287 | app/server/appsmith-server/src/main/java/com/appsmith/server/applications/base/ApplicationServiceCEImpl.java:357-362
  • Duplicated block (6 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/applications/base/ApplicationServiceCEImpl.java:609 — app/server/appsmith-server/src/main/java/com/appsmith/server/applications/base/ApplicationServiceCEImpl.java:609-614 | app/server/appsmith-server/src/main/java/com/appsmith/server/applications/base/ApplicationServiceCEImpl.java:620-625
  • Duplicated block (6 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/configurations/MongoConfig.java:234 — app/server/appsmith-server/src/main/java/com/appsmith/server/configurations/MongoConfig.java:234-239 | app/server/appsmith-server/src/main/java/com/appsmith/server/configurations/MongoConfig.java:245-250
  • Duplicated block (6 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/controllers/ce/DatasourceControllerCE.java:145 — app/server/appsmith-server/src/main/java/com/appsmith/server/controllers/ce/DatasourceControllerCE.java:145-150 | app/server/appsmith-server/src/main/java/com/appsmith/server/controllers/ce/DatasourceControllerCE.java:160-165
  • Duplicated block (6 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/ce/bridge/Bridge.java:30 — app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/ce/bridge/Bridge.java:30-35 | app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/ce/bridge/Bridge.java:92-29
  • Duplicated block (6 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/MigrationHelperMethods.java:74 — app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/MigrationHelperMethods.java:74-79 | app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/MigrationHelperMethods.java:200-205
  • Duplicated block (6 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/MigrationHelperMethods.java:845 — app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/MigrationHelperMethods.java:845-850 | app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/MigrationHelperMethods.java:851-856
  • Duplicated block (6 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/repositories/ce/BaseAppsmithRepositoryCEImpl.java:307 — app/server/appsmith-server/src/main/java/com/appsmith/server/repositories/ce/BaseAppsmithRepositoryCEImpl.java:307-312 | app/server/appsmith-server/src/main/java/com/appsmith/server/repositories/ce/BaseAppsmithRepositoryCEImpl.java:332-337
  • Duplicated block (6 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/repositories/ce/CustomNewPageRepositoryCEImpl.java:104 — app/server/appsmith-server/src/main/java/com/appsmith/server/repositories/ce/CustomNewPageRepositoryCEImpl.java:104-109 | app/server/appsmith-server/src/main/java/com/appsmith/server/repositories/ce/CustomNewPageRepositoryCEImpl.java:118-123
  • Duplicated block (6 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/ActionExecutionSolutionCEImpl.java:530 — app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/ActionExecutionSolutionCEImpl.java:530-535 | app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/ActionExecutionSolutionCEImpl.java:546-551
  • Duplicated block (6 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/staticurl/StaticUrlServiceImpl.java:1179 — app/server/appsmith-server/src/main/java/com/appsmith/server/staticurl/StaticUrlServiceImpl.java:1179-1184 | app/server/appsmith-server/src/main/java/com/appsmith/server/staticurl/StaticUrlServiceImpl.java:1223-1228
  • + 5 more in this group — see findings.md.
D4 · Code Duplication · Duplicated block (5 lines × 2) · ×19
  • Duplicated block (5 lines × 2) app/server/appsmith-interfaces/src/main/java/com/appsmith/external/annotations/encryption/EncryptionHandler.java:90 — app/server/appsmith-interfaces/src/main/java/com/appsmith/external/annotations/encryption/EncryptionHandler.java:90-94 | app/server/appsmith-interfaces/src/main/java/com/appsmith/external/annotations/encryption/EncryptionHandler.java:129-133
  • Duplicated block (5 lines × 2) app/server/appsmith-interfaces/src/main/java/com/appsmith/external/helpers/DataTypeStringUtils.java:237 — app/server/appsmith-interfaces/src/main/java/com/appsmith/external/helpers/DataTypeStringUtils.java:237-241 | app/server/appsmith-interfaces/src/main/java/com/appsmith/external/helpers/DataTypeStringUtils.java:246-250
  • Duplicated block (5 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/AIAssistantServiceCEImpl.java:770 — app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/AIAssistantServiceCEImpl.java:770-774 | app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/AIAssistantServiceCEImpl.java:786-790
  • Duplicated block (5 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/AIConfigServiceCEImpl.java:369 — app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/AIConfigServiceCEImpl.java:369-373 | app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/AIConfigServiceCEImpl.java:811-815
  • Duplicated block (5 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/AIConfigServiceCEImpl.java:1383 — app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/AIConfigServiceCEImpl.java:1383-1387 | app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/AIConfigServiceCEImpl.java:1441-1445
  • Duplicated block (5 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/ApplicationTemplateServiceCEImpl.java:159 — app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/ApplicationTemplateServiceCEImpl.java:159-163 | app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/ApplicationTemplateServiceCEImpl.java:239-243
  • Duplicated block (5 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/CurlImporterServiceCEImpl.java:373 — app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/CurlImporterServiceCEImpl.java:373-377 | app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/CurlImporterServiceCEImpl.java:385-389
  • Duplicated block (5 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/applications/base/ApplicationServiceCEImpl.java:842 — app/server/appsmith-server/src/main/java/com/appsmith/server/applications/base/ApplicationServiceCEImpl.java:842-846 | app/server/appsmith-server/src/main/java/com/appsmith/server/applications/base/ApplicationServiceCEImpl.java:858-862
  • Duplicated block (5 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/datasources/base/DatasourceServiceCEImpl.java:731 — app/server/appsmith-server/src/main/java/com/appsmith/server/datasources/base/DatasourceServiceCEImpl.java:731-735 | app/server/appsmith-server/src/main/java/com/appsmith/server/datasources/base/DatasourceServiceCEImpl.java:755-759
  • Duplicated block (5 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/ce/CommonGitFileUtilsCE.java:401 — app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/ce/CommonGitFileUtilsCE.java:401-405 | app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/ce/CommonGitFileUtilsCE.java:429-433
  • Duplicated block (5 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/LogHelper.java:36 — app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/LogHelper.java:36-40 | app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/LogHelper.java:59-63
  • Duplicated block (5 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/layouts/UpdateLayoutServiceCEImpl.java:468 — app/server/appsmith-server/src/main/java/com/appsmith/server/layouts/UpdateLayoutServiceCEImpl.java:468-472 | app/server/appsmith-server/src/main/java/com/appsmith/server/layouts/UpdateLayoutServiceCEImpl.java:585-589
  • Duplicated block (5 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/db/ce/Migration058AddIndexesToBranchAwareDomains.java:39 — app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/db/ce/Migration058AddIndexesToBranchAwareDomains.java:39-43 | app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/db/ce/Migration058AddIndexesToBranchAwareDomains.java:44-48
  • Duplicated block (5 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/db/ce/Migration060AddIndexesForPolicyMap.java:48 — app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/db/ce/Migration060AddIndexesForPolicyMap.java:48-52 | app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/db/ce/Migration060AddIndexesForPolicyMap.java:53-57
  • Duplicated block (5 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/db/ce/Migration074AddUniqueSlugIndicesForApplicationAndNewPage.java:40 — app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/db/ce/Migration074AddUniqueSlugIndicesForApplicationAndNewPage.java:40-44 | app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/db/ce/Migration074AddUniqueSlugIndicesForApplicationAndNewPage.java:49-53
  • Duplicated block (5 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/MigrationHelperMethods.java:858 — app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/MigrationHelperMethods.java:858-862 | app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/MigrationHelperMethods.java:882-886
  • Duplicated block (5 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/plugins/base/PluginServiceCEImpl.java:509 — app/server/appsmith-server/src/main/java/com/appsmith/server/plugins/base/PluginServiceCEImpl.java:509-513 | app/server/appsmith-server/src/main/java/com/appsmith/server/plugins/base/PluginServiceCEImpl.java:531-535
  • Duplicated block (5 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/staticurl/StaticUrlServiceImpl.java:153 — app/server/appsmith-server/src/main/java/com/appsmith/server/staticurl/StaticUrlServiceImpl.java:153-157 | app/server/appsmith-server/src/main/java/com/appsmith/server/staticurl/StaticUrlServiceImpl.java:223-227
  • Duplicated block (5 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/staticurl/StaticUrlServiceImpl.java:368 — app/server/appsmith-server/src/main/java/com/appsmith/server/staticurl/StaticUrlServiceImpl.java:368-372 | app/server/appsmith-server/src/main/java/com/appsmith/server/staticurl/StaticUrlServiceImpl.java:606-610
D38 · OSV Dependency Vulnerabilities · Medium CVE · ×18
  • Medium CVE: [GHSA redacted] app/client/yarn.lock — @babel/runtime-corejs3 7.11.2: [GHSA redacted] — upgrade to 7.26.10
  • Medium CVE: [GHSA redacted] app/client/yarn.lock — @octokit/plugin-paginate-rest 8.0.0: [GHSA redacted] — upgrade to 9.2.2
  • Medium CVE: [GHSA redacted] app/client/yarn.lock — @octokit/request 8.1.1: [GHSA redacted] — upgrade to 8.4.1
  • Medium CVE: [GHSA redacted] app/client/yarn.lock — @octokit/request-error 5.0.0: [GHSA redacted] — upgrade to 5.1.1
  • Medium CVE: [GHSA redacted] app/client/yarn.lock — @opentelemetry/core 1.26.0: [GHSA redacted] — upgrade to 2.8.0
  • Medium CVE: [GHSA redacted] app/client/yarn.lock — ajv 8.17.1: [GHSA redacted] — upgrade to 8.18.0
  • Medium CVE: [GHSA redacted] app/client/yarn.lock — bn.js 4.12.0: [GHSA redacted] — upgrade to 4.12.3
  • Medium CVE: [GHSA redacted] app/client/yarn.lock — fast-xml-parser 4.5.5: [GHSA redacted] — upgrade to 5.7.0
  • Medium CVE: [GHSA redacted] app/client/yarn.lock — ip-address 9.0.5: [GHSA redacted] — upgrade to 10.1.1
  • Medium CVE: [GHSA redacted] app/client/yarn.lock — micromatch 4.0.5: [GHSA redacted] — upgrade to 4.0.8
  • Medium CVE: [GHSA redacted] app/client/yarn.lock — qs 6.10.4: [GHSA redacted] — upgrade to 6.14.1
  • Medium CVE: [GHSA redacted] app/client/yarn.lock — serialize-javascript 6.0.2: [GHSA redacted] — upgrade to 7.0.5
  • Medium CVE: [GHSA redacted] app/client/yarn.lock — showdown: [GHSA redacted]
  • Medium CVE: [GHSA redacted] app/client/yarn.lock — showdown: [GHSA redacted]
  • Medium CVE: [GHSA redacted] app/client/yarn.lock — showdown: [GHSA redacted]
  • Medium CVE: [GHSA redacted] app/client/yarn.lock — smol-toml 1.3.1: [GHSA redacted] — upgrade to 1.6.1
  • Medium CVE: [GHSA redacted] app/client/yarn.lock — uuid 8.3.2: [GHSA redacted] — upgrade to 11.1.1
  • Medium CVE: [GHSA redacted] app/client/yarn.lock — validator 13.9.0: [GHSA redacted] — upgrade to 13.15.20
D4 · Code Duplication · Duplicated block (7 lines × 2) · ×10
  • Duplicated block (7 lines × 2) app/server/appsmith-interfaces/src/main/java/com/appsmith/util/RestrictedHostFilter.java:411 — app/server/appsmith-interfaces/src/main/java/com/appsmith/util/RestrictedHostFilter.java:411-417 | app/server/appsmith-interfaces/src/main/java/com/appsmith/util/RestrictedHostFilter.java:596-602
  • Duplicated block (7 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/EmailServiceCEImpl.java:76 — app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/EmailServiceCEImpl.java:76-82 | app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/EmailServiceCEImpl.java:137-143
  • Duplicated block (7 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/datasourcestorages/base/DatasourceStorageServiceCEImpl.java:416 — app/server/appsmith-server/src/main/java/com/appsmith/server/datasourcestorages/base/DatasourceStorageServiceCEImpl.java:416-422 | app/server/appsmith-server/src/main/java/com/appsmith/server/datasourcestorages/base/DatasourceStorageServiceCEImpl.java:436-442
  • Duplicated block (7 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/ce/AppsmithComparatorsCE.java:52 — app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/ce/AppsmithComparatorsCE.java:52-58 | app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/ce/AppsmithComparatorsCE.java:59-65
  • Duplicated block (7 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/DslUtils.java:94 — app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/DslUtils.java:94-100 | app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/DslUtils.java:128-134
  • Duplicated block (7 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/MigrationHelperMethods.java:864 — app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/MigrationHelperMethods.java:864-870 | app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/MigrationHelperMethods.java:888-894
  • Duplicated block (7 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/MigrationHelperMethods.java:1286 — app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/MigrationHelperMethods.java:1286-1292 | app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/MigrationHelperMethods.java:1314-1320
  • Duplicated block (7 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/EnvManagerCEImpl.java:343 — app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/EnvManagerCEImpl.java:343-349 | app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/EnvManagerCEImpl.java:351-357
  • Duplicated block (7 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/PolicySolutionCEImpl.java:271 — app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/PolicySolutionCEImpl.java:271-277 | app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/PolicySolutionCEImpl.java:289-295
  • Duplicated block (7 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/widgets/refactors/WidgetRefactoringServiceCEImpl.java:124 — app/server/appsmith-server/src/main/java/com/appsmith/server/widgets/refactors/WidgetRefactoringServiceCEImpl.java:124-130 | app/server/appsmith-server/src/main/java/com/appsmith/server/widgets/refactors/WidgetRefactoringServiceCEImpl.java:163-169
D3 · God Classes · FileTooLong · ×5
  • FileTooLong: support/widgetCommands.js app/client/cypress/support/widgetCommands.js:0 — FileTooLong — 1659 lines.
  • FileTooLong: libraries/fast-csv@4.3.6.js app/client/public/libraries/fast-csv@4.3.6.js:0 — FileTooLong — 8086 lines.
  • FileTooLong: libraries/jsonwebtoken@8.5.1.js app/client/public/libraries/jsonwebtoken@8.5.1.js:0 — FileTooLong — 19989 lines.
  • FileTooLong: tests/reflowUtils.test.js app/client/src/reflow/tests/reflowUtils.test.js:0 — FileTooLong — 2470 lines.
  • FileTooLong: widget/derived.test.js app/client/src/widgets/wds/WDSTableWidget/widget/derived.test.js:0 — FileTooLong — 3658 lines.
D1 · Cyclomatic Complexity · (anonymous) (cyclomatic 22) · ×4
  • (anonymous) (cyclomatic 22) app/client/public/libraries/fast-csv@4.3.6.js:2122 — (anonymous) has cyclomatic complexity 22 (threshold 15).
  • (anonymous) (cyclomatic 22) app/client/public/libraries/fast-csv@4.3.6.js:4321 — (anonymous) has cyclomatic complexity 22 (threshold 15).
  • (anonymous) (cyclomatic 22) app/client/public/libraries/jsonwebtoken@8.5.1.js:8830 — (anonymous) has cyclomatic complexity 22 (threshold 15).
  • (anonymous) (cyclomatic 22) app/client/src/widgets/TableWidgetV2/widget/derived.js:520 — (anonymous) has cyclomatic complexity 22 (threshold 15).
D4 · Code Duplication · Duplicated block (6 lines × 3) · ×4
  • Duplicated block (6 lines × 3) app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/AIConfigServiceCEImpl.java:1189 — app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/AIConfigServiceCEImpl.java:1189-1194 | app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/AIConfigServiceCEImpl.java:1199-1204 | app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/AIConfigServiceCEImpl.java:1208-1213
  • Duplicated block (6 lines × 3) app/server/appsmith-server/src/main/java/com/appsmith/server/imports/internal/ImportServiceCEImpl.java:224 — app/server/appsmith-server/src/main/java/com/appsmith/server/imports/internal/ImportServiceCEImpl.java:224-229 | app/server/appsmith-server/src/main/java/com/appsmith/server/imports/internal/ImportServiceCEImpl.java:280-285 | app/server/appsmith-server/src/main/java/com/appsmith/server/imports/internal/ImportServiceCEImpl.java:305-310
  • Duplicated block (6 lines × 3) app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/db/ce/Migration044AddIndexesToDomainObjects.java:38 — app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/db/ce/Migration044AddIndexesToDomainObjects.java:38-43 | app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/db/ce/Migration044AddIndexesToDomainObjects.java:59-64 | app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/db/ce/Migration044AddIndexesToDomainObjects.java:80-85
  • Duplicated block (6 lines × 3) app/server/appsmith-server/src/main/java/com/appsmith/server/ratelimiting/ce/RateLimitServiceCEImpl.java:42 — app/server/appsmith-server/src/main/java/com/appsmith/server/ratelimiting/ce/RateLimitServiceCEImpl.java:42-47 | app/server/appsmith-server/src/main/java/com/appsmith/server/ratelimiting/ce/RateLimitServiceCEImpl.java:99-104 | app/server/appsmith-server/src/main/java/com/appsmith/server/ratelimiting/ce/RateLimitServiceCEImpl.java:126-131
D1 · Cyclomatic Complexity · (anonymous) (cyclomatic 21) · ×3
  • (anonymous) (cyclomatic 21) app/client/public/libraries/fast-csv@4.3.6.js:2137 — (anonymous) has cyclomatic complexity 21 (threshold 15).
  • (anonymous) (cyclomatic 21) app/client/public/libraries/fast-csv@4.3.6.js:2879 — (anonymous) has cyclomatic complexity 21 (threshold 15).
  • (anonymous) (cyclomatic 21) app/client/src/widgets/wds/WDSTableWidget/widget/derived.js:782 — (anonymous) has cyclomatic complexity 21 (threshold 15).
D1 · Cyclomatic Complexity · (anonymous) (cyclomatic 17) · ×3
  • (anonymous) (cyclomatic 17) app/client/public/libraries/fast-csv@4.3.6.js:3649 — (anonymous) has cyclomatic complexity 17 (threshold 15).
  • (anonymous) (cyclomatic 17) app/client/public/libraries/jsonwebtoken@8.5.1.js:2214 — (anonymous) has cyclomatic complexity 17 (threshold 15).
  • (anonymous) (cyclomatic 17) app/client/src/widgets/wds/WDSTableWidget/widget/derived.js:477 — (anonymous) has cyclomatic complexity 17 (threshold 15).
D4 · Code Duplication · Duplicated block (24 lines × 2) · ×3
  • Duplicated block (24 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/ce/UserUtilsCE.java:108 — app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/ce/UserUtilsCE.java:108-131 | app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/ce/UserUtilsCE.java:161-53
  • Duplicated block (24 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/DatasourceAnalyticsUtils.java:32 — app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/DatasourceAnalyticsUtils.java:32-38 | app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/DatasourceAnalyticsUtils.java:44-67
  • Duplicated block (24 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/imports/internal/ImportServiceCEImpl.java:129 — app/server/appsmith-server/src/main/java/com/appsmith/server/imports/internal/ImportServiceCEImpl.java:129-152 | app/server/appsmith-server/src/main/java/com/appsmith/server/imports/internal/ImportServiceCEImpl.java:284-186
D4 · Code Duplication · Duplicated block (10 lines × 2) · ×3
  • Duplicated block (10 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/DatabaseChangelog1.java:136 — app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/DatabaseChangelog1.java:136-145 | app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/DatabaseChangelog1.java:147-156
  • Duplicated block (10 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/DatabaseChangelog2.java:512 — app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/DatabaseChangelog2.java:512-521 | app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/DatabaseChangelog2.java:649-658
  • Duplicated block (10 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/MigrationHelperMethods.java:408 — app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/MigrationHelperMethods.java:408-417 | app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/MigrationHelperMethods.java:702-711
D4 · Code Duplication · Duplicated block (9 lines × 2) · ×3
  • Duplicated block (9 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/UserServiceCEImpl.java:697 — app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/UserServiceCEImpl.java:697-705 | app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/UserServiceCEImpl.java:769-696
  • Duplicated block (9 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/applications/git/GitApplicationHelperCEImpl.java:129 — app/server/appsmith-server/src/main/java/com/appsmith/server/applications/git/GitApplicationHelperCEImpl.java:129-137 | app/server/appsmith-server/src/main/java/com/appsmith/server/applications/git/GitApplicationHelperCEImpl.java:149-157
  • Duplicated block (9 lines × 2) app/server/appsmith-plugins/appsmithAiPlugin/src/main/java/com/external/plugins/dtos/SourceDetails.java:15 — app/server/appsmith-plugins/appsmithAiPlugin/src/main/java/com/external/plugins/dtos/SourceDetails.java:15-23 | app/server/appsmith-plugins/appsmithAiPlugin/src/main/java/com/external/plugins/dtos/SourceDetails.java:24-1
D4 · Code Duplication · Duplicated block (7 lines × 3) · ×3
  • Duplicated block (7 lines × 3) app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/db/ce/Migration058AddIndexesToBranchAwareDomains.java:71 — app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/db/ce/Migration058AddIndexesToBranchAwareDomains.java:71-77 | app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/db/ce/Migration058AddIndexesToBranchAwareDomains.java:89-95 | app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/db/ce/Migration058AddIndexesToBranchAwareDomains.java:108-114
  • Duplicated block (7 lines × 3) app/server/appsmith-plugins/mssqlPlugin/src/main/java/com/external/plugins/utils/MssqlExecuteUtils.java:34 — app/server/appsmith-plugins/mssqlPlugin/src/main/java/com/external/plugins/utils/MssqlExecuteUtils.java:34-40 | app/server/appsmith-plugins/mssqlPlugin/src/main/java/com/external/plugins/utils/MssqlExecuteUtils.java:41-47 | app/server/appsmith-plugins/mssqlPlugin/src/main/java/com/external/plugins/utils/MssqlExecuteUtils.java:48-54
  • Duplicated block (7 lines × 3) app/server/appsmith-plugins/oraclePlugin/src/main/java/com/external/plugins/utils/OracleExecuteUtils.java:59 — app/server/appsmith-plugins/oraclePlugin/src/main/java/com/external/plugins/utils/OracleExecuteUtils.java:59-65 | app/server/appsmith-plugins/oraclePlugin/src/main/java/com/external/plugins/utils/OracleExecuteUtils.java:66-72 | app/server/appsmith-plugins/oraclePlugin/src/main/java/com/external/plugins/utils/OracleExecuteUtils.java:73-79
D1 · Cyclomatic Complexity · isValid (cyclomatic 36) · ×2
  • isValid (cyclomatic 36) app/client/src/widgets/InputWidgetV2/widget/derived.js:3 — isValid has cyclomatic complexity 36 (threshold 15).
  • isValid (cyclomatic 36) app/client/src/widgets/wds/WDSInputWidget/widget/derived.js:3 — isValid has cyclomatic complexity 36 (threshold 15).
D1 · Cyclomatic Complexity · write (cyclomatic 27) · ×2
  • write (cyclomatic 27) app/client/public/libraries/fast-csv@4.3.6.js:4420 — write has cyclomatic complexity 27 (threshold 15).
  • write (cyclomatic 27) app/client/public/libraries/jsonwebtoken@8.5.1.js:8929 — write has cyclomatic complexity 27 (threshold 15).
D1 · Cyclomatic Complexity · read (cyclomatic 25) · ×2
  • read (cyclomatic 25) app/client/public/libraries/fast-csv@4.3.6.js:6158 — read has cyclomatic complexity 25 (threshold 15).
  • read (cyclomatic 25) app/client/public/libraries/jsonwebtoken@8.5.1.js:17085 — read has cyclomatic complexity 25 (threshold 15).
D1 · Cyclomatic Complexity · (anonymous) (cyclomatic 24) · ×2
  • (anonymous) (cyclomatic 24) app/client/public/libraries/fast-csv@4.3.6.js:2191 — (anonymous) has cyclomatic complexity 24 (threshold 15).
  • (anonymous) (cyclomatic 24) app/client/public/libraries/fast-csv@4.3.6.js:2933 — (anonymous) has cyclomatic complexity 24 (threshold 15).
D1 · Cyclomatic Complexity · copy (cyclomatic 24) · ×2
  • copy (cyclomatic 24) app/client/public/libraries/fast-csv@4.3.6.js:4830 — copy has cyclomatic complexity 24 (threshold 15).
  • copy (cyclomatic 24) app/client/public/libraries/jsonwebtoken@8.5.1.js:9339 — copy has cyclomatic complexity 24 (threshold 15).
D1 · Cyclomatic Complexity · fill (cyclomatic 24) · ×2
  • fill (cyclomatic 24) app/client/public/libraries/fast-csv@4.3.6.js:4860 — fill has cyclomatic complexity 24 (threshold 15).
  • fill (cyclomatic 24) app/client/public/libraries/jsonwebtoken@8.5.1.js:9369 — fill has cyclomatic complexity 24 (threshold 15).
D1 · Cyclomatic Complexity · compare (cyclomatic 21) · ×2
  • compare (cyclomatic 21) app/client/public/libraries/fast-csv@4.3.6.js:4374 — compare has cyclomatic complexity 21 (threshold 15).
  • compare (cyclomatic 21) app/client/public/libraries/jsonwebtoken@8.5.1.js:8883 — compare has cyclomatic complexity 21 (threshold 15).
D1 · Cyclomatic Complexity · p (cyclomatic 18) · ×2
  • p (cyclomatic 18) app/client/public/libraries/fast-csv@4.3.6.js:3959 — p has cyclomatic complexity 18 (threshold 15).
  • p (cyclomatic 18) app/client/public/libraries/jsonwebtoken@8.5.1.js:8468 — p has cyclomatic complexity 18 (threshold 15).
D1 · Cyclomatic Complexity · removeListener (cyclomatic 18) · ×2
  • removeListener (cyclomatic 18) app/client/public/libraries/fast-csv@4.3.6.js:5321 — removeListener has cyclomatic complexity 18 (threshold 15).
  • removeListener (cyclomatic 18) app/client/public/libraries/jsonwebtoken@8.5.1.js:13880 — removeListener has cyclomatic complexity 18 (threshold 15).
D1 · Cyclomatic Complexity · w (cyclomatic 18) · ×2
  • w (cyclomatic 18) app/client/public/libraries/fast-csv@4.3.6.js:5874 — w has cyclomatic complexity 18 (threshold 15).
  • w (cyclomatic 18) app/client/public/libraries/jsonwebtoken@8.5.1.js:16801 — w has cyclomatic complexity 18 (threshold 15).
D1 · Cyclomatic Complexity · write (cyclomatic 17) · ×2
  • write (cyclomatic 17) app/client/public/libraries/fast-csv@4.3.6.js:5434 — write has cyclomatic complexity 17 (threshold 15).
  • write (cyclomatic 17) app/client/public/libraries/jsonwebtoken@8.5.1.js:15139 — write has cyclomatic complexity 17 (threshold 15).
D2 · Cognitive Complexity · isValid (cognitive 39) · ×2
  • isValid (cognitive 39) app/client/src/widgets/InputWidgetV2/widget/derived.js:3 — isValid has cognitive complexity 39 (threshold 15).
  • isValid (cognitive 39) app/client/src/widgets/wds/WDSInputWidget/widget/derived.js:3 — isValid has cognitive complexity 39 (threshold 15).
D2 · Cognitive Complexity · (anonymous) (cognitive 31) · ×2
  • (anonymous) (cognitive 31) app/client/public/libraries/fast-csv@4.3.6.js:1762 — (anonymous) has cognitive complexity 31 (threshold 15).
  • (anonymous) (cognitive 31) app/client/src/widgets/TableWidgetV2/widget/derived.js:520 — (anonymous) has cognitive complexity 31 (threshold 15).
D2 · Cognitive Complexity · (anonymous) (cognitive 30) · ×2
  • (anonymous) (cognitive 30) app/client/public/libraries/fast-csv@4.3.6.js:2191 — (anonymous) has cognitive complexity 30 (threshold 15).
  • (anonymous) (cognitive 30) app/client/public/libraries/fast-csv@4.3.6.js:2933 — (anonymous) has cognitive complexity 30 (threshold 15).
D2 · Cognitive Complexity · fill (cognitive 29) · ×2
  • fill (cognitive 29) app/client/public/libraries/fast-csv@4.3.6.js:4860 — fill has cognitive complexity 29 (threshold 15).
  • fill (cognitive 29) app/client/public/libraries/jsonwebtoken@8.5.1.js:9369 — fill has cognitive complexity 29 (threshold 15).
D2 · Cognitive Complexity · (anonymous) (cognitive 28) · ×2
  • (anonymous) (cognitive 28) app/client/public/libraries/fast-csv@4.3.6.js:2862 — (anonymous) has cognitive complexity 28 (threshold 15).
  • (anonymous) (cognitive 28) app/client/public/libraries/fast-csv@4.3.6.js:3649 — (anonymous) has cognitive complexity 28 (threshold 15).
D2 · Cognitive Complexity · (anonymous) (cognitive 25) · ×2
  • (anonymous) (cognitive 25) app/client/src/widgets/wds/WDSTableWidget/widget/derived.js:308 — (anonymous) has cognitive complexity 25 (threshold 15).
  • (anonymous) (cognitive 25) app/client/src/widgets/wds/WDSTableWidget/widget/derived.js:782 — (anonymous) has cognitive complexity 25 (threshold 15).
D2 · Cognitive Complexity · copy (cognitive 24) · ×2
  • copy (cognitive 24) app/client/public/libraries/fast-csv@4.3.6.js:4830 — copy has cognitive complexity 24 (threshold 15).
  • copy (cognitive 24) app/client/public/libraries/jsonwebtoken@8.5.1.js:9339 — copy has cognitive complexity 24 (threshold 15).
D2 · Cognitive Complexity · read (cognitive 24) · ×2
  • read (cognitive 24) app/client/public/libraries/fast-csv@4.3.6.js:6158 — read has cognitive complexity 24 (threshold 15).
  • read (cognitive 24) app/client/public/libraries/jsonwebtoken@8.5.1.js:17085 — read has cognitive complexity 24 (threshold 15).
D2 · Cognitive Complexity · p (cognitive 22) · ×2
  • p (cognitive 22) app/client/public/libraries/fast-csv@4.3.6.js:3959 — p has cognitive complexity 22 (threshold 15).
  • p (cognitive 22) app/client/public/libraries/jsonwebtoken@8.5.1.js:8468 — p has cognitive complexity 22 (threshold 15).
D2 · Cognitive Complexity · removeListener (cognitive 21) · ×2
  • removeListener (cognitive 21) app/client/public/libraries/fast-csv@4.3.6.js:5321 — removeListener has cognitive complexity 21 (threshold 15).
  • removeListener (cognitive 21) app/client/public/libraries/jsonwebtoken@8.5.1.js:13880 — removeListener has cognitive complexity 21 (threshold 15).
D2 · Cognitive Complexity · compare (cognitive 20) · ×2
  • compare (cognitive 20) app/client/public/libraries/fast-csv@4.3.6.js:4374 — compare has cognitive complexity 20 (threshold 15).
  • compare (cognitive 20) app/client/public/libraries/jsonwebtoken@8.5.1.js:8883 — compare has cognitive complexity 20 (threshold 15).
D2 · Cognitive Complexity · write (cognitive 18) · ×2
  • write (cognitive 18) app/client/public/libraries/fast-csv@4.3.6.js:4420 — write has cognitive complexity 18 (threshold 15).
  • write (cognitive 18) app/client/public/libraries/jsonwebtoken@8.5.1.js:8929 — write has cognitive complexity 18 (threshold 15).
D2 · Cognitive Complexity · w (cognitive 17) · ×2
  • w (cognitive 17) app/client/public/libraries/fast-csv@4.3.6.js:5874 — w has cognitive complexity 17 (threshold 15).
  • w (cognitive 17) app/client/public/libraries/jsonwebtoken@8.5.1.js:16801 — w has cognitive complexity 17 (threshold 15).
D2 · Cognitive Complexity · write (cognitive 16) · ×2
  • write (cognitive 16) app/client/public/libraries/fast-csv@4.3.6.js:5434 — write has cognitive complexity 16 (threshold 15).
  • write (cognitive 16) app/client/public/libraries/jsonwebtoken@8.5.1.js:15139 — write has cognitive complexity 16 (threshold 15).
D4 · Code Duplication · Duplicated block (296 lines × 5) · ×2
  • Duplicated block (296 lines × 5) app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/DatabaseChangelog1.java:287 — app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/DatabaseChangelog1.java:287-138 | app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/DatabaseChangelog1.java:318-441 | app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/DatabaseChangelog1.java:471-766 | app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/DatabaseChangelog1.java:777-609 | app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/DatabaseChangelog1.java:785-358
  • Duplicated block (296 lines × 5) app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/DatabaseChangelog1.java:287 — app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/DatabaseChangelog1.java:287-138 | app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/DatabaseChangelog1.java:318-441 | app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/DatabaseChangelog1.java:471-766 | app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/DatabaseChangelog1.java:777-609 | app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/DatabaseChangelog1.java:785-358
D4 · Code Duplication · Duplicated block (279 lines × 2) · ×2
  • Duplicated block (279 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/AuthenticationServiceCEImpl.java:302 — app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/AuthenticationServiceCEImpl.java:302-580 | app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/AuthenticationServiceCEImpl.java:644-396
  • Duplicated block (279 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/staticurl/StaticUrlServiceImpl.java:621 — app/server/appsmith-server/src/main/java/com/appsmith/server/staticurl/StaticUrlServiceImpl.java:621-899 | app/server/appsmith-server/src/main/java/com/appsmith/server/staticurl/StaticUrlServiceImpl.java:916-806
D4 · Code Duplication · Duplicated block (245 lines × 2) · ×2
  • Duplicated block (245 lines × 2) app/server/appsmith-interfaces/src/main/java/com/appsmith/external/helpers/MustacheHelper.java:212 — app/server/appsmith-interfaces/src/main/java/com/appsmith/external/helpers/MustacheHelper.java:212-456 | app/server/appsmith-interfaces/src/main/java/com/appsmith/external/helpers/MustacheHelper.java:512-421
  • Duplicated block (245 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/PermissionGroupServiceCEImpl.java:100 — app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/PermissionGroupServiceCEImpl.java:100-344 | app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/PermissionGroupServiceCEImpl.java:349-324
D4 · Code Duplication · Duplicated block (32 lines × 2) · ×2
  • Duplicated block (32 lines × 2) app/server/appsmith-interfaces/src/main/java/com/appsmith/external/models/DatasourceStructure.java:126 — app/server/appsmith-interfaces/src/main/java/com/appsmith/external/models/DatasourceStructure.java:126-157 | app/server/appsmith-interfaces/src/main/java/com/appsmith/external/models/DatasourceStructure.java:168-140
  • Duplicated block (32 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/git/controllers/GitApplicationControllerCE.java:84 — app/server/appsmith-server/src/main/java/com/appsmith/server/git/controllers/GitApplicationControllerCE.java:84-115 | app/server/appsmith-server/src/main/java/com/appsmith/server/git/controllers/GitApplicationControllerCE.java:240-252
D4 · Code Duplication · Duplicated block (29 lines × 2) · ×2
  • Duplicated block (29 lines × 2) app/server/appsmith-interfaces/src/main/java/com/appsmith/util/RestrictedHostFilter.java:442 — app/server/appsmith-interfaces/src/main/java/com/appsmith/util/RestrictedHostFilter.java:442-470 | app/server/appsmith-interfaces/src/main/java/com/appsmith/util/RestrictedHostFilter.java:780-653
  • Duplicated block (29 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/refactors/applications/RefactoringServiceCEImpl.java:351 — app/server/appsmith-server/src/main/java/com/appsmith/server/refactors/applications/RefactoringServiceCEImpl.java:351-379 | app/server/appsmith-server/src/main/java/com/appsmith/server/refactors/applications/RefactoringServiceCEImpl.java:387-118
D4 · Code Duplication · Duplicated block (12 lines × 2) · ×2
  • Duplicated block (12 lines × 2) app/server/appsmith-interfaces/src/main/java/com/appsmith/util/RestrictedHostFilter.java:323 — app/server/appsmith-interfaces/src/main/java/com/appsmith/util/RestrictedHostFilter.java:323-334 | app/server/appsmith-interfaces/src/main/java/com/appsmith/util/RestrictedHostFilter.java:363-314
  • Duplicated block (12 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/ApplicationSnapshotServiceCEImpl.java:63 — app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/ApplicationSnapshotServiceCEImpl.java:63-74 | app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/ApplicationSnapshotServiceCEImpl.java:128-137
D4 · Code Duplication · Duplicated block (8 lines × 2) · ×2
  • Duplicated block (8 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/repositories/ce/BaseAppsmithRepositoryCEImpl.java:447 — app/server/appsmith-server/src/main/java/com/appsmith/server/repositories/ce/BaseAppsmithRepositoryCEImpl.java:447-454 | app/server/appsmith-server/src/main/java/com/appsmith/server/repositories/ce/BaseAppsmithRepositoryCEImpl.java:478-485
  • Duplicated block (8 lines × 2) app/server/reactive-caching/src/main/java/com/appsmith/caching/aspects/DistributedLockAspect.java:93 — app/server/reactive-caching/src/main/java/com/appsmith/caching/aspects/DistributedLockAspect.java:93-100 | app/server/reactive-caching/src/main/java/com/appsmith/caching/aspects/DistributedLockAspect.java:118-125
D4 · Code Duplication · Duplicated block (7 lines × 4) · ×2
  • Duplicated block (7 lines × 4) app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/AIConfigServiceCEImpl.java:465 — app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/AIConfigServiceCEImpl.java:465-471 | app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/AIConfigServiceCEImpl.java:995-1001 | app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/AIConfigServiceCEImpl.java:1124-1130 | app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/AIConfigServiceCEImpl.java:1273-1279
  • Duplicated block (7 lines × 4) app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/DatabaseChangelog1.java:251 — app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/DatabaseChangelog1.java:251-257 | app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/DatabaseChangelog1.java:354-360 | app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/DatabaseChangelog1.java:374-380 | app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/DatabaseChangelog1.java:457-463
D4 · Code Duplication · Duplicated block (5 lines × 4) · ×2
  • Duplicated block (5 lines × 4) app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/MigrationHelperMethods.java:829 — app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/MigrationHelperMethods.java:829-833 | app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/MigrationHelperMethods.java:837-841 | app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/MigrationHelperMethods.java:895-899 | app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/MigrationHelperMethods.java:903-907
  • Duplicated block (5 lines × 4) app/server/appsmith-server/src/main/java/com/appsmith/server/staticurl/StaticUrlServiceImpl.java:101 — app/server/appsmith-server/src/main/java/com/appsmith/server/staticurl/StaticUrlServiceImpl.java:101-105 | app/server/appsmith-server/src/main/java/com/appsmith/server/staticurl/StaticUrlServiceImpl.java:146-150 | app/server/appsmith-server/src/main/java/com/appsmith/server/staticurl/StaticUrlServiceImpl.java:202-206 | app/server/appsmith-server/src/main/java/com/appsmith/server/staticurl/StaticUrlServiceImpl.java:508-512
D4 · Code Duplication · Duplicated block (5 lines × 3) · ×2
  • Duplicated block (5 lines × 3) app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/WorkspaceServiceCEImpl.java:243 — app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/WorkspaceServiceCEImpl.java:243-247 | app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/WorkspaceServiceCEImpl.java:250-254 | app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/WorkspaceServiceCEImpl.java:257-261
  • Duplicated block (5 lines × 3) app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/MigrationHelperMethods.java:472 — app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/MigrationHelperMethods.java:472-476 | app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/MigrationHelperMethods.java:494-498 | app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/MigrationHelperMethods.java:732-736
D1 · Cyclomatic Complexity · (anonymous) (cyclomatic 46) · ×1
  • (anonymous) (cyclomatic 46) app/client/public/libraries/jsonwebtoken@8.5.1.js:2737 — (anonymous) has cyclomatic complexity 46 (threshold 15).
D1 · Cyclomatic Complexity · _decode (cyclomatic 44) · ×1
  • _decode (cyclomatic 44) app/client/public/libraries/jsonwebtoken@8.5.1.js:3268 — _decode has cyclomatic complexity 44 (threshold 15).
D1 · Cyclomatic Complexity · (anonymous) (cyclomatic 42) · ×1
  • (anonymous) (cyclomatic 42) app/client/public/libraries/fast-csv@4.3.6.js:2623 — (anonymous) has cyclomatic complexity 42 (threshold 15).
D1 · Cyclomatic Complexity · (anonymous) (cyclomatic 37) · ×1
  • (anonymous) (cyclomatic 37) app/client/public/libraries/fast-csv@4.3.6.js:1762 — (anonymous) has cyclomatic complexity 37 (threshold 15).
D1 · Cyclomatic Complexity · exports (cyclomatic 34) · ×1
  • exports (cyclomatic 34) app/client/config/webpack.config.js:82 — exports has cyclomatic complexity 34 (threshold 15).
D1 · Cyclomatic Complexity · l (cyclomatic 31) · ×1
  • l (cyclomatic 31) app/client/public/libraries/fast-csv@4.3.6.js:7760 — l has cyclomatic complexity 31 (threshold 15).
D1 · Cyclomatic Complexity · exports (cyclomatic 31) · ×1
  • exports (cyclomatic 31) app/client/public/libraries/jsonwebtoken@8.5.1.js:2530 — exports has cyclomatic complexity 31 (threshold 15).
D1 · Cyclomatic Complexity · u (cyclomatic 31) · ×1
  • u (cyclomatic 31) app/client/public/libraries/jsonwebtoken@8.5.1.js:19518 — u has cyclomatic complexity 31 (threshold 15).
D1 · Cyclomatic Complexity · intersects (cyclomatic 28) · ×1
  • intersects (cyclomatic 28) app/client/public/libraries/jsonwebtoken@8.5.1.js:1939 — intersects has cyclomatic complexity 28 (threshold 15).
D1 · Cyclomatic Complexity · T (cyclomatic 25) · ×1
  • T (cyclomatic 25) app/client/public/libraries/fast-csv@4.3.6.js:4084 — T has cyclomatic complexity 25 (threshold 15).
D1 · Cyclomatic Complexity · E (cyclomatic 25) · ×1
  • E (cyclomatic 25) app/client/public/libraries/jsonwebtoken@8.5.1.js:8593 — E has cyclomatic complexity 25 (threshold 15).
D1 · Cyclomatic Complexity · (anonymous) (cyclomatic 25) · ×1
  • (anonymous) (cyclomatic 25) app/client/src/widgets/TableWidgetV2/widget/derived.js:787 — (anonymous) has cyclomatic complexity 25 (threshold 15).
D1 · Cyclomatic Complexity · Ee (cyclomatic 24) · ×1
  • Ee (cyclomatic 24) app/client/public/libraries/fast-csv@4.3.6.js:2803 — Ee has cyclomatic complexity 24 (threshold 15).
D1 · Cyclomatic Complexity · _encodeValue (cyclomatic 24) · ×1
  • _encodeValue (cyclomatic 24) app/client/public/libraries/jsonwebtoken@8.5.1.js:3427 — _encodeValue has cyclomatic complexity 24 (threshold 15).
D1 · Cyclomatic Complexity · (anonymous) (cyclomatic 23) · ×1
  • (anonymous) (cyclomatic 23) app/client/public/libraries/fast-csv@4.3.6.js:2862 — (anonymous) has cyclomatic complexity 23 (threshold 15).
D1 · Cyclomatic Complexity · inc (cyclomatic 23) · ×1
  • inc (cyclomatic 23) app/client/public/libraries/jsonwebtoken@8.5.1.js:1594 — inc has cyclomatic complexity 23 (threshold 15).
D1 · Cyclomatic Complexity · h (cyclomatic 22) · ×1
  • h (cyclomatic 22) app/client/public/libraries/fast-csv@4.3.6.js:3920 — h has cyclomatic complexity 22 (threshold 15).
D1 · Cyclomatic Complexity · B (cyclomatic 22) · ×1
  • B (cyclomatic 22) app/client/public/libraries/fast-csv@4.3.6.js:4902 — B has cyclomatic complexity 22 (threshold 15).
D1 · Cyclomatic Complexity · d (cyclomatic 22) · ×1
  • d (cyclomatic 22) app/client/public/libraries/jsonwebtoken@8.5.1.js:8429 — d has cyclomatic complexity 22 (threshold 15).
D1 · Cyclomatic Complexity · D (cyclomatic 22) · ×1
  • D (cyclomatic 22) app/client/public/libraries/jsonwebtoken@8.5.1.js:9411 — D has cyclomatic complexity 22 (threshold 15).
D1 · Cyclomatic Complexity · _wnafMulAdd (cyclomatic 22) · ×1
  • _wnafMulAdd (cyclomatic 22) app/client/public/libraries/jsonwebtoken@8.5.1.js:10803 — _wnafMulAdd has cyclomatic complexity 22 (threshold 15).
D1 · Cyclomatic Complexity · y (cyclomatic 20) · ×1
  • y (cyclomatic 20) app/client/public/libraries/fast-csv@4.3.6.js:3990 — y has cyclomatic complexity 20 (threshold 15).
D1 · Cyclomatic Complexity · toString (cyclomatic 20) · ×1
  • toString (cyclomatic 20) app/client/public/libraries/jsonwebtoken@8.5.1.js:4550 — toString has cyclomatic complexity 20 (threshold 15).
D1 · Cyclomatic Complexity · divmod (cyclomatic 20) · ×1
  • divmod (cyclomatic 20) app/client/public/libraries/jsonwebtoken@8.5.1.js:5895 — divmod has cyclomatic complexity 20 (threshold 15).
D1 · Cyclomatic Complexity · b (cyclomatic 20) · ×1
  • b (cyclomatic 20) app/client/public/libraries/jsonwebtoken@8.5.1.js:8499 — b has cyclomatic complexity 20 (threshold 15).
D1 · Cyclomatic Complexity · c (cyclomatic 19) · ×1
  • c (cyclomatic 19) app/client/public/libraries/jsonwebtoken@8.5.1.js:15766 — c has cyclomatic complexity 19 (threshold 15).
D1 · Cyclomatic Complexity · (anonymous) (cyclomatic 19) · ×1
  • (anonymous) (cyclomatic 19) app/client/src/widgets/TableWidget/widget/derived.js:326 — (anonymous) has cyclomatic complexity 19 (threshold 15).
D1 · Cyclomatic Complexity · getFilteredTableData (cyclomatic 19) · ×1
  • getFilteredTableData (cyclomatic 19) app/client/src/widgets/TableWidgetV2/widget/derived.js:276 — getFilteredTableData has cyclomatic complexity 19 (threshold 15).
D1 · Cyclomatic Complexity · X (cyclomatic 18) · ×1
  • X (cyclomatic 18) app/client/public/libraries/jsonwebtoken@8.5.1.js:1493 — X has cyclomatic complexity 18 (threshold 15).
D1 · Cyclomatic Complexity · exports (cyclomatic 18) · ×1
  • exports (cyclomatic 18) app/client/public/libraries/jsonwebtoken@8.5.1.js:2691 — exports has cyclomatic complexity 18 (threshold 15).
D1 · Cyclomatic Complexity · _decodeGeneric (cyclomatic 18) · ×1
  • _decodeGeneric (cyclomatic 18) app/client/public/libraries/jsonwebtoken@8.5.1.js:3359 — _decodeGeneric has cyclomatic complexity 18 (threshold 15).
D1 · Cyclomatic Complexity · egcd (cyclomatic 18) · ×1
  • egcd (cyclomatic 18) app/client/public/libraries/jsonwebtoken@8.5.1.js:5973 — egcd has cyclomatic complexity 18 (threshold 15).
D1 · Cyclomatic Complexity · v (cyclomatic 18) · ×1
  • v (cyclomatic 18) app/client/public/libraries/jsonwebtoken@8.5.1.js:10617 — v has cyclomatic complexity 18 (threshold 15).
D1 · Cyclomatic Complexity · (anonymous) (cyclomatic 18) · ×1
  • (anonymous) (cyclomatic 18) app/client/src/widgets/TableWidgetV2/widget/derived.js:1220 — (anonymous) has cyclomatic complexity 18 (threshold 15).
D1 · Cyclomatic Complexity · _invmp (cyclomatic 17) · ×1
  • _invmp (cyclomatic 17) app/client/public/libraries/jsonwebtoken@8.5.1.js:6015 — _invmp has cyclomatic complexity 17 (threshold 15).
D1 · Cyclomatic Complexity · We (cyclomatic 16) · ×1
  • We (cyclomatic 16) app/client/public/libraries/fast-csv@4.3.6.js:2362 — We has cyclomatic complexity 16 (threshold 15).
D1 · Cyclomatic Complexity · Le (cyclomatic 16) · ×1
  • Le (cyclomatic 16) app/client/public/libraries/fast-csv@4.3.6.js:3005 — Le has cyclomatic complexity 16 (threshold 15).
D1 · Cyclomatic Complexity · _encodeInt (cyclomatic 16) · ×1
  • _encodeInt (cyclomatic 16) app/client/public/libraries/jsonwebtoken@8.5.1.js:4095 — _encodeInt has cyclomatic complexity 16 (threshold 15).
D1 · Cyclomatic Complexity · (anonymous) (cyclomatic 16) · ×1
  • (anonymous) (cyclomatic 16) app/client/src/widgets/wds/WDSTableWidget/widget/derived.js:308 — (anonymous) 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 (0 author(s) across 0 commit(s) sampled).
D19 · Documentation Quality · LLM evaluation failed · ×1
  • LLM evaluation failed — JSON parse error: Expected end of string, but instead reached end of data. Path: $.findings[1].suggestion | LineNumber: 0 | BytePositionInLine: 1239.
D2 · Cognitive Complexity · _decode (cognitive 67) · ×1
  • _decode (cognitive 67) app/client/public/libraries/jsonwebtoken@8.5.1.js:3268 — _decode has cognitive complexity 67 (threshold 15).
D2 · Cognitive Complexity · (anonymous) (cognitive 55) · ×1
  • (anonymous) (cognitive 55) app/client/public/libraries/jsonwebtoken@8.5.1.js:2737 — (anonymous) has cognitive complexity 55 (threshold 15).
D2 · Cognitive Complexity · B (cognitive 43) · ×1
  • B (cognitive 43) app/client/public/libraries/fast-csv@4.3.6.js:4902 — B has cognitive complexity 43 (threshold 15).
D2 · Cognitive Complexity · D (cognitive 43) · ×1
  • D (cognitive 43) app/client/public/libraries/jsonwebtoken@8.5.1.js:9411 — D has cognitive complexity 43 (threshold 15).
D2 · Cognitive Complexity · (anonymous) (cognitive 43) · ×1
  • (anonymous) (cognitive 43) app/client/src/widgets/TableWidget/widget/derived.js:326 — (anonymous) has cognitive complexity 43 (threshold 15).
D2 · Cognitive Complexity · _wnafMulAdd (cognitive 40) · ×1
  • _wnafMulAdd (cognitive 40) app/client/public/libraries/jsonwebtoken@8.5.1.js:10803 — _wnafMulAdd has cognitive complexity 40 (threshold 15).
D2 · Cognitive Complexity · exports (cognitive 37) · ×1
  • exports (cognitive 37) app/client/public/libraries/jsonwebtoken@8.5.1.js:2530 — exports has cognitive complexity 37 (threshold 15).
D2 · Cognitive Complexity · (anonymous) (cognitive 36) · ×1
  • (anonymous) (cognitive 36) app/client/public/libraries/fast-csv@4.3.6.js:2623 — (anonymous) has cognitive complexity 36 (threshold 15).
D2 · Cognitive Complexity · l (cognitive 35) · ×1
  • l (cognitive 35) app/client/public/libraries/fast-csv@4.3.6.js:7760 — l has cognitive complexity 35 (threshold 15).
D2 · Cognitive Complexity · sign (cognitive 35) · ×1
  • sign (cognitive 35) app/client/public/libraries/jsonwebtoken@8.5.1.js:12215 — sign has cognitive complexity 35 (threshold 15).
D2 · Cognitive Complexity · u (cognitive 35) · ×1
  • u (cognitive 35) app/client/public/libraries/jsonwebtoken@8.5.1.js:19518 — u has cognitive complexity 35 (threshold 15).
D2 · Cognitive Complexity · (anonymous) (cognitive 32) · ×1
  • (anonymous) (cognitive 32) app/client/src/widgets/TableWidgetV2/widget/derived.js:787 — (anonymous) has cognitive complexity 32 (threshold 15).
D2 · Cognitive Complexity · y (cognitive 31) · ×1
  • y (cognitive 31) app/client/public/libraries/fast-csv@4.3.6.js:3990 — y has cognitive complexity 31 (threshold 15).
D2 · Cognitive Complexity · b (cognitive 31) · ×1
  • b (cognitive 31) app/client/public/libraries/jsonwebtoken@8.5.1.js:8499 — b has cognitive complexity 31 (threshold 15).
D2 · Cognitive Complexity · exports (cognitive 30) · ×1
  • exports (cognitive 30) app/client/config/webpack.config.js:82 — exports has cognitive complexity 30 (threshold 15).
D2 · Cognitive Complexity · _encodeValue (cognitive 30) · ×1
  • _encodeValue (cognitive 30) app/client/public/libraries/jsonwebtoken@8.5.1.js:3427 — _encodeValue has cognitive complexity 30 (threshold 15).
D2 · Cognitive Complexity · T (cognitive 27) · ×1
  • T (cognitive 27) app/client/public/libraries/fast-csv@4.3.6.js:4084 — T has cognitive complexity 27 (threshold 15).
D2 · Cognitive Complexity · toString (cognitive 27) · ×1
  • toString (cognitive 27) app/client/public/libraries/jsonwebtoken@8.5.1.js:4550 — toString has cognitive complexity 27 (threshold 15).
D2 · Cognitive Complexity · E (cognitive 27) · ×1
  • E (cognitive 27) app/client/public/libraries/jsonwebtoken@8.5.1.js:8593 — E has cognitive complexity 27 (threshold 15).
D2 · Cognitive Complexity · (anonymous) (cognitive 26) · ×1
  • (anonymous) (cognitive 26) app/client/public/libraries/fast-csv@4.3.6.js:2122 — (anonymous) has cognitive complexity 26 (threshold 15).
D2 · Cognitive Complexity · v (cognitive 26) · ×1
  • v (cognitive 26) app/client/public/libraries/jsonwebtoken@8.5.1.js:10617 — v has cognitive complexity 26 (threshold 15).
D2 · Cognitive Complexity · intersects (cognitive 25) · ×1
  • intersects (cognitive 25) app/client/public/libraries/jsonwebtoken@8.5.1.js:1939 — intersects has cognitive complexity 25 (threshold 15).
D2 · Cognitive Complexity · c (cognitive 24) · ×1
  • c (cognitive 24) app/client/public/libraries/fast-csv@4.3.6.js:5099 — c has cognitive complexity 24 (threshold 15).
D2 · Cognitive Complexity · egcd (cognitive 24) · ×1
  • egcd (cognitive 24) app/client/public/libraries/jsonwebtoken@8.5.1.js:5973 — egcd has cognitive complexity 24 (threshold 15).
D2 · Cognitive Complexity · h (cognitive 24) · ×1
  • h (cognitive 24) app/client/public/libraries/jsonwebtoken@8.5.1.js:13658 — h has cognitive complexity 24 (threshold 15).
D2 · Cognitive Complexity · We (cognitive 23) · ×1
  • We (cognitive 23) app/client/public/libraries/fast-csv@4.3.6.js:2362 — We has cognitive complexity 23 (threshold 15).
D2 · Cognitive Complexity · Le (cognitive 23) · ×1
  • Le (cognitive 23) app/client/public/libraries/fast-csv@4.3.6.js:3005 — Le has cognitive complexity 23 (threshold 15).
D2 · Cognitive Complexity · _invmp (cognitive 23) · ×1
  • _invmp (cognitive 23) app/client/public/libraries/jsonwebtoken@8.5.1.js:6015 — _invmp has cognitive complexity 23 (threshold 15).
D2 · Cognitive Complexity · (anonymous) (cognitive 23) · ×1
  • (anonymous) (cognitive 23) app/client/src/widgets/TableWidgetV2/widget/derived.js:1220 — (anonymous) has cognitive complexity 23 (threshold 15).
D2 · Cognitive Complexity · (anonymous) (cognitive 22) · ×1
  • (anonymous) (cognitive 22) app/client/public/libraries/fast-csv@4.3.6.js:2304 — (anonymous) has cognitive complexity 22 (threshold 15).
D2 · Cognitive Complexity · getDivisor (cognitive 22) · ×1
  • getDivisor (cognitive 22) app/client/public/libraries/jsonwebtoken@8.5.1.js:15434 — getDivisor has cognitive complexity 22 (threshold 15).
D2 · Cognitive Complexity · getTableColumns (cognitive 22) · ×1
  • getTableColumns (cognitive 22) app/client/src/widgets/TableWidget/widget/derived.js:155 — getTableColumns has cognitive complexity 22 (threshold 15).
D2 · Cognitive Complexity · getFilteredTableData (cognitive 22) · ×1
  • getFilteredTableData (cognitive 22) app/client/src/widgets/TableWidgetV2/widget/derived.js:276 — getFilteredTableData has cognitive complexity 22 (threshold 15).
D2 · Cognitive Complexity · Ee (cognitive 21) · ×1
  • Ee (cognitive 21) app/client/public/libraries/fast-csv@4.3.6.js:2803 — Ee has cognitive complexity 21 (threshold 15).
D2 · Cognitive Complexity · h (cognitive 21) · ×1
  • h (cognitive 21) app/client/public/libraries/fast-csv@4.3.6.js:7875 — h has cognitive complexity 21 (threshold 15).
D2 · Cognitive Complexity · test (cognitive 21) · ×1
  • test (cognitive 21) app/client/public/libraries/jsonwebtoken@8.5.1.js:15414 — test has cognitive complexity 21 (threshold 15).
D2 · Cognitive Complexity · d (cognitive 21) · ×1
  • d (cognitive 21) app/client/public/libraries/jsonwebtoken@8.5.1.js:19633 — d has cognitive complexity 21 (threshold 15).
D2 · Cognitive Complexity · _encodeObjid (cognitive 20) · ×1
  • _encodeObjid (cognitive 20) app/client/public/libraries/jsonwebtoken@8.5.1.js:4024 — _encodeObjid has cognitive complexity 20 (threshold 15).
D2 · Cognitive Complexity · (anonymous) (cognitive 20) · ×1
  • (anonymous) (cognitive 20) app/client/src/widgets/wds/WDSTableWidget/widget/derived.js:477 — (anonymous) has cognitive complexity 20 (threshold 15).
D2 · Cognitive Complexity · gatherDataBetweenQuotes (cognitive 19) · ×1
  • gatherDataBetweenQuotes (cognitive 19) app/client/public/libraries/fast-csv@4.3.6.js:1312 — gatherDataBetweenQuotes has cognitive complexity 19 (threshold 15).
D2 · Cognitive Complexity · inc (cognitive 19) · ×1
  • inc (cognitive 19) app/client/public/libraries/jsonwebtoken@8.5.1.js:1594 — inc has cognitive complexity 19 (threshold 15).
D2 · Cognitive Complexity · divmod (cognitive 19) · ×1
  • divmod (cognitive 19) app/client/public/libraries/jsonwebtoken@8.5.1.js:5895 — divmod has cognitive complexity 19 (threshold 15).
D2 · Cognitive Complexity · toArray (cognitive 19) · ×1
  • toArray (cognitive 19) app/client/public/libraries/jsonwebtoken@8.5.1.js:14861 — toArray has cognitive complexity 19 (threshold 15).
D2 · Cognitive Complexity · isValid (cognitive 19) · ×1
  • isValid (cognitive 19) app/client/src/widgets/wds/WDSCurrencyInputWidget/widget/derived.js:3 — isValid has cognitive complexity 19 (threshold 15).
D2 · Cognitive Complexity · X (cognitive 18) · ×1
  • X (cognitive 18) app/client/public/libraries/jsonwebtoken@8.5.1.js:1493 — X has cognitive complexity 18 (threshold 15).
D2 · Cognitive Complexity · comparePre (cognitive 18) · ×1
  • comparePre (cognitive 18) app/client/public/libraries/jsonwebtoken@8.5.1.js:1572 — comparePre has cognitive complexity 18 (threshold 15).
D2 · Cognitive Complexity · exports (cognitive 18) · ×1
  • exports (cognitive 18) app/client/public/libraries/jsonwebtoken@8.5.1.js:2691 — exports has cognitive complexity 18 (threshold 15).
D2 · Cognitive Complexity · getJSF (cognitive 18) · ×1
  • getJSF (cognitive 18) app/client/public/libraries/jsonwebtoken@8.5.1.js:13506 — getJSF has cognitive complexity 18 (threshold 15).
D2 · Cognitive Complexity · isValid (cognitive 18) · ×1
  • isValid (cognitive 18) app/client/src/widgets/CurrencyInputWidget/widget/derived.js:3 — isValid has cognitive complexity 18 (threshold 15).
D2 · Cognitive Complexity · _decodeGeneric (cognitive 17) · ×1
  • _decodeGeneric (cognitive 17) app/client/public/libraries/jsonwebtoken@8.5.1.js:3359 — _decodeGeneric has cognitive complexity 17 (threshold 15).
D2 · Cognitive Complexity · _decodeStr (cognitive 17) · ×1
  • _decodeStr (cognitive 17) app/client/public/libraries/jsonwebtoken@8.5.1.js:3797 — _decodeStr has cognitive complexity 17 (threshold 15).
D2 · Cognitive Complexity · _encodeInt (cognitive 17) · ×1
  • _encodeInt (cognitive 17) app/client/public/libraries/jsonwebtoken@8.5.1.js:4095 — _encodeInt has cognitive complexity 17 (threshold 15).
D2 · Cognitive Complexity · isValid (cognitive 17) · ×1
  • isValid (cognitive 17) app/client/src/widgets/PhoneInputWidget/widget/derived.js:3 — isValid has cognitive complexity 17 (threshold 15).
D2 · Cognitive Complexity · decode (cognitive 16) · ×1
  • decode (cognitive 16) app/client/public/libraries/jsonwebtoken@8.5.1.js:3911 — decode has cognitive complexity 16 (threshold 15).
D2 · Cognitive Complexity · _getEndomorphism (cognitive 16) · ×1
  • _getEndomorphism (cognitive 16) app/client/public/libraries/jsonwebtoken@8.5.1.js:11423 — _getEndomorphism has cognitive complexity 16 (threshold 15).
D2 · Cognitive Complexity · getFilteredTableData (cognitive 16) · ×1
  • getFilteredTableData (cognitive 16) app/client/src/widgets/wds/WDSTableWidget/widget/derived.js:226 — getFilteredTableData has cognitive complexity 16 (threshold 15).
D31 · IaC & Container Security · Medium IaC · ×1
  • Medium IaC: DS-0001 deploy/heroku/Dockerfile — ':latest' tag used
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 (817 lines × 2) · ×1
  • Duplicated block (817 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/newactions/base/NewActionServiceCEImpl.java:240 — app/server/appsmith-server/src/main/java/com/appsmith/server/newactions/base/NewActionServiceCEImpl.java:240-1056 | app/server/appsmith-server/src/main/java/com/appsmith/server/newactions/base/NewActionServiceCEImpl.java:1059-1075
D4 · Code Duplication · Duplicated block (611 lines × 2) · ×1
  • Duplicated block (611 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/newactions/base/NewActionServiceCEImpl.java:1059 — app/server/appsmith-server/src/main/java/com/appsmith/server/newactions/base/NewActionServiceCEImpl.java:1059-1073 | app/server/appsmith-server/src/main/java/com/appsmith/server/newactions/base/NewActionServiceCEImpl.java:1078-1688
D4 · Code Duplication · Duplicated block (446 lines × 2) · ×1
  • Duplicated block (446 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/imports/internal/ImportServiceCEImpl.java:281 — app/server/appsmith-server/src/main/java/com/appsmith/server/imports/internal/ImportServiceCEImpl.java:281-184 | app/server/appsmith-server/src/main/java/com/appsmith/server/imports/internal/ImportServiceCEImpl.java:306-751
D4 · Code Duplication · Duplicated block (429 lines × 2) · ×1
  • Duplicated block (429 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/AIConfigServiceCEImpl.java:518 — app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/AIConfigServiceCEImpl.java:518-946 | app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/AIConfigServiceCEImpl.java:1286-1062
D4 · Code Duplication · Duplicated block (408 lines × 2) · ×1
  • Duplicated block (408 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/themes/base/ThemeServiceCEImpl.java:59 — app/server/appsmith-server/src/main/java/com/appsmith/server/themes/base/ThemeServiceCEImpl.java:59-466 | app/server/appsmith-server/src/main/java/com/appsmith/server/themes/base/ThemeServiceCEImpl.java:522-434
D4 · Code Duplication · Duplicated block (404 lines × 2) · ×1
  • Duplicated block (404 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/AIAssistantServiceCEImpl.java:347 — app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/AIAssistantServiceCEImpl.java:347-750 | app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/AIAssistantServiceCEImpl.java:797-767
D4 · Code Duplication · Duplicated block (387 lines × 4) · ×1
  • Duplicated block (387 lines × 4) app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/DatabaseChangelog1.java:396 — app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/DatabaseChangelog1.java:396-782 | app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/DatabaseChangelog1.java:803-817 | app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/DatabaseChangelog1.java:819-752 | app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/DatabaseChangelog1.java:900-801
D4 · Code Duplication · Duplicated block (295 lines × 5) · ×1
  • Duplicated block (295 lines × 5) app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/DatabaseChangelog1.java:288 — app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/DatabaseChangelog1.java:288-138 | app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/DatabaseChangelog1.java:319-441 | app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/DatabaseChangelog1.java:472-766 | app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/DatabaseChangelog1.java:778-609 | app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/DatabaseChangelog1.java:786-358
D4 · Code Duplication · Duplicated block (295 lines × 4) · ×1
  • Duplicated block (295 lines × 4) app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/DatabaseChangelog1.java:287 — app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/DatabaseChangelog1.java:287-137 | app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/DatabaseChangelog1.java:318-440 | app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/DatabaseChangelog1.java:471-765 | app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/DatabaseChangelog1.java:777-608
D4 · Code Duplication · Duplicated block (264 lines × 2) · ×1
  • Duplicated block (264 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/MigrationHelperMethods.java:87 — app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/MigrationHelperMethods.java:87-350 | app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/MigrationHelperMethods.java:673-287
D4 · Code Duplication · Duplicated block (207 lines × 2) · ×1
  • Duplicated block (207 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/MigrationHelperMethods.java:500 — app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/MigrationHelperMethods.java:500-706 | app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/MigrationHelperMethods.java:926-412
D4 · Code Duplication · Duplicated block (203 lines × 2) · ×1
  • Duplicated block (203 lines × 2) app/server/appsmith-interfaces/src/main/java/com/appsmith/external/plugins/PluginExecutor.java:147 — app/server/appsmith-interfaces/src/main/java/com/appsmith/external/plugins/PluginExecutor.java:147-349 | app/server/appsmith-interfaces/src/main/java/com/appsmith/external/plugins/PluginExecutor.java:354-172
D4 · Code Duplication · Duplicated block (190 lines × 2) · ×1
  • Duplicated block (190 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/repositories/ce/CustomNewActionRepositoryCEImpl.java:143 — app/server/appsmith-server/src/main/java/com/appsmith/server/repositories/ce/CustomNewActionRepositoryCEImpl.java:143-332 | app/server/appsmith-server/src/main/java/com/appsmith/server/repositories/ce/CustomNewActionRepositoryCEImpl.java:344-263
D4 · Code Duplication · Duplicated block (181 lines × 2) · ×1
  • Duplicated block (181 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/LayoutCollectionServiceCEImpl.java:295 — app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/LayoutCollectionServiceCEImpl.java:295-475 | app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/LayoutCollectionServiceCEImpl.java:684-318
D4 · Code Duplication · Duplicated block (180 lines × 2) · ×1
  • Duplicated block (180 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/applications/base/ApplicationServiceCEImpl.java:423 — app/server/appsmith-server/src/main/java/com/appsmith/server/applications/base/ApplicationServiceCEImpl.java:423-602 | app/server/appsmith-server/src/main/java/com/appsmith/server/applications/base/ApplicationServiceCEImpl.java:634-678
D4 · Code Duplication · Duplicated block (169 lines × 2) · ×1
  • Duplicated block (169 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/exceptions/GlobalExceptionHandler.java:117 — app/server/appsmith-server/src/main/java/com/appsmith/server/exceptions/GlobalExceptionHandler.java:117-285 | app/server/appsmith-server/src/main/java/com/appsmith/server/exceptions/GlobalExceptionHandler.java:320-216
D4 · Code Duplication · Duplicated block (129 lines × 2) · ×1
  • Duplicated block (129 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/LayoutActionServiceCEImpl.java:172 — app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/LayoutActionServiceCEImpl.java:172-300 | app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/LayoutActionServiceCEImpl.java:306-322
D4 · Code Duplication · Duplicated block (113 lines × 2) · ×1
  • Duplicated block (113 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/applications/imports/ApplicationImportServiceCEImpl.java:96 — app/server/appsmith-server/src/main/java/com/appsmith/server/applications/imports/ApplicationImportServiceCEImpl.java:96-156 | app/server/appsmith-server/src/main/java/com/appsmith/server/applications/imports/ApplicationImportServiceCEImpl.java:157-269
D4 · Code Duplication · Duplicated block (102 lines × 2) · ×1
  • Duplicated block (102 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/repositories/ce/CustomApplicationRepositoryCEImpl.java:219 — app/server/appsmith-server/src/main/java/com/appsmith/server/repositories/ce/CustomApplicationRepositoryCEImpl.java:219-320 | app/server/appsmith-server/src/main/java/com/appsmith/server/repositories/ce/CustomApplicationRepositoryCEImpl.java:347-314
D4 · Code Duplication · Duplicated block (95 lines × 2) · ×1
  • Duplicated block (95 lines × 2) app/server/appsmith-interfaces/src/main/java/com/appsmith/external/helpers/restApiUtils/helpers/HintMessageUtils.java:190 — app/server/appsmith-interfaces/src/main/java/com/appsmith/external/helpers/restApiUtils/helpers/HintMessageUtils.java:190-284 | app/server/appsmith-interfaces/src/main/java/com/appsmith/external/helpers/restApiUtils/helpers/HintMessageUtils.java:325-182
D4 · Code Duplication · Duplicated block (93 lines × 2) · ×1
  • Duplicated block (93 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/applications/exports/ApplicationExportServiceCEImpl.java:100 — app/server/appsmith-server/src/main/java/com/appsmith/server/applications/exports/ApplicationExportServiceCEImpl.java:100-192 | app/server/appsmith-server/src/main/java/com/appsmith/server/applications/exports/ApplicationExportServiceCEImpl.java:197-169
D4 · Code Duplication · Duplicated block (92 lines × 2) · ×1
  • Duplicated block (92 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/refactors/applications/RefactoringServiceCEImpl.java:220 — app/server/appsmith-server/src/main/java/com/appsmith/server/refactors/applications/RefactoringServiceCEImpl.java:220-311 | app/server/appsmith-server/src/main/java/com/appsmith/server/refactors/applications/RefactoringServiceCEImpl.java:313-1
D4 · Code Duplication · Duplicated block (81 lines × 2) · ×1
  • Duplicated block (81 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/DatabaseChangelog2.java:214 — app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/DatabaseChangelog2.java:214-294 | app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/DatabaseChangelog2.java:601-224
D4 · Code Duplication · Duplicated block (74 lines × 2) · ×1
  • Duplicated block (74 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/UserServiceCEImpl.java:179 — app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/UserServiceCEImpl.java:179-192 | app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/UserServiceCEImpl.java:798-871
D4 · Code Duplication · Duplicated block (73 lines × 2) · ×1
  • Duplicated block (73 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/repositories/ce/BaseAppsmithRepositoryCEImpl.java:214 — app/server/appsmith-server/src/main/java/com/appsmith/server/repositories/ce/BaseAppsmithRepositoryCEImpl.java:214-286 | app/server/appsmith-server/src/main/java/com/appsmith/server/repositories/ce/BaseAppsmithRepositoryCEImpl.java:557-308
D4 · Code Duplication · Duplicated block (63 lines × 2) · ×1
  • Duplicated block (63 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/MockDataServiceCEImpl.java:83 — app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/MockDataServiceCEImpl.java:83-145 | app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/MockDataServiceCEImpl.java:172-186
D4 · Code Duplication · Duplicated block (56 lines × 2) · ×1
  • Duplicated block (56 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/repositories/ce/CustomActionCollectionRepositoryCEImpl.java:115 — app/server/appsmith-server/src/main/java/com/appsmith/server/repositories/ce/CustomActionCollectionRepositoryCEImpl.java:115-170 | app/server/appsmith-server/src/main/java/com/appsmith/server/repositories/ce/CustomActionCollectionRepositoryCEImpl.java:171-23
D4 · Code Duplication · Duplicated block (46 lines × 2) · ×1
  • Duplicated block (46 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/AIConfigServiceCEImpl.java:213 — app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/AIConfigServiceCEImpl.java:213-258 | app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/AIConfigServiceCEImpl.java:1446-191
D4 · Code Duplication · Duplicated block (44 lines × 2) · ×1
  • Duplicated block (44 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/git/controllers/GitApplicationControllerCE.java:145 — app/server/appsmith-server/src/main/java/com/appsmith/server/git/controllers/GitApplicationControllerCE.java:145-188 | app/server/appsmith-server/src/main/java/com/appsmith/server/git/controllers/GitApplicationControllerCE.java:253-145
D4 · Code Duplication · Duplicated block (41 lines × 2) · ×1
  • Duplicated block (41 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/ce/AiDatasourceSchemaSerializerCE.java:68 — app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/ce/AiDatasourceSchemaSerializerCE.java:68-79 | app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/ce/AiDatasourceSchemaSerializerCE.java:86-126
D4 · Code Duplication · Duplicated block (37 lines × 2) · ×1
  • Duplicated block (37 lines × 2) app/server/appsmith-interfaces/src/main/java/com/appsmith/util/RestrictedHostFilter.java:259 — app/server/appsmith-interfaces/src/main/java/com/appsmith/util/RestrictedHostFilter.java:259-295 | app/server/appsmith-interfaces/src/main/java/com/appsmith/util/RestrictedHostFilter.java:362-313
D4 · Code Duplication · Duplicated block (36 lines × 2) · ×1
  • Duplicated block (36 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/db/ce/Migration044AddIndexesToDomainObjects.java:45 — app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/db/ce/Migration044AddIndexesToDomainObjects.java:45-80 | app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/db/ce/Migration044AddIndexesToDomainObjects.java:87-32
D4 · Code Duplication · Duplicated block (31 lines × 2) · ×1
  • Duplicated block (31 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/ce/bridge/BridgeQuery.java:21 — app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/ce/bridge/BridgeQuery.java:21-51 | app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/ce/bridge/BridgeQuery.java:57-28
D4 · Code Duplication · Duplicated block (27 lines × 2) · ×1
  • Duplicated block (27 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/ce/UserUtilsCE.java:65 — app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/ce/UserUtilsCE.java:65-81 | app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/ce/UserUtilsCE.java:108-134
D4 · Code Duplication · Duplicated block (26 lines × 2) · ×1
  • Duplicated block (26 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/ApplicationTemplateServiceCEImpl.java:127 — app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/ApplicationTemplateServiceCEImpl.java:127-152 | app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/ApplicationTemplateServiceCEImpl.java:193-87
D4 · Code Duplication · Duplicated block (23 lines × 3) · ×1
  • Duplicated block (23 lines × 3) app/server/appsmith-server/src/main/java/com/appsmith/server/ratelimiting/ce/RateLimitServiceCEImpl.java:42 — app/server/appsmith-server/src/main/java/com/appsmith/server/ratelimiting/ce/RateLimitServiceCEImpl.java:42-30 | app/server/appsmith-server/src/main/java/com/appsmith/server/ratelimiting/ce/RateLimitServiceCEImpl.java:99-121 | app/server/appsmith-server/src/main/java/com/appsmith/server/ratelimiting/ce/RateLimitServiceCEImpl.java:126-63
D4 · Code Duplication · Duplicated block (23 lines × 2) · ×1
  • Duplicated block (23 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/ratelimiting/ce/RateLimitServiceCEImpl.java:100 — app/server/appsmith-server/src/main/java/com/appsmith/server/ratelimiting/ce/RateLimitServiceCEImpl.java:100-122 | app/server/appsmith-server/src/main/java/com/appsmith/server/ratelimiting/ce/RateLimitServiceCEImpl.java:127-64
D4 · Code Duplication · Duplicated block (22 lines × 2) · ×1
  • Duplicated block (22 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/HealthCheckServiceCEImpl.java:40 — app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/HealthCheckServiceCEImpl.java:40-61 | app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/HealthCheckServiceCEImpl.java:64-46
D4 · Code Duplication · Duplicated block (21 lines × 4) · ×1
  • Duplicated block (21 lines × 4) app/server/appsmith-server/src/main/java/com/appsmith/server/staticurl/StaticUrlServiceCECompatibleImpl.java:27 — app/server/appsmith-server/src/main/java/com/appsmith/server/staticurl/StaticUrlServiceCECompatibleImpl.java:27-47 | app/server/appsmith-server/src/main/java/com/appsmith/server/staticurl/StaticUrlServiceCECompatibleImpl.java:52-32 | app/server/appsmith-server/src/main/java/com/appsmith/server/staticurl/StaticUrlServiceCECompatibleImpl.java:58-52 | app/server/appsmith-server/src/main/java/com/appsmith/server/staticurl/StaticUrlServiceCECompatibleImpl.java:64-42
D4 · Code Duplication · Duplicated block (20 lines × 2) · ×1
  • Duplicated block (20 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/WidgetSuggestionHelper.java:182 — app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/WidgetSuggestionHelper.java:182-201 | app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/WidgetSuggestionHelper.java:209-190
D4 · Code Duplication · Duplicated block (19 lines × 2) · ×1
  • Duplicated block (19 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/newactions/base/NewActionServiceCEImpl.java:1403 — app/server/appsmith-server/src/main/java/com/appsmith/server/newactions/base/NewActionServiceCEImpl.java:1403-1421 | app/server/appsmith-server/src/main/java/com/appsmith/server/newactions/base/NewActionServiceCEImpl.java:1856-1467
D4 · Code Duplication · Duplicated block (18 lines × 2) · ×1
  • Duplicated block (18 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/git/controllers/GitApplicationControllerCE.java:202 — app/server/appsmith-server/src/main/java/com/appsmith/server/git/controllers/GitApplicationControllerCE.java:202-219 | app/server/appsmith-server/src/main/java/com/appsmith/server/git/controllers/GitApplicationControllerCE.java:220-157
D4 · Code Duplication · Duplicated block (16 lines × 3) · ×1
  • Duplicated block (16 lines × 3) app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/DatabaseChangelog1.java:802 — app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/DatabaseChangelog1.java:802-817 | app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/DatabaseChangelog1.java:818-752 | app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/DatabaseChangelog1.java:899-801
D4 · Code Duplication · Duplicated block (16 lines × 2) · ×1
  • Duplicated block (16 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/exceptions/GlobalExceptionHandler.java:288 — app/server/appsmith-server/src/main/java/com/appsmith/server/exceptions/GlobalExceptionHandler.java:288-303 | app/server/appsmith-server/src/main/java/com/appsmith/server/exceptions/GlobalExceptionHandler.java:309-318
D4 · Code Duplication · Duplicated block (13 lines × 2) · ×1
  • Duplicated block (13 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/ce/AiDatasourceSchemaSerializerCE.java:48 — app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/ce/AiDatasourceSchemaSerializerCE.java:48-60 | app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/ce/AiDatasourceSchemaSerializerCE.java:71-83
D4 · Code Duplication · Duplicated block (11 lines × 2) · ×1
  • Duplicated block (11 lines × 2) app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/ActionExecutionSolutionCEImpl.java:162 — app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/ActionExecutionSolutionCEImpl.java:162-172 | app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/ActionExecutionSolutionCEImpl.java:173-183
D4 · Code Duplication · Duplicated block (8 lines × 4) · ×1
  • Duplicated block (8 lines × 4) app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/MigrationHelperMethods.java:786 — app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/MigrationHelperMethods.java:786-793 | app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/MigrationHelperMethods.java:794-801 | app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/MigrationHelperMethods.java:802-809 | app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/MigrationHelperMethods.java:813-820
D4 · Code Duplication · Duplicated block (6 lines × 4) · ×1
  • Duplicated block (6 lines × 4) app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/AIConfigServiceCEImpl.java:431 — app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/AIConfigServiceCEImpl.java:431-436 | app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/AIConfigServiceCEImpl.java:973-978 | app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/AIConfigServiceCEImpl.java:1089-1094 | app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/AIConfigServiceCEImpl.java:1250-1255
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 — 18 finding(s)
D38 · OSV Dependency Vulnerabilities · Low CVE · ×7
  • Low CVE: [GHSA redacted] app/client/yarn.lock — @smithy/config-resolver 3.0.5: [GHSA redacted] — upgrade to 4.4.0
  • Low CVE: [GHSA redacted] app/client/yarn.lock — @tootallnate/once 2.0.0: [GHSA redacted] — upgrade to 2.0.1
  • Low CVE: [GHSA redacted] app/client/yarn.lock — body-parser 1.20.5: [GHSA redacted] — upgrade to 1.20.6
  • Low CVE: [GHSA redacted] app/client/yarn.lock — diff 4.0.2: [GHSA redacted] — upgrade to 4.0.4
  • Low CVE: [GHSA redacted] app/client/yarn.lock — elliptic: [GHSA redacted]
  • Low CVE: [GHSA redacted] app/client/yarn.lock — qs 6.10.4: [GHSA redacted] — upgrade to 6.14.2
  • Low CVE: [GHSA redacted] app/client/yarn.lock — tmp 0.0.33: [GHSA redacted] — upgrade to 0.2.4
D31 · IaC & Container Security · Low IaC · ×4
  • Low IaC: DS-0026 app/client/cypress/Dockerfile — No HEALTHCHECK defined
  • Low IaC: DS-0026 deploy/docker/base.dockerfile — No HEALTHCHECK defined
  • Low IaC: DS-0026 deploy/docker/route-tests/Dockerfile — No HEALTHCHECK defined
  • Low IaC: DS-0026 deploy/heroku/Dockerfile — No HEALTHCHECK defined
D11 · Test Reliability · Test reliability not included · ×1
  • Test reliability not included — No test projects found, so reliability couldn't be assessed.
D15 · Churn × Complexity Hotspots · single-commit history · ×1
  • single-commit history — no usable git history window to measure hotspots — single-commit history — no usable git history window to measure hotspots: a single-commit clone exposes no history window, so the churn × complexity hotspot signal is unavailable — not scored for this run.
D34 · Knowledge Freshness · early-stage repository · ×1
  • early-stage repository — too little history to judge knowledge freshness — early-stage repository — too little history to judge knowledge freshness (0 commit(s) sampled).
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 .10artifacts/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 .426artifacts/raw/semgrep.json
D30 · Dependency Vulnerabilitiesdotnet (no .NET solution)dotnet (no .NET solution): not present in this environment0
D31 · IaC & Container Securitytrivytrivy config --format json --quiet .14artifacts/raw/trivy-config.json
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
D38 · OSV Dependency Vulnerabilitiesosv-scannerosv-scanner --format json --recursive .40artifacts/raw/osv-scanner.json

Run 019fdeae-3467-70c7-baee-0789b4e5e7b8 · 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