apache / olingo-odata4-js
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
wsf
csproj
nuspec
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.

main5458 LOC (27%) 28 files
test13824 LOC (68%) 64 files
generated0 LOC (0%) 0 files
build and deployment217 LOC (1%) 2 files
other608 LOC (3%) 9 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 ".*".
  • 28 files match defined criteria (5,458 LOC, 100.0% vs. main code). All matches are in *.js files.


*.js5458 LOC (100%) 28 files
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
wsf
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*/[Tt]ests/.*".
    • files with paths like ".*[-]test[-].*".
  • 64 files match defined criteria (13,824 LOC, 253.3% vs. main code):
    • 38 *.js files (11,129 LOC)
    • 18 *.html files (1,246 LOC)
    • 5 *.cs files (951 LOC)
    • 1 *.wsf files (351 LOC)
    • 1 *.xml files (103 LOC)
    • 1 *.htm files (44 LOC)
  • " *.js" is biggest, containing 80.5% of LOC.
  • " *.htm" is smallest, containing 0.32% of LOC.


*.js11129 LOC (80%) 38 files
*.html1246 LOC (9%) 18 files
*.cs951 LOC (6%) 5 files
*.wsf351 LOC (2%) 1 file
*.xml103 LOC (<1%) 1 file
*.htm44 LOC (<1%) 1 file
Build and Deployment Code
Source code used to configure or support build and deployment process.
csproj
nuspec
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 ".*/package[.]json".
    • files with paths like ".*[.]nuspec".
    • files with paths like ".*[.]csproj".
  • 2 files match defined criteria (217 LOC, 4.0% vs. main code):
    • 1 *.csproj files (190 LOC)
    • 1 *.nuspec files (27 LOC)
  • " *.csproj" is biggest, containing 87.56% of LOC.
  • " *.nuspec" is smallest, containing 12.44% of LOC.


*.csproj190 LOC (87%) 1 file
*.nuspec27 LOC (12%) 1 file
Other Code
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Dd]emos?/.*".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
  • 9 files match defined criteria (608 LOC, 11.1% vs. main code):
    • 2 *.js files (239 LOC)
    • 1 *.html files (191 LOC)
    • 2 *.json files (73 LOC)
    • 2 *.txt files (54 LOC)
    • 2 *.md files (51 LOC)
  • " *.js" is biggest, containing 39.31% of LOC.
  • " *.md" is smallest, containing 8.39% of LOC.


*.js239 LOC (39%) 2 files
*.html191 LOC (31%) 1 file
*.json73 LOC (12%) 2 files
*.txt54 LOC (8%) 2 files
*.md51 LOC (8%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 15:02