apache / struts-archetypes
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
cmd
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.

main2368 LOC (51%) 101 files
test155 LOC (3%) 8 files
generated0 LOC (0%) 0 files
build and deployment991 LOC (21%) 15 files
other1082 LOC (23%) 29 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 101 files match defined criteria (2,368 LOC, 100.0% vs. main code):
    • 38 *.xml files (883 LOC)
    • 15 *.css files (705 LOC)
    • 17 *.java files (360 LOC)
    • 21 *.jsp files (294 LOC)
    • 7 *.js files (109 LOC)
    • 3 *.html files (17 LOC)
  • " *.xml" is biggest, containing 37.29% of LOC.
  • " *.html" is smallest, containing 0.72% of LOC.


*.xml883 LOC (37%) 38 files
*.css705 LOC (29%) 15 files
*.java360 LOC (15%) 17 files
*.jsp294 LOC (12%) 21 files
*.js109 LOC (4%) 7 files
*.html17 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 ".*/[Tt]est/.*".
  • 8 files match defined criteria (155 LOC, 6.5% vs. main code). All matches are in *.java files.


*.java155 LOC (100%) 8 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".
  • 15 files match defined criteria (991 LOC, 41.8% vs. main code). All matches are in *.xml files.


*.xml991 LOC (100%) 15 files
Other Code
txt
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]txt".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]md".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
  • 29 files match defined criteria (1,082 LOC, 45.7% vs. main code):
    • 18 *.txt files (881 LOC)
    • 1 *.md files (174 LOC)
    • 9 *.properties files (26 LOC)
    • 1 *.json files (1 LOC)
  • " *.txt" is biggest, containing 81.42% of LOC.
  • " *.json" is smallest, containing 0.09% of LOC.


*.txt881 LOC (81%) 18 files
*.md174 LOC (16%) 1 file
*.properties26 LOC (2%) 9 files
*.json1 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 17:03