apache / openwebbeans-meecrowave
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
gsp
txt
builder
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.

main19015 LOC (72%) 167 files
test4812 LOC (18%) 114 files
generated0 LOC (0%) 0 files
build and deployment2109 LOC (8%) 14 files
other299 LOC (1%) 12 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
gsp
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 167 files match defined criteria (19,015 LOC, 100.0% vs. main code):
    • 140 *.java files (15,782 LOC)
    • 18 *.adoc files (1,720 LOC)
    • 1 *.css files (1,285 LOC)
    • 4 *.gsp files (158 LOC)
    • 1 *.js files (41 LOC)
    • 3 *.xml files (29 LOC)
  • " *.java" is biggest, containing 83% of LOC.
  • " *.xml" is smallest, containing 0.15% of LOC.


*.java15782 LOC (82%) 140 files
*.adoc1720 LOC (9%) 18 files
*.css1285 LOC (6%) 1 file
*.gsp158 LOC (<1%) 4 files
*.js41 LOC (<1%) 1 file
*.xml29 LOC (<1%) 3 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/.*".
    • files with paths like ".*[-]tests/.*".
    • files with paths like ".*/[Tt]ests/.*".
  • 114 files match defined criteria (4,812 LOC, 25.3% vs. main code):
    • 93 *.java files (4,217 LOC)
    • 15 *.xml files (490 LOC)
    • 3 *.groovy files (64 LOC)
    • 1 *.jsp files (31 LOC)
    • 2 *.html files (10 LOC)
  • " *.java" is biggest, containing 87.64% of LOC.
  • " *.html" is smallest, containing 0.21% of LOC.


*.java4217 LOC (87%) 93 files
*.xml490 LOC (10%) 15 files
*.groovy64 LOC (1%) 3 files
*.jsp31 LOC (<1%) 1 file
*.html10 LOC (<1%) 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 ".*/pom[.]xml".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]sh".
    • files with paths like ".*[.]bat".
  • 14 files match defined criteria (2,109 LOC, 11.1% vs. main code). All matches are in *.xml files.


*.xml2109 LOC (100%) 14 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 ".*[.]properties".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
  • 12 files match defined criteria (299 LOC, 1.6% vs. main code):
    • 7 *.properties files (144 LOC)
    • 3 *.json files (76 LOC)
    • 1 *.adoc files (74 LOC)
    • 1 *.txt files (5 LOC)
  • " *.properties" is biggest, containing 48.16% of LOC.
  • " *.txt" is smallest, containing 1.67% of LOC.


*.properties144 LOC (48%) 7 files
*.json76 LOC (25%) 3 files
*.adoc74 LOC (24%) 1 file
*.txt5 LOC (1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 18:13