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.
Watchdog 03-08-2026 @ 11:52 UTC Public
Code Health Audit

Paul1956/CSharpToVB

57% Adequate
CriticalWeakAdequateStrongExemplary
middle

Hobby · 134 LoC · 7 projects · weakest lens: Maturity (41%)

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

35/38dimensions tool-verifieddeterministic · confidence 1.0 · 3 LLM-assisted, advisory
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 headline Width is the lens's weight in the worst-heaviest fold (the weakest area pulls hardest); colour is that lens's own band. A lens fixes the score in proportion to its width.
Maturity 41% · 47% weightReadiness 65% · 26% weightCode Health 68% · 14% weightSecurity 85% · 8% weightArchitecture 96% · 4% weight

Raise Maturity 41 → 70 (the Healthy floor) ⇒ headline 57 → ~69.

Code composition — where the lines go
Business logic 0%Plumbing 1%Tests 78%Generated 21%
Rebuild cost & value ~ Modeled — €4,300–€22,000
Cost to rebuild€4,300–€22,000 (0.1 person-years (72–228 h), ~1 engineer)
Domain complexityStandard — harder problems cost more per line
Quality factor0.8× (at 57% quality) — the last 20% of quality is most of the work
Size & shapeHobby · 51% boilerplate · 16% straight-line · 33% branching logic

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.
+13.6 pts · Low effort · Knowledge Freshness
2
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).
+15.6 pts · Medium effort · Architecture documentation
3
Resolve the 2 misleading comment finding(s) in Comment Value — start with ObjectPool.cs (2).
+7.1 pts · Low effort · Comment Value

Diagnosis — what's actually going on

Highest-leverage move · Medium · Leverage
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.)

CSharpToVBApp.My…pToVBApp.My.ResourcesCVS_GeneratorCVS_Generator.MyMicrosoft.VisualBasic…asic.CompilerServicesMyObjectPoolLibraryProgressReportLibrary…gressReportLibrary.My…er.CSharpToVBVisitors(global)CSharpToVBAppCSharpToVBApp.My1…pToVBApp.My.Resources2CVS_Generator3CVS_Generator.My4Microsoft.VisualBasic5…asic.CompilerServices6My7ObjectPoolLibrary8ProgressReportLibrary9…gressReportLibrary.My10…er.CSharpToVBVisitors11(global)12CSharpToVBApp13413514

At a glance — Code Health · 68% · Adequate · gated by D1, D2, X5

At a glance — Architecture · 96% · Exemplary

At a glance — Maturity · 41% · Weak · gated by D34, M2

At a glance — Readiness · 65% · Adequate · gated by P3

At a glance — Security · 85% · Strong

Security & Compliance — OWASP Top-10 mapping

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

OWASP categoryFindingsSeverity
A03:2021 — Injection2High / 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 thisHelpsEffortDimension
Resolve the 3 Largest orphaned file finding(s) in Knowledge Freshness — start with ExpressionVisitor.vb, MethodBodyVisitor.vb, DeclarationVisitor.vb.+13.6 ptsLowKnowledge Freshness
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).+15.6 ptsMediumArchitecture documentation
Resolve the 2 misleading comment finding(s) in Comment Value — start with ObjectPool.cs (2).+7.1 ptsLowComment Value
Add a build/run (quick start) section to the root README — the first thing a newcomer needs.+14.0 ptsMediumDocumentation (README)
Group production code under src/ (or split deliberately, e.g. backend/ + frontend/) so production and tooling code aren't mixed at the root.+14.0 ptsMediumFolder & project structure
Resolve the 1 Dormant codebase finding(s) in Knowledge Freshness.+5.9 ptsLowKnowledge Freshness
Improve Documentation Quality — currently 6.0/10.+6.3 ptsMediumDocumentation Quality
Resolve the 3 EmptyCatchBlock finding(s) in Explicit Debt — start with Compile.vb, ConversionResult.vb, TypeConverterSupport.vb.+2.7 ptsLowExplicit Debt

File quality

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

FileScoreBandWorst signal
CodeConverter/Utilities/TypeConverterSupport.vb4.6MixedExplicit Debt: EmptyCatchBlock
CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/ArgumentListVisitor.vb5.7MixedCyclomatic Complexity: NodesVisitor.VisitArgument (cyclomatic 33)
CSharpToVB/ColorModeSupport/ThemeSupport.vb5.7MixedCyclomatic Complexity: ThemeSupport.SetLightMode (cyclomatic 29)
.github/workflows/CI.yml5.8MixedStatic Analysis (SAST): High: github-actions-mutable-action-tag
CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/DeclarationVisitor.vb6.0MixedExplicit Debt: TodoComment
CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/ExpressionVisitor.vb6.0MixedExplicit Debt: TodoComment
CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/NodesVisitor.vb6.0MixedExplicit Debt: TodoComment
CodeConverter/Extensions/LanguageSyntaxNodeExtensions.vb6.0MixedExplicit Debt: TodoComment
CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/NamesVisitor.vb6.0MixedExplicit Debt: TodoComment
CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/MethodBodyVisitor.vb6.0MixedExplicit Debt: TodoComment
CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/AttributesVisitor.vb6.0MixedExplicit Debt: HackComment
CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/NamespaceVisitor.vb7.0MixedCyclomatic Complexity: NodesVisitor.VisitClassDeclaration (cyclomatic 58)
CodeConverter/Extensions/SyntaxTokenExtensions.vb7.0MixedCyclomatic Complexity: SyntaxTokenExtensions.WithModifiedTokenTrivia (cyclomatic 55)
CodeConverter/Utilities/SyntaxNormalizer.vb7.0MixedCyclomatic Complexity: SyntaxNormalizer.NeedsSeparator (cyclomatic 75)
CodeConverter/Extensions/SyntaxNodeExtensions.vb7.0MixedCyclomatic Complexity: SyntaxNodeExtensions.WithTrailingEol (cyclomatic 65)
CSharpToVB/Controls/LineNumbersForRichTextBox.vb7.0MixedCyclomatic Complexity: LineNumbersForRichTextBox.OnPaint (cyclomatic 45)
csvGenerator/TextFieldParser.vb7.0MixedCyclomatic Complexity: TextFieldParser.GetLongPath (cyclomatic 16)
CodeConverter/Utilities/StatementMarkerSupport.vb7.1MixedCyclomatic Complexity: StatementMarker.GetStatementWithIssues (cyclomatic 18)
CodeConverter/Extensions/VariableDeclarationExtensions.vb7.1MixedCyclomatic Complexity: VariableDeclarationExtensions.RemodelVariableDeclaration (cyclomatic 33)
CodeConverter/Extensions/SyntaxTriviaListExtensions.vb7.2MixedCyclomatic Complexity: SyntaxTriviaListExtensions.ConvertTriviaList (cyclomatic 68)

Methodology & how to trust this report

Watchdog is a deep, periodic assessment — run each sprint, monthly, or quarterly, taking the time to go wider and deeper than a quick check and surfacing in one coherent report what you'd otherwise piece together from a dozen separate tools. It scores deterministically: the same commit yields the same score, every run. 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
D1D2D3D4D5D6D12D13D14D15D17D18D19D21D24D26D27D28D29D34D35AX10AX3AX4AX5GD1IC1M1M2M3M4P1P3P6X1X3X4X5

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

How to trust any code-health report — three questions
  1. Can you open the finding? Real findings cite a repo-relative file and line you can open at the cited line — never an absolute scratch path. Here, 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.)
  2. Is there a tool behind the number? Every score below names the method that produced it — Roslyn, git, a scanner, or (for a handful of documentation/naming dimensions) an LLM labelled sampled · advisory — not a narrative.
  3. Does re-running give the same result? Run it again on the same commit and the score — and this report, byte for byte — is identical. A report whose numbers move between runs is describing the run, not the code.

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

Tools & methods

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

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

Every finding is locatable in findings.md. Run 019fc778-1169-795b-bc8c-a579be0acb5b.

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

Run transparency — what happened this run

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.

Dimensions

D1 · Cyclomatic Complexity2.0 / 10Critical✓ Tool-verified

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

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

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

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.

NodesVisitor.VisitMethodDeclaration (cyclomatic 108)CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/DeclarationVisitor.vb:711
ConvertProjectFileUtilities.ConvertProjectFile (cyclomatic 103)CSharpToVB/Utilities/ConvertProjectFileUtilities.vb:205
NodesVisitor.VisitParameter (cyclomatic 78)CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/ParametersVisitor.vb:60
NodesVisitor.VisitAssignmentExpression (cyclomatic 77)CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/ExpressionVisitor.vb:566
ConvertLiteralSupport.GetLiteralExpression (cyclomatic 76)CodeConverter/Utilities/ConvertLiteralSupport.vb:129

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

What to do

  1. 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).
  2. 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).
  3. 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).
  4. Enforce Cyclomatic Complexity in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.

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

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

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

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

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

118 method(s) exceeded the cognitive complexity threshold of 15; the worst was ConvertProjectFileUtilities.ConvertProjectFile at 372.

ConvertProjectFileUtilities.ConvertProjectFile (cognitive 372)CSharpToVB/Utilities/ConvertProjectFileUtilities.vb:205
NodesVisitor.VisitAssignmentExpression (cognitive 243)CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/ExpressionVisitor.vb:566
NodesVisitor.VisitMethodDeclaration (cognitive 198)CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/DeclarationVisitor.vb:711
ConvertLiteralSupport.GetLiteralExpression (cognitive 167)CodeConverter/Utilities/ConvertLiteralSupport.vb:129
SyntaxTokenExtensions.WithModifiedTokenTrivia (cognitive 139)CodeConverter/Extensions/SyntaxTokenExtensions.vb:477

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

What to do

  1. 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).
  2. 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).
  3. 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).
  4. Enforce Cognitive Complexity in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.

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

D3 · God 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.

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

26 god class(es) detected.

FileTooLong: CSharpToVBVisitors/ExpressionVisitor.vb · ×12CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/ExpressionVisitor.vb:0
ClassTooLong: CSharpConverter · ×9CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/ArgumentListVisitor.vb:0
TooManyMethods: CSharpConverter.NodesVisitor · ×5CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/ArgumentListVisitor.vb:0

What to do

  1. 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).
  2. 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).
  3. 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).
  4. Enforce God Classes in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.

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

D4 · Code Duplication10.0 / 10Exemplary✓ Tool-verified

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

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

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

2 duplicated block group(s) detected.

Duplicated block (10 lines × 2)CSharpToVB/Controls/LineNumbersForRichTextBox.vb:582
Duplicated block (8 lines × 2)CSharpToVB/Utilities/ConvertSolutionFileUtilities.vb:240

✓ On the Gold path — maintain.

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

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.

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

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

Off the main sequence: ProgressReportLibrary · ×3

What to do

  1. Resolve the 3 Off the main sequence finding(s) in Coupling. — One of this dimension's main actionable groups (3 warning-level).
  2. 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.

D6 · Cohesion (LCOM4)9.0 / 10Exemplary✓ Tool-verified

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.

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

1 of 12 classes have LCOM4 above 3.

Low cohesion: NodesVisitor (LCOM4 45)CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/ArgumentListVisitor.vb:16

✓ On the Gold path — maintain.

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

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

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

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

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

0 outdated, 0 vulnerable, 0 deprecated packages.

✓ On the Gold path — maintain.

Detailed fixes: d12_recommendation.md.

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

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

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

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

Secret scan ran and found no leaked secrets.

✓ On the Gold path — maintain.

Detailed fixes: d13_recommendation.md.

D14 · License Compliance10.0 / 10Exemplary○ Nothing flagged

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.

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

0 of 2 packages use a banned license.

✓ On the Gold path — maintain.

Detailed fixes: d14_recommendation.md.

D15 · Churn × Complexity Hotspots10.0 / 10Exemplary✓ Tool-verified

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

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

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

No churn × complexity hotspots in the window.

✓ On the Gold path — maintain.

Detailed fixes: d15_recommendation.md.

D17 · Explicit Debt9.7 / 10Exemplary✓ Tool-verified

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.

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

21 deducted debt markers + 0 dead symbols across 26511 LoC (0.2/KLoC) → score 9.7.

EmptyCatchBlock · ×3CSharpToVB/Utilities/Compile.vb:102
TodoComment · ×17CodeConverter/CSharpToVBConverter/CSharpToVBVisitors/DeclarationVisitor.vb:494
HackCommentCodeConverter/CSharpToVBConverter/CSharpToVBVisitors/AttributesVisitor.vb:29

✓ On the Gold path — maintain.

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

D18 · Solution Shape10.0 / 10Exemplary✓ Tool-verified

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.

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

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.

D19 · Documentation Quality / 10Adequate◐ Sampled · advisory

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

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

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

The single README 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.

XML-doc coverage: CSharpToVB · ×6CSharpToVB/CSharpToVB.vbproj

What to do

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

D21 · Naming Consistency / 10Exemplary◐ Sampled · advisory

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

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

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

0 naming inconsistencies across 12 sampled symbols.

✓ On the Gold path — maintain.

Detailed fixes: d21_recommendation.md.

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.

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

10 valuable / 0 redundant across 21 sampled comments; 2 shown with locations.

misleading comment · ×2ObjectPoolLibrary/ObjectPool.cs:1

What to do

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

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

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

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

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

0 of 7 projects flagged as possibly oversized/incoherent.

✓ On the Gold path — maintain.

Detailed fixes: d26_recommendation.md.

D27 · Navigability9.6 / 10Exemplary✓ Tool-verified

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

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

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

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

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.

✓ On the Gold path — maintain.

Detailed fixes: d27_recommendation.md.

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

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

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

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

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

✓ On the Gold path — maintain.

Detailed fixes: d28_recommendation.md.

D29 · Static Analysis (SAST)7.1 / 10Strong✓ Tool-verified

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

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

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

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

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

High: github-actions-mutable-action-tag · ×2.github/workflows/CI.yml:12detected by semgrep finding

What to do

  1. Resolve the 2 High finding(s) in Static Analysis (SAST) — start with CI.yml (2). — One of this dimension's main actionable groups (2 issue-level).

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

D34 · Knowledge Freshness0.0 / 10Critical✓ Tool-verified

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

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

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

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

  1. 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).
  2. 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.

D35 · Change Coupling9.9 / 10Exemplary✓ Tool-verified

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

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

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

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

Strongest change-coupling: ThemeSupport.vb↔Form1.vb 69%

Change coupling: ThemeSupport.vb ↔ Form1.vbCSharpToVB/ColorModeSupport/ThemeSupport.vb

✓ On the Gold path — maintain.

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

Frontend & cross-cutting dimensions

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

AX10 · Code composition10.0 / 10Exemplary✓ Tool-verified

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).
AX3 · Project dependency cycles10.0 / 10Exemplary✓ Tool-verified

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.

AX4 · Dependency direction10.0 / 10Exemplary✓ Tool-verified

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.

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

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

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

GD1 · Unfinished & placeholder code10.0 / 10Exemplary○ Nothing flagged

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.

IC1 · Incompleteness & stubs10.0 / 10Exemplary○ Nothing flagged

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.

Method: Roslyn syntax scan: incompleteness by code shape (constant-returning methods, async-never-await, #if false branches, skeleton types), not keyword-gated. Deterministic, code-shape heuristic.

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

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

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

What to do

  • Add a 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.
M2 · Architecture documentation0.0 / 10Critical✓ Tool-verified

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

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

  • No Architecture Decision Records found — 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.
M3 · Folder & project structure6.0 / 10Adequate✓ Tool-verified

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

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

  • 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.
M4 · Documentation accuracy9.0 / 10Exemplary◐ Sampled · advisory

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

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

P1 · CI/CD gates10.0 / 10Exemplary○ Nothing flagged

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

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

P3 · Security & performance tooling3.0 / 10Weak✓ Tool-verified

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

Method: Filesystem 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.
P6 · Release Hygiene5.0 / 10Adequate✓ Tool-verified

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

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

  • 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.
X1 · Async correctness10.0 / 10Exemplary○ Nothing flagged

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

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

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

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

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

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

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

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

X5 · Nullable reference types2.0 / 10Critical✓ Tool-verified

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 `!`.

Reference — by lens

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

LensScoreRatingImpact
Code Health68%Adequate — gated by D1, D2, X5Capped at Fair by a Critical contributor — resolve it before relying on this lens.
Architecture96%ExemplaryStrongest area.
Maturity41%Weak — gated by D34, M2Capped at Fair by a Critical contributor — resolve it before relying on this lens.
Readiness65%Adequate — gated by P3Capped at Fair by a Critical contributor — resolve it before relying on this lens.
Security85%StrongSolid.
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.

Issue — 5 finding(s)
D17 · Explicit Debt · EmptyCatchBlock · ×3
  • 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.
D29 · Static Analysis (SAST) · High · ×2
  • 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`.
Warning — 250 finding(s)
D17 · Explicit Debt · TodoComment · ×17
  • 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.
D3 · God Classes · FileTooLong · ×12
  • 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.
D3 · God Classes · ClassTooLong · ×9
  • 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.
D3 · God Classes · TooManyMethods · ×5
  • 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.
D5 · Coupling · Off the main sequence · ×3
  • 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.
D1 · Cyclomatic Complexity · NodesVisitor.VisitMethodDeclaration (cyclomatic 108) · ×1
  • 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.
D1 · Cyclomatic Complexity · ConvertProjectFileUtilities.ConvertProjectFile (cyclomatic 103) · ×1
  • 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.
D1 · Cyclomatic Complexity · NodesVisitor.VisitParameter (cyclomatic 78) · ×1
  • 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.
D1 · Cyclomatic Complexity · NodesVisitor.VisitAssignmentExpression (cyclomatic 77) · ×1
  • 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.
D1 · Cyclomatic Complexity · ConvertLiteralSupport.GetLiteralExpression (cyclomatic 76) · ×1
  • 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.
D1 · Cyclomatic Complexity · SyntaxNormalizer.NeedsSeparator (cyclomatic 75) · ×1
  • 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.
D1 · Cyclomatic Complexity · SyntaxTriviaListExtensions.ConvertTriviaList (cyclomatic 68) · ×1
  • 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.
D1 · Cyclomatic Complexity · ConvertSolutionFileUtilities.ConvertSolutionFile (cyclomatic 65) · ×1
  • 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.
D1 · Cyclomatic Complexity · SyntaxNodeExtensions.WithTrailingEol (cyclomatic 65) · ×1
  • 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.
D1 · Cyclomatic Complexity · NodesVisitor.VisitPropertyDeclaration (cyclomatic 58) · ×1
  • 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.
D1 · Cyclomatic Complexity · NodesVisitor.VisitClassDeclaration (cyclomatic 58) · ×1
  • 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.
D1 · Cyclomatic Complexity · NodesVisitor.VisitCompilationUnit (cyclomatic 57) · ×1
  • 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.
D1 · Cyclomatic Complexity · SyntaxNormalizer.RewriteTrivia (cyclomatic 57) · ×1
  • 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.
D1 · Cyclomatic Complexity · SyntaxTokenExtensions.WithModifiedTokenTrivia (cyclomatic 55) · ×1
  • 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.
D1 · Cyclomatic Complexity · LanguageSyntaxNodeExtensions.AdjustNodeTrivia (cyclomatic 50) · ×1
  • 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.
D1 · Cyclomatic Complexity · TypeConverterSupport.ConvertToType (cyclomatic 49) · ×1
  • 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.
D1 · Cyclomatic Complexity · ExpressionSyntaxExtensions.AdjustExpressionTrivia (cyclomatic 48) · ×1
  • 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.
D1 · Cyclomatic Complexity · NodesVisitor.VisitBinaryExpression (cyclomatic 47) · ×1
  • 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.
D1 · Cyclomatic Complexity · LineNumbersForRichTextBox.OnPaint (cyclomatic 45) · ×1
  • 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.
D1 · Cyclomatic Complexity · NodesVisitor.VisitIdentifierName (cyclomatic 45) · ×1
  • 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.
D1 · Cyclomatic Complexity · AttributeAndModifierSupport.GetVisibilityKeyword (cyclomatic 41) · ×1
  • 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.
D1 · Cyclomatic Complexity · StatementExtensions.RestructureAttributesAndModifiers (cyclomatic 40) · ×1
  • 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.
D1 · Cyclomatic Complexity · MethodBodyVisitor.ConvertSingleExpression (cyclomatic 39) · ×1
  • 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.
D1 · Cyclomatic Complexity · NodesVisitor.ConvertLambdaExpression (cyclomatic 38) · ×1
  • 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.
D1 · Cyclomatic Complexity · NodesVisitor.VisitLiteralExpression (cyclomatic 37) · ×1
  • 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.
D1 · Cyclomatic Complexity · LanguageSyntaxNodeExtensions.ConvertAndModifyNodeTrivia (cyclomatic 34) · ×1
  • 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.
D1 · Cyclomatic Complexity · NodesVisitor.VisitArgument (cyclomatic 33) · ×1
  • 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.
D1 · Cyclomatic Complexity · VariableDeclarationExtensions.RemodelVariableDeclaration (cyclomatic 33) · ×1
  • 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.
D1 · Cyclomatic Complexity · NodesVisitor.VisitInitializerExpression (cyclomatic 32) · ×1
  • 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.
D1 · Cyclomatic Complexity · MethodBodyVisitor.ConvertForToSimpleForNext (cyclomatic 32) · ×1
  • 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.
D1 · Cyclomatic Complexity · NodesVisitor.VisitCastExpression (cyclomatic 31) · ×1
  • 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.
D1 · Cyclomatic Complexity · NodesVisitor.ConvertBaseList (cyclomatic 31) · ×1
  • 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.
D1 · Cyclomatic Complexity · TypeConverterSupport.ConvertTypeTupleToTypeStrings (cyclomatic 30) · ×1
  • 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.
D1 · Cyclomatic Complexity · ThemeSupport.SetLightMode (cyclomatic 29) · ×1
  • 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.
D1 · Cyclomatic Complexity · MethodBodyVisitor.VisitLocalFunctionStatement (cyclomatic 28) · ×1
  • 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.
D1 · Cyclomatic Complexity · ThemeSupport.SetDarkMode (cyclomatic 27) · ×1
  • 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.
D1 · Cyclomatic Complexity · NodesVisitor.ConvertAndSplitAttributes (cyclomatic 27) · ×1
  • 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.
D1 · Cyclomatic Complexity · SyntaxTokenExtensions.ConvertAndModifyTokenTrivia (cyclomatic 27) · ×1
  • 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.
D1 · Cyclomatic Complexity · ProcessDirectoriesUtilities.ProcessDirectoryAsync (cyclomatic 26) · ×1
  • 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.
D1 · Cyclomatic Complexity · MethodBodyVisitor.WillConvertToFor (cyclomatic 26) · ×1
  • 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.
D1 · Cyclomatic Complexity · AttributeAndModifierSupport.ConvertModifiers (cyclomatic 26) · ×1
  • 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.
D1 · Cyclomatic Complexity · NodesVisitor.VisitSwitchExpression (cyclomatic 24) · ×1
  • 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.
D1 · Cyclomatic Complexity · NodesVisitor.VisitIndexerDeclaration (cyclomatic 23) · ×1
  • 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.
D1 · Cyclomatic Complexity · MethodBodyVisitor.ConvertSwitchSection (cyclomatic 23) · ×1
  • 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.
D1 · Cyclomatic Complexity · MethodBodyVisitor.VisitIfStatement (cyclomatic 23) · ×1
  • 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.
D1 · Cyclomatic Complexity · NodesVisitor.FilterTrailingTrivia (cyclomatic 23) · ×1
  • 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.
D1 · Cyclomatic Complexity · NodesVisitor.VisitEnumDeclaration (cyclomatic 23) · ×1
  • 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.
D1 · Cyclomatic Complexity · ProcessProjectUtilities.ProcessProjectOrSolutionAsync (cyclomatic 22) · ×1
  • 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.
D1 · Cyclomatic Complexity · MethodBodyVisitor.VisitForEachStatement (cyclomatic 22) · ×1
  • 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.
D1 · Cyclomatic Complexity · NodesVisitor.FilterLeadingTrivia (cyclomatic 22) · ×1
  • 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.
D1 · Cyclomatic Complexity · LineNumbersForRichTextBox.Update_SizeAndPosition (cyclomatic 21) · ×1
  • 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.
D1 · Cyclomatic Complexity · NodesVisitor.VisitAttributeArgumentList (cyclomatic 21) · ×1
  • 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.
D1 · Cyclomatic Complexity · NodesVisitor.MakeAssignmentStatement (cyclomatic 21) · ×1
  • 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.
D1 · Cyclomatic Complexity · SyntaxTokenExtensions.RemoveDirectiveTrivia (cyclomatic 21) · ×1
  • 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.
D1 · Cyclomatic Complexity · NodesVisitor.VisitMemberAccessExpression (cyclomatic 20) · ×1
  • 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.
D1 · Cyclomatic Complexity · NodesVisitor.VisitParenthesizedExpression (cyclomatic 20) · ×1
  • 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.
D1 · Cyclomatic Complexity · NodesVisitor.VisitTupleExpression (cyclomatic 20) · ×1
  • 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.
D1 · Cyclomatic Complexity · MethodBodyVisitor.ConvertBlock (cyclomatic 20) · ×1
  • 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.
D1 · Cyclomatic Complexity · ProcessFileUtilities.ProcessFileAsync (cyclomatic 19) · ×1
  • 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.
D1 · Cyclomatic Complexity · NodesVisitor.VisitInvocationExpression (cyclomatic 19) · ×1
  • 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.
D1 · Cyclomatic Complexity · MethodBodyVisitor.VisitVariableDeclaration (cyclomatic 19) · ×1
  • 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.
D1 · Cyclomatic Complexity · SyntaxTokenExtensions.AdjustTokenLeadingTrivia (cyclomatic 19) · ×1
  • 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.
D1 · Cyclomatic Complexity · VariableDeclarationExtensions.WithModifiedNodeTrailingTrivia (cyclomatic 19) · ×1
  • 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.
D1 · Cyclomatic Complexity · Form1.Form1_Load (cyclomatic 18) · ×1
  • 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.
D1 · Cyclomatic Complexity · NodesVisitor.VisitIsPatternExpression (cyclomatic 18) · ×1
  • 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.
D1 · Cyclomatic Complexity · StatementMarker.GetStatementWithIssues (cyclomatic 18) · ×1
  • 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.
D1 · Cyclomatic Complexity · SyntaxNormalizer.VisitToken (cyclomatic 18) · ×1
  • 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.
D1 · Cyclomatic Complexity · TypeConverterSupport.ConvertISymbolToType (cyclomatic 18) · ×1
  • 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.
D1 · Cyclomatic Complexity · TargetFrameworkUtilities.GetAllFrameworkVersions (cyclomatic 17) · ×1
  • 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.
D1 · Cyclomatic Complexity · NodesVisitor.VisitSingleVariableDesignation (cyclomatic 17) · ×1
  • 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.
D1 · Cyclomatic Complexity · NodesVisitor.GenerateSafeVbToken (cyclomatic 17) · ×1
  • 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.
D1 · Cyclomatic Complexity · SyntaxTokenExtensions.RemoveExtraEol (cyclomatic 17) · ×1
  • 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.
D1 · Cyclomatic Complexity · ColorizeSupport.FilterOutTopLevelStatementCode (cyclomatic 16) · ×1
  • 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.
D1 · Cyclomatic Complexity · FilePathExtensions.GetFileCount (cyclomatic 16) · ×1
  • 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.
D1 · Cyclomatic Complexity · NodesVisitor.VisitAnonymousObjectCreationExpression (cyclomatic 16) · ×1
  • 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.
D1 · Cyclomatic Complexity · BlockExtensions.GetEventBodyStatements (cyclomatic 16) · ×1
  • 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.
D1 · Cyclomatic Complexity · SyntaxNodeExtensions.RemoveExtraLeadingEol (cyclomatic 16) · ×1
  • 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.
D1 · Cyclomatic Complexity · TextFieldParser.GetLongPath (cyclomatic 16) · ×1
  • 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.
D16 · Bus Factor · dormant codebase · ×1
  • 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).
D17 · Explicit Debt · HackComment · ×1
  • 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.
D2 · Cognitive Complexity · ConvertProjectFileUtilities.ConvertProjectFile (cognitive 372) · ×1
  • 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.
D2 · Cognitive Complexity · NodesVisitor.VisitAssignmentExpression (cognitive 243) · ×1
  • 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.
D2 · Cognitive Complexity · NodesVisitor.VisitMethodDeclaration (cognitive 198) · ×1
  • 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.
D2 · Cognitive Complexity · ConvertLiteralSupport.GetLiteralExpression (cognitive 167) · ×1
  • 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.
D2 · Cognitive Complexity · SyntaxTokenExtensions.WithModifiedTokenTrivia (cognitive 139) · ×1
  • 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.
D2 · Cognitive Complexity · NodesVisitor.VisitCompilationUnit (cognitive 130) · ×1
  • 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.
D2 · Cognitive Complexity · NodesVisitor.VisitParameter (cognitive 129) · ×1
  • 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.
D2 · Cognitive Complexity · SyntaxTriviaListExtensions.ConvertTriviaList (cognitive 116) · ×1
  • 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.
D2 · Cognitive Complexity · NodesVisitor.VisitClassDeclaration (cognitive 112) · ×1
  • 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.
D2 · Cognitive Complexity · TypeConverterSupport.ConvertToType (cognitive 111) · ×1
  • 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.
D2 · Cognitive Complexity · NodesVisitor.ConvertAndSplitAttributes (cognitive 109) · ×1
  • 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.
D2 · Cognitive Complexity · SyntaxNormalizer.RewriteTrivia (cognitive 108) · ×1
  • 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.
D2 · Cognitive Complexity · ConvertSolutionFileUtilities.ConvertSolutionFile (cognitive 102) · ×1
  • 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.
D2 · Cognitive Complexity · NodesVisitor.VisitPropertyDeclaration (cognitive 95) · ×1
  • 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.
D2 · Cognitive Complexity · LanguageSyntaxNodeExtensions.AdjustNodeTrivia (cognitive 93) · ×1
  • 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.
D2 · Cognitive Complexity · MethodBodyVisitor.ConvertSingleExpression (cognitive 87) · ×1
  • 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.
D2 · Cognitive Complexity · NodesVisitor.ConvertBaseList (cognitive 87) · ×1
  • 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.
D2 · Cognitive Complexity · NodesVisitor.VisitIdentifierName (cognitive 78) · ×1
  • 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.
D2 · Cognitive Complexity · VariableDeclarationExtensions.RemodelVariableDeclaration (cognitive 78) · ×1
  • 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.
D2 · Cognitive Complexity · ExpressionSyntaxExtensions.AdjustExpressionTrivia (cognitive 77) · ×1
  • 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.
D2 · Cognitive Complexity · StatementExtensions.RestructureAttributesAndModifiers (cognitive 76) · ×1
  • 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.
D2 · Cognitive Complexity · NodesVisitor.VisitBinaryExpression (cognitive 75) · ×1
  • 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.
D2 · Cognitive Complexity · SyntaxNormalizer.NeedsSeparator (cognitive 73) · ×1
  • 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.
D2 · Cognitive Complexity · SyntaxNodeExtensions.WithTrailingEol (cognitive 72) · ×1
  • 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.
D2 · Cognitive Complexity · LineNumbersForRichTextBox.OnPaint (cognitive 69) · ×1
  • 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.
D2 · Cognitive Complexity · NodesVisitor.ConvertLambdaExpression (cognitive 68) · ×1
  • 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.
D2 · Cognitive Complexity · LanguageSyntaxNodeExtensions.ConvertAndModifyNodeTrivia (cognitive 64) · ×1
  • 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.
D2 · Cognitive Complexity · TypeConverterSupport.ConvertTypeTupleToTypeStrings (cognitive 60) · ×1
  • 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.
D2 · Cognitive Complexity · MethodBodyVisitor.VisitForEachStatement (cognitive 59) · ×1
  • 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.
D2 · Cognitive Complexity · NodesVisitor.VisitInitializerExpression (cognitive 58) · ×1
  • 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.
D2 · Cognitive Complexity · NodesVisitor.VisitAttributeArgumentList (cognitive 57) · ×1
  • 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.
D2 · Cognitive Complexity · NodesVisitor.VisitLiteralExpression (cognitive 54) · ×1
  • 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.
D2 · Cognitive Complexity · ThemeSupport.SetLightMode (cognitive 53) · ×1
  • 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.
D2 · Cognitive Complexity · NodesVisitor.VisitSwitchExpression (cognitive 53) · ×1
  • 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.
D2 · Cognitive Complexity · SyntaxTokenExtensions.ConvertAndModifyTokenTrivia (cognitive 53) · ×1
  • 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.
D2 · Cognitive Complexity · ProcessProjectUtilities.ProcessProjectOrSolutionAsync (cognitive 52) · ×1
  • 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.
D2 · Cognitive Complexity · NodesVisitor.VisitSingleVariableDesignation (cognitive 52) · ×1
  • 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.
D2 · Cognitive Complexity · MethodBodyVisitor.VisitLocalFunctionStatement (cognitive 51) · ×1
  • 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.
D2 · Cognitive Complexity · AttributeAndModifierSupport.ConvertModifiers (cognitive 51) · ×1
  • 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.
D2 · Cognitive Complexity · ProcessFileUtilities.ProcessFileAsync (cognitive 48) · ×1
  • 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.
D2 · Cognitive Complexity · TextFieldParser.ParseDelimitedLine (cognitive 48) · ×1
  • 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.
D2 · Cognitive Complexity · NodesVisitor.VisitTupleExpression (cognitive 47) · ×1
  • 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.
D2 · Cognitive Complexity · NodesVisitor.VisitEnumDeclaration (cognitive 47) · ×1
  • 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.
D2 · Cognitive Complexity · ThemeSupport.SetDarkMode (cognitive 45) · ×1
  • 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.
D2 · Cognitive Complexity · MethodBodyVisitor.ConvertForToSimpleForNext (cognitive 45) · ×1
  • 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.
D2 · Cognitive Complexity · MethodBodyVisitor.ConvertSwitchSection (cognitive 45) · ×1
  • 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.
D2 · Cognitive Complexity · LineNumbersForRichTextBox.Update_SizeAndPosition (cognitive 41) · ×1
  • 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.
D2 · Cognitive Complexity · NodesVisitor.MakeAssignmentStatement (cognitive 41) · ×1
  • 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.
D2 · Cognitive Complexity · MethodBodyVisitor.VisitVariableDeclaration (cognitive 41) · ×1
  • 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.
D2 · Cognitive Complexity · NodesVisitor.NeedEventHandlerList (cognitive 40) · ×1
  • 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.
D2 · Cognitive Complexity · NodesVisitor.VisitIndexerDeclaration (cognitive 40) · ×1
  • 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.
D2 · Cognitive Complexity · NodesVisitor.VisitArgument (cognitive 39) · ×1
  • 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.
D2 · Cognitive Complexity · NodesVisitor.FilterTrailingTrivia (cognitive 38) · ×1
  • 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.
D2 · Cognitive Complexity · VariableDeclarationExtensions.WithModifiedNodeTrailingTrivia (cognitive 38) · ×1
  • 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.
D2 · Cognitive Complexity · TextFieldParser.ReadNextLine (cognitive 38) · ×1
  • 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.
D2 · Cognitive Complexity · NodesVisitor.VisitAnonymousObjectCreationExpression (cognitive 35) · ×1
  • 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.
D2 · Cognitive Complexity · MethodBodyVisitor.WillConvertToFor (cognitive 35) · ×1
  • 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.
D2 · Cognitive Complexity · TypeConverterSupport.ConvertISymbolToType (cognitive 35) · ×1
  • 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.
D2 · Cognitive Complexity · ProcessDirectoriesUtilities.ProcessDirectoryAsync (cognitive 34) · ×1
  • 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.
D2 · Cognitive Complexity · MethodBodyVisitor.VisitIfStatement (cognitive 34) · ×1
  • 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.
D2 · Cognitive Complexity · BlockExtensions.GetEventBodyStatements (cognitive 34) · ×1
  • 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.
D2 · Cognitive Complexity · TargetFrameworkUtilities.GetAllFrameworkVersions (cognitive 33) · ×1
  • 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.
D2 · Cognitive Complexity · NodesVisitor.FilterLeadingTrivia (cognitive 33) · ×1
  • 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.
D2 · Cognitive Complexity · StatementMarker.GetStatementWithIssues (cognitive 32) · ×1
  • 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.
D2 · Cognitive Complexity · NodesVisitor.VisitCastExpression (cognitive 31) · ×1
  • 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.
D2 · Cognitive Complexity · MethodBodyVisitor.ConvertBlock (cognitive 30) · ×1
  • 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.
D2 · Cognitive Complexity · AttributeAndModifierSupport.GetVisibilityKeyword (cognitive 30) · ×1
  • 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.
D2 · Cognitive Complexity · NodesVisitor.VisitInvocationExpression (cognitive 29) · ×1
  • 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.
D2 · Cognitive Complexity · NodesVisitor.VisitUsingDirective (cognitive 29) · ×1
  • 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.
D2 · Cognitive Complexity · SyntaxNavigator.GetNextToken (cognitive 29) · ×1
  • 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.
D2 · Cognitive Complexity · LineNumbersForRichTextBox.Update_VisibleLineNumberItems (cognitive 27) · ×1
  • 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.
D2 · Cognitive Complexity · NodesVisitor.VisitParenthesizedExpression (cognitive 27) · ×1
  • 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.
D2 · Cognitive Complexity · VariableDeclarationExtensions.DetermineTypeSyntax (cognitive 27) · ×1
  • 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.
D2 · Cognitive Complexity · StatementMarker.IsDecedentOfAsyncMethod (cognitive 27) · ×1
  • 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.
D2 · Cognitive Complexity · SyntaxNodeExtensions.AdjustStatementLeadingTrivia (cognitive 26) · ×1
  • 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.
D2 · Cognitive Complexity · Form1.Form1_Load (cognitive 25) · ×1
  • 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.
D2 · Cognitive Complexity · NodesVisitor.GetScopingBlock (cognitive 25) · ×1
  • 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.
D2 · Cognitive Complexity · MethodBodyVisitor.ConvertSingleBlock (cognitive 24) · ×1
  • 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.
D2 · Cognitive Complexity · MethodBodyVisitor.VisitBlock (cognitive 24) · ×1
  • 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.
D2 · Cognitive Complexity · NamedTypeSymbolExtensions.WhereAsArray (cognitive 24) · ×1
  • 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.
D2 · Cognitive Complexity · SyntaxNodeExtensions.AdjustMergedStatementTrailingTrivia (cognitive 24) · ×1
  • 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.
D2 · Cognitive Complexity · SyntaxNavigator.GetNextToken (cognitive 24) · ×1
  • 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.
D2 · Cognitive Complexity · QuoteDelimitedFieldBuilder.BuildField (cognitive 24) · ×1
  • 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.
D2 · Cognitive Complexity · ProcessProjectUtilities.ProcessProjectAsync (cognitive 23) · ×1
  • 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.
D2 · Cognitive Complexity · NodesVisitor.VisitMemberAccessExpression (cognitive 23) · ×1
  • 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.
D2 · Cognitive Complexity · TextFieldParser.ValidateReadyToRead (cognitive 23) · ×1
  • 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.
D2 · Cognitive Complexity · BrowserUtilities.CheckForUpdatesAsync (cognitive 22) · ×1
  • 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.
D2 · Cognitive Complexity · ExpressionSyntaxExtensions.DetermineType (cognitive 22) · ×1
  • 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.
D2 · Cognitive Complexity · SyntaxTokenExtensions.RemoveExtraEol (cognitive 22) · ×1
  • 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.
D2 · Cognitive Complexity · NodesVisitor.GetSymbolTableEntry (cognitive 21) · ×1
  • 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.
D2 · Cognitive Complexity · NodesVisitor.VisitRecordDeclaration (cognitive 21) · ×1
  • 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.
D2 · Cognitive Complexity · RangeSupport.AdjustAdditiveSpans (cognitive 20) · ×1
  • 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.
D2 · Cognitive Complexity · NodesVisitor.VisitConstructorDeclaration (cognitive 20) · ×1
  • 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.
D2 · Cognitive Complexity · NodesVisitor.VisitFieldDeclaration (cognitive 20) · ×1
  • 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.
D2 · Cognitive Complexity · NodesVisitor.VisitVariableDeclarator (cognitive 20) · ×1
  • 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.
D2 · Cognitive Complexity · LanguageSyntaxNodeExtensions.GetNamespaceSymbols (cognitive 20) · ×1
  • 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.
D2 · Cognitive Complexity · SyntaxNormalizer.VisitToken (cognitive 20) · ×1
  • 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.
D2 · Cognitive Complexity · ColorizeSupport.Colorize (cognitive 19) · ×1
  • 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.
D2 · Cognitive Complexity · ComboBoxEx.WndProc (cognitive 19) · ×1
  • 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.
D2 · Cognitive Complexity · NodesVisitor.VisitElementAccessExpression (cognitive 19) · ×1
  • 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.
D2 · Cognitive Complexity · MethodBodyVisitor.VisitTryStatement (cognitive 19) · ×1
  • 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.
D2 · Cognitive Complexity · NodesVisitor.GenerateSafeVbToken (cognitive 19) · ×1
  • 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.
D2 · Cognitive Complexity · SyntaxNodeExtensions.RemoveExtraLeadingEol (cognitive 19) · ×1
  • 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.
D2 · Cognitive Complexity · SyntaxTokenExtensions.AdjustTokenLeadingTrivia (cognitive 19) · ×1
  • 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.
D2 · Cognitive Complexity · StatementMarker.FlagUnsupportedStatements (cognitive 19) · ×1
  • 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.
D2 · Cognitive Complexity · SyntaxTriviaListExtensions.ContainsCommentOrDirectiveTrivia (cognitive 18) · ×1
  • 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.
D2 · Cognitive Complexity · StatementMarker.ReplaceStatementsWithMarkedStatements (cognitive 18) · ×1
  • 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.
D2 · Cognitive Complexity · TriviaListSupport.TranslateTokenList (cognitive 18) · ×1
  • 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.
D2 · Cognitive Complexity · FilePathExtensions.GetFileCount (cognitive 17) · ×1
  • 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.
D2 · Cognitive Complexity · NodesVisitor.VisitImplicitArrayCreationExpression (cognitive 17) · ×1
  • 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.
D2 · Cognitive Complexity · NodesVisitor.VisitIsPatternExpression (cognitive 17) · ×1
  • 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.
D2 · Cognitive Complexity · SyntaxTokenExtensions.AdjustTokenTrailingTrivia (cognitive 17) · ×1
  • 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.
D2 · Cognitive Complexity · NodesVisitor.VisitObjectCreationExpression (cognitive 16) · ×1
  • 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.
D2 · Cognitive Complexity · NodesVisitor.VisitPostfixUnaryExpression (cognitive 16) · ×1
  • 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.
D2 · Cognitive Complexity · NodesVisitor.VisitPrefixUnaryExpression (cognitive 16) · ×1
  • 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.
D2 · Cognitive Complexity · MethodBodyVisitor.VisitContinueStatement (cognitive 16) · ×1
  • 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.
D2 · Cognitive Complexity · ExpressionSyntaxExtensions.GetExpressionBodyStatements (cognitive 16) · ×1
  • 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.
D2 · Cognitive Complexity · TypeConverterSupport.ConvertITypeSymbolToType (cognitive 16) · ×1
  • 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.
D35 · Change Coupling · Change coupling · ×1
  • 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.
D4 · Code Duplication · Duplicated block (10 lines × 2) · ×1
  • 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.
D4 · Code Duplication · Duplicated block (8 lines × 2) · ×1
  • 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.
D6 · Cohesion (LCOM4) · Low cohesion · ×1
  • 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.
D8 · Code Coverage · Coverage not measured · ×1
  • 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.
D24 · Comment Value · misleading comment · ×2
  • 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"]`.
D34 · Knowledge Freshness · Dormant codebase · ×1
  • 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.
Info — 8 finding(s)
D19 · Documentation Quality · XML-doc coverage · ×6
  • XML-doc coverage: CSharpToVB CSharpToVB/CSharpToVB.vbproj — CSharpToVB: 100 % XML-doc coverage (0/0).
  • XML-doc coverage: CodeConverter CodeConverter/CodeConverter.vbproj — CodeConverter: 100 % XML-doc coverage (0/0).
  • XML-doc coverage: ProgressReportLibrary ProgressReportLibrary/ProgressReportLibrary.vbproj — ProgressReportLibrary: 100 % XML-doc coverage (0/0).
  • XML-doc coverage: csvGenerator csvGenerator/csvGenerator.vbproj — csvGenerator: 100 % XML-doc coverage (0/0).
  • XML-doc coverage: TestConsoleApp TestConsoleApp/TestConsoleApp.vbproj — TestConsoleApp: 100 % XML-doc coverage (0/0).
  • XML-doc coverage: ObjectPoolLibrary ObjectPoolLibrary/ObjectPoolLibrary.csproj — ObjectPoolLibrary: 80 % XML-doc coverage (4/5).
D18 · Solution Shape · Build status unknown · ×1
  • 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.

DimensionToolVersionCommandFindingsRaw output
D28 · Secrets (history)gitleaksgitleaks detect --no-banner --report-format json --report-path /dev/stdout --exit-code 0 --source .0artifacts/raw/gitleaks-history.json
D29 · Static Analysis (SAST)semgrepsemgrep --config /opt/semgrep-rules/security-audit.yml --config /opt/semgrep-rules/owasp-top-ten.yml --json --quiet --timeout 0 --metrics off .2artifacts/raw/semgrep.json
D30 · Dependency Vulnerabilitiesdotnetdotnet: 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 solution0
D31 · IaC & Container Securitytrivytrivy: not applicable — No Infrastructure-as-Code or container manifests found (Dockerfile, Terraform, Kubernetes/Helm, CloudFormation); nothing to scan.0
D32 · Data Compliance (PII/GDPR)semgrepsemgrep: not applicable — 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.0
D33 · JS/npm Dependency Vulnerabilitiestrivytrivy: 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.0
D36 · Supply-chain Provenance & Signingprovenanceprovenance: 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).0
D37 · Vulnerability-disclosure Policydisclosuredisclosure: 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.0
D38 · OSV Dependency Vulnerabilitiesosv-scannerosv-scanner: not applicable — 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.0
D40 · Network Egress Confinementruntime-hardeningruntime-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.0
D41 · Kernel & Syscall Confinementruntime-hardeningruntime-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.0
D42 · Runtime Threat Enforcementruntime-hardeningruntime-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.

Downloadable artifacts

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

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