apache / geronimo-devtools
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
txt
xsd
project
classpath
properties
ini
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.

main97843 LOC (78%) 1,213 files
test9777 LOC (7%) 115 files
generated213 LOC (<1%) 8 files
build and deployment7142 LOC (5%) 44 files
other10008 LOC (8%) 86 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 ".*".
  • 1213 files match defined criteria (97,843 LOC, 100.0% vs. main code):
    • 1,119 *.java files (87,150 LOC)
    • 38 *.xsd files (7,977 LOC)
    • 38 *.xml files (2,436 LOC)
    • 15 *.jsp files (236 LOC)
    • 3 *.html files (44 LOC)
  • " *.java" is biggest, containing 89.07% of LOC.
  • " *.html" is smallest, containing 0.04% of LOC.


*.java87150 LOC (89%) 1,119 files
*.xsd7977 LOC (8%) 38 files
*.xml2436 LOC (2%) 38 files
*.jsp236 LOC (<1%) 15 files
*.html44 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/.*".
  • 115 files match defined criteria (9,777 LOC, 10.0% vs. main code):
    • 106 *.xml files (7,437 LOC)
    • 9 *.java files (2,340 LOC)
  • " *.xml" is biggest, containing 76.07% of LOC.
  • " *.java" is smallest, containing 23.93% of LOC.


*.xml7437 LOC (76%) 106 files
*.java2340 LOC (23%) 9 files
Generated Code
Automatically generated files, not manually changed after generation.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with any line of content like "// This file was generated .*".
  • 8 files match defined criteria (213 LOC, 0.2% vs. main code). All matches are in *.java files.


*.java213 LOC (100%) 8 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 ".*/build[.]xml".
    • files with paths like ".*/pom[.]xml".
  • 44 files match defined criteria (7,142 LOC, 7.3% vs. main code). All matches are in *.xml files.


*.xml7142 LOC (100%) 44 files
Other Code
txt
properties
ini
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 ".*[.]txt".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*[.]ini".
  • 86 files match defined criteria (10,008 LOC, 10.2% vs. main code):
    • 65 *.txt files (7,468 LOC)
    • 17 *.properties files (2,396 LOC)
    • 4 *.ini files (144 LOC)
  • " *.txt" is biggest, containing 74.62% of LOC.
  • " *.ini" is smallest, containing 1.44% of LOC.


*.txt7468 LOC (74%) 65 files
*.properties2396 LOC (23%) 17 files
*.ini144 LOC (1%) 4 files
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 14:02