apache / directory-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
cgi
htaccess
xsl
txt
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.

main9432 LOC (21%) 131 files
test0 LOC (0%) 0 files
generated0 LOC (0%) 0 files
build and deployment0 LOC (0%) 0 files
other33727 LOC (78%) 522 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
xsl
cgi
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 131 files match defined criteria (9,432 LOC, 100.0% vs. main code):
    • 11 *.xml files (3,081 LOC)
    • 12 *.xsl files (2,518 LOC)
    • 57 *.html files (1,691 LOC)
    • 19 *.css files (1,160 LOC)
    • 2 *.js files (689 LOC)
    • 27 *.cgi files (176 LOC)
    • 2 *.rdf files (82 LOC)
    • 1 *.toml files (35 LOC)
  • " *.xml" is biggest, containing 32.67% of LOC.
  • " *.toml" is smallest, containing 0.37% of LOC.


*.xml3081 LOC (32%) 11 files
*.xsl2518 LOC (26%) 12 files
*.html1691 LOC (17%) 57 files
*.css1160 LOC (12%) 19 files
*.js689 LOC (7%) 2 files
*.cgi176 LOC (1%) 27 files
*.rdf82 LOC (<1%) 2 files
*.toml35 LOC (<1%) 1 file
Other Code
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[.]htaccess".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]svg".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
  • 522 files match defined criteria (33,727 LOC, 357.6% vs. main code):
    • 519 *.md files (33,440 LOC)
    • 2 *.svg files (189 LOC)
    • 1 *.txt files (98 LOC)
  • " *.md" is biggest, containing 99.15% of LOC.
  • " *.txt" is smallest, containing 0.29% of LOC.


*.md33440 LOC (99%) 519 files
*.svg189 LOC (<1%) 2 files
*.txt98 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 20:20