Lines of Code Added With Filtering

Beyond simply counting lines of code, the "Lines of Code Added With Filtering” metric filters out certain lines based on:
  • Ignored file types: Configuration files or auto-generated files will be filtered out
  • Certain line types: Import and require statements will be filtered out
To configure which files and line types you’d like to ignore, you can do so from the repository settings:
Image without caption

Limit to specific branches

You can configure which branches you want to count towards this metric based using “Merged Code” report setting combined with your repository settings:
Image without caption
In the repository settings you can specify the branches you care about:
Image without caption