apache / www-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
eps
htaccess
xsl
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.

main10111 LOC (21%) 40 files
test0 LOC (0%) 0 files
generated572 LOC (1%) 1 file
build and deployment38 LOC (<1%) 3 files
other36816 LOC (77%) 228 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
xsl
cmd
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 40 files match defined criteria (10,111 LOC, 100.0% vs. main code):
    • 3 *.xml files (3,320 LOC)
    • 3 *.yaml files (2,803 LOC)
    • 14 *.css files (1,999 LOC)
    • 11 *.html files (1,401 LOC)
    • 6 *.js files (454 LOC)
    • 2 *.xsl files (110 LOC)
    • 1 *.cmd files (24 LOC)
  • " *.xml" is biggest, containing 32.84% of LOC.
  • " *.cmd" is smallest, containing 0.24% of LOC.


*.xml3320 LOC (32%) 3 files
*.yaml2803 LOC (27%) 3 files
*.css1999 LOC (19%) 14 files
*.html1401 LOC (13%) 11 files
*.js454 LOC (4%) 6 files
*.xsl110 LOC (1%) 2 files
*.cmd24 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 any line of content like "\<\!\-\-[ ]*Generated by .*".
  • 1 file matches defined criteria (572 LOC, 5.7% vs. main code). All matches are in *.html files.


*.html572 LOC (100%) 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 ".*[.]sh".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 3 files match defined criteria (38 LOC, 0.4% vs. main code). All matches are in *.sh files.


*.sh38 LOC (100%) 3 files
Other Code
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]md".
    • files with paths like ".*[.]svg".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*/[.]htaccess".
    • files with paths like ".*/[.]gitignore".
  • 228 files match defined criteria (36,816 LOC, 364.1% vs. main code):
    • 168 *.md files (17,081 LOC)
    • 29 *.svg files (14,752 LOC)
    • 29 *.txt files (4,132 LOC)
    • 2 *.json files (851 LOC)
  • " *.md" is biggest, containing 46.4% of LOC.
  • " *.json" is smallest, containing 2.31% of LOC.


*.md17081 LOC (46%) 168 files
*.svg14752 LOC (40%) 29 files
*.txt4132 LOC (11%) 29 files
*.json851 LOC (2%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2023-08-11 02:13