apache / openwhisk-runtime-dotnet
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
csproj
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.

main692 LOC (26%) 10 files
test681 LOC (26%) 18 files
generated0 LOC (0%) 0 files
build and deployment398 LOC (15%) 14 files
other840 LOC (32%) 10 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 ".*".
  • 10 files match defined criteria (692 LOC, 100.0% vs. main code). All matches are in *.cs files.


*.cs692 LOC (100%) 10 files
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
csproj
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]ests/.*".
    • files with paths like ".*[.][Tt]ests[.].*".
    • files with paths like ".*/[Tt]est/.*".
  • 18 files match defined criteria (681 LOC, 98.4% vs. main code):
    • 2 *.scala files (396 LOC)
    • 11 *.cs files (167 LOC)
    • 3 *.gradle files (94 LOC)
    • 2 *.csproj files (24 LOC)
  • " *.scala" is biggest, containing 58.15% of LOC.
  • " *.csproj" is smallest, containing 3.52% of LOC.


*.scala396 LOC (58%) 2 files
*.cs167 LOC (24%) 11 files
*.gradle94 LOC (13%) 3 files
*.csproj24 LOC (3%) 2 files
Build and Deployment Code
Source code used to configure or support build and deployment process.
csproj
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]csproj".
    • files with paths like ".*[.]gradle".
    • files with paths like ".*[.]bat".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 14 files match defined criteria (398 LOC, 57.5% vs. main code):
    • 3 *.bat files (228 LOC)
    • 7 *.gradle files (126 LOC)
    • 4 *.csproj files (44 LOC)
  • " *.bat" is biggest, containing 57.29% of LOC.
  • " *.csproj" is smallest, containing 11.06% of LOC.


*.bat228 LOC (57%) 3 files
*.gradle126 LOC (31%) 7 files
*.csproj44 LOC (11%) 4 files
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 ".*[.]properties".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
  • 10 files match defined criteria (840 LOC, 121.4% vs. main code):
    • 8 *.md files (661 LOC)
    • 2 *.txt files (179 LOC)
  • " *.md" is biggest, containing 78.69% of LOC.
  • " *.txt" is smallest, containing 21.31% of LOC.


*.md661 LOC (78%) 8 files
*.txt179 LOC (21%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 21:30