apache / systemds-website
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
htaccess
gitattributes
txt
obj
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.

main2625 LOC (64%) 41 files
test0 LOC (0%) 0 files
generated0 LOC (0%) 0 files
build and deployment0 LOC (0%) 0 files
other1436 LOC (35%) 38 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 41 files match defined criteria (2,625 LOC, 100.0% vs. main code):
    • 15 *.scss files (1,346 LOC)
    • 18 *.html files (905 LOC)
    • 6 *.yml files (256 LOC)
    • 2 *.js files (118 LOC)
  • " *.scss" is biggest, containing 51.28% of LOC.
  • " *.js" is smallest, containing 4.5% of LOC.


*.scss1346 LOC (51%) 15 files
*.html905 LOC (34%) 18 files
*.yml256 LOC (9%) 6 files
*.js118 LOC (4%) 2 files
Other Code
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]md".
    • files with paths like ".*[.]svg".
    • files with paths like ".*[.]json".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[.]htaccess".
  • 38 files match defined criteria (1,436 LOC, 54.7% vs. main code):
    • 22 *.md files (1,227 LOC)
    • 15 *.svg files (177 LOC)
    • 1 *.json files (32 LOC)
  • " *.md" is biggest, containing 85.45% of LOC.
  • " *.json" is smallest, containing 2.23% of LOC.


*.md1227 LOC (85%) 22 files
*.svg177 LOC (12%) 15 files
*.json32 LOC (2%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 16:08