-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a502db1
commit 64e5e46
Showing
3 changed files
with
58 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
# New-PSCodeHealthTableData | ||
|
||
## SYNOPSIS | ||
Generate table rows for the HTML report, based on the data contained in a PSCodeHealth.Overall.HealthReport object. | ||
|
||
## SYNTAX | ||
|
||
``` | ||
New-PSCodeHealthTableData [-HealthReport] <PSObject> | ||
``` | ||
|
||
## DESCRIPTION | ||
Generate table rows for the HTML report, based on the data contained in a PSCodeHealth.Overall.HealthReport object. | ||
|
||
This provides the rows for the following tables : | ||
- Best Practices (per function) | ||
- Maintainability (per function) | ||
- Failed Tests Details | ||
- Test Coverage (per function) | ||
|
||
## EXAMPLES | ||
|
||
### -------------------------- EXAMPLE 1 -------------------------- | ||
``` | ||
New-PSCodeHealthTableData -HealthReport $HealthReport | ||
``` | ||
|
||
This generates the rows for the tables Best Practices, Maintainability, Failed Tests Details and Test Coverage tables, based on the data in $HealthReport. | ||
|
||
## PARAMETERS | ||
|
||
### -HealthReport | ||
To specify the input PSCodeHealth.Overall.HealthReport object containing the data. | ||
|
||
```yaml | ||
Type: PSObject | ||
Parameter Sets: (All) | ||
Aliases: | ||
|
||
Required: True | ||
Position: 1 | ||
Default value: None | ||
Accept pipeline input: False | ||
Accept wildcard characters: False | ||
``` | ||
|
||
## INPUTS | ||
|
||
## OUTPUTS | ||
|
||
### PSCustomObject | ||
|
||
## NOTES | ||
|
||
## RELATED LINKS | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters