Skip to content

Raise source-generator coverage toward 99% #413

Description

@JerrettDavis

Coverage review shows the largest maintained-source gaps are in source generator implementations.

Top uncovered line counts from the source-only local report:

  • src/PatternKit.Generators/ProxyGenerator.cs: 65 uncovered lines
  • src/PatternKit.Generators/Factories/FactoriesGenerator.cs: 48 uncovered lines
  • src/PatternKit.Generators/StateMachineGenerator.cs: 39 uncovered lines
  • src/PatternKit.Generators/Adapter/AdapterGenerator.cs: 30 uncovered lines
  • src/PatternKit.Generators/FacadeGenerator.cs: 28 uncovered lines
  • src/PatternKit.Generators/DecoratorGenerator.cs: 28 uncovered lines
  • src/PatternKit.Generators/Factories/AbstractFactoryGenerator.cs: 24 uncovered lines
  • src/PatternKit.Generators/ComposerGenerator.cs: 23 uncovered lines

Acceptance criteria:

  • Add TinyBDD generator scenarios for missing diagnostics, namespace/type-shape variants, duplicate/invalid inputs, escaping, and emission branches.
  • Prioritize generators with the most uncovered lines first.
  • Keep full solution coverage above 95%, with progress toward 99%+.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions