Public report — CSharpToVB, published 3 Aug 2026.
Concrete security findings (CVE IDs, secret matches, dependency versions) are hidden in this version;
ask the repo owner for the full report.
260findings with an exact file:lineof 270 — the remainder are repo-wide signals (a dimension-level measurement, not a single line); open any file:line and verify
38/97dimensions across the health lenses134 LoC · 7 projects — 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.
paul1956/CSharpToVB is sound in substance but carries real gaps (57%). It is not in crisis, but the issues below raise the cost of changing it — friction its consumers ultimately inherit.
It is strongest in Architecture (96%) — the structure is clean and changes stay contained. Security (85%) is solid too.
The area that most needs attention is Maturity (41%) — onboarding is slow — key decisions and the architecture aren't written down, so contributors have to reverse-engineer the intent. Readiness (65%) is the next concern — releases are harder to depend on — versioning, release notes and dependency hygiene are thin, so consumers can't easily tell what changed or trust an upgrade.
Leadership focus, highest impact first: Record significant decisions one document per decision (Architecture documentation); build/run (quick start) section to the root README (Documentation (README)); Group production code under src/ (or split deliberately (Folder & project structure).
For scale: Hobby (~134 production lines); rebuilding it from scratch would take roughly ~0.1 person-years (~1 engineer). Approximate, ±~30%.
It builds on a genuinely strong Architecture foundation (96%); the priorities above are the highest-leverage way to bring the rest up to that level.
How the score is built — each lens's share of the headlineWidth 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.
How we model this: boilerplate at a scaffolding rate + logic × domain Standard (×1.1) — desktop/game × a 0.8× quality factor, at €60–95/h; indicative, ±~30%. Indicative only — most sensitive to the hourly rate and the domain tier (both tunable in config).
Top priorities
The highest-leverage moves; the full ranked list is in the Roadmap below.
1
Resolve the 3 Largest orphaned file finding(s) in Knowledge Freshness — start with ExpressionVisitor.vb, MethodBodyVisitor.vb, DeclarationVisitor.vb.
Record significant decisions one document per decision — dated, stating the context, the decision and its consequences — and keep them together wherever your design docs already live (a conventional `docs/adr/` tree with `NNNN-title.md` names is the most discoverable form).
Of everything flagged, the best return on effort is: Record significant decisions one document per decision — dated, stating the context, the decision and its consequences — and keep them together wherever your design docs already live (a conventional `docs/adr/` tree with `NNNN-title.md` names is the most discoverable form). The rest can wait behind it.
Evidence: priority ranking: top of 5 ranked by impact/effort
→ Record significant decisions one document per decision — dated, stating the context, the decision and its consequences — and keep them together wherever your design docs already live (a conventional `docs/adr/` tree with `NNNN-title.md` names is the most discoverable form).
Architecture — module dependency matrix
13 modules, 6 dependencies — 1 dependency cycle, shown as the red cell(s) above the diagonal. Rows and columns are the same modules, ordered so that a module only depends on ones above it. A cell means the row depends on the column, and its number is how many type pairs create that dependency. Read one thing: is anything above the diagonal? A mark there is a dependency cycle. (A cycle is all this shows — an unusual but cycle-free dependency sits below the diagonal like any other.)
At a glance — Code Health · 68% · Adequate · gated by D1, D2, X5
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 category
Findings
Severity
A03:2021 — Injection
2
High / Critical
Roadmap
Begin by documenting significant architectural decisions in a dedicated, dated format to establish a clear design history. Next, update the root README with a quick-start section to help new contributors understand how to build and run the project. Reorganize the codebase by grouping production code under a src/ directory to separate it from tooling and test files. Finally, address knowledge freshness by resolving the three largest orphaned files and correcting misleading comments in the codebase.
Ranked by impact ÷ effort. "Helps" is the estimated gain on the 0–100 health score.
Do this
Helps
Effort
Dimension
Resolve the 3 Largest orphaned file finding(s) in Knowledge Freshness — start with ExpressionVisitor.vb, MethodBodyVisitor.vb, DeclarationVisitor.vb.
Record significant decisions one document per decision — dated, stating the context, the decision and its consequences — and keep them together wherever your design docs already live (a conventional `docs/adr/` tree with `NNNN-title.md` names is the most discoverable form).
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. 35 of 38 evaluated dimensions are computed purely by tools and static analysis (confidence 1.0); 3 documentation/naming judgement(s) are LLM-assisted and labelled advisory. Overall confidence is 0.5 — 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 — 38 dimensions across the health lenses
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
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, 260 of 270 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.)
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.
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.
Method
Backs
Version
Evaluator
Roslyn static analysis
Complexity, cohesion, coupling, dead code, API surface, layering
A clean run — every tool resolved and ran, and every applicable dimension was measured at full confidence. No scanner was unavailable, no analysis timed out or crashed, and nothing fell back to a degraded estimate.
When something does degrade — a missing scanner, a shallow clone, an LLM hiccup — it is named here explicitly and its exact cause recorded in diagnostics.md, never absorbed silently into the score.
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 (scaffolded migrations, designer/codegen output, protobuf/OpenAPI stubs, model snapshots) is EXCLUDED — its repetition is the tool's, not the team's — so the score reflects hand-written duplication only.
D5 Coupling: Coupling is measured between projects/assemblies — runtime coupling through DI, reflection, messaging or shared databases is invisible to a static reference graph.
D6 Cohesion (LCOM4): LCOM4 cohesion is syntactic — it infers connectivity from which methods touch which fields/methods by name, not from real runtime behaviour or intent.
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").
D14 License Compliance: License compatibility is checked against declared package metadata and a policy — mislabelled or missing license metadata, and obligations that depend on how you distribute, are not resolved here.
D15 Churn × Complexity Hotspots: Churn hotspots come from git history — a freshly imported or squashed repository has no churn signal, and recent rewrites can mask a historically risky file.
D17 Explicit Debt: Acknowledged-debt signals (TODO/FIXME, suppressions, dead code) are textual — undocumented debt that nobody marked, and debt that lives in design rather than annotations, is invisible. Committed machine-written code (scaffolded migrations, designer/codegen output, generated stubs) is excluded — it is never the team's dead code to delete.
D18 Solution Shape: Build integrity reflects whether the solution compiled in this environment — a build that needs a private feed, a specific SDK, or a generated file absent from the repo can read as broken when it is merely unreproducible here.
D19 Documentation Quality: Documentation quality is judged by an LLM over a bounded sample of docs — it reads what is written, not whether the docs match the running system, and it is advisory, not a measurement.
D21 Naming Consistency: Naming quality is an LLM judgement over a bounded sample — it assesses clarity/consistency of the names it sees, not domain-correctness, and is advisory.
D24 Comment Value: Comment value (WHY vs WHAT) is an LLM judgement over a bounded sample — it is advisory and cannot weigh a comment against the precise code change it was written to explain.
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").
D34 Knowledge Freshness: Freshness is decayed commit RECENCY, not comprehension — code read often but rarely committed reads as orphaned, and stable code that genuinely needs no changes is penalised the same as forgotten code; bot/squash commits distort it like the bus factor.
D35 Change Coupling: Change coupling is co-change in COMMITS — files split across separate commits, or coupled only through a shared config/build step, read as uncoupled, and a sweeping commit (rename/format) is excluded so it doesn't couple everything. It shows that files change together, not WHY: a high coupling can be a healthy cohesive pair as readily as a hidden leak.
AX10 Code composition: Role is inferred from namespace/folder convention, not semantics — a domain concept living in a folder named "Services" reads as application, and the split is lines-of-code, not business value. The business-logic-share score is a SOFT, FLOORED signal: it contributes to the Architecture lens but is floored at the Critical gate, so an infrastructure-heavy design (a gateway, an ETL, a driver) is legitimately low without being nuked to zero.
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.
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 (4): D19, D21, D24, 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.
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.
78 method(s) exceeded the cyclomatic complexity threshold of 15; the worst was NodesVisitor.VisitMethodDeclaration at 108. A further 8 method(s) were over the threshold but excluded as flat dispatchers (a long switch/match over independent cases: many branches, almost no nesting), the largest being SyntaxKindExtensions.GetExpressionKind at 49 — they are counted neither in the figure above nor in this dimension's score.
+ 73 more group(s) — more in Appendix A; the complete list is findings.md.
What to do
Resolve the 1 NodesVisitor.VisitMethodDeclaration (cyclomatic 108) finding(s) in Cyclomatic Complexity — start with DeclarationVisitor.vb. — One of this dimension's main actionable groups (1 warning-level).
Resolve the 1 ConvertProjectFileUtilities.ConvertProjectFile (cyclomatic 103) finding(s) in Cyclomatic Complexity — start with ConvertProjectFileUtilities.vb. — One of this dimension's main actionable groups (1 warning-level).
Resolve the 1 NodesVisitor.VisitParameter (cyclomatic 78) finding(s) in Cyclomatic Complexity — start with ParametersVisitor.vb. — One of this dimension's main actionable groups (1 warning-level).
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.
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.
+ 113 more group(s) — more in Appendix A; the complete list is findings.md.
What to do
Resolve the 1 ConvertProjectFileUtilities.ConvertProjectFile (cognitive 372) finding(s) in Cognitive Complexity — start with ConvertProjectFileUtilities.vb. — One of this dimension's main actionable groups (1 warning-level).
Resolve the 1 NodesVisitor.VisitAssignmentExpression (cognitive 243) finding(s) in Cognitive Complexity — start with ExpressionVisitor.vb. — One of this dimension's main actionable groups (1 warning-level).
Resolve the 1 NodesVisitor.VisitMethodDeclaration (cognitive 198) finding(s) in Cognitive Complexity — start with DeclarationVisitor.vb. — One of this dimension's main actionable groups (1 warning-level).
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.
Do you agree with this assessment?
D3 · God Classes6.8 / 10Adequate✓ 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.
Resolve the 12 FileTooLong finding(s) in God Classes — start with ExpressionVisitor.vb, MethodBodyVisitor.vb, DeclarationVisitor.vb. — One of this dimension's main actionable groups (12 warning-level).
Resolve the 9 ClassTooLong finding(s) in God Classes — start with ArgumentListVisitor.vb, LineNumberItem.vb, SyntaxNodeExtensions.vb. — One of this dimension's main actionable groups (9 warning-level).
Resolve the 5 TooManyMethods finding(s) in God Classes — start with ArgumentListVisitor.vb, SyntaxNormalizer.vb, Form1.vb. — One of this dimension's main actionable groups (5 warning-level).
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.
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.
Detailed fixes: d4_recommendation.md · top locations in Appendix A, every location in findings.md.
Do you agree with this assessment?
D5 · Coupling6.6 / 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.
Resolve the 3 Off the main sequence finding(s) in Coupling. — One of this dimension's main actionable groups (3 warning-level).
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 · top locations in Appendix A, every location in findings.md.
What it measures: Whether a class's methods are focused on a single responsibility.
Method: LCOM4 cohesion per production class with at least two methods: connected components of methods sharing state or calls, computed syntactically. Deterministic, not a proxy.
Coverage: Exhaustive · type-level: LCOM4 cohesion computed over every production class — the population is all types, not a name convention.
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.
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.
What it measures: Whether the licenses of third-party packages are compatible with your policy.
Method: Third-party package licenses resolved from declared package metadata and checked against the configured policy (allow/deny/copyleft). Deterministic; clean = no incompatible license found at metadata depth.
What it measures: Files that change often and are also complex — the riskiest hotspots.
Method: Per production file churn times cyclomatic complexity over a rolling window, computed from git and Roslyn/JS/Razor analysis. Exhaustive, deterministic per commit date.
What it measures: Acknowledged debt left in the code — TODOs, dead code, suppressed warnings.
Method: Roslyn syntactic debt markers (suppressions/TODO/FIXME/HACK/empty-catch/commented-code/Obsolete) plus SymbolFinder dead-code analysis; weighted-debt-per-KLoC density deducted 2.0x per unit. Deterministic, exhaustive.
What it measures: Whether the solution is laid out in a sensible, conventional structure.
Method: Solution structure: project count, decomposition, shell-project detection, build success (confirmed failures cap the score); traced to actual .sln files and binaries. Deterministic.
7 projects, 145 source files, 37611 hand-written lines of code (26511 production / 11100 test), plus 2983 generated (machine-written code — designer, scaffolded and tool-emitted files — excluded from quality), 9 inter-project edges (build status unknown — did not finish).
Build status unknown
✓ On the Gold path — maintain.
Detailed fixes: d18_recommendation.md · top locations in Appendix A, every location in findings.md.
What it measures: Whether the project's documentation is clear, complete, and useful.
Method: Judged by language model at low temperature (0.0-0.1) on a deterministic doc sample (READMEs plus first 25 architecture docs), with two-pass stability filtering. Advisory, sampled.
The single README for the CSharpToVB project is a solid, well-structured document covering requires, license, technologies, topics, release download, updated date, description, and an important note about needing VS2019/VS2022 with .NET Core 6.0 to compile output, plus MRU save/load and debugging features. It states the full outline (C# to VB.Net Converter; Requires; License; Technologies; Topics; Release Download; Updated; Description; Important Notes; What's New in this release; Code Coverage) exists but is clipped mid-sentence, so later sections cannot be confirmed missing. The visible content is clear and complete for a single-file README.
Improve Documentation Quality — currently 6.0/10. — The single README for the CSharpToVB project is a solid, well-structured document covering requires, license, technologies, topics, release download, updated date, description, and an important note about needing VS2019/VS2022 with .NET Core 6.0 to compile output, plus MRU save/load and debugging features. It states the full outline (C# to VB.Net Converter; Requires; License; Technologies; Topics; Release Download; Updated; Description; Important Notes; What's New in this release; Code Coverage) exists but is clipped mid-sentence, so later sections cannot be confirmed missing. The visible content is clear and complete for a single-file README.
Detailed fixes: d19_recommendation.md · top locations in Appendix A, every location in findings.md.
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.
0 naming inconsistencies across 12 sampled symbols.
✓ On the Gold path — maintain.
Detailed fixes: d21_recommendation.md.
Do you agree with this assessment?
D24 · Comment Value / 10Adequate◐ Sampled · advisory
What it measures: Whether comments are worth it — explaining WHY (valuable) rather than WHAT (redundant).
Method: Judged by language model at low temperature (0.0-0.1) on deterministically sampled inline comments with surrounding code; findings verified back to sampled comments by substring match. Advisory, sampled.
Resolve the 2 misleading comment finding(s) in Comment Value — start with ObjectPool.cs (2). — One of this dimension's main actionable groups (2 recommendation-level).
Detailed fixes: d24_recommendation.md · top locations in Appendix A, every location in findings.md.
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.
78 % of calls cross a namespace and 1 % go through an interface, but 97 % of collaborators are co-located — so a call's collaborators sit together and tracing stays easy. Baseline: medium — clean/modular boundaries expected.
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.
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).
What it measures: Whether anyone still has living knowledge of each file, or it has been orphaned — last understood long ago by someone now gone quiet. The sibling of the bus factor: D16 asks who owns it, D34 asks whether anyone still knows it.
Method: File orphaning as total living-knowledge decay below one focused-commit's worth within a year, computed per-file from the D16 decay model. Exhaustive, deterministic over fixed history.
79 of 79 significant source file(s) are orphaned — their living knowledge has decayed to nothing, so no one currently understands them. The largest is CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/ExpressionVisitor.vb.
Largest orphaned file · ×3CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/ExpressionVisitor.vb
Dormant codebase
What to do
Resolve the 3 Largest orphaned file finding(s) in Knowledge Freshness — start with ExpressionVisitor.vb, MethodBodyVisitor.vb, DeclarationVisitor.vb. — One of this dimension's main actionable groups (3 recommendation-level).
Resolve the 1 Dormant codebase finding(s) in Knowledge Freshness. — One of this dimension's main actionable groups (1 recommendation-level).
Detailed fixes: d34_recommendation.md · top locations in Appendix A, every location in findings.md.
What it measures: Whether files that change together actually belong together — pairs that repeatedly co-change in git history despite having no explicit code dependency, surfacing the hidden/logical coupling (and boundaries in the wrong place) a static scan can't see.
Method: Pairwise co-occurrence over the per-commit file sets in git history (production source only — tests and generated dropped): Degree-of-Coupling = shared ÷ min individual revisions, reported above noise floors (each file ≥10 revisions, ≥5 shared commits, ≥50% strength); sweeping commits excluded. Deterministic over fixed history.
Coverage: Population: PRODUCTION source files only — test and generated files are dropped before pairing, so a class co-changing with its own test (trivially ~100%) can't drown the real production↔production coupling. Pairs ranked by Degree-of-Coupling; coupling through a build step, config, or non-source file isn't seen.
Other · Architecture — How the codebase splits by code ROLE — domain, application, infrastructure, test, generated. The significance map behind the knowledge/coupling weighting, and a DDD signal in its own right: a thin domain core under fat infrastructure is the anemic-domain smell, quantified.
Method: Roslyn line-count by code ROLE: every source file classified Domain/Application/Infrastructure/Test/Generated by namespace + path convention (the shared CodeRoleClassifier), then significant lines summed per role. Deterministic; the advisory score is the business-logic (domain+application) share of production code.
Coverage: Population: ALL source files, each bucketed into ONE of five roles (Domain/Application/Infrastructure/Test/Generated) by namespace + path convention — a file whose layer isn't named in the convention falls to Application (the neutral default), and the split is line-count, not semantic depth or business value.
What to do
The domain core is a small share of production code — check that business logic isn't leaking into the application/infrastructure layers (a thin domain is the anemic-domain smell).
Other · Architecture — Whether the project-reference graph is acyclic (cycles block independent build/deploy and signal eroding boundaries).
Method: Project reference cycles via elementary-DFS over real .csproj references, using the engine shared with D5/D7; cyclic versus acyclic. Exhaustive, deterministic.
Other · Architecture — Whether dependencies point inward (Domain ← Application ← Infrastructure/Web) — the clean-architecture dependency rule, checked across the project graph.
Method: Layer violations by name-segment inference (Domain/Core to Application to Infrastructure/Web) over the project-reference graph. Exhaustive over all projects, deterministic.
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.
Other · Code Health — Unreviewed-generation residue: shipped members still throwing NotImplementedException, and placeholder string literals left in non-test, non-generated code. Scored as a quality signature, never as a claim about authorship.
Method: Roslyn syntax scan: NotImplementedException throws and placeholder string literals in non-test, non-generated shipped code. Deterministic, code-shape signature.
Other · Code Health — Unfinished work detected by code SHAPE, not keywords: members that only throw a "not implemented" exception, methods that take inputs and return a constant, async methods that never await, dead `if (false)` / `#if false` branches, and skeleton types most of whose members are holes. A real, objective slice of technical debt.
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 build/run (quick start) section to the root README — the first thing a newcomer needs.
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.
Add a README to the 7 of 7 project(s) that lack one — worth up to 2 pts.
Maturity · Maturity — Whether key decisions (ADRs) and the high-level shape (C4/diagrams) are written down.
Method: Filesystem scan: ADR folder/naming conventions or content, plus Mermaid/PlantUML/C4/architecture.md discovery. Exhaustive, deterministic.
No Architecture Decision Records found — no conventional ADR directory, no `NNNN-title.md` documents and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer.
No C4/PlantUML/Mermaid diagram or architecture.md — the high-level shape isn't documented.
What to do
Record significant decisions one document per decision — dated, stating the context, the decision and its consequences — and keep them together wherever your design docs already live (a conventional `docs/adr/` tree with `NNNN-title.md` names is the most discoverable form).
Add a C4 context/container diagram (Structurizr, PlantUML or Mermaid) or an architecture.md overview.
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.
Production code isn't grouped under a src/ folder — it's spread across several top-level directories, so there's no one place that says 'this is the product'.
Only 1/7 projects share a common root namespace — the code's module identity is inconsistent.
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.
Adopt a consistent root-namespace convention (a shared prefix, e.g. Acme.*); short project-file/directory names are fine as long as the RootNamespace is uniform.
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.
Readiness · Readiness — Whether SAST, secret/dependency scanning and performance benchmarking are wired in (presence, not runtime).
Method: Filesystem scan: SAST configuration, dependency-update automation, secret scanning, and a benchmark harness or benchmark step — in this repository's own ecosystem. Exhaustive, deterministic.
What to do
The .NET analyzers are running but not blocking — tighten them (set <AnalysisMode>All</AnalysisMode>, or treat analyzer warnings as errors on CI) so a security/quality regression fails the build rather than scrolling past as a warning.
Enable Dependabot/Renovate or a dependency-review gate.
Add gitleaks/trufflehog in CI to block PRs that introduce committed secrets.
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.
No CHANGELOG/HISTORY/RELEASES file — what shipped when isn't easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)
What to do
Keep a changelog (e.g. Keep-a-Changelog) recording what shipped in each release.
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.
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.
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.
Other · Code Health — Whether nullable reference types are enabled and not undermined by heavy `!` suppression.
Method: Roslyn compiler-options scan: NullableContextOptions per project; null-forgiving (!) suppression density per 1k syntax nodes. Deterministic, adoption plus suppression penalty.
0/1 NRT-eligible project(s) enable <Nullable>enable</Nullable> (projects targeting a pre-C#-8 framework are excluded — NRTs aren't available there). NRTs catch a whole class of null-deref bugs at compile time.
What to do
Enable <Nullable>enable</Nullable> across all projects and resolve warnings rather than suppressing with `!`.
Do you agree with this assessment?
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.
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 web markup found — accessibility is not applicable to this repository.
AC2 Forms & labels — No web markup found — accessibility is not applicable to this repository.
AC3 Page structure — No web markup found — accessibility is not applicable to this repository.
AC4 Keyboard semantics — No web markup found — accessibility is not applicable to this repository.
AC5 ARIA correctness — No web markup found — accessibility is not applicable to this repository.
AC6 Visual & motion safety — No web markup found — accessibility is not applicable to this repository.
AC7 A11y enforcement — No web markup found — accessibility is not applicable to this repository.
AX1 Captive dependencies — no DI registrations detected
AX2 Stateful singletons — no singleton implementations detected
AX6 Interface segregation — no public interfaces
AX7 Slice cohesion — not applicable — not a vertical-slice architecture
AX8 Test isolation — no test/production split to check
AX9 CQS / query purity — no CQRS query handlers detected — query purity is not applicable to this codebase
AXB2 Runtime readiness — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
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 — ~11100 lines of test source are present (.vb) but the test-quality collector reads C# only, so skipped/assertion-free tests couldn't be counted. Not scored — this is a gap in the analyzer, not a finding about this repository.
D11 Test Reliability — Test reliability not measured — no test run produced results
D16 Bus Factor — dormant codebase — no living knowledge left to concentrate
D20 ADR Quality — N/A — ADRs are expected on deployable products with a user-facing host, not consumed libraries; no ADR log is required here.
D22 Internal API Consistency — No exposed public API
D23 Boundary Type-Coupling — Bounded contexts not declared
D25 ADR Conformance — no ADRs to check
D30 Dependency Vulnerabilities — the solution did not restore on the analyzer's .NET SDK (an SDK/target-framework/restore mismatch, common for an older codebase), so there was no restored dependency graph to scan for NuGet CVEs — excluded rather than scored; re-run on an SDK that can restore this solution
D31 IaC & Container Security — No Infrastructure-as-Code or container manifests found (Dockerfile, Terraform, Kubernetes/Helm, CloudFormation); nothing to scan.
D32 Data Compliance (PII/GDPR) — Data compliance (PII/GDPR) was not assessed in this scan — no ruleset is currently available for it. This says nothing about how this repository handles personal data, in either direction.
D33 JS/npm Dependency Vulnerabilities — No JS/npm manifest or lockfile found outside build output (package.json, package-lock.json, yarn.lock, pnpm-lock.yaml, bun.lockb); no JS dependencies to scan.
D36 Supply-chain Provenance & Signing — The CI pipeline builds and tests but publishes no released artifact — no package publish, container push, GitHub release or deployment step. Supply-chain provenance, signing and SBOM attest RELEASED artifacts, so there is nothing to attest here. Add them to the release pipeline when this repo starts shipping artifacts (a published package, a container image, a deployed service or a tagged release).
D37 Vulnerability-disclosure Policy — No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed.
D38 OSV Dependency Vulnerabilities — No supported non-.NET dependency lockfile found outside build output (npm package-lock/yarn/pnpm/bun, Go go.mod, Rust Cargo.lock, Maven pom.xml, Gradle lockfiles, Python requirements.txt/poetry.lock/Pipfile.lock/pdm.lock, PHP composer.lock, Ruby Gemfile.lock, Elixir mix.lock, Dart pubspec.lock, Swift Package.resolved); nothing for OSV to scan. A NuGet-only repo stays NotApplicable — .NET CVEs are D30's domain.
D39 IL Efficiency — The target did not build, so no IL was available to measure.
D40 Network Egress Confinement — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here.
D41 Kernel & Syscall Confinement — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here.
D42 Runtime Threat Enforcement — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here.
D7 Architectural Integrity — no checkable ADRs and no dependency cycles — architectural integrity not assessed
D8 Code Coverage — Coverage not measured
D9 Test Distribution — Test source is present (.vb) but the test-pyramid classifier reads C# only, so its unit/integration/BDD/E2E split couldn't be counted. Not scored — this is a gap in the analyzer, not a finding about this repository.
DM1 Domain Modelling — not scored — this repository shows none of the 3 signals this check looks for
ED1 Event-Driven — not scored — this repository shows none of the 3 signals this check looks for
ED5 Idempotency — no mutating command handlers or message consumers detected — idempotency check not applicable
ES1 Event Sourcing — not scored — this repository shows none of the 3 signals this check looks for
P12 CI test-gate honesty — Reported, not scored — and nothing was matched here. The coverage check applies to any stack, but the checks for excluded tests, skipped tests and sleep-based synchronisation currently recognise only some ecosystems' test-runner idioms, so on a repository built with another stack the zeros below mean 'not checked', not 'clean'.
P2 Observability — This repo is a library, not a deployed service — it has no process to operate, so production observability (structured logging, tracing/metrics, health checks) is N/A. A library may log via an injected ILogger, but the absence of operational telemetry is not a defect here. If it grows a host (web API, worker), the dimension reactivates.
P4 Deployment & Rollback — not evidenced — no deploy/rollback/approval signal in the repo; absence of evidence is not evidence of a manual release
P5 DR & Backup — not evidenced — repo shows no backup/RTO/RPO controls; absence of evidence is not evidence of a working control
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 — produce a coverage report in a standard format (Cobertura — `dotnet test --collect:"XPlat Code Coverage"` with a `coverlet.collector` PackageReference) into the repo working tree before the scan — a CI step is the usual place, since the artefact is commonly gitignored, or wire coverage collection into 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.
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 — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
X2 Cancellation propagation — no async methods found
X6 Hand-rolled structured-format parsing — Reported, not scored — this card publishes what it found rather than grading it. Its content is the findings and the key metric above.
X7 Silent fallback defaults — Reported, not scored — this card publishes what it found rather than grading it. Its content is the findings and the key metric above.
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.
EmptyCatchBlock CSharpToVB/Utilities/Compile.vb:102— empty catch block — the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or — where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure — write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow ("ignored", "do nothing") is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row.
EmptyCatchBlock CodeConverter/SupportClasses/ConversionResult.vb:28— empty catch block — the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or — where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure — write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow ("ignored", "do nothing") is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row.
EmptyCatchBlock CodeConverter/Utilities/TypeConverterSupport.vb:464— empty catch block — the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or — where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure — write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow ("ignored", "do nothing") is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row.
High: github-actions-mutable-action-tag .github/workflows/CI.yml:12— 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@<40-character SHA>`. This step references `actions/checkout@v2`; resolve the SHA it points at today with `gh api repos/actions/checkout/commits/v2 --jq .sha`.
High: github-actions-mutable-action-tag .github/workflows/CI.yml:14— 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/setup-dotnet@<40-character SHA>`. This step references `actions/setup-dotnet@v1`; resolve the SHA it points at today with `gh api repos/actions/setup-dotnet/commits/v1 --jq .sha`.
TodoComment CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/DeclarationVisitor.vb:494— ' ToDo correctly fill in parameter list — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `' REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/DeclarationVisitor.vb:1317— ' TODO find better way to find out if we are in interface — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `' REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/ExpressionVisitor.vb:712— ' TODO capture and leading comments from node.left — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `' REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/ExpressionVisitor.vb:1232— ' Only notify once on one line TODO Merge the comments — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `' REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/ExpressionVisitor.vb:1772— ' TODO Handle better — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `' REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/ExpressionVisitor.vb:1775— ' TODO Handle better — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `' REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/ExpressionVisitor.vb:1784— ' TODO Handle better — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `' REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/MethodBodyVisitor.vb:647— ' TODO use line continuation instead of space — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `' REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/MethodBodyVisitor.vb:1580— ' TODO Handle ref expressions — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `' REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/MethodBodyVisitor.vb:1627— ' TODO Handle — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `' REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/MethodBodyVisitor.vb:1631— ' TODO Handle — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `' REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/NamesVisitor.vb:29— 'TODO: Deal with named parameters — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `' REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/NamesVisitor.vb:247— ' TODO Workaround till we get a list of special variables — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `' REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/NamesVisitor.vb:292— ' ' TODO Workaround till we get a list of special variables — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `' REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/NodesVisitor.vb:764— ' TODO Implement — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `' REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment CodeConverter/Extensions/LanguageSyntaxNodeExtensions.vb:440— ' TODO workaround for not being able to be application symbols — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `' REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment TestConsoleApp/Program.vb:53— ' TODO: Uncomment these lines if you want to return immediately if the injected program isn't valid _before_ running generators — source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `' REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
FileTooLong: CSharpToVBVisitors/ExpressionVisitor.vb CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/ExpressionVisitor.vb:0— FileTooLong — 2086 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them.
FileTooLong: CSharpToVBVisitors/MethodBodyVisitor.vb CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/MethodBodyVisitor.vb:0— FileTooLong — 1698 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them.
FileTooLong: CSharpToVBVisitors/DeclarationVisitor.vb CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/DeclarationVisitor.vb:0— FileTooLong — 1318 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them.
FileTooLong: Utilities/SyntaxNormalizer.vb CodeConverter/Utilities/SyntaxNormalizer.vb:0— FileTooLong — 1129 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them.
FileTooLong: Forms/Form1.vb CSharpToVB/Forms/Form1.vb:0— FileTooLong — 997 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them.
FileTooLong: csvGenerator/TextFieldParser.vb csvGenerator/TextFieldParser.vb:0— FileTooLong — 941 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them.
FileTooLong: CSharpToVBVisitors/NamespaceVisitor.vb CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/NamespaceVisitor.vb:0— FileTooLong — 869 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them.
FileTooLong: Controls/LineNumbersForRichTextBox.vb CSharpToVB/Controls/LineNumbersForRichTextBox.vb:0— FileTooLong — 797 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them.
FileTooLong: CSharpToVBVisitors/NodesVisitor.vb CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/NodesVisitor.vb:0— FileTooLong — 757 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them.
FileTooLong: Extensions/SyntaxNodeExtensions.vb CodeConverter/Extensions/SyntaxNodeExtensions.vb:0— FileTooLong — 617 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them.
FileTooLong: Extensions/SyntaxTokenExtensions.vb CodeConverter/Extensions/SyntaxTokenExtensions.vb:0— FileTooLong — 603 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them.
FileTooLong: Utilities/TypeConverterSupport.vb CodeConverter/Utilities/TypeConverterSupport.vb:0— FileTooLong — 538 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them.
ClassTooLong: CSharpConverter CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/ArgumentListVisitor.vb:0— ClassTooLong — 8249 significant lines (blank, comment-only and punctuation-only lines excluded), 0 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
ClassTooLong: LineNumbersForRichTextBox CSharpToVB/Controls/LineNumberItem.vb:0— ClassTooLong — 806 significant lines (blank, comment-only and punctuation-only lines excluded), 14 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
ClassTooLong: SyntaxNodeExtensions CodeConverter/Extensions/SyntaxNodeExtensions.vb:0— ClassTooLong — 609 significant lines (blank, comment-only and punctuation-only lines excluded), 27 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
ClassTooLong: SyntaxTokenExtensions CodeConverter/Extensions/SyntaxTokenExtensions.vb:0— ClassTooLong — 598 significant lines (blank, comment-only and punctuation-only lines excluded), 21 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
ClassTooLong: TypeConverterSupport CodeConverter/Utilities/TypeConverterSupport.vb:0— ClassTooLong — 532 significant lines (blank, comment-only and punctuation-only lines excluded), 12 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
ClassTooLong: ConvertProjectFileUtilities CSharpToVB/Utilities/ConvertProjectFileUtilities.vb:0— ClassTooLong — 487 significant lines (blank, comment-only and punctuation-only lines excluded), 5 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
ClassTooLong: SyntaxTriviaListExtensions CodeConverter/Extensions/SyntaxTriviaListExtensions.vb:0— ClassTooLong — 454 significant lines (blank, comment-only and punctuation-only lines excluded), 16 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
ClassTooLong: StatementMarker CodeConverter/Utilities/StatementMarkerSupport.vb:0— ClassTooLong — 435 significant lines (blank, comment-only and punctuation-only lines excluded), 21 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
ClassTooLong: LanguageSyntaxNodeExtensions CodeConverter/Extensions/LanguageSyntaxNodeExtensions.vb:0— ClassTooLong — 410 significant lines (blank, comment-only and punctuation-only lines excluded), 12 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
TooManyMethods: CSharpConverter.NodesVisitor CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/ArgumentListVisitor.vb:0— TooManyMethods — 6537 significant lines (blank, comment-only and punctuation-only lines excluded), 185 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
TooManyMethods: SyntaxNormalizer CodeConverter/Utilities/SyntaxNormalizer.vb:0— TooManyMethods — 1123 significant lines (blank, comment-only and punctuation-only lines excluded), 105 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
TooManyMethods: Form1 CSharpToVB/Forms/Form1.vb:0— TooManyMethods — 990 significant lines (blank, comment-only and punctuation-only lines excluded), 91 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
TooManyMethods: TextFieldParser csvGenerator/TextFieldParser.vb:0— TooManyMethods — 851 significant lines (blank, comment-only and punctuation-only lines excluded), 51 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
TooManyMethods: CSharpConverter.MethodBodyVisitor CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/MethodBodyVisitor.vb:0— TooManyMethods — 1684 significant lines (blank, comment-only and punctuation-only lines excluded), 46 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
Off the main sequence: ProgressReportLibrary — ProgressReportLibrary: abstractness 0.00, instability 0.00, distance 1.00 — zone of pain — concrete and depended on by 2 project(s), so it's rigid to change.
Off the main sequence: csvGenerator — csvGenerator: abstractness 0.00, instability 0.00, distance 1.00 — zone of pain — concrete and depended on by 1 project(s), so it's rigid to change.
Off the main sequence: ObjectPoolLibrary — ObjectPoolLibrary: abstractness 0.00, instability 0.00, distance 1.00 — zone of pain — concrete and depended on by 2 project(s), so it's rigid to change.
NodesVisitor.VisitMethodDeclaration (cyclomatic 108) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/DeclarationVisitor.vb:711— NodesVisitor.VisitMethodDeclaration has cyclomatic complexity 108 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table.
ConvertProjectFileUtilities.ConvertProjectFile (cyclomatic 103) CSharpToVB/Utilities/ConvertProjectFileUtilities.vb:205— ConvertProjectFileUtilities.ConvertProjectFile has cyclomatic complexity 103 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table.
NodesVisitor.VisitParameter (cyclomatic 78) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/ParametersVisitor.vb:60— NodesVisitor.VisitParameter has cyclomatic complexity 78 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table.
NodesVisitor.VisitAssignmentExpression (cyclomatic 77) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/ExpressionVisitor.vb:566— NodesVisitor.VisitAssignmentExpression has cyclomatic complexity 77 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table.
ConvertLiteralSupport.GetLiteralExpression (cyclomatic 76) CodeConverter/Utilities/ConvertLiteralSupport.vb:129— ConvertLiteralSupport.GetLiteralExpression has cyclomatic complexity 76 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table.
SyntaxNormalizer.NeedsSeparator (cyclomatic 75) CodeConverter/Utilities/SyntaxNormalizer.vb:191— SyntaxNormalizer.NeedsSeparator has cyclomatic complexity 75 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table.
SyntaxTriviaListExtensions.ConvertTriviaList (cyclomatic 68) CodeConverter/Extensions/SyntaxTriviaListExtensions.vb:174— SyntaxTriviaListExtensions.ConvertTriviaList has cyclomatic complexity 68 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table.
ConvertSolutionFileUtilities.ConvertSolutionFile (cyclomatic 65) CSharpToVB/Utilities/ConvertSolutionFileUtilities.vb:115— ConvertSolutionFileUtilities.ConvertSolutionFile has cyclomatic complexity 65 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table.
SyntaxNodeExtensions.WithTrailingEol (cyclomatic 65) CodeConverter/Extensions/SyntaxNodeExtensions.vb:486— SyntaxNodeExtensions.WithTrailingEol has cyclomatic complexity 65 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table.
NodesVisitor.VisitPropertyDeclaration (cyclomatic 58) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/DeclarationVisitor.vb:1113— NodesVisitor.VisitPropertyDeclaration has cyclomatic complexity 58 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table.
NodesVisitor.VisitClassDeclaration (cyclomatic 58) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/NamespaceVisitor.vb:325— NodesVisitor.VisitClassDeclaration has cyclomatic complexity 58 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table.
NodesVisitor.VisitCompilationUnit (cyclomatic 57) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/NodesVisitor.vb:118— NodesVisitor.VisitCompilationUnit has cyclomatic complexity 57 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table.
SyntaxNormalizer.RewriteTrivia (cyclomatic 57) CodeConverter/Utilities/SyntaxNormalizer.vb:540— SyntaxNormalizer.RewriteTrivia has cyclomatic complexity 57 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table.
SyntaxTokenExtensions.WithModifiedTokenTrivia (cyclomatic 55) CodeConverter/Extensions/SyntaxTokenExtensions.vb:477— SyntaxTokenExtensions.WithModifiedTokenTrivia has cyclomatic complexity 55 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table.
LanguageSyntaxNodeExtensions.AdjustNodeTrivia (cyclomatic 50) CodeConverter/Extensions/LanguageSyntaxNodeExtensions.vb:30— LanguageSyntaxNodeExtensions.AdjustNodeTrivia has cyclomatic complexity 50 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table.
TypeConverterSupport.ConvertToType (cyclomatic 49) CodeConverter/Utilities/TypeConverterSupport.vb:310— TypeConverterSupport.ConvertToType has cyclomatic complexity 49 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table.
ExpressionSyntaxExtensions.AdjustExpressionTrivia (cyclomatic 48) CodeConverter/Extensions/ExpressionSyntaxExtensions.vb:26— ExpressionSyntaxExtensions.AdjustExpressionTrivia has cyclomatic complexity 48 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table.
NodesVisitor.VisitBinaryExpression (cyclomatic 47) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/ExpressionVisitor.vb:933— NodesVisitor.VisitBinaryExpression has cyclomatic complexity 47 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table.
LineNumbersForRichTextBox.OnPaint (cyclomatic 45) CSharpToVB/Controls/LineNumbersForRichTextBox.vb:793— LineNumbersForRichTextBox.OnPaint has cyclomatic complexity 45 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table.
NodesVisitor.VisitIdentifierName (cyclomatic 45) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/NamesVisitor.vb:342— NodesVisitor.VisitIdentifierName has cyclomatic complexity 45 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table.
AttributeAndModifierSupport.GetVisibilityKeyword (cyclomatic 41) CodeConverter/Utilities/AttributeAndModifierSupport.vb:49— AttributeAndModifierSupport.GetVisibilityKeyword has cyclomatic complexity 41 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table.
StatementExtensions.RestructureAttributesAndModifiers (cyclomatic 40) CodeConverter/Extensions/StatementExtensions.vb:136— StatementExtensions.RestructureAttributesAndModifiers has cyclomatic complexity 40 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table.
MethodBodyVisitor.ConvertSingleExpression (cyclomatic 39) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/MethodBodyVisitor.vb:407— MethodBodyVisitor.ConvertSingleExpression has cyclomatic complexity 39 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table.
NodesVisitor.ConvertLambdaExpression (cyclomatic 38) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/ExpressionVisitor.vb:108— NodesVisitor.ConvertLambdaExpression has cyclomatic complexity 38 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table.
NodesVisitor.VisitLiteralExpression (cyclomatic 37) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/ExpressionVisitor.vb:1677— NodesVisitor.VisitLiteralExpression has cyclomatic complexity 37 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table.
LanguageSyntaxNodeExtensions.ConvertAndModifyNodeTrivia (cyclomatic 34) CodeConverter/Extensions/LanguageSyntaxNodeExtensions.vb:225— LanguageSyntaxNodeExtensions.ConvertAndModifyNodeTrivia has cyclomatic complexity 34 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table.
NodesVisitor.VisitArgument (cyclomatic 33) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/ArgumentListVisitor.vb:41— NodesVisitor.VisitArgument has cyclomatic complexity 33 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table.
VariableDeclarationExtensions.RemodelVariableDeclaration (cyclomatic 33) CodeConverter/Extensions/VariableDeclarationExtensions.vb:144— VariableDeclarationExtensions.RemodelVariableDeclaration has cyclomatic complexity 33 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table.
NodesVisitor.VisitInitializerExpression (cyclomatic 32) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/ExpressionVisitor.vb:1458— NodesVisitor.VisitInitializerExpression has cyclomatic complexity 32 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table.
MethodBodyVisitor.ConvertForToSimpleForNext (cyclomatic 32) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/MethodBodyVisitor.vb:225— MethodBodyVisitor.ConvertForToSimpleForNext has cyclomatic complexity 32 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table.
NodesVisitor.VisitCastExpression (cyclomatic 31) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/ExpressionVisitor.vb:1124— NodesVisitor.VisitCastExpression has cyclomatic complexity 31 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table.
NodesVisitor.ConvertBaseList (cyclomatic 31) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/NamespaceVisitor.vb:188— NodesVisitor.ConvertBaseList has cyclomatic complexity 31 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table.
TypeConverterSupport.ConvertTypeTupleToTypeStrings (cyclomatic 30) CodeConverter/Utilities/TypeConverterSupport.vb:469— TypeConverterSupport.ConvertTypeTupleToTypeStrings has cyclomatic complexity 30 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table.
ThemeSupport.SetLightMode (cyclomatic 29) CSharpToVB/ColorModeSupport/ThemeSupport.vb:121— ThemeSupport.SetLightMode has cyclomatic complexity 29 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table.
MethodBodyVisitor.VisitLocalFunctionStatement (cyclomatic 28) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/MethodBodyVisitor.vb:1423— MethodBodyVisitor.VisitLocalFunctionStatement has cyclomatic complexity 28 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table.
ThemeSupport.SetDarkMode (cyclomatic 27) CSharpToVB/ColorModeSupport/ThemeSupport.vb:7— ThemeSupport.SetDarkMode has cyclomatic complexity 27 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table.
NodesVisitor.ConvertAndSplitAttributes (cyclomatic 27) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/DeclarationVisitor.vb:191— NodesVisitor.ConvertAndSplitAttributes has cyclomatic complexity 27 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table.
SyntaxTokenExtensions.ConvertAndModifyTokenTrivia (cyclomatic 27) CodeConverter/Extensions/SyntaxTokenExtensions.vb:173— SyntaxTokenExtensions.ConvertAndModifyTokenTrivia has cyclomatic complexity 27 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table.
ProcessDirectoriesUtilities.ProcessDirectoryAsync (cyclomatic 26) CSharpToVB/Utilities/ProcessDirectoriesUtilities.vb:50— ProcessDirectoriesUtilities.ProcessDirectoryAsync has cyclomatic complexity 26 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table.
MethodBodyVisitor.WillConvertToFor (cyclomatic 26) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/MethodBodyVisitor.vb:748— MethodBodyVisitor.WillConvertToFor has cyclomatic complexity 26 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table.
AttributeAndModifierSupport.ConvertModifiers (cyclomatic 26) CodeConverter/Utilities/AttributeAndModifierSupport.vb:162— AttributeAndModifierSupport.ConvertModifiers has cyclomatic complexity 26 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table.
NodesVisitor.VisitSwitchExpression (cyclomatic 24) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/NodesVisitor.vb:619— NodesVisitor.VisitSwitchExpression has cyclomatic complexity 24 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table.
NodesVisitor.VisitIndexerDeclaration (cyclomatic 23) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/DeclarationVisitor.vb:614— NodesVisitor.VisitIndexerDeclaration has cyclomatic complexity 23 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table.
MethodBodyVisitor.ConvertSwitchSection (cyclomatic 23) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/MethodBodyVisitor.vb:564— MethodBodyVisitor.ConvertSwitchSection has cyclomatic complexity 23 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table.
MethodBodyVisitor.VisitIfStatement (cyclomatic 23) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/MethodBodyVisitor.vb:1264— MethodBodyVisitor.VisitIfStatement has cyclomatic complexity 23 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table.
NodesVisitor.FilterTrailingTrivia (cyclomatic 23) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/NamespaceVisitor.vb:96— NodesVisitor.FilterTrailingTrivia has cyclomatic complexity 23 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table.
NodesVisitor.VisitEnumDeclaration (cyclomatic 23) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/NamespaceVisitor.vb:590— NodesVisitor.VisitEnumDeclaration has cyclomatic complexity 23 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table.
ProcessProjectUtilities.ProcessProjectOrSolutionAsync (cyclomatic 22) CSharpToVB/Utilities/ProcessProjectUtilities.vb:211— ProcessProjectUtilities.ProcessProjectOrSolutionAsync has cyclomatic complexity 22 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table.
MethodBodyVisitor.VisitForEachStatement (cyclomatic 22) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/MethodBodyVisitor.vb:999— MethodBodyVisitor.VisitForEachStatement has cyclomatic complexity 22 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table.
NodesVisitor.FilterLeadingTrivia (cyclomatic 22) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/NamespaceVisitor.vb:34— NodesVisitor.FilterLeadingTrivia has cyclomatic complexity 22 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table.
LineNumbersForRichTextBox.Update_SizeAndPosition (cyclomatic 21) CSharpToVB/Controls/LineNumbersForRichTextBox.vb:548— LineNumbersForRichTextBox.Update_SizeAndPosition has cyclomatic complexity 21 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table.
NodesVisitor.VisitAttributeArgumentList (cyclomatic 21) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/AttributesVisitor.vb:40— NodesVisitor.VisitAttributeArgumentList has cyclomatic complexity 21 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table.
NodesVisitor.MakeAssignmentStatement (cyclomatic 21) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/ExpressionVisitor.vb:346— NodesVisitor.MakeAssignmentStatement has cyclomatic complexity 21 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table.
SyntaxTokenExtensions.RemoveDirectiveTrivia (cyclomatic 21) CodeConverter/Extensions/SyntaxTokenExtensions.vb:295— SyntaxTokenExtensions.RemoveDirectiveTrivia has cyclomatic complexity 21 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table.
NodesVisitor.VisitMemberAccessExpression (cyclomatic 20) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/ExpressionVisitor.vb:1800— NodesVisitor.VisitMemberAccessExpression has cyclomatic complexity 20 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table.
NodesVisitor.VisitParenthesizedExpression (cyclomatic 20) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/ExpressionVisitor.vb:1957— NodesVisitor.VisitParenthesizedExpression has cyclomatic complexity 20 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table.
NodesVisitor.VisitTupleExpression (cyclomatic 20) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/ExpressionVisitor.vb:2201— NodesVisitor.VisitTupleExpression has cyclomatic complexity 20 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table.
MethodBodyVisitor.ConvertBlock (cyclomatic 20) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/MethodBodyVisitor.vb:117— MethodBodyVisitor.ConvertBlock has cyclomatic complexity 20 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table.
ProcessFileUtilities.ProcessFileAsync (cyclomatic 19) CSharpToVB/Utilities/ProcessFileUtilities.vb:143— ProcessFileUtilities.ProcessFileAsync has cyclomatic complexity 19 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table.
NodesVisitor.VisitInvocationExpression (cyclomatic 19) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/ExpressionVisitor.vb:1611— NodesVisitor.VisitInvocationExpression has cyclomatic complexity 19 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table.
MethodBodyVisitor.VisitVariableDeclaration (cyclomatic 19) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/MethodBodyVisitor.vb:1771— MethodBodyVisitor.VisitVariableDeclaration has cyclomatic complexity 19 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table.
SyntaxTokenExtensions.AdjustTokenLeadingTrivia (cyclomatic 19) CodeConverter/Extensions/SyntaxTokenExtensions.vb:37— SyntaxTokenExtensions.AdjustTokenLeadingTrivia has cyclomatic complexity 19 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table.
VariableDeclarationExtensions.WithModifiedNodeTrailingTrivia (cyclomatic 19) CodeConverter/Extensions/VariableDeclarationExtensions.vb:60— VariableDeclarationExtensions.WithModifiedNodeTrailingTrivia has cyclomatic complexity 19 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table.
Form1.Form1_Load (cyclomatic 18) CSharpToVB/Forms/Form1.vb:232— Form1.Form1_Load has cyclomatic complexity 18 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table.
NodesVisitor.VisitIsPatternExpression (cyclomatic 18) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/PatternVisitor.vb:50— NodesVisitor.VisitIsPatternExpression has cyclomatic complexity 18 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table.
StatementMarker.GetStatementWithIssues (cyclomatic 18) CodeConverter/Utilities/StatementMarkerSupport.vb:293— StatementMarker.GetStatementWithIssues has cyclomatic complexity 18 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table.
SyntaxNormalizer.VisitToken (cyclomatic 18) CodeConverter/Utilities/SyntaxNormalizer.vb:1425— SyntaxNormalizer.VisitToken has cyclomatic complexity 18 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table.
TypeConverterSupport.ConvertISymbolToType (cyclomatic 18) CodeConverter/Utilities/TypeConverterSupport.vb:135— TypeConverterSupport.ConvertISymbolToType has cyclomatic complexity 18 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table.
TargetFrameworkUtilities.GetAllFrameworkVersions (cyclomatic 17) CSharpToVB/Utilities/TargetFrameworkUtilities.vb:80— TargetFrameworkUtilities.GetAllFrameworkVersions has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table.
NodesVisitor.VisitSingleVariableDesignation (cyclomatic 17) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/DesignnationVisitor.vb:51— NodesVisitor.VisitSingleVariableDesignation has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table.
NodesVisitor.GenerateSafeVbToken (cyclomatic 17) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/NamesVisitor.vb:235— NodesVisitor.GenerateSafeVbToken has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table.
SyntaxTokenExtensions.RemoveExtraEol (cyclomatic 17) CodeConverter/Extensions/SyntaxTokenExtensions.vb:345— SyntaxTokenExtensions.RemoveExtraEol has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table.
ColorizeSupport.FilterOutTopLevelStatementCode (cyclomatic 16) CSharpToVB/ClassificationSupport/ColorizeSupport.vb:12— ColorizeSupport.FilterOutTopLevelStatementCode has cyclomatic complexity 16 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table.
FilePathExtensions.GetFileCount (cyclomatic 16) CSharpToVB/Extensions/FilePathExtensions.vb:58— FilePathExtensions.GetFileCount has cyclomatic complexity 16 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table.
NodesVisitor.VisitAnonymousObjectCreationExpression (cyclomatic 16) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/ExpressionVisitor.vb:472— NodesVisitor.VisitAnonymousObjectCreationExpression has cyclomatic complexity 16 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table.
BlockExtensions.GetEventBodyStatements (cyclomatic 16) CodeConverter/Extensions/BlockExtensions.vb:41— BlockExtensions.GetEventBodyStatements has cyclomatic complexity 16 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table.
SyntaxNodeExtensions.RemoveExtraLeadingEol (cyclomatic 16) CodeConverter/Extensions/SyntaxNodeExtensions.vb:248— SyntaxNodeExtensions.RemoveExtraLeadingEol has cyclomatic complexity 16 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table.
TextFieldParser.GetLongPath (cyclomatic 16) csvGenerator/TextFieldParser.vb:707— TextFieldParser.GetLongPath has cyclomatic complexity 16 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table.
D11 · Test Reliability· Test reliability not measured · ×1
Test reliability not measured — no test run produced results — Test reliability NOT MEASURED: the test run produced no results for any test tier, so no test ever ran and flakiness could not be exercised. The cause could not be attributed, so it is excluded from the score rather than read as an absence of tests.
dormant codebase — no living knowledge left to concentrate — All 76 significant source file(s) were last meaningfully changed so long ago that no living knowledge remains — nothing since has been substantial enough to re-establish ownership (a broad, mechanical sweep that touches many files shallowly does not count, and neither does no activity at all). There is no concentration to measure, so the bus factor is not scored. This is not a clean bill: nobody currently holds working knowledge of this code (see D34 Knowledge Freshness).
HackComment CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/AttributesVisitor.vb:29— ' HACK for VB Error — a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there.
ConvertProjectFileUtilities.ConvertProjectFile (cognitive 372) CSharpToVB/Utilities/ConvertProjectFileUtilities.vb:205— ConvertProjectFileUtilities.ConvertProjectFile has cognitive complexity 372 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
NodesVisitor.VisitAssignmentExpression (cognitive 243) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/ExpressionVisitor.vb:566— NodesVisitor.VisitAssignmentExpression has cognitive complexity 243 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
NodesVisitor.VisitMethodDeclaration (cognitive 198) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/DeclarationVisitor.vb:711— NodesVisitor.VisitMethodDeclaration has cognitive complexity 198 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
ConvertLiteralSupport.GetLiteralExpression (cognitive 167) CodeConverter/Utilities/ConvertLiteralSupport.vb:129— ConvertLiteralSupport.GetLiteralExpression has cognitive complexity 167 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
SyntaxTokenExtensions.WithModifiedTokenTrivia (cognitive 139) CodeConverter/Extensions/SyntaxTokenExtensions.vb:477— SyntaxTokenExtensions.WithModifiedTokenTrivia has cognitive complexity 139 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
NodesVisitor.VisitCompilationUnit (cognitive 130) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/NodesVisitor.vb:118— NodesVisitor.VisitCompilationUnit has cognitive complexity 130 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
NodesVisitor.VisitParameter (cognitive 129) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/ParametersVisitor.vb:60— NodesVisitor.VisitParameter has cognitive complexity 129 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
SyntaxTriviaListExtensions.ConvertTriviaList (cognitive 116) CodeConverter/Extensions/SyntaxTriviaListExtensions.vb:174— SyntaxTriviaListExtensions.ConvertTriviaList has cognitive complexity 116 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
NodesVisitor.VisitClassDeclaration (cognitive 112) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/NamespaceVisitor.vb:325— NodesVisitor.VisitClassDeclaration has cognitive complexity 112 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
TypeConverterSupport.ConvertToType (cognitive 111) CodeConverter/Utilities/TypeConverterSupport.vb:310— TypeConverterSupport.ConvertToType has cognitive complexity 111 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
NodesVisitor.ConvertAndSplitAttributes (cognitive 109) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/DeclarationVisitor.vb:191— NodesVisitor.ConvertAndSplitAttributes has cognitive complexity 109 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
SyntaxNormalizer.RewriteTrivia (cognitive 108) CodeConverter/Utilities/SyntaxNormalizer.vb:540— SyntaxNormalizer.RewriteTrivia has cognitive complexity 108 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
ConvertSolutionFileUtilities.ConvertSolutionFile (cognitive 102) CSharpToVB/Utilities/ConvertSolutionFileUtilities.vb:115— ConvertSolutionFileUtilities.ConvertSolutionFile has cognitive complexity 102 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
NodesVisitor.VisitPropertyDeclaration (cognitive 95) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/DeclarationVisitor.vb:1113— NodesVisitor.VisitPropertyDeclaration has cognitive complexity 95 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
LanguageSyntaxNodeExtensions.AdjustNodeTrivia (cognitive 93) CodeConverter/Extensions/LanguageSyntaxNodeExtensions.vb:30— LanguageSyntaxNodeExtensions.AdjustNodeTrivia has cognitive complexity 93 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
MethodBodyVisitor.ConvertSingleExpression (cognitive 87) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/MethodBodyVisitor.vb:407— MethodBodyVisitor.ConvertSingleExpression has cognitive complexity 87 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
NodesVisitor.ConvertBaseList (cognitive 87) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/NamespaceVisitor.vb:188— NodesVisitor.ConvertBaseList has cognitive complexity 87 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
NodesVisitor.VisitIdentifierName (cognitive 78) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/NamesVisitor.vb:342— NodesVisitor.VisitIdentifierName has cognitive complexity 78 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
VariableDeclarationExtensions.RemodelVariableDeclaration (cognitive 78) CodeConverter/Extensions/VariableDeclarationExtensions.vb:144— VariableDeclarationExtensions.RemodelVariableDeclaration has cognitive complexity 78 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
ExpressionSyntaxExtensions.AdjustExpressionTrivia (cognitive 77) CodeConverter/Extensions/ExpressionSyntaxExtensions.vb:26— ExpressionSyntaxExtensions.AdjustExpressionTrivia has cognitive complexity 77 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
StatementExtensions.RestructureAttributesAndModifiers (cognitive 76) CodeConverter/Extensions/StatementExtensions.vb:136— StatementExtensions.RestructureAttributesAndModifiers has cognitive complexity 76 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
NodesVisitor.VisitBinaryExpression (cognitive 75) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/ExpressionVisitor.vb:933— NodesVisitor.VisitBinaryExpression has cognitive complexity 75 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
SyntaxNormalizer.NeedsSeparator (cognitive 73) CodeConverter/Utilities/SyntaxNormalizer.vb:191— SyntaxNormalizer.NeedsSeparator has cognitive complexity 73 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
SyntaxNodeExtensions.WithTrailingEol (cognitive 72) CodeConverter/Extensions/SyntaxNodeExtensions.vb:486— SyntaxNodeExtensions.WithTrailingEol has cognitive complexity 72 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
LineNumbersForRichTextBox.OnPaint (cognitive 69) CSharpToVB/Controls/LineNumbersForRichTextBox.vb:793— LineNumbersForRichTextBox.OnPaint has cognitive complexity 69 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
NodesVisitor.ConvertLambdaExpression (cognitive 68) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/ExpressionVisitor.vb:108— NodesVisitor.ConvertLambdaExpression has cognitive complexity 68 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
LanguageSyntaxNodeExtensions.ConvertAndModifyNodeTrivia (cognitive 64) CodeConverter/Extensions/LanguageSyntaxNodeExtensions.vb:225— LanguageSyntaxNodeExtensions.ConvertAndModifyNodeTrivia has cognitive complexity 64 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
TypeConverterSupport.ConvertTypeTupleToTypeStrings (cognitive 60) CodeConverter/Utilities/TypeConverterSupport.vb:469— TypeConverterSupport.ConvertTypeTupleToTypeStrings has cognitive complexity 60 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
MethodBodyVisitor.VisitForEachStatement (cognitive 59) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/MethodBodyVisitor.vb:999— MethodBodyVisitor.VisitForEachStatement has cognitive complexity 59 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
NodesVisitor.VisitInitializerExpression (cognitive 58) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/ExpressionVisitor.vb:1458— NodesVisitor.VisitInitializerExpression has cognitive complexity 58 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
NodesVisitor.VisitAttributeArgumentList (cognitive 57) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/AttributesVisitor.vb:40— NodesVisitor.VisitAttributeArgumentList has cognitive complexity 57 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
NodesVisitor.VisitLiteralExpression (cognitive 54) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/ExpressionVisitor.vb:1677— NodesVisitor.VisitLiteralExpression has cognitive complexity 54 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
ThemeSupport.SetLightMode (cognitive 53) CSharpToVB/ColorModeSupport/ThemeSupport.vb:121— ThemeSupport.SetLightMode has cognitive complexity 53 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
NodesVisitor.VisitSwitchExpression (cognitive 53) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/NodesVisitor.vb:619— NodesVisitor.VisitSwitchExpression has cognitive complexity 53 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
SyntaxTokenExtensions.ConvertAndModifyTokenTrivia (cognitive 53) CodeConverter/Extensions/SyntaxTokenExtensions.vb:173— SyntaxTokenExtensions.ConvertAndModifyTokenTrivia has cognitive complexity 53 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
ProcessProjectUtilities.ProcessProjectOrSolutionAsync (cognitive 52) CSharpToVB/Utilities/ProcessProjectUtilities.vb:211— ProcessProjectUtilities.ProcessProjectOrSolutionAsync has cognitive complexity 52 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
NodesVisitor.VisitSingleVariableDesignation (cognitive 52) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/DesignnationVisitor.vb:51— NodesVisitor.VisitSingleVariableDesignation has cognitive complexity 52 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
MethodBodyVisitor.VisitLocalFunctionStatement (cognitive 51) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/MethodBodyVisitor.vb:1423— MethodBodyVisitor.VisitLocalFunctionStatement has cognitive complexity 51 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
AttributeAndModifierSupport.ConvertModifiers (cognitive 51) CodeConverter/Utilities/AttributeAndModifierSupport.vb:162— AttributeAndModifierSupport.ConvertModifiers has cognitive complexity 51 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
ProcessFileUtilities.ProcessFileAsync (cognitive 48) CSharpToVB/Utilities/ProcessFileUtilities.vb:143— ProcessFileUtilities.ProcessFileAsync has cognitive complexity 48 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
TextFieldParser.ParseDelimitedLine (cognitive 48) csvGenerator/TextFieldParser.vb:1146— TextFieldParser.ParseDelimitedLine has cognitive complexity 48 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
NodesVisitor.VisitTupleExpression (cognitive 47) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/ExpressionVisitor.vb:2201— NodesVisitor.VisitTupleExpression has cognitive complexity 47 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
NodesVisitor.VisitEnumDeclaration (cognitive 47) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/NamespaceVisitor.vb:590— NodesVisitor.VisitEnumDeclaration has cognitive complexity 47 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
ThemeSupport.SetDarkMode (cognitive 45) CSharpToVB/ColorModeSupport/ThemeSupport.vb:7— ThemeSupport.SetDarkMode has cognitive complexity 45 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
MethodBodyVisitor.ConvertForToSimpleForNext (cognitive 45) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/MethodBodyVisitor.vb:225— MethodBodyVisitor.ConvertForToSimpleForNext has cognitive complexity 45 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
MethodBodyVisitor.ConvertSwitchSection (cognitive 45) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/MethodBodyVisitor.vb:564— MethodBodyVisitor.ConvertSwitchSection has cognitive complexity 45 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
LineNumbersForRichTextBox.Update_SizeAndPosition (cognitive 41) CSharpToVB/Controls/LineNumbersForRichTextBox.vb:548— LineNumbersForRichTextBox.Update_SizeAndPosition has cognitive complexity 41 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
NodesVisitor.MakeAssignmentStatement (cognitive 41) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/ExpressionVisitor.vb:346— NodesVisitor.MakeAssignmentStatement has cognitive complexity 41 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
MethodBodyVisitor.VisitVariableDeclaration (cognitive 41) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/MethodBodyVisitor.vb:1771— MethodBodyVisitor.VisitVariableDeclaration has cognitive complexity 41 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
NodesVisitor.NeedEventHandlerList (cognitive 40) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/DeclarationVisitor.vb:156— NodesVisitor.NeedEventHandlerList has cognitive complexity 40 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
NodesVisitor.VisitIndexerDeclaration (cognitive 40) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/DeclarationVisitor.vb:614— NodesVisitor.VisitIndexerDeclaration has cognitive complexity 40 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
NodesVisitor.VisitArgument (cognitive 39) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/ArgumentListVisitor.vb:41— NodesVisitor.VisitArgument has cognitive complexity 39 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
NodesVisitor.FilterTrailingTrivia (cognitive 38) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/NamespaceVisitor.vb:96— NodesVisitor.FilterTrailingTrivia has cognitive complexity 38 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
VariableDeclarationExtensions.WithModifiedNodeTrailingTrivia (cognitive 38) CodeConverter/Extensions/VariableDeclarationExtensions.vb:60— VariableDeclarationExtensions.WithModifiedNodeTrailingTrivia has cognitive complexity 38 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
TextFieldParser.ReadNextLine (cognitive 38) csvGenerator/TextFieldParser.vb:1353— TextFieldParser.ReadNextLine has cognitive complexity 38 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
NodesVisitor.VisitAnonymousObjectCreationExpression (cognitive 35) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/ExpressionVisitor.vb:472— NodesVisitor.VisitAnonymousObjectCreationExpression has cognitive complexity 35 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
MethodBodyVisitor.WillConvertToFor (cognitive 35) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/MethodBodyVisitor.vb:748— MethodBodyVisitor.WillConvertToFor has cognitive complexity 35 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
TypeConverterSupport.ConvertISymbolToType (cognitive 35) CodeConverter/Utilities/TypeConverterSupport.vb:135— TypeConverterSupport.ConvertISymbolToType has cognitive complexity 35 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
ProcessDirectoriesUtilities.ProcessDirectoryAsync (cognitive 34) CSharpToVB/Utilities/ProcessDirectoriesUtilities.vb:50— ProcessDirectoriesUtilities.ProcessDirectoryAsync has cognitive complexity 34 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
MethodBodyVisitor.VisitIfStatement (cognitive 34) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/MethodBodyVisitor.vb:1264— MethodBodyVisitor.VisitIfStatement has cognitive complexity 34 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
BlockExtensions.GetEventBodyStatements (cognitive 34) CodeConverter/Extensions/BlockExtensions.vb:41— BlockExtensions.GetEventBodyStatements has cognitive complexity 34 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
TargetFrameworkUtilities.GetAllFrameworkVersions (cognitive 33) CSharpToVB/Utilities/TargetFrameworkUtilities.vb:80— TargetFrameworkUtilities.GetAllFrameworkVersions has cognitive complexity 33 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
NodesVisitor.FilterLeadingTrivia (cognitive 33) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/NamespaceVisitor.vb:34— NodesVisitor.FilterLeadingTrivia has cognitive complexity 33 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
StatementMarker.GetStatementWithIssues (cognitive 32) CodeConverter/Utilities/StatementMarkerSupport.vb:293— StatementMarker.GetStatementWithIssues has cognitive complexity 32 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
NodesVisitor.VisitCastExpression (cognitive 31) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/ExpressionVisitor.vb:1124— NodesVisitor.VisitCastExpression has cognitive complexity 31 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
MethodBodyVisitor.ConvertBlock (cognitive 30) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/MethodBodyVisitor.vb:117— MethodBodyVisitor.ConvertBlock has cognitive complexity 30 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
AttributeAndModifierSupport.GetVisibilityKeyword (cognitive 30) CodeConverter/Utilities/AttributeAndModifierSupport.vb:49— AttributeAndModifierSupport.GetVisibilityKeyword has cognitive complexity 30 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
NodesVisitor.VisitInvocationExpression (cognitive 29) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/ExpressionVisitor.vb:1611— NodesVisitor.VisitInvocationExpression has cognitive complexity 29 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
NodesVisitor.VisitUsingDirective (cognitive 29) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/NamespaceVisitor.vb:874— NodesVisitor.VisitUsingDirective has cognitive complexity 29 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
SyntaxNavigator.GetNextToken (cognitive 29) CodeConverter/Utilities/SyntaxNavigator.vb:171— SyntaxNavigator.GetNextToken has cognitive complexity 29 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
LineNumbersForRichTextBox.Update_VisibleLineNumberItems (cognitive 27) CSharpToVB/Controls/LineNumbersForRichTextBox.vb:637— LineNumbersForRichTextBox.Update_VisibleLineNumberItems has cognitive complexity 27 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
NodesVisitor.VisitParenthesizedExpression (cognitive 27) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/ExpressionVisitor.vb:1957— NodesVisitor.VisitParenthesizedExpression has cognitive complexity 27 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
VariableDeclarationExtensions.DetermineTypeSyntax (cognitive 27) CodeConverter/Extensions/VariableDeclarationExtensions.vb:16— VariableDeclarationExtensions.DetermineTypeSyntax has cognitive complexity 27 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
StatementMarker.IsDecedentOfAsyncMethod (cognitive 27) CodeConverter/Utilities/StatementMarkerSupport.vb:374— StatementMarker.IsDecedentOfAsyncMethod has cognitive complexity 27 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
SyntaxNodeExtensions.AdjustStatementLeadingTrivia (cognitive 26) CodeConverter/Extensions/SyntaxNodeExtensions.vb:82— SyntaxNodeExtensions.AdjustStatementLeadingTrivia has cognitive complexity 26 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
Form1.Form1_Load (cognitive 25) CSharpToVB/Forms/Form1.vb:232— Form1.Form1_Load has cognitive complexity 25 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
NodesVisitor.GetScopingBlock (cognitive 25) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/NamesVisitor.vb:41— NodesVisitor.GetScopingBlock has cognitive complexity 25 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
MethodBodyVisitor.ConvertSingleBlock (cognitive 24) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/MethodBodyVisitor.vb:348— MethodBodyVisitor.ConvertSingleBlock has cognitive complexity 24 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
MethodBodyVisitor.VisitBlock (cognitive 24) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/MethodBodyVisitor.vb:824— MethodBodyVisitor.VisitBlock has cognitive complexity 24 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
NamedTypeSymbolExtensions.WhereAsArray (cognitive 24) CodeConverter/Extensions/NamedTypeSymbolExtensions.vb:248— NamedTypeSymbolExtensions.WhereAsArray has cognitive complexity 24 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
SyntaxNodeExtensions.AdjustMergedStatementTrailingTrivia (cognitive 24) CodeConverter/Extensions/SyntaxNodeExtensions.vb:23— SyntaxNodeExtensions.AdjustMergedStatementTrailingTrivia has cognitive complexity 24 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
SyntaxNavigator.GetNextToken (cognitive 24) CodeConverter/Utilities/SyntaxNavigator.vb:131— SyntaxNavigator.GetNextToken has cognitive complexity 24 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
QuoteDelimitedFieldBuilder.BuildField (cognitive 24) csvGenerator/TextFieldParser.vb:128— QuoteDelimitedFieldBuilder.BuildField has cognitive complexity 24 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
ProcessProjectUtilities.ProcessProjectAsync (cognitive 23) CSharpToVB/Utilities/ProcessProjectUtilities.vb:92— ProcessProjectUtilities.ProcessProjectAsync has cognitive complexity 23 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
NodesVisitor.VisitMemberAccessExpression (cognitive 23) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/ExpressionVisitor.vb:1800— NodesVisitor.VisitMemberAccessExpression has cognitive complexity 23 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
TextFieldParser.ValidateReadyToRead (cognitive 23) csvGenerator/TextFieldParser.vb:1586— TextFieldParser.ValidateReadyToRead has cognitive complexity 23 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
BrowserUtilities.CheckForUpdatesAsync (cognitive 22) CSharpToVB/Utilities/BrowserUtilities.vb:65— BrowserUtilities.CheckForUpdatesAsync has cognitive complexity 22 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
ExpressionSyntaxExtensions.DetermineType (cognitive 22) CodeConverter/Extensions/ExpressionSyntaxExtensions.vb:179— ExpressionSyntaxExtensions.DetermineType has cognitive complexity 22 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
SyntaxTokenExtensions.RemoveExtraEol (cognitive 22) CodeConverter/Extensions/SyntaxTokenExtensions.vb:345— SyntaxTokenExtensions.RemoveExtraEol has cognitive complexity 22 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
NodesVisitor.GetSymbolTableEntry (cognitive 21) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/NamesVisitor.vb:114— NodesVisitor.GetSymbolTableEntry has cognitive complexity 21 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
NodesVisitor.VisitRecordDeclaration (cognitive 21) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/NodesVisitor.vb:342— NodesVisitor.VisitRecordDeclaration has cognitive complexity 21 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
RangeSupport.AdjustAdditiveSpans (cognitive 20) CSharpToVB/ClassificationSupport/RangeSupport.vb:13— RangeSupport.AdjustAdditiveSpans has cognitive complexity 20 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
NodesVisitor.VisitConstructorDeclaration (cognitive 20) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/DeclarationVisitor.vb:330— NodesVisitor.VisitConstructorDeclaration has cognitive complexity 20 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
NodesVisitor.VisitFieldDeclaration (cognitive 20) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/DeclarationVisitor.vb:560— NodesVisitor.VisitFieldDeclaration has cognitive complexity 20 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
NodesVisitor.VisitVariableDeclarator (cognitive 20) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/NodesVisitor.vb:770— NodesVisitor.VisitVariableDeclarator has cognitive complexity 20 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
LanguageSyntaxNodeExtensions.GetNamespaceSymbols (cognitive 20) CodeConverter/Extensions/LanguageSyntaxNodeExtensions.vb:448— LanguageSyntaxNodeExtensions.GetNamespaceSymbols has cognitive complexity 20 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
SyntaxNormalizer.VisitToken (cognitive 20) CodeConverter/Utilities/SyntaxNormalizer.vb:1425— SyntaxNormalizer.VisitToken has cognitive complexity 20 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
ColorizeSupport.Colorize (cognitive 19) CSharpToVB/ClassificationSupport/ColorizeSupport.vb:80— ColorizeSupport.Colorize has cognitive complexity 19 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
ComboBoxEx.WndProc (cognitive 19) CSharpToVB/Controls/ComboBoxEx.vb:99— ComboBoxEx.WndProc has cognitive complexity 19 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
NodesVisitor.VisitElementAccessExpression (cognitive 19) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/ExpressionVisitor.vb:1356— NodesVisitor.VisitElementAccessExpression has cognitive complexity 19 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
MethodBodyVisitor.VisitTryStatement (cognitive 19) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/MethodBodyVisitor.vb:1666— MethodBodyVisitor.VisitTryStatement has cognitive complexity 19 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
NodesVisitor.GenerateSafeVbToken (cognitive 19) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/NamesVisitor.vb:235— NodesVisitor.GenerateSafeVbToken has cognitive complexity 19 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
SyntaxNodeExtensions.RemoveExtraLeadingEol (cognitive 19) CodeConverter/Extensions/SyntaxNodeExtensions.vb:248— SyntaxNodeExtensions.RemoveExtraLeadingEol has cognitive complexity 19 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
SyntaxTokenExtensions.AdjustTokenLeadingTrivia (cognitive 19) CodeConverter/Extensions/SyntaxTokenExtensions.vb:37— SyntaxTokenExtensions.AdjustTokenLeadingTrivia has cognitive complexity 19 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
StatementMarker.FlagUnsupportedStatements (cognitive 19) CodeConverter/Utilities/StatementMarkerSupport.vb:219— StatementMarker.FlagUnsupportedStatements has cognitive complexity 19 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
SyntaxTriviaListExtensions.ContainsCommentOrDirectiveTrivia (cognitive 18) CodeConverter/Extensions/SyntaxTriviaListExtensions.vb:60— SyntaxTriviaListExtensions.ContainsCommentOrDirectiveTrivia has cognitive complexity 18 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
StatementMarker.ReplaceStatementsWithMarkedStatements (cognitive 18) CodeConverter/Utilities/StatementMarkerSupport.vb:475— StatementMarker.ReplaceStatementsWithMarkedStatements has cognitive complexity 18 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
TriviaListSupport.TranslateTokenList (cognitive 18) CodeConverter/Utilities/TriviaListSupport.vb:106— TriviaListSupport.TranslateTokenList has cognitive complexity 18 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
FilePathExtensions.GetFileCount (cognitive 17) CSharpToVB/Extensions/FilePathExtensions.vb:58— FilePathExtensions.GetFileCount has cognitive complexity 17 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
NodesVisitor.VisitImplicitArrayCreationExpression (cognitive 17) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/ExpressionVisitor.vb:1411— NodesVisitor.VisitImplicitArrayCreationExpression has cognitive complexity 17 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
NodesVisitor.VisitIsPatternExpression (cognitive 17) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/PatternVisitor.vb:50— NodesVisitor.VisitIsPatternExpression has cognitive complexity 17 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
SyntaxTokenExtensions.AdjustTokenTrailingTrivia (cognitive 17) CodeConverter/Extensions/SyntaxTokenExtensions.vb:88— SyntaxTokenExtensions.AdjustTokenTrailingTrivia has cognitive complexity 17 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
NodesVisitor.VisitObjectCreationExpression (cognitive 16) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/ExpressionVisitor.vb:1904— NodesVisitor.VisitObjectCreationExpression has cognitive complexity 16 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
NodesVisitor.VisitPostfixUnaryExpression (cognitive 16) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/ExpressionVisitor.vb:2049— NodesVisitor.VisitPostfixUnaryExpression has cognitive complexity 16 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
NodesVisitor.VisitPrefixUnaryExpression (cognitive 16) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/ExpressionVisitor.vb:2110— NodesVisitor.VisitPrefixUnaryExpression has cognitive complexity 16 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
MethodBodyVisitor.VisitContinueStatement (cognitive 16) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/MethodBodyVisitor.vb:917— MethodBodyVisitor.VisitContinueStatement has cognitive complexity 16 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
ExpressionSyntaxExtensions.GetExpressionBodyStatements (cognitive 16) CodeConverter/Extensions/ExpressionSyntaxExtensions.vb:216— ExpressionSyntaxExtensions.GetExpressionBodyStatements has cognitive complexity 16 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
TypeConverterSupport.ConvertITypeSymbolToType (cognitive 16) CodeConverter/Utilities/TypeConverterSupport.vb:199— TypeConverterSupport.ConvertITypeSymbolToType has cognitive complexity 16 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
Change coupling: ThemeSupport.vb ↔ Form1.vb CSharpToVB/ColorModeSupport/ThemeSupport.vb— `CSharpToVB/ColorModeSupport/ThemeSupport.vb` and `CSharpToVB/Forms/Form1.vb` change together 69% of the time (9 of the 13 commits that touched the less-changed of the two, renames followed). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder — so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking.
Duplicated block (10 lines × 2) CSharpToVB/Controls/LineNumbersForRichTextBox.vb:582— CSharpToVB/Controls/LineNumbersForRichTextBox.vb:582-591 | CSharpToVB/Controls/LineNumbersForRichTextBox.vb:616-625 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited.
Duplicated block (8 lines × 2) CSharpToVB/Utilities/ConvertSolutionFileUtilities.vb:240— CSharpToVB/Utilities/ConvertSolutionFileUtilities.vb:240-247 | CSharpToVB/Utilities/ConvertSolutionFileUtilities.vb:271-278 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names — the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
Low cohesion: NodesVisitor (LCOM4 45) CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/ArgumentListVisitor.vb:16— NodesVisitor's methods form 45 groups that share no state and don't call each other — a sign it may have several responsibilities. Review whether it splits into focused classes.
Coverage not measured — The test suite couldn't be built/run in-image and no coverage report is committed, so line coverage was not measured — and it is EXCLUDED from the score rather than scored on a LoC-ratio proxy. No coverage collector was found in your CI either, so there is no existing report to hand us: add a coverage collector to your test run and commit (or publish) its Cobertura/OpenCover/lcov output anywhere in the repo, or make the suite runnable in-image, and real coverage will be measured.
Recommendation — 7 finding(s)
D34 · Knowledge Freshness· Largest orphaned file · ×3
Largest orphaned file CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/ExpressionVisitor.vb— One of the largest files with no living knowledge remaining — a reasonable place to start a read-through before the aggregate risk above bites.
Largest orphaned file CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/MethodBodyVisitor.vb— One of the largest files with no living knowledge remaining — a reasonable place to start a read-through before the aggregate risk above bites.
Largest orphaned file CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/DeclarationVisitor.vb— One of the largest files with no living knowledge remaining — a reasonable place to start a read-through before the aggregate risk above bites.
misleading comment ObjectPoolLibrary/ObjectPool.cs:1— "Licensed to the .NET Foundation under one or more agreements." — Fix - the actual license is MIT in the root LICENSE file; this comment conflicts with the real one.
misleading comment ObjectPoolLibrary/ObjectPool.cs:60— "We will interlock only when we have a candidate. in a worst case we may miss some" — Fix - the comment contradicts the code (interlock is done only when needed); remove or correct it so readers don't misinterpret.
D23 · Boundary Type-Coupling· Bounded contexts not declared · ×1
Bounded contexts not declared — At 26511 LoC spread over 7 projects the codebase is large and multi-module, so explicit bounded contexts are needed. Name this codebase's bounded contexts (≥2 module groups, e.g. per subsystem) so cross-boundary type coupling can be assessed. Declare them in `.codehealth/config.yaml` at the repository root (create it if absent), mapping each context name to the module-path or namespace prefixes that belong to it — e.g. `architecture:` → `contexts:` → `Billing: ["src/billing", "Acme.Billing"]`, `Catalog: ["src/catalog", "Acme.Catalog"]`.
Dormant codebase — 79 of 79 significant files have no living knowledge — the codebase as a whole is dormant, not 79 separate risks. Re-engage owners or document before change.
Build status unknown — The build did not finish within its budget on this run; structural metrics are reported, build/warning status is unknown.
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.
dotnet: not applicable — the solution did not restore on the analyzer's .NET SDK (an SDK/target-framework/restore mismatch, common for an older codebase), so there was no restored dependency graph to scan for NuGet CVEs — excluded rather than scored; re-run on an SDK that can restore this solution
trivy: not applicable — No Infrastructure-as-Code or container manifests found (Dockerfile, Terraform, Kubernetes/Helm, CloudFormation); nothing to scan.
semgrep: not applicable — Data compliance (PII/GDPR) was not assessed in this scan — no ruleset is currently available for it. This says nothing about how this repository handles personal data, in either direction.
trivy: not applicable — No JS/npm manifest or lockfile found outside build output (package.json, package-lock.json, yarn.lock, pnpm-lock.yaml, bun.lockb); no JS dependencies to scan.
provenance: not applicable — The CI pipeline builds and tests but publishes no released artifact — no package publish, container push, GitHub release or deployment step. Supply-chain provenance, signing and SBOM attest RELEASED artifacts, so there is nothing to attest here. Add them to the release pipeline when this repo starts shipping artifacts (a published package, a container image, a deployed service or a tagged release).
disclosure: not applicable — No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed.
runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here.
runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here.
runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here.
0
—
Run 019fc778-1169-795b-bc8c-a579be0acb5b · every finding is also locatable in findings.md, and the complete scoring record (with exit codes + durations) in sidecar.json.
Issues: 5 · Warnings: 250 · Recommendations: 7 · Info: 8 — Appendix A · all findings · full markdown report.
Generated by Watchdog — deterministic code-health analysis. 03-08-2026 @ 11:52 UTC.
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.