apache / ofbiz-plugins
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
xsd
project
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.

main154541 LOC (93%) 1,033 files
test904 LOC (<1%) 14 files
generated4167 LOC (2%) 2 files
build and deployment96 LOC (<1%) 9 files
other5381 LOC (3%) 41 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
xsd
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 1033 files match defined criteria (154,541 LOC, 100.0% vs. main code):
    • 413 *.xml files (78,271 LOC)
    • 254 *.ftl files (28,753 LOC)
    • 136 *.java files (25,935 LOC)
    • 155 *.groovy files (8,409 LOC)
    • 31 *.js files (7,718 LOC)
    • 11 *.css files (4,875 LOC)
    • 1 *.py files (203 LOC)
    • 3 *.tsx files (119 LOC)
    • 3 *.html files (110 LOC)
    • 24 *.jsp files (69 LOC)
    • 1 *.xsd files (69 LOC)
    • 1 *.ts files (10 LOC)
  • " *.xml" is biggest, containing 50.65% of LOC.
  • " *.ts" is smallest, containing 0.01% of LOC.


*.xml78271 LOC (50%) 413 files
*.ftl28753 LOC (18%) 254 files
*.java25935 LOC (16%) 136 files
*.groovy8409 LOC (5%) 155 files
*.js7718 LOC (4%) 31 files
*.css4875 LOC (3%) 11 files
*.py203 LOC (<1%) 1 file
*.tsx119 LOC (<1%) 3 files
*.html110 LOC (<1%) 3 files
*.jsp69 LOC (<1%) 24 files
*.xsd69 LOC (<1%) 1 file
*.ts10 LOC (<1%) 1 file
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/.*".
  • 14 files match defined criteria (904 LOC, 0.6% vs. main code):
    • 11 *.xml files (672 LOC)
    • 2 *.groovy files (170 LOC)
    • 1 *.java files (62 LOC)
  • " *.xml" is biggest, containing 74.34% of LOC.
  • " *.java" is smallest, containing 6.86% of LOC.


*.xml672 LOC (74%) 11 files
*.groovy170 LOC (18%) 2 files
*.java62 LOC (6%) 1 file
Generated Code
Automatically generated files, not manually changed after generation.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/package[-]lock[.]json".
  • 2 files match defined criteria (4,167 LOC, 2.7% vs. main code). All matches are in *.json files.


*.json4167 LOC (100%) 2 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 ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]gradle".
    • files with paths like ".*/package[-]lock[.]json".
    • files with paths like ".*/package[.]json".
  • 9 files match defined criteria (96 LOC, 0.1% vs. main code). All matches are in *.gradle files.


*.gradle96 LOC (100%) 9 files
Other Code
txt
properties
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 ".*[.]adoc".
    • files with paths like ".*/asciidoc/.*".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]properties".
  • 41 files match defined criteria (5,381 LOC, 3.5% vs. main code):
    • 6 *.json files (4,231 LOC)
    • 9 *.txt files (570 LOC)
    • 12 *.properties files (310 LOC)
    • 13 *.md files (247 LOC)
    • 1 *.adoc files (23 LOC)
  • " *.json" is biggest, containing 78.63% of LOC.
  • " *.adoc" is smallest, containing 0.43% of LOC.


*.json4231 LOC (78%) 6 files
*.txt570 LOC (10%) 9 files
*.properties310 LOC (5%) 12 files
*.md247 LOC (4%) 13 files
*.adoc23 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 16:55