| name | maui-coverage |
| description | Regenerate the .NET MAUI ⇄ Microsoft.AndroidX.Compose.Maui backend coverage report via `scripts/maui-coverage.cs`. Use for any MAUI backend question — "what handlers do we wrap", "is `SearchBar` Compose-backed yet", "what % of MAUI is on Compose", "what properties does our `ButtonHandler` miss" — or after bumping the `Microsoft.Maui.*` package version, adding a new handler under `src/Microsoft.AndroidX.Compose.Maui/Handlers/`, or wiring one into `UseAndroidXCompose()`. |
MAUI backend coverage
Regenerate docs/maui-coverage.md — the .NET MAUI ⇄ Microsoft.AndroidX.Compose.Maui
backend completeness report. The report is produced by a single .NET 10
file-based program at scripts/maui-coverage.cs that:
- Reads the pinned
Microsoft.Maui.Controls version from
Directory.Build.targets.
- Finds the matching
Microsoft.Maui.dll (Core) in the local NuGet
cache ($env:NUGET_PACKAGES if set, else the user-profile default).
- Decompiles every
Microsoft.Maui.Handlers.*Handler type via
ilspycmd into obj/maui-coverage/maui/.
- Regex-parses each handler's
IPropertyMapper<TVirtual, THandler>
field initializer — including base-mapper chains
(ViewHandler.ViewMapper, sibling sub-mappers like
TextButtonMapper/ImageButtonMapper).
- Does the same for our own handlers under
src/Microsoft.AndroidX.Compose.Maui/Handlers/*.cs.
- Cross-references the two by property-mapper key name and writes a
markdown report with summary, per-category roll-up, status table,
gap analysis, and per-handler detail.
Workflow
1. Run the script
From the repo root (Windows / PowerShell):
dotnet run scripts/maui-coverage.cs