apache / olingo-odata2
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
properties
xsd
gitattributes
txt
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.

main64162 LOC (42%) 828 files
test80380 LOC (52%) 409 files
generated0 LOC (0%) 0 files
build and deployment3040 LOC (1%) 34 files
other4600 LOC (3%) 92 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 ".*".
  • 828 files match defined criteria (64,162 LOC, 100.0% vs. main code):
    • 795 *.java files (62,044 LOC)
    • 24 *.xml files (1,342 LOC)
    • 4 *.jsp files (652 LOC)
    • 5 *.html files (124 LOC)
  • " *.java" is biggest, containing 96.7% of LOC.
  • " *.html" is smallest, containing 0.19% of LOC.


*.java62044 LOC (96%) 795 files
*.xml1342 LOC (2%) 24 files
*.jsp652 LOC (1%) 4 files
*.html124 LOC (<1%) 5 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]est/.*".
  • 409 files match defined criteria (80,380 LOC, 125.3% vs. main code):
    • 360 *.java files (75,740 LOC)
    • 49 *.xml files (4,640 LOC)
  • " *.java" is biggest, containing 94.23% of LOC.
  • " *.xml" is smallest, containing 5.77% of LOC.


*.java75740 LOC (94%) 360 files
*.xml4640 LOC (5%) 49 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 ".*/pom[.]xml".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]gitattributes".
  • 34 files match defined criteria (3,040 LOC, 4.7% vs. main code). All matches are in *.xml files.


*.xml3040 LOC (100%) 34 files
Other Code
properties
xsd
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/resources/.*[.]xsd".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/checkstyle.*".
  • 92 files match defined criteria (4,600 LOC, 7.2% vs. main code):
    • 64 *.json files (3,500 LOC)
    • 21 *.properties files (839 LOC)
    • 2 *.xsd files (158 LOC)
    • 2 *.md files (53 LOC)
    • 1 *.xml files (48 LOC)
    • 2 *.txt files (2 LOC)
  • " *.json" is biggest, containing 76.09% of LOC.
  • " *.txt" is smallest, containing 0.04% of LOC.


*.json3500 LOC (76%) 64 files
*.properties839 LOC (18%) 21 files
*.xsd158 LOC (3%) 2 files
*.md53 LOC (1%) 2 files
*.xml48 LOC (1%) 1 file
*.txt2 LOC (<1%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 15:02