Virtual Code Review
CopyDatabase/Helpers/PasswordHelper.cs
2018
Jul 2019
8/15/2019
Code Health Trend
Detailed Recommendations
Rule Violations
Warnings
Positive Trends
1
Low Overall Code Complexity
Where?
All functions in the file
What is causing this?
Overall Code Complexity is measured by the mean cyclomatic complexity across all functions in the file. The lower the number, the better.
Cyclomatic complexity is a function level metric that measures the number of logical branches (if-else, loops, etc.). Cyclomatic complexity is a rough complexity measure, but useful as a way of estimating the minimum number of unit tests you would need. As such, prefer functions with low cyclomatic complexity (2-3 branches).
How to fix it?
Continue to keep the overall complexity low.
Plan a goal for this Hotspot
Goal
Category:
Please choose
Please choose
Planned refactoring
Supervise
No problem
Critical code
No active goal set.
Complexity Trends
Costs per Type of Work
Change Coupling
CodeScene encountered an error when fetching change coupling data.