apache / openwebbeans
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
mod
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.

main44630 LOC (43%) 489 files
test37463 LOC (36%) 1,114 files
generated0 LOC (0%) 0 files
build and deployment4367 LOC (4%) 39 files
other17305 LOC (16%) 169 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
mod
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 489 files match defined criteria (44,630 LOC, 100.0% vs. main code):
    • 436 *.java files (43,443 LOC)
    • 47 *.xml files (1,056 LOC)
    • 4 *.jsp files (51 LOC)
    • 1 *.rdf files (48 LOC)
    • 1 *.mod files (32 LOC)
  • " *.java" is biggest, containing 97.34% of LOC.
  • " *.mod" is smallest, containing 0.07% of LOC.


*.java43443 LOC (97%) 436 files
*.xml1056 LOC (2%) 47 files
*.jsp51 LOC (<1%) 4 files
*.rdf48 LOC (<1%) 1 file
*.mod32 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/.*".
    • files with paths like ".*/[Tt]ests/.*".
  • 1114 files match defined criteria (37,463 LOC, 83.9% vs. main code):
    • 1,055 *.java files (36,968 LOC)
    • 58 *.xml files (485 LOC)
    • 1 *.html files (10 LOC)
  • " *.java" is biggest, containing 98.68% of LOC.
  • " *.html" is smallest, containing 0.03% of LOC.


*.java36968 LOC (98%) 1,055 files
*.xml485 LOC (1%) 58 files
*.html10 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 ".*[.]sh".
    • files with paths like ".*[.]bat".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 39 files match defined criteria (4,367 LOC, 9.8% vs. main code):
    • 36 *.xml files (4,178 LOC)
    • 2 *.sh files (104 LOC)
    • 1 *.bat files (85 LOC)
  • " *.xml" is biggest, containing 95.67% of LOC.
  • " *.bat" is smallest, containing 1.95% of LOC.


*.xml4178 LOC (95%) 36 files
*.sh104 LOC (2%) 2 files
*.bat85 LOC (1%) 1 file
Other Code
txt
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]properties".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]adoc".
    • files with paths like ".*/[Ss]amples/.*".
    • files with paths like ".*[.]txt".
  • 169 files match defined criteria (17,305 LOC, 38.8% vs. main code):
    • 17 *.txt files (11,244 LOC)
    • 71 *.java files (2,771 LOC)
    • 32 *.xml files (1,139 LOC)
    • 22 *.properties files (951 LOC)
    • 18 *.xhtml files (854 LOC)
    • 2 *.asciidoc files (193 LOC)
    • 1 *.css files (72 LOC)
    • 1 *.adoc files (59 LOC)
    • 3 *.html files (16 LOC)
    • 2 *.jsp files (6 LOC)
  • " *.txt" is biggest, containing 64.98% of LOC.
  • " *.jsp" is smallest, containing 0.03% of LOC.


*.txt11244 LOC (64%) 17 files
*.java2771 LOC (16%) 71 files
*.xml1139 LOC (6%) 32 files
*.properties951 LOC (5%) 22 files
*.xhtml854 LOC (4%) 18 files
*.asciidoc193 LOC (1%) 2 files
*.css72 LOC (<1%) 1 file
*.adoc59 LOC (<1%) 1 file
*.html16 LOC (<1%) 3 files
*.jsp6 LOC (<1%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 15:24