PSModuleQuantityAnalyzer

2026.3.22.1040

PSModuleQuantityAnalyzer is a PowerShell module that performs static analysis of PowerShell modules and
              generates quantitative metrics about their structure, maintainability, and architecture.

Minimum PowerShell version

5.1

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name PSModuleQuantityAnalyzer

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name PSModuleQuantityAnalyzer

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) 2026 Holger Zimmermann

Package Details

Author(s)

  • zimmermann.holger@live.de

Tags

PowerShell Module Metrics Analysis Maintainability CodeQuantity

Functions

Get-PSModuleQuantity Get-PSModuleSummary Get-PSModuleMetrics Get-PSModuleHealth Get-PSModuleDuplicateFunctions Get-PSModuleLargestFunctions Get-PSModuleDocumentationCoverage Get-PSModuleDependencyGraph Get-PSModuleComplexity Get-PSModuleUnusedPrivateFunctions Get-PSModuleRefactoringCandidates Export-PSModuleQuantityReport Export-PSModuleMarkdownReport

Dependencies

This module has no dependencies.

Release Notes

           
v2026.3.22.1040 - Updated PSModuleQuantityAnalyzer to version 2026.3.22.1040.
- Minor bug fixes and performance improvements.
       
v2026.3.14.420 - Initial release of PSModuleQuantityAnalyzer on PS Gallery.
- Added Export-PSModuleQuantityReport to export module metrics to a JSON file.
       - Added Export-PSModuleMarkdownReport to export module metrics to a Markdown file.
       
v2026.3.11.1221 - First PSModuleQuantityAnalyzer version with core functionality for analyzing PowerShell modules and generating quantitative metrics.
- Added Get-PSModuleQuantity to calculate basic metrics like number of functions, lines of code, and cyclomatic complexity.
       - Added Get-PSModuleSummary to provide a high-level overview of module metrics.
       - Added Get-PSModuleMetrics to generate detailed metrics for each function in the module.
       - Added Get-PSModuleHealth to assess the overall health of the module based on various criteria.
       - Added Get-PSModuleDuplicateFunctions to identify duplicate functions within the module.
       - Added Get-PSModuleLargestFunctions to list the largest functions by lines of code.

FileList

Version History

Version Downloads Last updated
2026.3.22.1040 (current version) 10 3/23/2026
2026.3.13.420 9 3/13/2026