apache / maven-war-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.

main2806 LOC (32%) 89 files
test3253 LOC (37%) 46 files
generated0 LOC (0%) 0 files
build and deployment1865 LOC (21%) 50 files
other699 LOC (8%) 37 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 ".*".
  • 89 files match defined criteria (2,806 LOC, 100.0% vs. main code):
    • 28 *.java files (2,325 LOC)
    • 32 *.xml files (244 LOC)
    • 13 *.jsp files (101 LOC)
    • 8 *.groovy files (80 LOC)
    • 6 *.html files (33 LOC)
    • 1 *.cgi files (22 LOC)
    • 1 *.js files (1 LOC)
  • " *.java" is biggest, containing 82.86% of LOC.
  • " *.js" is smallest, containing 0.04% of LOC.


*.java2325 LOC (82%) 28 files
*.xml244 LOC (8%) 32 files
*.jsp101 LOC (3%) 13 files
*.groovy80 LOC (2%) 8 files
*.html33 LOC (1%) 6 files
*.cgi22 LOC (<1%) 1 file
*.js1 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 ".*/test[.].*".
  • 46 files match defined criteria (3,253 LOC, 115.9% vs. main code):
    • 34 *.java files (3,155 LOC)
    • 8 *.xml files (80 LOC)
    • 4 *.jsp files (18 LOC)
  • " *.java" is biggest, containing 96.99% of LOC.
  • " *.jsp" is smallest, containing 0.55% of LOC.


*.java3155 LOC (96%) 34 files
*.xml80 LOC (2%) 8 files
*.jsp18 LOC (<1%) 4 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".
  • 50 files match defined criteria (1,865 LOC, 66.5% vs. main code):
    • 49 *.xml files (1,863 LOC)
    • 1 *.sh files (2 LOC)
  • " *.xml" is biggest, containing 99.89% of LOC.
  • " *.sh" is smallest, containing 0.11% of LOC.


*.xml1863 LOC (99%) 49 files
*.sh2 LOC (<1%) 1 file
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 ".*/[.]gitignore".
  • 37 files match defined criteria (699 LOC, 24.9% vs. main code):
    • 28 *.properties files (494 LOC)
    • 8 *.txt files (134 LOC)
    • 1 *.md files (71 LOC)
  • " *.properties" is biggest, containing 70.67% of LOC.
  • " *.md" is smallest, containing 10.16% of LOC.


*.properties494 LOC (70%) 28 files
*.txt134 LOC (19%) 8 files
*.md71 LOC (10%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 17:31