JetBrains / teamcity-github-issues
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
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.

main1173 LOC (58%) 21 files
test541 LOC (26%) 7 files
generated0 LOC (0%) 0 files
build and deployment291 LOC (14%) 3 files
other4 LOC (<1%) 1 file
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 ".*".
  • 21 files match defined criteria (1,173 LOC, 100.0% vs. main code):
    • 10 *.java files (661 LOC)
    • 5 *.jsp files (254 LOC)
    • 5 *.xml files (169 LOC)
    • 1 *.ftl files (89 LOC)
  • " *.java" is biggest, containing 56.35% of LOC.
  • " *.ftl" is smallest, containing 7.59% of LOC.


*.java661 LOC (56%) 10 files
*.jsp254 LOC (21%) 5 files
*.xml169 LOC (14%) 5 files
*.ftl89 LOC (7%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]est/.*".
  • 7 files match defined criteria (541 LOC, 46.1% vs. main code):
    • 5 *.java files (515 LOC)
    • 2 *.xml files (26 LOC)
  • " *.java" is biggest, containing 95.19% of LOC.
  • " *.xml" is smallest, containing 4.81% of LOC.


*.java515 LOC (95%) 5 files
*.xml26 LOC (4%) 2 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 ".*/[.]gitignore".
  • 3 files match defined criteria (291 LOC, 24.8% vs. main code). All matches are in *.xml files.


*.xml291 LOC (100%) 3 files
Other Code
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]md".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
  • 1 file matches defined criteria (4 LOC, 0.3% vs. main code). All matches are in *.md files.


*.md4 LOC (100%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2026-01-18 16:44