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.

main4763 LOC (32%) 152 files
test3319 LOC (22%) 150 files
generated0 LOC (0%) 0 files
build and deployment4668 LOC (32%) 111 files
other1809 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 ".*".
  • 152 files match defined criteria (4,763 LOC, 100.0% vs. main code):
    • 42 *.java files (2,579 LOC)
    • 69 *.xml files (1,315 LOC)
    • 30 *.groovy files (366 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 54.15% of LOC.
  • " *.html" is smallest, containing 0.25% of LOC.


*.java2579 LOC (54%) 42 files
*.xml1315 LOC (27%) 69 files
*.groovy366 LOC (7%) 30 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 ".*/test[.].*".
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*[-]test[-].*".
  • 150 files match defined criteria (3,319 LOC, 69.7% vs. main code):
    • 80 *.xml files (1,984 LOC)
    • 70 *.java files (1,335 LOC)
  • " *.xml" is biggest, containing 59.78% of LOC.
  • " *.java" is smallest, containing 40.22% of LOC.


*.xml1984 LOC (59%) 80 files
*.java1335 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".
  • 111 files match defined criteria (4,668 LOC, 98.0% vs. main code). All matches are in *.xml files.


*.xml4668 LOC (100%) 111 files
Other Code
properties
txt
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 ".*[.]properties".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]markdown".
    • files with paths like ".*/changes[.]xml".
    • files with paths like ".*/[.]gitignore".
  • 85 files match defined criteria (1,809 LOC, 38.0% vs. main code):
    • 70 *.properties files (1,428 LOC)
    • 10 *.txt files (191 LOC)
    • 3 *.md files (124 LOC)
    • 1 *.xml files (45 LOC)
    • 1 *.markdown files (21 LOC)
  • " *.properties" is biggest, containing 78.94% of LOC.
  • " *.markdown" is smallest, containing 1.16% of LOC.


*.properties1428 LOC (78%) 70 files
*.txt191 LOC (10%) 10 files
*.md124 LOC (6%) 3 files
*.xml45 LOC (2%) 1 file
*.markdown21 LOC (1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 17:25