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.

main9177 LOC (23%) 120 files
test0 LOC (0%) 0 files
generated0 LOC (0%) 0 files
build and deployment0 LOC (0%) 0 files
other30393 LOC (76%) 497 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 ".*".
  • 120 files match defined criteria (9,177 LOC, 100.0% vs. main code):
    • 11 *.xml files (3,081 LOC)
    • 12 *.xsl files (2,518 LOC)
    • 49 *.html files (1,590 LOC)
    • 17 *.css files (1,009 LOC)
    • 2 *.js files (689 LOC)
    • 26 *.cgi files (173 LOC)
    • 2 *.rdf files (82 LOC)
    • 1 *.toml files (35 LOC)
  • " *.xml" is biggest, containing 33.57% of LOC.
  • " *.toml" is smallest, containing 0.38% of LOC.


*.xml3081 LOC (33%) 11 files
*.xsl2518 LOC (27%) 12 files
*.html1590 LOC (17%) 49 files
*.css1009 LOC (10%) 17 files
*.js689 LOC (7%) 2 files
*.cgi173 LOC (1%) 26 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 ".*[.]json".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]htaccess".
    • files with paths like ".*[.]txt".
  • 497 files match defined criteria (30,393 LOC, 331.2% vs. main code):
    • 496 *.md files (30,295 LOC)
    • 1 *.txt files (98 LOC)
  • " *.md" is biggest, containing 99.68% of LOC.
  • " *.txt" is smallest, containing 0.32% of LOC.


*.md30295 LOC (99%) 496 files
*.txt98 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-11 02:04