JetBrains / teamcity-swabra
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
gitattributes
xsl
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.

main3572 LOC (46%) 47 files
test3864 LOC (50%) 20 files
generated0 LOC (0%) 0 files
build and deployment240 LOC (3%) 5 files
other0 LOC (0%) 0 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
xsl
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 47 files match defined criteria (3,572 LOC, 100.0% vs. main code):
    • 35 *.java files (3,037 LOC)
    • 8 *.xml files (230 LOC)
    • 2 *.jsp files (201 LOC)
    • 1 *.ftl files (89 LOC)
    • 1 *.xsl files (15 LOC)
  • " *.java" is biggest, containing 85.02% of LOC.
  • " *.xsl" is smallest, containing 0.42% of LOC.


*.java3037 LOC (85%) 35 files
*.xml230 LOC (6%) 8 files
*.jsp201 LOC (5%) 2 files
*.ftl89 LOC (2%) 1 file
*.xsl15 LOC (<1%) 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 ".*[-]tests/.*".
    • files with paths like ".*/test[-]resources/.*".
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*/[Tt]ests/.*".
  • 20 files match defined criteria (3,864 LOC, 108.2% vs. main code):
    • 17 *.java files (3,744 LOC)
    • 3 *.xml files (120 LOC)
  • " *.java" is biggest, containing 96.89% of LOC.
  • " *.xml" is smallest, containing 3.11% of LOC.


*.java3744 LOC (96%) 17 files
*.xml120 LOC (3%) 3 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".
    • files with paths like ".*/[.]gitattributes".
  • 5 files match defined criteria (240 LOC, 6.7% vs. main code). All matches are in *.xml files.


*.xml240 LOC (100%) 5 files
Analyzers
Info about analyzers used for source code examinations.


2026-01-18 17:02