JetBrains / databao-context-engine
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
nix
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.

main4963 LOC (44%) 130 files
test6014 LOC (53%) 62 files
generated0 LOC (0%) 0 files
build and deployment0 LOC (0%) 0 files
other236 LOC (2%) 5 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
nix
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 130 files match defined criteria (4,963 LOC, 100.0% vs. main code):
    • 125 *.py files (4,827 LOC)
    • 1 *.sql files (55 LOC)
    • 2 *.toml files (54 LOC)
    • 1 *.yaml files (16 LOC)
    • 1 *.nix files (11 LOC)
  • " *.py" is biggest, containing 97.26% of LOC.
  • " *.nix" is smallest, containing 0.22% of LOC.


*.py4827 LOC (97%) 125 files
*.sql55 LOC (1%) 1 file
*.toml54 LOC (1%) 2 files
*.yaml16 LOC (<1%) 1 file
*.nix11 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]ests/.*".
    • files with paths like ".*/test_.*".
  • 62 files match defined criteria (6,014 LOC, 121.2% vs. main code):
    • 58 *.py files (5,998 LOC)
    • 4 *.sql files (16 LOC)
  • " *.py" is biggest, containing 99.73% of LOC.
  • " *.sql" is smallest, containing 0.27% of LOC.


*.py5998 LOC (99%) 58 files
*.sql16 LOC (<1%) 4 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 ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[Ee]xamples/.*".
  • 5 files match defined criteria (236 LOC, 4.8% vs. main code):
    • 3 *.md files (219 LOC)
    • 1 *.txt files (11 LOC)
    • 1 *.yaml files (6 LOC)
  • " *.md" is biggest, containing 92.8% of LOC.
  • " *.yaml" is smallest, containing 2.54% of LOC.


*.md219 LOC (92%) 3 files
*.txt11 LOC (4%) 1 file
*.yaml6 LOC (2%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2026-01-18 17:40