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.

main48856 LOC (6%) 292 files
test0 LOC (0%) 0 files
generated643163 LOC (88%) 3,015 files
build and deployment111 LOC (<1%) 2 files
other35288 LOC (4%) 369 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 ".*".
  • 292 files match defined criteria (48,856 LOC, 100.0% vs. main code):
    • 135 *.css files (29,919 LOC)
    • 120 *.html files (17,787 LOC)
    • 30 *.js files (866 LOC)
    • 2 *.rb files (164 LOC)
    • 1 *.xml files (60 LOC)
    • 1 *.yml files (27 LOC)
    • 1 *.rdf files (22 LOC)
    • 1 *.cgi files (6 LOC)
    • 1 *.cfg files (5 LOC)
  • " *.css" is biggest, containing 61.24% of LOC.
  • " *.cfg" is smallest, containing 0.01% of LOC.


*.css29919 LOC (61%) 135 files
*.html17787 LOC (36%) 120 files
*.js866 LOC (1%) 30 files
*.rb164 LOC (<1%) 2 files
*.xml60 LOC (<1%) 1 file
*.yml27 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, 1316.4% 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".
  • 2 files match defined criteria (111 LOC, 0.2% vs. main code):
    • 1 *.xml files (109 LOC)
    • 1 *.sh files (2 LOC)
  • " *.xml" is biggest, containing 98.2% of LOC.
  • " *.sh" is smallest, containing 1.8% of LOC.


*.xml109 LOC (98%) 1 file
*.sh2 LOC (1%) 1 file
Other Code
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 ".*[.]txt".
    • files with paths like ".*[.]svg".
    • files with paths like ".*/[.]htaccess".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
  • 369 files match defined criteria (35,288 LOC, 72.2% vs. main code):
    • 362 *.md files (35,196 LOC)
    • 3 *.svg files (57 LOC)
    • 4 *.txt files (35 LOC)
  • " *.md" is biggest, containing 99.74% of LOC.
  • " *.txt" is smallest, containing 0.1% of LOC.


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


2023-08-10 13:19