guardian / price-migration-engine
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
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.

main8378 LOC (8%) 104 files
test6304 LOC (6%) 28 files
generated0 LOC (0%) 0 files
build and deployment0 LOC (0%) 0 files
other81302 LOC (84%) 146 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 ".*".
  • 104 files match defined criteria (8,378 LOC, 100.0% vs. main code):
    • 88 *.scala files (6,872 LOC)
    • 6 *.yaml files (949 LOC)
    • 5 *.ts files (434 LOC)
    • 2 *.sbt files (85 LOC)
    • 3 *.bash files (38 LOC)
  • " *.scala" is biggest, containing 82.02% of LOC.
  • " *.bash" is smallest, containing 0.45% of LOC.


*.scala6872 LOC (82%) 88 files
*.yaml949 LOC (11%) 6 files
*.ts434 LOC (5%) 5 files
*.sbt85 LOC (1%) 2 files
*.bash38 LOC (<1%) 3 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 ".*/[Tt]est/.*".
  • 28 files match defined criteria (6,304 LOC, 75.2% vs. main code):
    • 27 *.scala files (6,293 LOC)
    • 1 *.rb files (11 LOC)
  • " *.scala" is biggest, containing 99.83% of LOC.
  • " *.rb" is smallest, containing 0.17% of LOC.


*.scala6293 LOC (99%) 27 files
*.rb11 LOC (<1%) 1 file
Other Code
txt
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]properties".
  • 146 files match defined criteria (81,302 LOC, 970.4% vs. main code):
    • 137 *.json files (80,869 LOC)
    • 6 *.md files (344 LOC)
    • 2 *.txt files (88 LOC)
    • 1 *.properties files (1 LOC)
  • " *.json" is biggest, containing 99.47% of LOC.
  • " *.properties" is smallest, containing 0% of LOC.


*.json80869 LOC (99%) 137 files
*.md344 LOC (<1%) 6 files
*.txt88 LOC (<1%) 2 files
*.properties1 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-09 20:52