Code Health
info
Code Health is an aggregated metric based on 25+ factors scanned from the source code. Unhealthy code predicts increased maintenance costs and more defects.
What does the graph show?
A high-resolution view of your Average Code Health trend, based on content that was added to git during the current period.
The reference line is your baseline. It shows the exact level of this KPI at the start of this time period.
Green slope:
Above baseline and improving
Orange slope:
Above baseline but declining
Red slope:
Below baseline - the KPI is getting worse compared to the previous period
Trend data for 5/8/2018
Code Health
A high-resolution view of your Average Code Health trend.
94 existing files modified, contributing to an overall code health improvement
Knowledge Distribution
info
Successful software development largely depends on effective knowledge sharing within the organization. An organization loses collective knowledge when a code contributor leaves.
What does the graph show?
The graph is based on how much of the code is written by currently active developers, and if there are potential key personnel risks.
The reference line is your baseline. It shows the exact level of this KPI at the start of this time period.
Green slope:
Above baseline and improving
Orange slope:
Above baseline but declining
Red slope:
Below baseline - the KPI is getting worse compared to the previous period
Trend data for 5/7/2018
Knowledge Distribution
The trend is based on Code Familiarity and Knowledge Islands. Code Familiarity has more impact.
Code Familiarity
99%
Knowledge Islands
16%
Team-Code Alignment
info
Getting the organizational side of software right is just as important as any properties of the code. The modularity of the software design needs to align with the responsibilities of the development teams.
Delivery
info
Delivery is an output metric that captures the efficiency of the overall process. Delivery is influenced by process, but also by how well you do on the other three factors.
Hotspot Code Health score
1
UNHEALTHY
4
PROBLEMATIC
9
HEALTHY

Hotspot code health is a weighted average of the code health in the system wide hotspots. The code health is weighted based on the lines of code in each file; the larger the file, the larger the impact.

Maximum score is 10 (healthy, green code) and lowest score is 1.0 (red code with severe technical debt).

Average Code Health score
1
UNHEALTHY
4
PROBLEMATIC
9
HEALTHY

Average code health is the weighted average health of all the files in the codebase. The code health is weighted based on the lines of code in each file; the larger the file, the larger the impact.

Maximum score is 10 (healthy, green code) and lowest score is 1.0 (red code with severe technical debt).

Worst Performer score
1
UNHEALTHY
4
PROBLEMATIC
9
HEALTHY

The worst performer score represents the code health of one or more files with the lowest code health score in the codebase.

Maximum score is 10 (healthy, green code) and lowest score is 1.0 (red code with severe technical debt).

Mvc

Filter
1W
1M
1Y
Lines of code
Programming languages
C#
PowerShell
JavaScript
Groovy
Code Health
Attention
Month reference
9/0416/0423/0430/04 7/058.458.468.47
Knowledge Distribution
Healthy
Team-Code Alignment
Not available
Additional configuration steps are required before this factor can be used.
Delivery
Not available
Additional configuration steps are required before this factor can be used.
What is Code Health?
Code Health is an aggregated metric based on 25+ factors scanned from the source code. The code health factors correlate with increased maintenance costs and an increased risk for defects. A healthy codebase enables a fast time-to-market with, on average, 124% faster development time. Healthy code also contains 15 times fewer defects than unhealthy code. There's also a statistically significant correlation between software vulnerabilities and several of the code health factors; red code is more vulnerable.
7.2
Hotspot Code Health
Problematic

Hotspots are the files with most development activity. Even a minor amount of technical debt in a hotspot will become expensive due to the high development activity.

View hotspots
8.4
Average Code Health
Problematic
The weighted average health of all the files in the codebase. This metric indicates how deep any potential code health issues go.
Explore codebase
3.7
Worst Performer
Unhealthy
The lowest code health score measured in the codebase. Points out long-term risks that you need to be aware of if the low performer is worked on.
View worst performers
iconLatest improvements
iconActive risks & improvement opportunities
widget icon
2 files decline in Code Health
Files are degrading in code health, which makes the system more expensive to maintain.
iconCode health focus areas
widget icon
Interactive hotspot map
Visualize hotspots, code health, defects, etc. and filter by team and area.
Red code0.6%
Yellow code41.8%
Green code57.7%
widget icon
File-level hotspots
Prioritizing improvements to these files will result in the greatest immediate benefit in terms of technical debt.
HotspotsNaN%
Development effort in hotspotsNaN%
widget icon
Architectural code health
Monitor the code health of architectural components.
Architectural components2
Components improving in code health0
Components declining in code health0
widget icon
Quality gates
Track the impact of CodeScene's Pull Request integration. Numbers are from current month.
PR checks performed
Negative findingsMissing data
Findings fixedMissing data
Findings ignoredMissing data
Findings suppressedMissing data
widget icon
Planned vs. unplanned work
This is time spent on work that was not part of the original scope.
Couldn't discover completed tasks. You need to configure a Work Done Transition name in your PM configuration.
widget icon
Change coupling
Identify implicit dependencies in your architecture.
File-levelArchitectural
By commits288 entities
Across commits86 entities
Between repositories0 entities