guardian / amigo
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
snap
editorconfig
pub
eslintignore
properties
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.

main6936 LOC (46%) 131 files
test3259 LOC (21%) 24 files
generated0 LOC (0%) 0 files
build and deployment311 LOC (2%) 12 files
other4553 LOC (30%) 79 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
pub
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 131 files match defined criteria (6,936 LOC, 100.0% vs. main code):
    • 83 *.scala files (4,997 LOC)
    • 28 *.html files (1,076 LOC)
    • 3 *.ts files (423 LOC)
    • 2 *.sbt files (131 LOC)
    • 3 *.js files (104 LOC)
    • 1 *.css files (94 LOC)
    • 3 *.xml files (39 LOC)
    • 2 *.yaml files (34 LOC)
    • 1 *.pub files (28 LOC)
    • 5 *.rb files (10 LOC)
  • " *.scala" is biggest, containing 72.04% of LOC.
  • " *.rb" is smallest, containing 0.14% of LOC.


*.scala4997 LOC (72%) 83 files
*.html1076 LOC (15%) 28 files
*.ts423 LOC (6%) 3 files
*.sbt131 LOC (1%) 2 files
*.js104 LOC (1%) 3 files
*.css94 LOC (1%) 1 file
*.xml39 LOC (<1%) 3 files
*.yaml34 LOC (<1%) 2 files
*.pub28 LOC (<1%) 1 file
*.rb10 LOC (<1%) 5 files
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 ".*/jest[.][a-zA-Z0-9\.]+".
    • files with paths like ".*[.][Tt]est[.].*".
    • files with paths like ".*[.]test[.].*".
    • files with paths like ".*[.]snap".
    • files with paths like ".*/[Tt]est/.*".
  • 24 files match defined criteria (3,259 LOC, 47.0% vs. main code):
    • 3 *.snap files (1,939 LOC)
    • 16 *.scala files (1,272 LOC)
    • 3 *.ts files (40 LOC)
    • 2 *.js files (8 LOC)
  • " *.snap" is biggest, containing 59.5% of LOC.
  • " *.js" is smallest, containing 0.25% of LOC.


*.snap1939 LOC (59%) 3 files
*.scala1272 LOC (39%) 16 files
*.ts40 LOC (1%) 3 files
*.js8 LOC (<1%) 2 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 ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]sh".
    • files with paths like ".*/package[.]json".
  • 12 files match defined criteria (311 LOC, 4.5% vs. main code). All matches are in *.sh files.


*.sh311 LOC (100%) 12 files
Other Code
txt
properties
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 ".*[.]svg".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]editorconfig".
    • files with paths like ".*/[.]eslintignore".
  • 79 files match defined criteria (4,553 LOC, 65.6% vs. main code):
    • 3 *.txt files (3,180 LOC)
    • 63 *.md files (1,025 LOC)
    • 9 *.json files (336 LOC)
    • 3 *.svg files (11 LOC)
    • 1 *.properties files (1 LOC)
  • " *.txt" is biggest, containing 69.84% of LOC.
  • " *.properties" is smallest, containing 0.02% of LOC.


*.txt3180 LOC (69%) 3 files
*.md1025 LOC (22%) 63 files
*.json336 LOC (7%) 9 files
*.svg11 LOC (<1%) 3 files
*.properties1 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-09 20:45