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.

main97401 LOC (45%) 1,290 files
test89728 LOC (41%) 517 files
generated0 LOC (0%) 0 files
build and deployment2594 LOC (1%) 24 files
other26623 LOC (12%) 401 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,401 LOC, 100.0% vs. main code):
    • 1,211 *.java files (92,598 LOC)
    • 71 *.xml files (4,684 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.07% of LOC.
  • " *.groovy" is smallest, containing 0.01% of LOC.


*.java92598 LOC (95%) 1,211 files
*.xml4684 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[.].*".
  • 517 files match defined criteria (89,728 LOC, 92.1% vs. main code):
    • 458 *.java files (79,663 LOC)
    • 58 *.xml files (10,040 LOC)
    • 1 *.xsl files (25 LOC)
  • " *.java" is biggest, containing 88.78% of LOC.
  • " *.xsl" is smallest, containing 0.03% of LOC.


*.java79663 LOC (88%) 458 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,594 LOC, 2.7% vs. main code). All matches are in *.xml files.


*.xml2594 LOC (100%) 24 files
Other Code
properties
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • files with paths like ".*/[Dd]emos?/.*".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[Ss]amples/.*".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]md".
    • files with paths like ".*/checkstyle.*".
  • 401 files match defined criteria (26,623 LOC, 27.3% vs. main code):
    • 186 *.java files (17,308 LOC)
    • 143 *.json files (6,847 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 65.01% of LOC.
  • " *.groovy" is smallest, containing 0.01% of LOC.


*.java17308 LOC (65%) 186 files
*.json6847 LOC (25%) 143 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.


2023-08-10 15:03