JetBrains / teamcity-recipes
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
properties
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.

main1631 LOC (70%) 22 files
test228 LOC (9%) 3 files
generated0 LOC (0%) 0 files
build and deployment80 LOC (3%) 2 files
other376 LOC (16%) 22 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 ".*".
  • 22 files match defined criteria (1,631 LOC, 100.0% vs. main code):
    • 20 *.kts files (1,553 LOC)
    • 2 *.kt files (78 LOC)
  • " *.kts" is biggest, containing 95.22% of LOC.
  • " *.kt" is smallest, containing 4.78% of LOC.


*.kts1553 LOC (95%) 20 files
*.kt78 LOC (4%) 2 files
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/.*".
    • files with paths like ".*[-]tests/.*".
  • 3 files match defined criteria (228 LOC, 14.0% vs. main code):
    • 2 *.kt files (190 LOC)
    • 1 *.kts files (38 LOC)
  • " *.kt" is biggest, containing 83.33% of LOC.
  • " *.kts" is smallest, containing 16.67% of LOC.


*.kt190 LOC (83%) 2 files
*.kts38 LOC (16%) 1 file
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 ".*[.]sh".
    • files with paths like ".*[.]bat".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 2 files match defined criteria (80 LOC, 4.9% vs. main code):
    • 1 *.bat files (68 LOC)
    • 1 *.sh files (12 LOC)
  • " *.bat" is biggest, containing 85% of LOC.
  • " *.sh" is smallest, containing 15% of LOC.


*.bat68 LOC (85%) 1 file
*.sh12 LOC (15%) 1 file
Other Code
properties
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 ".*[.]properties".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
  • 22 files match defined criteria (376 LOC, 23.1% vs. main code):
    • 21 *.md files (375 LOC)
    • 1 *.properties files (1 LOC)
  • " *.md" is biggest, containing 99.73% of LOC.
  • " *.properties" is smallest, containing 0.27% of LOC.


*.md375 LOC (99%) 21 files
*.properties1 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2026-01-18 17:37