PSCodeHealth
PSCodeHealth copied to clipboard
PowerShell module gathering PowerShell code quality and maintainability metrics
### Before submitting a bug report, please ensure you : - [x] Verified this bug is not already reported in an issue - [x] Can reproduce in a clean PowerShell...
Great tool. Thank you very much! I see that all code not included in a function is ignored in the analysis, like class methods or code not included in any...
### Before submitting a bug report, please ensure you : - [ ] Verified this bug is not already reported in an issue - [ ] Can reproduce in a...
Hi team, The integration between this module and the `PSScriptAnalyzer` one is a great way of using one tool for multiple purposes and generating one common report for a solution....
When counting lines of code in a script or function, I'd argue that it's most valuable to only consider significant lines of code. It appears that `Get-FunctionLinesOfCode` is already excluding...
Having the NUnit Results would allow us to use this module to not only generate the HTML report, but also, the NUnit results we import back into Jenkins. Adding a...
Invoke-PSCodeHealth throws 'MethodNotFound' when a module that containst PowerShell classes is analyzed ```powershell Method invocation failed because [Microsoft.Windows.PowerShell.ScriptAnalyzer.Generic.DiagnosticRecord] does not contain a method named 'op_Addition'. At C:\Program Files\WindowsPowerShell\Modules\PSCodeHealth\0.2.9\Private\New-PSCodeHealthReport.ps1:82 char:13 +...
Not sure what I'm doing wrong here, but when I run `Invoke-PSCodeHealth` against any module I have created, I get no results from any of the metrics, other than number...
In using v0.2.7, Invoke-PSCodehealth is detecting all functions, but it treats them the same. There's nothing wrong with detecting all the functions, but they should be identified as private or...
In looking at your code I see you are relying on comment based help. I'd recommend using the Platyps module and create external help from a set of markdown documents....