apache / openwhisk-package-kafka
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.

main2164 LOC (46%) 18 files
test1433 LOC (30%) 16 files
generated0 LOC (0%) 0 files
build and deployment301 LOC (6%) 8 files
other737 LOC (15%) 17 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 ".*".
  • 18 files match defined criteria (2,164 LOC, 100.0% vs. main code):
    • 11 *.py files (1,240 LOC)
    • 7 *.js files (924 LOC)
  • " *.py" is biggest, containing 57.3% of LOC.
  • " *.js" is smallest, containing 42.7% of LOC.


*.py1240 LOC (57%) 11 files
*.js924 LOC (42%) 7 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/.*".
  • 16 files match defined criteria (1,433 LOC, 66.2% vs. main code):
    • 12 *.scala files (1,343 LOC)
    • 1 *.gradle files (69 LOC)
    • 3 *.js files (21 LOC)
  • " *.scala" is biggest, containing 93.72% of LOC.
  • " *.js" is smallest, containing 1.47% of LOC.


*.scala1343 LOC (93%) 12 files
*.gradle69 LOC (4%) 1 file
*.js21 LOC (1%) 3 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 ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]sh".
    • files with paths like ".*/package[.]json".
    • files with paths like ".*[.]gradle".
    • files with paths like ".*[.]bat".
  • 8 files match defined criteria (301 LOC, 13.9% vs. main code):
    • 4 *.sh files (114 LOC)
    • 3 *.gradle files (111 LOC)
    • 1 *.bat files (76 LOC)
  • " *.sh" is biggest, containing 37.87% of LOC.
  • " *.bat" is smallest, containing 25.25% of LOC.


*.sh114 LOC (37%) 4 files
*.gradle111 LOC (36%) 3 files
*.bat76 LOC (25%) 1 file
Other Code
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
  • 17 files match defined criteria (737 LOC, 34.1% vs. main code):
    • 3 *.md files (420 LOC)
    • 2 *.txt files (179 LOC)
    • 12 *.json files (138 LOC)
  • " *.md" is biggest, containing 56.99% of LOC.
  • " *.json" is smallest, containing 18.72% of LOC.


*.md420 LOC (56%) 3 files
*.txt179 LOC (24%) 2 files
*.json138 LOC (18%) 12 files
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 17:29