apache / maven-ear-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
txt
properties
cgi
har
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.

main3759 LOC (24%) 62 files
test9656 LOC (63%) 308 files
generated0 LOC (0%) 0 files
build and deployment1488 LOC (9%) 44 files
other345 LOC (2%) 23 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 ".*".
  • 62 files match defined criteria (3,759 LOC, 100.0% vs. main code):
    • 37 *.java files (3,409 LOC)
    • 19 *.xml files (251 LOC)
    • 5 *.groovy files (77 LOC)
    • 1 *.cgi files (22 LOC)
  • " *.java" is biggest, containing 90.69% of LOC.
  • " *.cgi" is smallest, containing 0.59% of LOC.


*.java3409 LOC (90%) 37 files
*.xml251 LOC (6%) 19 files
*.groovy77 LOC (2%) 5 files
*.cgi22 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
har
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]est/.*".
  • 308 files match defined criteria (9,656 LOC, 256.9% vs. main code):
    • 290 *.xml files (7,798 LOC)
    • 17 *.java files (1,857 LOC)
    • 1 *.har files (1 LOC)
  • " *.xml" is biggest, containing 80.76% of LOC.
  • " *.har" is smallest, containing 0.01% of LOC.


*.xml7798 LOC (80%) 290 files
*.java1857 LOC (19%) 17 files
*.har1 LOC (<1%) 1 file
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".
  • 44 files match defined criteria (1,488 LOC, 39.6% vs. main code). All matches are in *.xml files.


*.xml1488 LOC (100%) 44 files
Other Code
txt
properties
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 ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*[.]properties".
  • 23 files match defined criteria (345 LOC, 9.2% vs. main code):
    • 15 *.txt files (130 LOC)
    • 7 *.properties files (130 LOC)
    • 1 *.md files (85 LOC)
  • " *.txt" is biggest, containing 37.68% of LOC.
  • " *.md" is smallest, containing 24.64% of LOC.


*.txt130 LOC (37%) 15 files
*.properties130 LOC (37%) 7 files
*.md85 LOC (24%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 21:07