Skip to content

#327 Improve Mappa.Generator branch coverage and comparison chart annotations - #336

Merged
sanelli merged 3 commits into
mainfrom
327-improve-mappagenerator-branch-coverage-cover-or-reduce-uncovered-branches
Aug 9, 2026
Merged

#327 Improve Mappa.Generator branch coverage and comparison chart annotations#336
sanelli merged 3 commits into
mainfrom
327-improve-mappagenerator-branch-coverage-cover-or-reduce-uncovered-branches

Conversation

@sanelli

@sanelli sanelli commented Aug 9, 2026

Copy link
Copy Markdown
Owner

Summary

  • Improve Mappa.Generator branch coverage for the Improve Mappa.Generator branch coverage: cover or reduce uncovered branches #327 hotspots via targeted reductions (unused IMethodSymbol accessors, QueryableProjection early gate, diagnostics location helper, Identity Undefined fall-through) and focused unit/integration tests.
  • Overall coverage improved vs baseline (line 98.4→98.6%, branch 91→91.8%, method 100%); Mappa.Generator branch 90.9→91.7%.
  • Comparison chart: list Mappa first on ties; sole-Mappa wins annotate second-best delta/name in smaller font; regenerate/publish gist; bump to 10.2.0-alpha.69. README coverage history image drops fixed height="500".

Test plan

  • .\Scripts\RunTestsAndReportCoverage.ps1 — all 2992 tests passed
  • Coverage ≥ baseline (overall + Mappa.Generator branch)
  • Benchmark comparison SVG regenerated and gist published
  • CI green on PR

sanelli and others added 3 commits August 9, 2026 12:47
…tests.

Remove unused PropertySymbolExtensions IMethodSymbol overloads, consolidate QueryableProjection null gates and MappaDiagnostics location helpers, and add unit/integration coverage for identity arrays, object-factory reference reuse, diagnostics null factories, and circular constructors. Also drop the fixed height on the README coverage history image.

Co-authored-by: Cursor <cursoragent@cursor.com>
Add unit and integration cases for Allow* named args, enum-map parse edges, non-bool Protobuf HasX, UseProperty distinct source roots, inaccessible members, and assign-attribute conflicts. Polymorphism product paths were already covered.

Co-authored-by: Cursor <cursoragent@cursor.com>
Widen comparison columns, put Mappa first on ties, annotate sole-Mappa wins with second-best delta in a smaller font, and regenerate/publish the gist charts.

Co-authored-by: Cursor <cursoragent@cursor.com>
@github-actions

github-actions Bot commented Aug 9, 2026

Copy link
Copy Markdown

Code coverage

Compared against the latest published coverage history from the code coverage gist.

Metric Baseline PR Δ Trend
Line 98.4% 98.6% +0.2
Branch 91% 91.8% +0.8
Method 100% 100% 0 =

No coverage metric dropped by more than 1 percentage point(s) versus baseline.

@sanelli
sanelli merged commit c2faeed into main Aug 9, 2026
1 check passed
@sanelli
sanelli deleted the 327-improve-mappagenerator-branch-coverage-cover-or-reduce-uncovered-branches branch August 9, 2026 12:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve Mappa.Generator branch coverage: cover or reduce uncovered branches

1 participant