guardian / amiable
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
eslintignore
properties
snap
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.

main3380 LOC (13%) 49 files
test3926 LOC (15%) 15 files
generated8717 LOC (34%) 1 file
build and deployment0 LOC (0%) 0 files
other9232 LOC (36%) 10 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 ".*".
  • 49 files match defined criteria (3,380 LOC, 100.0% vs. main code):
    • 26 *.scala files (2,090 LOC)
    • 17 *.html files (725 LOC)
    • 1 *.css files (376 LOC)
    • 1 *.ts files (103 LOC)
    • 2 *.sbt files (71 LOC)
    • 1 *.xml files (9 LOC)
    • 1 *.js files (6 LOC)
  • " *.scala" is biggest, containing 61.83% of LOC.
  • " *.js" is smallest, containing 0.18% of LOC.


*.scala2090 LOC (61%) 26 files
*.html725 LOC (21%) 17 files
*.css376 LOC (11%) 1 file
*.ts103 LOC (3%) 1 file
*.sbt71 LOC (2%) 2 files
*.xml9 LOC (<1%) 1 file
*.js6 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
snap
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*/jest[.][a-zA-Z0-9\.]+".
    • files with paths like ".*[.][Tt]est[.].*".
    • files with paths like ".*[.]test[.].*".
    • files with paths like ".*[.]snap".
  • 15 files match defined criteria (3,926 LOC, 116.2% vs. main code):
    • 1 *.snap files (2,523 LOC)
    • 11 *.scala files (1,380 LOC)
    • 1 *.ts files (13 LOC)
    • 2 *.js files (10 LOC)
  • " *.snap" is biggest, containing 64.26% of LOC.
  • " *.js" is smallest, containing 0.25% of LOC.


*.snap2523 LOC (64%) 1 file
*.scala1380 LOC (35%) 11 files
*.ts13 LOC (<1%) 1 file
*.js10 LOC (<1%) 2 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".
  • 1 file matches defined criteria (8,717 LOC, 257.9% vs. main code). All matches are in *.json files.


*.json8717 LOC (100%) 1 file
Other Code
txt
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]editorconfig".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]eslintignore".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
  • 10 files match defined criteria (9,232 LOC, 273.1% vs. main code):
    • 5 *.json files (8,800 LOC)
    • 1 *.txt files (330 LOC)
    • 3 *.md files (101 LOC)
    • 1 *.properties files (1 LOC)
  • " *.json" is biggest, containing 95.32% of LOC.
  • " *.properties" is smallest, containing 0.01% of LOC.


*.json8800 LOC (95%) 5 files
*.txt330 LOC (3%) 1 file
*.md101 LOC (1%) 3 files
*.properties1 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-09 20:45