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.

main2830 LOC (32%) 90 files
test3216 LOC (37%) 46 files
generated0 LOC (0%) 0 files
build and deployment1861 LOC (21%) 50 files
other713 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 ".*".
  • 90 files match defined criteria (2,830 LOC, 100.0% vs. main code):
    • 28 *.java files (2,295 LOC)
    • 33 *.xml files (298 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 81.1% of LOC.
  • " *.js" is smallest, containing 0.04% of LOC.


*.java2295 LOC (81%) 28 files
*.xml298 LOC (10%) 33 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/.*".
  • 46 files match defined criteria (3,216 LOC, 113.6% vs. main code):
    • 34 *.java files (3,118 LOC)
    • 8 *.xml files (80 LOC)
    • 4 *.jsp files (18 LOC)
  • " *.java" is biggest, containing 96.95% of LOC.
  • " *.jsp" is smallest, containing 0.56% of LOC.


*.java3118 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 ".*[.]sh".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 50 files match defined criteria (1,861 LOC, 65.8% vs. main code):
    • 49 *.xml files (1,859 LOC)
    • 1 *.sh files (2 LOC)
  • " *.xml" is biggest, containing 99.89% of LOC.
  • " *.sh" is smallest, containing 0.11% of LOC.


*.xml1859 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 ".*[.]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".
  • 37 files match defined criteria (713 LOC, 25.2% vs. main code):
    • 28 *.properties files (494 LOC)
    • 8 *.txt files (134 LOC)
    • 1 *.md files (85 LOC)
  • " *.properties" is biggest, containing 69.28% of LOC.
  • " *.md" is smallest, containing 11.92% of LOC.


*.properties494 LOC (69%) 28 files
*.txt134 LOC (18%) 8 files
*.md85 LOC (11%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 21:08