apache / maven-site-plugin
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
cgi
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.

main4707 LOC (32%) 154 files
test3326 LOC (22%) 150 files
generated0 LOC (0%) 0 files
build and deployment4661 LOC (32%) 112 files
other1794 LOC (12%) 85 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
cgi
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 154 files match defined criteria (4,707 LOC, 100.0% vs. main code):
    • 42 *.java files (2,505 LOC)
    • 70 *.xml files (1,327 LOC)
    • 31 *.groovy files (372 LOC)
    • 5 *.css files (350 LOC)
    • 2 *.xhtml files (119 LOC)
    • 1 *.cgi files (22 LOC)
    • 3 *.html files (12 LOC)
  • " *.java" is biggest, containing 53.22% of LOC.
  • " *.html" is smallest, containing 0.25% of LOC.


*.java2505 LOC (53%) 42 files
*.xml1327 LOC (28%) 70 files
*.groovy372 LOC (7%) 31 files
*.css350 LOC (7%) 5 files
*.xhtml119 LOC (2%) 2 files
*.cgi22 LOC (<1%) 1 file
*.html12 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 ".*[-]test[-].*".
  • 150 files match defined criteria (3,326 LOC, 70.7% vs. main code):
    • 80 *.xml files (1,984 LOC)
    • 70 *.java files (1,342 LOC)
  • " *.xml" is biggest, containing 59.65% of LOC.
  • " *.java" is smallest, containing 40.35% of LOC.


*.xml1984 LOC (59%) 80 files
*.java1342 LOC (40%) 70 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".
  • 112 files match defined criteria (4,661 LOC, 99.0% vs. main code). All matches are in *.xml files.


*.xml4661 LOC (100%) 112 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 ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]markdown".
  • 85 files match defined criteria (1,794 LOC, 38.1% vs. main code):
    • 71 *.properties files (1,445 LOC)
    • 10 *.txt files (191 LOC)
    • 3 *.md files (137 LOC)
    • 1 *.markdown files (21 LOC)
  • " *.properties" is biggest, containing 80.55% of LOC.
  • " *.markdown" is smallest, containing 1.17% of LOC.


*.properties1445 LOC (80%) 71 files
*.txt191 LOC (10%) 10 files
*.md137 LOC (7%) 3 files
*.markdown21 LOC (1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 21:05