apache / openwhisk-website
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
babelrc
jscsrc
editorconfig
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.

main5376 LOC (30%) 56 files
test0 LOC (0%) 0 files
generated0 LOC (0%) 0 files
build and deployment57 LOC (<1%) 1 file
other12161 LOC (69%) 37 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 ".*".
  • 56 files match defined criteria (5,376 LOC, 100.0% vs. main code):
    • 17 *.html files (3,815 LOC)
    • 10 *.scss files (1,031 LOC)
    • 7 *.js files (231 LOC)
    • 11 *.yaml files (102 LOC)
    • 3 *.rb files (89 LOC)
    • 1 *.yml files (32 LOC)
    • 1 *.cs files (18 LOC)
    • 1 *.java files (14 LOC)
    • 1 *.go files (12 LOC)
    • 1 *.xml files (9 LOC)
    • 1 *.py files (8 LOC)
    • 1 *.php files (8 LOC)
    • 1 *.swift files (7 LOC)
  • " *.html" is biggest, containing 70.96% of LOC.
  • " *.swift" is smallest, containing 0.13% of LOC.


*.html3815 LOC (70%) 17 files
*.scss1031 LOC (19%) 10 files
*.js231 LOC (4%) 7 files
*.yaml102 LOC (1%) 11 files
*.rb89 LOC (1%) 3 files
*.yml32 LOC (<1%) 1 file
*.cs18 LOC (<1%) 1 file
*.java14 LOC (<1%) 1 file
*.go12 LOC (<1%) 1 file
*.xml9 LOC (<1%) 1 file
*.py8 LOC (<1%) 1 file
*.php8 LOC (<1%) 1 file
*.swift7 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 ".*/jenkins/.*[.]groovy".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/package[.]json".
  • 1 file matches defined criteria (57 LOC, 1.1% vs. main code). All matches are in *.groovy files.


*.groovy57 LOC (100%) 1 file
Other Code
txt
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 ".*[.]svg".
    • files with paths like ".*[.]editorconfig".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
  • 37 files match defined criteria (12,161 LOC, 226.2% vs. main code):
    • 22 *.svg files (11,256 LOC)
    • 12 *.md files (687 LOC)
    • 1 *.txt files (169 LOC)
    • 2 *.json files (49 LOC)
  • " *.svg" is biggest, containing 92.56% of LOC.
  • " *.json" is smallest, containing 0.4% of LOC.


*.svg11256 LOC (92%) 22 files
*.md687 LOC (5%) 12 files
*.txt169 LOC (1%) 1 file
*.json49 LOC (<1%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 16:58