apache / causeway-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
xsd
npmignore
txt
hbs
mdown
cgi
gitattributes
patch
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.

main1298958 LOC (29%) 5,749 files
test0 LOC (0%) 0 files
generated3114322 LOC (69%) 3,071 files
build and deployment2065 LOC (<1%) 34 files
other35300 LOC (<1%) 147 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
xsd
cgi
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 5749 files match defined criteria (1,298,958 LOC, 100.0% vs. main code):
    • 5,062 *.html files (1,149,255 LOC)
    • 250 *.css files (57,760 LOC)
    • 55 *.js files (33,050 LOC)
    • 201 *.xsd files (27,112 LOC)
    • 112 *.xml files (17,214 LOC)
    • 17 *.rdf files (10,301 LOC)
    • 32 *.scss files (4,000 LOC)
    • 16 *.rb files (128 LOC)
    • 3 *.pm files (119 LOC)
    • 1 *.cgi files (19 LOC)
  • " *.html" is biggest, containing 88.48% of LOC.
  • " *.cgi" is smallest, containing 0% of LOC.


*.html1149255 LOC (88%) 5,062 files
*.css57760 LOC (4%) 250 files
*.js33050 LOC (2%) 55 files
*.xsd27112 LOC (2%) 201 files
*.xml17214 LOC (1%) 112 files
*.rdf10301 LOC (<1%) 17 files
*.scss4000 LOC (<1%) 32 files
*.rb128 LOC (<1%) 16 files
*.pm119 LOC (<1%) 3 files
*.cgi19 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" .*".
  • 3071 files match defined criteria (3,114,322 LOC, 239.8% vs. main code). All matches are in *.html files.


*.html3114322 LOC (100%) 3,071 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".
    • files with paths like ".*/package[.]json".
    • files with paths like ".*/[.]gitattributes".
  • 34 files match defined criteria (2,065 LOC, 0.2% vs. main code):
    • 33 *.sh files (2,053 LOC)
    • 1 *.xml files (12 LOC)
  • " *.sh" is biggest, containing 99.42% of LOC.
  • " *.xml" is smallest, containing 0.58% of LOC.


*.sh2053 LOC (99%) 33 files
*.xml12 LOC (<1%) 1 file
Other Code
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]json".
    • files with paths like ".*/[.]npmignore".
    • files with paths like ".*[.]mdown".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]patch".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*[.]markdown".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]svg".
    • files with paths like ".*/asciidoc/.*".
    • files with paths like ".*/[Dd]ocumentation/.*".
    • files with paths like ".*/[Dd]emos?/.*".
  • 147 files match defined criteria (35,300 LOC, 2.7% vs. main code):
    • 26 *.html files (24,582 LOC)
    • 112 *.svg files (10,468 LOC)
    • 4 *.json files (133 LOC)
    • 1 *.md files (79 LOC)
    • 4 *.txt files (38 LOC)
  • " *.html" is biggest, containing 69.64% of LOC.
  • " *.txt" is smallest, containing 0.11% of LOC.


*.html24582 LOC (69%) 26 files
*.svg10468 LOC (29%) 112 files
*.json133 LOC (<1%) 4 files
*.md79 LOC (<1%) 1 file
*.txt38 LOC (<1%) 4 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 19:51