New Work LoC
Lines of code that is newly added and not replacing/rewriting existing code.
Computation methodology
- The analysis zeroes in on identifying contributions that introduce entirely new files or directories within the codebase.
- To isolate the focus on new code additions, any modifications or deletions to existing files are excluded from the analysis.
- The cumulative total of lines constituting the new code introduced within the specified timeframe is then aggregated.
Dashboards where this metric is used
- Dev Metric Grid
- Dev Summary
- Dev throughput
Use cases of this metric
- This helps in assessing the innovation and progress of feature development efforts over time.
- A consistently low percentage of new code may suggest stagnation or a lack of innovation, prompting the team to focus on revitalizing the codebase.
- Use this to track how much new code is being contributed vs maintaining old code
- For teams, over a longer time horizon, the new work contribution should be higher than all other categories & is indicative of new value being delivered