apache / dubbo-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
mod
htaccess
webmanifest
xsd
txt
gitmodules
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.

main16791 LOC (9%) 138 files
test0 LOC (0%) 0 files
generated859 LOC (<1%) 4 files
build and deployment153 LOC (<1%) 3 files
other158995 LOC (89%) 1,991 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
xsd
webmanifest
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 138 files match defined criteria (16,791 LOC, 100.0% vs. main code):
    • 26 *.css files (7,059 LOC)
    • 57 *.html files (2,449 LOC)
    • 13 *.scss files (2,373 LOC)
    • 1 *.xsd files (1,680 LOC)
    • 7 *.toml files (1,270 LOC)
    • 10 *.js files (811 LOC)
    • 2 *.vue files (677 LOC)
    • 20 *.yaml files (438 LOC)
    • 1 *.webmanifest files (22 LOC)
    • 1 *.xml files (12 LOC)
  • " *.css" is biggest, containing 42.04% of LOC.
  • " *.xml" is smallest, containing 0.07% of LOC.


*.css7059 LOC (42%) 26 files
*.html2449 LOC (14%) 57 files
*.scss2373 LOC (14%) 13 files
*.xsd1680 LOC (10%) 1 file
*.toml1270 LOC (7%) 7 files
*.js811 LOC (4%) 10 files
*.vue677 LOC (4%) 2 files
*.yaml438 LOC (2%) 20 files
*.webmanifest22 LOC (<1%) 1 file
*.xml12 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 .*".
  • 4 files match defined criteria (859 LOC, 5.1% vs. main code). All matches are in *.md files.


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


*.sh153 LOC (100%) 3 files
Other Code
mod
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 ".*[.]svg".
    • files with paths like ".*[.]json".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/go[.]mod".
    • files with paths like ".*/[Dd]emos?/.*".
    • files with paths like ".*/[Ss]amples/.*".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*/[.]htaccess".
  • 1991 files match defined criteria (158,995 LOC, 946.9% vs. main code):
    • 1,943 *.md files (152,036 LOC)
    • 44 *.svg files (6,865 LOC)
    • 3 *.json files (88 LOC)
    • 1 *.mod files (6 LOC)
  • " *.md" is biggest, containing 95.62% of LOC.
  • " *.mod" is smallest, containing 0% of LOC.


*.md152036 LOC (95%) 1,943 files
*.svg6865 LOC (4%) 44 files
*.json88 LOC (<1%) 3 files
*.mod6 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 15:54