JetBrains / teamcity-bazel-plugin
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
proto
feature
editorconfig
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.

main8008 LOC (79%) 155 files
test1728 LOC (17%) 29 files
generated0 LOC (0%) 0 files
build and deployment77 LOC (<1%) 2 files
other202 LOC (2%) 7 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
proto
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 155 files match defined criteria (8,008 LOC, 100.0% vs. main code):
    • 127 *.kt files (4,058 LOC)
    • 11 *.proto files (3,218 LOC)
    • 6 *.kts files (247 LOC)
    • 3 *.jsp files (213 LOC)
    • 5 *.xml files (199 LOC)
    • 1 *.g4 files (39 LOC)
    • 1 *.toml files (31 LOC)
    • 1 *.css files (3 LOC)
  • " *.kt" is biggest, containing 50.67% of LOC.
  • " *.css" is smallest, containing 0.04% of LOC.


*.kt4058 LOC (50%) 127 files
*.proto3218 LOC (40%) 11 files
*.kts247 LOC (3%) 6 files
*.jsp213 LOC (2%) 3 files
*.xml199 LOC (2%) 5 files
*.g439 LOC (<1%) 1 file
*.toml31 LOC (<1%) 1 file
*.css3 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
feature
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*/[Tt]ests/.*".
    • files with paths like ".*[-]tests/.*".
    • files with paths like ".*[.]feature".
  • 29 files match defined criteria (1,728 LOC, 21.6% vs. main code):
    • 26 *.kt files (1,658 LOC)
    • 2 *.feature files (46 LOC)
    • 1 *.kts files (24 LOC)
  • " *.kt" is biggest, containing 95.95% of LOC.
  • " *.kts" is smallest, containing 1.39% of LOC.


*.kt1658 LOC (95%) 26 files
*.feature46 LOC (2%) 2 files
*.kts24 LOC (1%) 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 ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]sh".
    • files with paths like ".*[.]bat".
  • 2 files match defined criteria (77 LOC, 1.0% vs. main code):
    • 1 *.bat files (73 LOC)
    • 1 *.sh files (4 LOC)
  • " *.bat" is biggest, containing 94.81% of LOC.
  • " *.sh" is smallest, containing 5.19% of LOC.


*.bat73 LOC (94%) 1 file
*.sh4 LOC (5%) 1 file
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 ".*[.]editorconfig".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/[Ss]amples/.*".
    • files with paths like ".*[.]txt".
  • 7 files match defined criteria (202 LOC, 2.5% vs. main code):
    • 3 *.md files (135 LOC)
    • 4 *.java files (67 LOC)
  • " *.md" is biggest, containing 66.83% of LOC.
  • " *.java" is smallest, containing 33.17% of LOC.


*.md135 LOC (66%) 3 files
*.java67 LOC (33%) 4 files
Analyzers
Info about analyzers used for source code examinations.


2026-01-18 16:58