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

main23231 LOC (60%) 289 files
test9780 LOC (25%) 112 files
generated0 LOC (0%) 0 files
build and deployment1227 LOC (3%) 3 files
other4150 LOC (10%) 98 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 ".*".
  • 289 files match defined criteria (23,231 LOC, 100.0% vs. main code):
    • 221 *.java files (20,536 LOC)
    • 51 *.xml files (2,110 LOC)
    • 1 *.cpp files (252 LOC)
    • 2 *.css files (152 LOC)
    • 12 *.html files (106 LOC)
    • 1 *.pl files (41 LOC)
    • 1 *.rdf files (34 LOC)
  • " *.java" is biggest, containing 88.4% of LOC.
  • " *.rdf" is smallest, containing 0.15% of LOC.


*.java20536 LOC (88%) 221 files
*.xml2110 LOC (9%) 51 files
*.cpp252 LOC (1%) 1 file
*.css152 LOC (<1%) 2 files
*.html106 LOC (<1%) 12 files
*.pl41 LOC (<1%) 1 file
*.rdf34 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 ".*/[Tt]ests/.*".
  • 112 files match defined criteria (9,780 LOC, 42.1% vs. main code):
    • 84 *.java files (8,605 LOC)
    • 26 *.xml files (1,036 LOC)
    • 1 *.bat files (111 LOC)
    • 1 *.pl files (28 LOC)
  • " *.java" is biggest, containing 87.99% of LOC.
  • " *.pl" is smallest, containing 0.29% of LOC.


*.java8605 LOC (87%) 84 files
*.xml1036 LOC (10%) 26 files
*.bat111 LOC (1%) 1 file
*.pl28 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 ".*/build[.]xml".
    • files with paths like ".*[.]bat".
  • 3 files match defined criteria (1,227 LOC, 5.3% vs. main code). All matches are in *.xml files.


*.xml1227 LOC (100%) 3 files
Other Code
properties
txt
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 ".*/[Ee]xamples/.*".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/changes[.]xml".
    • files with paths like ".*[.]txt".
  • 98 files match defined criteria (4,150 LOC, 17.9% vs. main code):
    • 68 *.properties files (1,618 LOC)
    • 2 *.xml files (1,434 LOC)
    • 21 *.java files (840 LOC)
    • 3 *.txt files (160 LOC)
    • 3 *.html files (95 LOC)
    • 1 *.md files (3 LOC)
  • " *.properties" is biggest, containing 38.99% of LOC.
  • " *.md" is smallest, containing 0.07% of LOC.


*.properties1618 LOC (38%) 68 files
*.xml1434 LOC (34%) 2 files
*.java840 LOC (20%) 21 files
*.txt160 LOC (3%) 3 files
*.html95 LOC (2%) 3 files
*.md3 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2026-01-18 17:23