guardian / mobile-n10n
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
properties
snap
npmignore
editorconfig
txt
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.

main11751 LOC (39%) 233 files
test17176 LOC (58%) 60 files
generated0 LOC (0%) 0 files
build and deployment64 LOC (<1%) 1 file
other506 LOC (1%) 18 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 ".*".
  • 233 files match defined criteria (11,751 LOC, 100.0% vs. main code):
    • 191 *.scala files (8,023 LOC)
    • 24 *.yaml files (2,589 LOC)
    • 4 *.ts files (480 LOC)
    • 3 *.sbt files (426 LOC)
    • 10 *.xml files (153 LOC)
    • 1 *.sql files (80 LOC)
  • " *.scala" is biggest, containing 68.28% of LOC.
  • " *.sql" is smallest, containing 0.68% of LOC.


*.scala8023 LOC (68%) 191 files
*.yaml2589 LOC (22%) 24 files
*.ts480 LOC (4%) 4 files
*.sbt426 LOC (3%) 3 files
*.xml153 LOC (1%) 10 files
*.sql80 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".
    • files with paths like ".*/test[.].*".
  • 60 files match defined criteria (17,176 LOC, 146.2% vs. main code):
    • 3 *.xml files (6,952 LOC)
    • 4 *.snap files (5,886 LOC)
    • 46 *.scala files (4,253 LOC)
    • 4 *.ts files (79 LOC)
    • 2 *.js files (5 LOC)
    • 1 *.sh files (1 LOC)
  • " *.xml" is biggest, containing 40.48% of LOC.
  • " *.sh" is smallest, containing 0.01% of LOC.


*.xml6952 LOC (40%) 3 files
*.snap5886 LOC (34%) 4 files
*.scala4253 LOC (24%) 46 files
*.ts79 LOC (<1%) 4 files
*.js5 LOC (<1%) 2 files
*.sh1 LOC (<1%) 1 file
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 ".*/package[.]json".
    • files with paths like ".*[.]sh".
  • 1 file matches defined criteria (64 LOC, 0.5% vs. main code). All matches are in *.sh files.


*.sh64 LOC (100%) 1 file
Other Code
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 ".*[.]properties".
    • files with paths like ".*[.]editorconfig".
    • files with paths like ".*/[.]npmignore".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]markdown".
  • 18 files match defined criteria (506 LOC, 4.3% vs. main code):
    • 6 *.md files (238 LOC)
    • 6 *.json files (193 LOC)
    • 1 *.markdown files (70 LOC)
    • 5 *.properties files (5 LOC)
  • " *.md" is biggest, containing 47.04% of LOC.
  • " *.properties" is smallest, containing 0.99% of LOC.


*.md238 LOC (47%) 6 files
*.json193 LOC (38%) 6 files
*.markdown70 LOC (13%) 1 file
*.properties5 LOC (<1%) 5 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-09 20:45