guardian / salesforce-message-handler
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
wsdl
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.

main514 LOC (85%) 12 files
test73 LOC (12%) 3 files
generated0 LOC (0%) 0 files
build and deployment0 LOC (0%) 0 files
other13 LOC (2%) 3 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
wsdl
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 12 files match defined criteria (514 LOC, 100.0% vs. main code):
    • 7 *.scala files (209 LOC)
    • 2 *.yaml files (149 LOC)
    • 1 *.wsdl files (105 LOC)
    • 2 *.sbt files (51 LOC)
  • " *.scala" is biggest, containing 40.66% of LOC.
  • " *.sbt" is smallest, containing 9.92% of LOC.


*.scala209 LOC (40%) 7 files
*.yaml149 LOC (28%) 2 files
*.wsdl105 LOC (20%) 1 file
*.sbt51 LOC (9%) 2 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/.*".
  • 3 files match defined criteria (73 LOC, 14.2% vs. main code):
    • 2 *.scala files (55 LOC)
    • 1 *.xml files (18 LOC)
  • " *.scala" is biggest, containing 75.34% of LOC.
  • " *.xml" is smallest, containing 24.66% of LOC.


*.scala55 LOC (75%) 2 files
*.xml18 LOC (24%) 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 ".*[.]json".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]txt".
  • 3 files match defined criteria (13 LOC, 2.5% vs. main code):
    • 1 *.json files (7 LOC)
    • 1 *.md files (5 LOC)
    • 1 *.properties files (1 LOC)
  • " *.json" is biggest, containing 53.85% of LOC.
  • " *.properties" is smallest, containing 7.69% of LOC.


*.json7 LOC (53%) 1 file
*.md5 LOC (38%) 1 file
*.properties1 LOC (7%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-09 20:48