Code Health Report - PSGithubSearch

Analyzed path : C:\PSGithubSearch\PSGithubSearch\
Analysis date : 2017-09-29 13:27:18Z

Number of Files

2

Number of Functions

5

Lines of Code - Total

641

ScriptAnalyzer Findings

Errors0
Warnings1
Information0
Total1

Tests Pass Rate (%)

Test Coverage (%)

ScriptAnalyzer Findings - Total

1

ScriptAnalyzer Errors

0

ScriptAnalyzer Warnings

1

ScriptAnalyzer Findings - Average

0.2

ScriptAnalyzer Info

0

Functions Without Help

0

Per Function Information

Function Name ScriptAnalyzer Findings ScriptAnalyzer Findings Details Contains Help
Find-GitHubRepository 0 True
Find-GitHubCode 0 True
Find-GitHubIssue 1
ScriptName : PSGithubSearch.psm1
Line (in the function) : 1
Severity : Warning
RuleName : PSShouldProcess
Message : 'Find-GitHubIssue' calls ShouldProcess/ShouldContinue but does not have the ShouldProcess attribute.
True
Find-GithubUser 0 True
Get-NumberofPage 0 True

Lines of Code - Total

641

Complexity - Highest

30

Nesting Depth - Highest

3

Lines of Code - Average

128.2

Complexity - Average

15.2

Nesting Depth - Average

2.4

Per Function Information

Function Name Lines of Code Complexity Maximum Nesting Depth
Find-GitHubRepository 107 11 2
Find-GitHubCode 122 14 2
Find-GitHubIssue 219 30 3
Find-GithubUser 173 19 3
Get-NumberofPage 20 2 2

Number of Tests

27

Number of Failed Tests

0

Number of Passed Tests

27

Number of Missed Commands

89

Tests Pass Rate (%)

Test Coverage (%)

Failed Tests Details

File Line Describe Test Name Error Message

Per Function Information

Function Name Test Coverage  (%) Missed Commands
Find-GitHubRepository 85.42 7
Find-GitHubCode 79.63 11
Find-GitHubIssue 65.38 36
Find-GithubUser 69.57 28
Get-NumberofPage 41.67 7