JetBrains / teamcity-docker-images
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
cmd
csproj
dotsettings
txt
properties
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.

main4350 LOC (76%) 99 files
test98 LOC (1%) 2 files
generated392 LOC (6%) 52 files
build and deployment317 LOC (5%) 16 files
other526 LOC (9%) 8 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
cmd
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 99 files match defined criteria (4,350 LOC, 100.0% vs. main code):
    • 77 *.cs files (3,895 LOC)
    • 8 *.kt files (301 LOC)
    • 3 *.ps1 files (128 LOC)
    • 11 *.cmd files (26 LOC)
  • " *.cs" is biggest, containing 89.54% of LOC.
  • " *.cmd" is smallest, containing 0.6% of LOC.


*.cs3895 LOC (89%) 77 files
*.kt301 LOC (6%) 8 files
*.ps1128 LOC (2%) 3 files
*.cmd26 LOC (<1%) 11 files
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
csproj
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.][Tt]ests/.*".
    • files with paths like ".*[.][Tt]ests[.].*".
  • 2 files match defined criteria (98 LOC, 2.3% vs. main code):
    • 1 *.cs files (80 LOC)
    • 1 *.csproj files (18 LOC)
  • " *.cs" is biggest, containing 81.63% of LOC.
  • " *.csproj" is smallest, containing 18.37% of LOC.


*.cs80 LOC (81%) 1 file
*.csproj18 LOC (18%) 1 file
Generated Code
Automatically generated files, not manually changed after generation.
cmd
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/generated/.*".
  • 52 files match defined criteria (392 LOC, 9.0% vs. main code):
    • 36 *.cmd files (272 LOC)
    • 16 *.sh files (120 LOC)
  • " *.cmd" is biggest, containing 69.39% of LOC.
  • " *.sh" is smallest, containing 30.61% of LOC.


*.cmd272 LOC (69%) 36 files
*.sh120 LOC (30%) 16 files
Build and Deployment Code
Source code used to configure or support build and deployment process.
csproj
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]sh".
    • files with paths like ".*[.]csproj".
    • files with paths like ".*[.]bat".
    • files with paths like ".*[.]gradle".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 16 files match defined criteria (317 LOC, 7.3% vs. main code):
    • 11 *.sh files (197 LOC)
    • 1 *.bat files (61 LOC)
    • 2 *.csproj files (34 LOC)
    • 2 *.gradle files (25 LOC)
  • " *.sh" is biggest, containing 62.15% of LOC.
  • " *.gradle" is smallest, containing 7.89% of LOC.


*.sh197 LOC (62%) 11 files
*.bat61 LOC (19%) 1 file
*.csproj34 LOC (10%) 2 files
*.gradle25 LOC (7%) 2 files
Other Code
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 ".*[.]json".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
  • 8 files match defined criteria (526 LOC, 12.1% vs. main code):
    • 7 *.md files (517 LOC)
    • 1 *.json files (9 LOC)
  • " *.md" is biggest, containing 98.29% of LOC.
  • " *.json" is smallest, containing 1.71% of LOC.


*.md517 LOC (98%) 7 files
*.json9 LOC (1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2026-01-18 17:13