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

main4631 LOC (22%) 89 files
test10021 LOC (47%) 420 files
generated0 LOC (0%) 0 files
build and deployment2185 LOC (10%) 8 files
other4195 LOC (19%) 154 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 ".*".
  • 89 files match defined criteria (4,631 LOC, 100.0% vs. main code):
    • 81 *.java files (4,256 LOC)
    • 6 *.xml files (212 LOC)
    • 2 *.jsp files (163 LOC)
  • " *.java" is biggest, containing 91.9% of LOC.
  • " *.jsp" is smallest, containing 3.52% of LOC.


*.java4256 LOC (91%) 81 files
*.xml212 LOC (4%) 6 files
*.jsp163 LOC (3%) 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 ".*/test_.*".
    • files with paths like ".*/test[.].*".
  • 420 files match defined criteria (10,021 LOC, 216.4% vs. main code):
    • 249 *.java files (7,243 LOC)
    • 147 *.gradle files (1,316 LOC)
    • 15 *.bat files (1,088 LOC)
    • 4 *.xml files (180 LOC)
    • 3 *.kt files (138 LOC)
    • 2 *.kts files (56 LOC)
  • " *.java" is biggest, containing 72.28% of LOC.
  • " *.kts" is smallest, containing 0.56% of LOC.


*.java7243 LOC (72%) 249 files
*.gradle1316 LOC (13%) 147 files
*.bat1088 LOC (10%) 15 files
*.xml180 LOC (1%) 4 files
*.kt138 LOC (1%) 3 files
*.kts56 LOC (<1%) 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 ".*[.]gradle".
    • files with paths like ".*[.]bat".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]gitattributes".
  • 8 files match defined criteria (2,185 LOC, 47.2% vs. main code):
    • 7 *.gradle files (2,124 LOC)
    • 1 *.bat files (61 LOC)
  • " *.gradle" is biggest, containing 97.21% of LOC.
  • " *.bat" is smallest, containing 2.79% of LOC.


*.gradle2124 LOC (97%) 7 files
*.bat61 LOC (2%) 1 file
Other Code
txt
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[.]gitignore".
  • 154 files match defined criteria (4,195 LOC, 90.6% vs. main code):
    • 137 *.txt files (3,962 LOC)
    • 2 *.json files (179 LOC)
    • 15 *.properties files (54 LOC)
  • " *.txt" is biggest, containing 94.45% of LOC.
  • " *.properties" is smallest, containing 1.29% of LOC.


*.txt3962 LOC (94%) 137 files
*.json179 LOC (4%) 2 files
*.properties54 LOC (1%) 15 files
Analyzers
Info about analyzers used for source code examinations.


2026-01-18 17:03