elastic / builder
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
editorconfig
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.

main701 LOC (1%) 23 files
test121 LOC (<1%) 7 files
generated27463 LOC (48%) 4 files
build and deployment0 LOC (0%) 0 files
other28588 LOC (50%) 27 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 23 files match defined criteria (701 LOC, 100.0% vs. main code):
    • 7 *.js files (506 LOC)
    • 4 *.css files (116 LOC)
    • 6 *.html files (40 LOC)
    • 6 *.ts files (39 LOC)
  • " *.js" is biggest, containing 72.18% of LOC.
  • " *.ts" is smallest, containing 5.56% of LOC.


*.js506 LOC (72%) 7 files
*.css116 LOC (16%) 4 files
*.html40 LOC (5%) 6 files
*.ts39 LOC (5%) 6 files
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 ".*/karma[.]conf[.]js".
    • files with paths like ".*[.]spec[.]ts".
    • files with paths like ".*/test[.].*".
    • files with paths like ".*/protractor[.]conf[.]js".
    • files with paths like ".*/e2e/.*".
    • files with paths like ".*[.][Tt]est[.].*".
    • files with paths like ".*[.]test[.].*".
  • 7 files match defined criteria (121 LOC, 17.3% vs. main code):
    • 4 *.ts files (67 LOC)
    • 3 *.js files (54 LOC)
  • " *.ts" is biggest, containing 55.37% of LOC.
  • " *.js" is smallest, containing 44.63% of LOC.


*.ts67 LOC (55%) 4 files
*.js54 LOC (44%) 3 files
Generated Code
Automatically generated files, not manually changed after generation.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/package[-]lock[.]json".
  • 4 files match defined criteria (27,463 LOC, 3917.7% vs. main code). All matches are in *.json files.


*.json27463 LOC (100%) 4 files
Other Code
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]svg".
    • files with paths like ".*[.]editorconfig".
    • files with paths like ".*[.]txt".
  • 27 files match defined criteria (28,588 LOC, 4078.2% vs. main code):
    • 20 *.json files (28,135 LOC)
    • 6 *.md files (449 LOC)
    • 1 *.svg files (4 LOC)
  • " *.json" is biggest, containing 98.42% of LOC.
  • " *.svg" is smallest, containing 0.01% of LOC.


*.json28135 LOC (98%) 20 files
*.md449 LOC (1%) 6 files
*.svg4 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-13 19:57