JetBrains / intellij-sdk-docs
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
gitattributes
flex
editorconfig
cfg
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.

main5083 LOC (7%) 169 files
test240 LOC (<1%) 17 files
generated9241 LOC (13%) 21 files
build and deployment1605 LOC (2%) 22 files
other50651 LOC (75%) 464 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
flex
cfg
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 169 files match defined criteria (5,083 LOC, 100.0% vs. main code):
    • 88 *.java files (3,131 LOC)
    • 43 *.kts files (898 LOC)
    • 25 *.xml files (897 LOC)
    • 5 *.kt files (68 LOC)
    • 5 *.html files (32 LOC)
    • 1 *.flex files (31 LOC)
    • 1 *.cfg files (19 LOC)
    • 1 *.yaml files (7 LOC)
  • " *.java" is biggest, containing 61.6% of LOC.
  • " *.yaml" is smallest, containing 0.14% of LOC.


*.java3131 LOC (61%) 88 files
*.kts898 LOC (17%) 43 files
*.xml897 LOC (17%) 25 files
*.kt68 LOC (1%) 5 files
*.html32 LOC (<1%) 5 files
*.flex31 LOC (<1%) 1 file
*.cfg19 LOC (<1%) 1 file
*.yaml7 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/.*".
    • files with paths like ".*_tests[.].*".
    • files with paths like ".*/test_.*".
    • files with paths like ".*/tests_.*".
    • files with paths like ".*_test[.].*".
  • 17 files match defined criteria (240 LOC, 4.7% vs. main code). All matches are in *.java files.


*.java240 LOC (100%) 17 files
Generated Code
Automatically generated files, not manually changed after generation.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with any line of content like "//[ ]*Generated by .*".
    • files with paths like ".*[.]java" AND any line of content like ".*[/][/] This is a generated file[.] Not intended for manual editing[.].*".
    • files with paths like ".*/_generated/.*".
  • 21 files match defined criteria (9,241 LOC, 181.8% vs. main code):
    • 14 *.md files (5,827 LOC)
    • 1 *.xml files (2,882 LOC)
    • 6 *.java files (532 LOC)
  • " *.md" is biggest, containing 63.06% of LOC.
  • " *.java" is smallest, containing 5.76% of LOC.


*.md5827 LOC (63%) 14 files
*.xml2882 LOC (31%) 1 file
*.java532 LOC (5%) 6 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 ".*[.]bat".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]gitattributes".
  • 22 files match defined criteria (1,605 LOC, 31.6% vs. main code). All matches are in *.bat files.


*.bat1605 LOC (100%) 22 files
Other Code
txt
properties
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 ".*[.]editorconfig".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]svg".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
  • 464 files match defined criteria (50,651 LOC, 996.5% vs. main code):
    • 427 *.md files (50,026 LOC)
    • 3 *.txt files (404 LOC)
    • 23 *.properties files (150 LOC)
    • 1 *.json files (47 LOC)
    • 10 *.svg files (24 LOC)
  • " *.md" is biggest, containing 98.77% of LOC.
  • " *.svg" is smallest, containing 0.05% of LOC.


*.md50026 LOC (98%) 427 files
*.txt404 LOC (<1%) 3 files
*.properties150 LOC (<1%) 23 files
*.json47 LOC (<1%) 1 file
*.svg24 LOC (<1%) 10 files
Analyzers
Info about analyzers used for source code examinations.


2026-01-18 16:42