guardian / memsub-promotions
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
es6
txt
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.

main5480 LOC (94%) 105 files
test121 LOC (2%) 2 files
generated0 LOC (0%) 0 files
build and deployment70 LOC (1%) 3 files
other145 LOC (2%) 6 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
es6
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 105 files match defined criteria (5,480 LOC, 100.0% vs. main code):
    • 44 *.scala files (2,918 LOC)
    • 34 *.es6 files (918 LOC)
    • 3 *.yaml files (487 LOC)
    • 3 *.js files (463 LOC)
    • 17 *.html files (435 LOC)
    • 1 *.scss files (157 LOC)
    • 2 *.sbt files (85 LOC)
    • 1 *.xml files (17 LOC)
  • " *.scala" is biggest, containing 53.25% of LOC.
  • " *.xml" is smallest, containing 0.31% of LOC.


*.scala2918 LOC (53%) 44 files
*.es6918 LOC (16%) 34 files
*.yaml487 LOC (8%) 3 files
*.js463 LOC (8%) 3 files
*.html435 LOC (7%) 17 files
*.scss157 LOC (2%) 1 file
*.sbt85 LOC (1%) 2 files
*.xml17 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]est/.*".
  • 2 files match defined criteria (121 LOC, 2.2% vs. main code). All matches are in *.scala files.


*.scala121 LOC (100%) 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 ".*[.]sh".
    • files with paths like ".*([.]|/)webpack([.]|/).*".
    • files with paths like ".*/package[.]json".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 3 files match defined criteria (70 LOC, 1.3% vs. main code):
    • 1 *.js files (63 LOC)
    • 2 *.sh files (7 LOC)
  • " *.js" is biggest, containing 90% of LOC.
  • " *.sh" is smallest, containing 10% of LOC.


*.js63 LOC (90%) 1 file
*.sh7 LOC (10%) 2 files
Other Code
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • 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 ".*/[Ee]xamples/.*".
    • files with paths like ".*[.]properties".
  • 6 files match defined criteria (145 LOC, 2.6% vs. main code):
    • 2 *.json files (76 LOC)
    • 2 *.md files (65 LOC)
    • 1 *.js files (3 LOC)
    • 1 *.properties files (1 LOC)
  • " *.json" is biggest, containing 52.41% of LOC.
  • " *.properties" is smallest, containing 0.69% of LOC.


*.json76 LOC (52%) 2 files
*.md65 LOC (44%) 2 files
*.js3 LOC (2%) 1 file
*.properties1 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-09 20:46