JetBrains / intellij-samples
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
meta
txt
ddl
http
cmd
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.

main4743 LOC (82%) 196 files
test527 LOC (9%) 23 files
generated0 LOC (0%) 0 files
build and deployment146 LOC (2%) 2 files
other359 LOC (6%) 7 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
ddl
http
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 196 files match defined criteria (4,743 LOC, 100.0% vs. main code):
    • 165 *.java files (3,962 LOC)
    • 1 *.sql files (447 LOC)
    • 20 *.kt files (160 LOC)
    • 3 *.html files (56 LOC)
    • 1 *.ddl files (47 LOC)
    • 3 *.js files (41 LOC)
    • 1 *.css files (12 LOC)
    • 1 *.ts files (12 LOC)
    • 1 *.http files (6 LOC)
  • " *.java" is biggest, containing 83.53% of LOC.
  • " *.http" is smallest, containing 0.13% of LOC.


*.java3962 LOC (83%) 165 files
*.sql447 LOC (9%) 1 file
*.kt160 LOC (3%) 20 files
*.html56 LOC (1%) 3 files
*.ddl47 LOC (<1%) 1 file
*.js41 LOC (<1%) 3 files
*.css12 LOC (<1%) 1 file
*.ts12 LOC (<1%) 1 file
*.http6 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]est/.*".
  • 23 files match defined criteria (527 LOC, 11.1% vs. main code). All matches are in *.java files.


*.java527 LOC (100%) 23 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 ".*/package[.]json".
  • 2 files match defined criteria (146 LOC, 3.1% vs. main code). All matches are in *.xml files.


*.xml146 LOC (100%) 2 files
Other Code
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 ".*[.]txt".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]svg".
    • files with paths like ".*[.]properties".
  • 7 files match defined criteria (359 LOC, 7.6% vs. main code):
    • 3 *.json files (223 LOC)
    • 2 *.txt files (87 LOC)
    • 2 *.md files (49 LOC)
  • " *.json" is biggest, containing 62.12% of LOC.
  • " *.md" is smallest, containing 13.65% of LOC.


*.json223 LOC (62%) 3 files
*.txt87 LOC (24%) 2 files
*.md49 LOC (13%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2026-01-18 16:36