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

main62583 LOC (39%) 37 files
test499 LOC (<1%) 11 files
generated0 LOC (0%) 0 files
build and deployment0 LOC (0%) 0 files
other95337 LOC (60%) 157 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
geojson
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 37 files match defined criteria (62,583 LOC, 100.0% vs. main code):
    • 16 *.ipynb files (61,221 LOC)
    • 7 *.py files (493 LOC)
    • 3 *.css files (392 LOC)
    • 2 *.js files (331 LOC)
    • 8 *.html files (135 LOC)
    • 1 *.geojson files (11 LOC)
  • " *.ipynb" is biggest, containing 97.82% of LOC.
  • " *.geojson" is smallest, containing 0.02% of LOC.


*.ipynb61221 LOC (97%) 16 files
*.py493 LOC (<1%) 7 files
*.css392 LOC (<1%) 3 files
*.js331 LOC (<1%) 2 files
*.html135 LOC (<1%) 8 files
*.geojson11 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 ".*/test_.*".
  • 11 files match defined criteria (499 LOC, 0.8% vs. main code). All matches are in *.py files.


*.py499 LOC (100%) 11 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 ".*/[.]gitignore".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.](rst|rest|resttxt|rsttxt)".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*[.]svg".
    • files with paths like ".*/[Dd]emos?/.*".
    • files with paths like ".*[.]txt".
  • 157 files match defined criteria (95,337 LOC, 152.3% vs. main code):
    • 47 *.ipynb files (75,940 LOC)
    • 5 *.txt files (7,495 LOC)
    • 42 *.rst files (5,457 LOC)
    • 3 *.json files (3,695 LOC)
    • 58 *.svg files (2,673 LOC)
    • 1 *.md files (70 LOC)
    • 1 *.py files (7 LOC)
  • " *.ipynb" is biggest, containing 79.65% of LOC.
  • " *.py" is smallest, containing 0.01% of LOC.


*.ipynb75940 LOC (79%) 47 files
*.txt7495 LOC (7%) 5 files
*.rst5457 LOC (5%) 42 files
*.json3695 LOC (3%) 3 files
*.svg2673 LOC (2%) 58 files
*.md70 LOC (<1%) 1 file
*.py7 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2026-01-18 17:21