JetBrains / lets-plot
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
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.

main169935 LOC (81%) 2,171 files
test8142 LOC (3%) 74 files
generated0 LOC (0%) 0 files
build and deployment467 LOC (<1%) 11 files
other29151 LOC (14%) 533 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
cfg
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 2171 files match defined criteria (169,935 LOC, 100.0% vs. main code):
    • 2,055 *.kt files (158,901 LOC)
    • 89 *.py files (8,972 LOC)
    • 24 *.kts files (1,843 LOC)
    • 1 *.c files (165 LOC)
    • 1 *.html files (49 LOC)
    • 1 *.cfg files (5 LOC)
  • " *.kt" is biggest, containing 93.51% of LOC.
  • " *.cfg" is smallest, containing 0% of LOC.


*.kt158901 LOC (93%) 2,055 files
*.py8972 LOC (5%) 89 files
*.kts1843 LOC (1%) 24 files
*.c165 LOC (<1%) 1 file
*.html49 LOC (<1%) 1 file
*.cfg5 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 ".*[-]test[-].*".
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*/test_.*".
    • files with paths like ".*/mock[a-zA-Z0-9_\- ]+/.*".
  • 74 files match defined criteria (8,142 LOC, 4.8% vs. main code):
    • 59 *.py files (5,434 LOC)
    • 15 *.kt files (2,708 LOC)
  • " *.py" is biggest, containing 66.74% of LOC.
  • " *.kt" is smallest, containing 33.26% of LOC.


*.py5434 LOC (66%) 59 files
*.kt2708 LOC (33%) 15 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 ".*([.]|/)webpack([.]|/).*".
    • files with paths like ".*[.]sh".
    • files with paths like ".*[.]bat".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 11 files match defined criteria (467 LOC, 0.3% vs. main code):
    • 6 *.sh files (383 LOC)
    • 1 *.bat files (68 LOC)
    • 4 *.js files (16 LOC)
  • " *.sh" is biggest, containing 82.01% of LOC.
  • " *.js" is smallest, containing 3.43% of LOC.


*.sh383 LOC (82%) 6 files
*.bat68 LOC (14%) 1 file
*.js16 LOC (3%) 4 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 ".*[.]properties".
    • files with paths like ".*/[Dd]emos?/.*".
    • files with paths like ".*[.]svg".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[.]gitignore".
  • 533 files match defined criteria (29,151 LOC, 17.2% vs. main code):
    • 494 *.kt files (26,558 LOC)
    • 23 *.md files (2,148 LOC)
    • 12 *.kts files (376 LOC)
    • 1 *.properties files (41 LOC)
    • 2 *.txt files (25 LOC)
    • 1 *.js files (3 LOC)
  • " *.kt" is biggest, containing 91.1% of LOC.
  • " *.js" is smallest, containing 0.01% of LOC.


*.kt26558 LOC (91%) 494 files
*.md2148 LOC (7%) 23 files
*.kts376 LOC (1%) 12 files
*.properties41 LOC (<1%) 1 file
*.txt25 LOC (<1%) 2 files
*.js3 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2026-01-18 17:05