JetBrains / teamcity-git
Source Code Overview

Analysis scope, overview of main, test, generated, deployment, build, and other code.

Source Code Analysis Scope
Files includes and excluded from analyses
txt
gitmodules
pub
gitattributes
Overview of Analyzed Files
Basic stats on analyzed files
Intro
For analysis purposes we separate files in scope into several categories: main, test, generated, deployment and build, and other.

  • The main category contains all manually created source code files that are being used in the production.
  • Files in the main category are used as input for other analyses: logical decomposition, concerns, duplication, file size, unit size, and conditional complexity.
  • Test source code files are used only for testing of the product. These files are normally not deployed to production.
  • Build and deployment source code files are used to configure or support build and deployment process.
  • Generated source code files are automatically generated files that have not been manually changed after generation.
  • While a source code folder may contain a number of files, we are primarily interested in the source code files that are being written and maintained by developers.
  • Files containing binaries, documentation, or third-party libraries, for instance, are excluded from analysis. The exception are third-party libraries that have been changed by developers.

main32242 LOC (63%) 407 files
test17172 LOC (33%) 118 files
generated0 LOC (0%) 0 files
build and deployment601 LOC (1%) 6 files
other526 LOC (1%) 155 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 407 files match defined criteria (32,242 LOC, 100.0% vs. main code):
    • 386 *.java files (30,622 LOC)
    • 12 *.jsp files (1,058 LOC)
    • 8 *.xml files (476 LOC)
    • 1 *.ftl files (86 LOC)
  • " *.java" is biggest, containing 94.98% of LOC.
  • " *.ftl" is smallest, containing 0.27% of LOC.


*.java30622 LOC (94%) 386 files
*.jsp1058 LOC (3%) 12 files
*.xml476 LOC (1%) 8 files
*.ftl86 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
pub
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[-]tests/.*".
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*/[Tt]ests/.*".
    • files with paths like ".*_tests[.].*".
    • files with paths like ".*/tests_.*".
  • 118 files match defined criteria (17,172 LOC, 53.3% vs. main code):
    • 108 *.java files (16,708 LOC)
    • 5 *.xml files (459 LOC)
    • 5 *.pub files (5 LOC)
  • " *.java" is biggest, containing 97.3% of LOC.
  • " *.pub" is smallest, containing 0.03% of LOC.


*.java16708 LOC (97%) 108 files
*.xml459 LOC (2%) 5 files
*.pub5 LOC (<1%) 5 files
Build and Deployment Code
Source code used to configure or support build and deployment process.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/pom[.]xml".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitmodules".
    • files with paths like ".*/[.]gitattributes".
    • files with paths like ".*/[.]gitignore".
  • 6 files match defined criteria (601 LOC, 1.9% vs. main code). All matches are in *.xml files.


*.xml601 LOC (100%) 6 files
Other Code
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
  • 155 files match defined criteria (526 LOC, 1.6% vs. main code):
    • 153 *.txt files (338 LOC)
    • 2 *.md files (188 LOC)
  • " *.txt" is biggest, containing 64.26% of LOC.
  • " *.md" is smallest, containing 35.74% of LOC.


*.txt338 LOC (64%) 153 files
*.md188 LOC (35%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2026-01-18 17:12