apache / openwhisk-runtime-php
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
ini
txt
properties
gitattributes
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.

main261 LOC (16%) 6 files
test476 LOC (29%) 5 files
generated0 LOC (0%) 0 files
build and deployment195 LOC (12%) 7 files
other681 LOC (42%) 15 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 ".*".
  • 6 files match defined criteria (261 LOC, 100.0% vs. main code). All matches are in *.php files.


*.php261 LOC (100%) 6 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]ests/.*".
    • files with paths like ".*/[Tt]est/.*".
  • 5 files match defined criteria (476 LOC, 182.4% vs. main code):
    • 4 *.scala files (444 LOC)
    • 1 *.gradle files (32 LOC)
  • " *.scala" is biggest, containing 93.28% of LOC.
  • " *.gradle" is smallest, containing 6.72% of LOC.


*.scala444 LOC (93%) 4 files
*.gradle32 LOC (6%) 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 ".*[.]gradle".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]gitattributes".
    • files with paths like ".*[.]bat".
  • 7 files match defined criteria (195 LOC, 74.7% vs. main code):
    • 6 *.gradle files (119 LOC)
    • 1 *.bat files (76 LOC)
  • " *.gradle" is biggest, containing 61.03% of LOC.
  • " *.bat" is smallest, containing 38.97% of LOC.


*.gradle119 LOC (61%) 6 files
*.bat76 LOC (38%) 1 file
Other Code
txt
ini
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]ini".
    • files with paths like ".*[.]md".
    • files with paths like ".*[.]json".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
  • 15 files match defined criteria (681 LOC, 260.9% vs. main code):
    • 6 *.md files (347 LOC)
    • 2 *.txt files (179 LOC)
    • 3 *.ini files (105 LOC)
    • 3 *.json files (33 LOC)
    • 1 *.properties files (17 LOC)
  • " *.md" is biggest, containing 50.95% of LOC.
  • " *.properties" is smallest, containing 2.5% of LOC.


*.md347 LOC (50%) 6 files
*.txt179 LOC (26%) 2 files
*.ini105 LOC (15%) 3 files
*.json33 LOC (4%) 3 files
*.properties17 LOC (2%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 20:56