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

main608 LOC (15%) 22 files
test1134 LOC (27%) 17 files
generated0 LOC (0%) 0 files
build and deployment1116 LOC (27%) 27 files
other1194 LOC (29%) 56 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 ".*".
  • 22 files match defined criteria (608 LOC, 100.0% vs. main code):
    • 6 *.java files (337 LOC)
    • 12 *.groovy files (163 LOC)
    • 3 *.xml files (86 LOC)
    • 1 *.cgi files (22 LOC)
  • " *.java" is biggest, containing 55.43% of LOC.
  • " *.cgi" is smallest, containing 3.62% of LOC.


*.java337 LOC (55%) 6 files
*.groovy163 LOC (26%) 12 files
*.xml86 LOC (14%) 3 files
*.cgi22 LOC (3%) 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[-].*".
  • 17 files match defined criteria (1,134 LOC, 186.5% vs. main code):
    • 12 *.java files (994 LOC)
    • 5 *.xml files (140 LOC)
  • " *.java" is biggest, containing 87.65% of LOC.
  • " *.xml" is smallest, containing 12.35% of LOC.


*.java994 LOC (87%) 12 files
*.xml140 LOC (12%) 5 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".
  • 27 files match defined criteria (1,116 LOC, 183.6% vs. main code):
    • 26 *.xml files (1,114 LOC)
    • 1 *.sh files (2 LOC)
  • " *.xml" is biggest, containing 99.82% of LOC.
  • " *.sh" is smallest, containing 0.18% of LOC.


*.xml1114 LOC (99%) 26 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".
  • 56 files match defined criteria (1,194 LOC, 196.4% vs. main code):
    • 34 *.properties files (696 LOC)
    • 20 *.txt files (410 LOC)
    • 2 *.md files (88 LOC)
  • " *.properties" is biggest, containing 58.29% of LOC.
  • " *.md" is smallest, containing 7.37% of LOC.


*.properties696 LOC (58%) 34 files
*.txt410 LOC (34%) 20 files
*.md88 LOC (7%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 21:07