Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. New Work
    This category tracks new features or new functionality added to the codebase.

    • Calculation: Net new or net removed lines of code that do not fall into any of the other categories.

  2. Legacy Refactor
    Focuses on addressing technical debt by refactoring or improving older code.

    • Calculation: Identified by analyzing code replacements or updates in code that hasn’t been worked on for more than 60 days.

  3. Help Others
    Represents a developer or team member working on a feature or product that was not originally theirs.

    • Calculation: If a developer works on a code section or file they don’t usually contribute to (e.g., no prior commits in that file), the work is categorized as "Help Others."

  4. Churn
    Tracks code that has been repeatedly modified, usually to fix bugs or rework code.

    • Calculation: Identified as code that has been rewritten across 2 or more commits in the past 30 days.

  5. Library
    Represents external code imported into the project, such as libraries or third-party packages.

    • Calculation: Identified by large files (over 100 lines) with no modifications to individual lines, indicating that they are added as-is from external sources.

  6. Comments
    Measures the amount of in-code documentation (comments).

    • Calculation: Based on the presence of block comments or multi-line comments in popular file types. Trailing comments (on the same line as code) are considered part of the code.

...