apache / olingo-odata4
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
txt
xsl
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.

main97471 LOC (45%) 1,290 files
test89834 LOC (41%) 518 files
generated0 LOC (0%) 0 files
build and deployment2617 LOC (1%) 24 files
other26642 LOC (12%) 402 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 ".*".
  • 1290 files match defined criteria (97,471 LOC, 100.0% vs. main code):
    • 1,211 *.java files (92,654 LOC)
    • 71 *.xml files (4,698 LOC)
    • 1 *.css files (59 LOC)
    • 1 *.jsp files (34 LOC)
    • 1 *.html files (16 LOC)
    • 5 *.groovy files (10 LOC)
  • " *.java" is biggest, containing 95.06% of LOC.
  • " *.groovy" is smallest, containing 0.01% of LOC.


*.java92654 LOC (95%) 1,211 files
*.xml4698 LOC (4%) 71 files
*.css59 LOC (<1%) 1 file
*.jsp34 LOC (<1%) 1 file
*.html16 LOC (<1%) 1 file
*.groovy10 LOC (<1%) 5 files
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
xsl
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.][Tt]est[.].*".
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*/test[.].*".
  • 518 files match defined criteria (89,834 LOC, 92.2% vs. main code):
    • 459 *.java files (79,769 LOC)
    • 58 *.xml files (10,040 LOC)
    • 1 *.xsl files (25 LOC)
  • " *.java" is biggest, containing 88.8% of LOC.
  • " *.xsl" is smallest, containing 0.03% of LOC.


*.java79769 LOC (88%) 459 files
*.xml10040 LOC (11%) 58 files
*.xsl25 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 ".*/pom[.]xml".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 24 files match defined criteria (2,617 LOC, 2.7% vs. main code). All matches are in *.xml files.


*.xml2617 LOC (100%) 24 files
Other Code
properties
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/checkstyle.*".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[Ss]amples/.*".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]md".
    • files with paths like ".*/[Dd]emos?/.*".
  • 402 files match defined criteria (26,642 LOC, 27.3% vs. main code):
    • 186 *.java files (17,308 LOC)
    • 144 *.json files (6,866 LOC)
    • 40 *.xml files (1,658 LOC)
    • 9 *.properties files (337 LOC)
    • 17 *.jsp files (273 LOC)
    • 2 *.txt files (113 LOC)
    • 1 *.css files (59 LOC)
    • 1 *.html files (16 LOC)
    • 1 *.md files (10 LOC)
    • 1 *.groovy files (2 LOC)
  • " *.java" is biggest, containing 64.97% of LOC.
  • " *.groovy" is smallest, containing 0.01% of LOC.


*.java17308 LOC (64%) 186 files
*.json6866 LOC (25%) 144 files
*.xml1658 LOC (6%) 40 files
*.properties337 LOC (1%) 9 files
*.jsp273 LOC (1%) 17 files
*.txt113 LOC (<1%) 2 files
*.css59 LOC (<1%) 1 file
*.html16 LOC (<1%) 1 file
*.md10 LOC (<1%) 1 file
*.groovy2 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 15:41