Bill of Health
Code quality metrics and test coverage for all dbatools PowerShell functions.
Average Health Score
--
Tasks for Core Devs
--
Tasks for Everyone
--
Health Trend Over Time
The 85% baseline represents the target health score for "1.0 Ready" status.
Metric Explanations
Health: Overall health score (0-100) based on all metrics below
Coverage: Percentage of code covered by Pester tests
ScriptAnalyzer: Passes PSScriptAnalyzer checks (PowerShell best practices)
Syntax: Valid PowerShell syntax with no parsing errors
FunctionName: Follows naming convention (starts with "Dba")
EnableException: Has -EnableException parameter for proper error handling
BreakContinue: Avoids break/continue statements (core dev task)
DeprecatedVerbosityCommands: Avoids deprecated verbosity commands
To run tests locally: Invoke-Pester
Filtered to function:
| Function | Health | Coverage | ScriptAnalyzer | Syntax | FunctionName | EnableException | BreakContinue | DeprecatedVerbosity |
|---|
This dashboard tracks code quality metrics for all dbatools functions. Green thumbs (👍) indicate passing metrics, red thumbs (👎) indicate areas for improvement.
Visit the dbatools GitHub repository to contribute improvements.
dbatools