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.

main10295 LOC (10%) 42 files
test0 LOC (0%) 0 files
generated51203 LOC (53%) 3 files
build and deployment39 LOC (<1%) 3 files
other34162 LOC (35%) 232 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 ".*".
  • 42 files match defined criteria (10,295 LOC, 100.0% vs. main code):
    • 3 *.xml files (3,320 LOC)
    • 3 *.yaml files (2,776 LOC)
    • 15 *.css files (2,088 LOC)
    • 11 *.html files (1,442 LOC)
    • 6 *.js files (462 LOC)
    • 2 *.xsl files (110 LOC)
    • 1 *.py files (73 LOC)
    • 1 *.cmd files (24 LOC)
  • " *.xml" is biggest, containing 32.25% of LOC.
  • " *.cmd" is smallest, containing 0.23% of LOC.


*.xml3320 LOC (32%) 3 files
*.yaml2776 LOC (26%) 3 files
*.css2088 LOC (20%) 15 files
*.html1442 LOC (14%) 11 files
*.js462 LOC (4%) 6 files
*.xsl110 LOC (1%) 2 files
*.py73 LOC (<1%) 1 file
*.cmd24 LOC (<1%) 1 file
Generated Code
Automatically generated files, not manually changed after generation.
eps
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.](ps|eps|pfa)".
    • files with any line of content like "\<\!\-\-[ ]*Generated by .*".
  • 3 files match defined criteria (51,203 LOC, 497.4% vs. main code):
    • 2 *.eps files (50,631 LOC)
    • 1 *.html files (572 LOC)
  • " *.eps" is biggest, containing 98.88% of LOC.
  • " *.html" is smallest, containing 1.12% of LOC.


*.eps50631 LOC (98%) 2 files
*.html572 LOC (1%) 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 (39 LOC, 0.4% vs. main code). All matches are in *.sh files.


*.sh39 LOC (100%) 3 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 ".*[.]txt".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]htaccess".
    • files with paths like ".*[.]svg".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*[.]json".
  • 232 files match defined criteria (34,162 LOC, 331.8% vs. main code):
    • 168 *.md files (16,464 LOC)
    • 34 *.svg files (14,846 LOC)
    • 28 *.txt files (2,001 LOC)
    • 2 *.json files (851 LOC)
  • " *.md" is biggest, containing 48.19% of LOC.
  • " *.json" is smallest, containing 2.49% of LOC.


*.md16464 LOC (48%) 168 files
*.svg14846 LOC (43%) 34 files
*.txt2001 LOC (5%) 28 files
*.json851 LOC (2%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 20:26