JetBrains / youtrackdb
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
me
cmd
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.

main213627 LOC (61%) 1,756 files
test130825 LOC (37%) 755 files
generated0 LOC (0%) 0 files
build and deployment2251 LOC (<1%) 12 files
other1840 LOC (<1%) 31 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 ".*".
  • 1756 files match defined criteria (213,627 LOC, 100.0% vs. main code):
    • 1,745 *.java files (213,290 LOC)
    • 6 *.xml files (279 LOC)
    • 2 *.yaml files (39 LOC)
    • 3 *.html files (19 LOC)
  • " *.java" is biggest, containing 99.84% of LOC.
  • " *.html" is smallest, containing 0.01% of LOC.


*.java213290 LOC (99%) 1,745 files
*.xml279 LOC (<1%) 6 files
*.yaml39 LOC (<1%) 2 files
*.html19 LOC (<1%) 3 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 ".*[-]tests/.*".
    • files with paths like ".*/[Tt]ests/.*".
    • files with paths like ".*[-]test[-].*".
  • 755 files match defined criteria (130,825 LOC, 61.2% vs. main code):
    • 739 *.java files (128,748 LOC)
    • 2 *.sql files (1,214 LOC)
    • 8 *.xml files (825 LOC)
    • 3 *.groovy files (18 LOC)
    • 2 *.js files (14 LOC)
    • 1 *.yaml files (6 LOC)
  • " *.java" is biggest, containing 98.41% of LOC.
  • " *.yaml" is smallest, containing 0% of LOC.


*.java128748 LOC (98%) 739 files
*.sql1214 LOC (<1%) 2 files
*.xml825 LOC (<1%) 8 files
*.groovy18 LOC (<1%) 3 files
*.js14 LOC (<1%) 2 files
*.yaml6 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 ".*[.]sh".
    • files with paths like ".*[.]bat".
    • files with paths like ".*/assembly[.]xml".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]gitattributes".
  • 12 files match defined criteria (2,251 LOC, 1.1% vs. main code):
    • 9 *.xml files (2,141 LOC)
    • 3 *.sh files (110 LOC)
  • " *.xml" is biggest, containing 95.11% of LOC.
  • " *.sh" is smallest, containing 4.89% of LOC.


*.xml2141 LOC (95%) 9 files
*.sh110 LOC (4%) 3 files
Other Code
txt
properties
me
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*/read[.]me".
    • files with paths like ".*/[.]gitignore".
  • 31 files match defined criteria (1,840 LOC, 0.9% vs. main code):
    • 8 *.json files (741 LOC)
    • 6 *.md files (537 LOC)
    • 5 *.txt files (343 LOC)
    • 7 *.properties files (90 LOC)
    • 3 *.java files (69 LOC)
    • 1 *.xml files (59 LOC)
    • 1 *.me files (1 LOC)
  • " *.json" is biggest, containing 40.27% of LOC.
  • " *.me" is smallest, containing 0.05% of LOC.


*.json741 LOC (40%) 8 files
*.md537 LOC (29%) 6 files
*.txt343 LOC (18%) 5 files
*.properties90 LOC (4%) 7 files
*.java69 LOC (3%) 3 files
*.xml59 LOC (3%) 1 file
*.me1 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2026-01-18 17:33