apache / struts-site
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
cgi
htaccess
cfg
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.

main45206 LOC (6%) 270 files
test0 LOC (0%) 0 files
generated643163 LOC (88%) 3,015 files
build and deployment114 LOC (<1%) 3 files
other36692 LOC (5%) 377 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
cgi
cfg
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 270 files match defined criteria (45,206 LOC, 100.0% vs. main code):
    • 116 *.css files (26,437 LOC)
    • 118 *.html files (17,646 LOC)
    • 30 *.js files (866 LOC)
    • 2 *.rb files (164 LOC)
    • 1 *.xml files (60 LOC)
    • 1 *.rdf files (22 LOC)
    • 1 *.cgi files (6 LOC)
    • 1 *.cfg files (5 LOC)
  • " *.css" is biggest, containing 58.48% of LOC.
  • " *.cfg" is smallest, containing 0.01% of LOC.


*.css26437 LOC (58%) 116 files
*.html17646 LOC (39%) 118 files
*.js866 LOC (1%) 30 files
*.rb164 LOC (<1%) 2 files
*.xml60 LOC (<1%) 1 file
*.rdf22 LOC (<1%) 1 file
*.cgi6 LOC (<1%) 1 file
*.cfg5 LOC (<1%) 1 file
Generated Code
Automatically generated files, not manually changed after generation.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.](html|html|xhtml)" AND any line of content like "[ ]*[<]meta name[=]"generator" .*".
    • files with any line of content like "\<\!\-\-[ ]*Generated by .*".
  • 3015 files match defined criteria (643,163 LOC, 1422.7% vs. main code). All matches are in *.html files.


*.html643163 LOC (100%) 3,015 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".
  • 3 files match defined criteria (114 LOC, 0.3% vs. main code):
    • 1 *.xml files (109 LOC)
    • 2 *.sh files (5 LOC)
  • " *.xml" is biggest, containing 95.61% of LOC.
  • " *.sh" is smallest, containing 4.39% of LOC.


*.xml109 LOC (95%) 1 file
*.sh5 LOC (4%) 2 files
Other Code
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 ".*/[.]gitignore".
    • files with paths like ".*[.]svg".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[.]htaccess".
  • 377 files match defined criteria (36,692 LOC, 81.2% vs. main code):
    • 370 *.md files (36,600 LOC)
    • 3 *.svg files (57 LOC)
    • 4 *.txt files (35 LOC)
  • " *.md" is biggest, containing 99.75% of LOC.
  • " *.txt" is smallest, containing 0.1% of LOC.


*.md36600 LOC (99%) 370 files
*.svg57 LOC (<1%) 3 files
*.txt35 LOC (<1%) 4 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 15:19