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.

main14806 LOC (10%) 118 files
test0 LOC (0%) 0 files
generated0 LOC (0%) 0 files
build and deployment0 LOC (0%) 0 files
other132805 LOC (89%) 1,796 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 ".*".
  • 118 files match defined criteria (14,806 LOC, 100.0% vs. main code):
    • 24 *.css files (7,015 LOC)
    • 12 *.scss files (2,311 LOC)
    • 1 *.xsd files (1,680 LOC)
    • 49 *.html files (1,534 LOC)
    • 7 *.toml files (1,078 LOC)
    • 5 *.js files (786 LOC)
    • 18 *.yaml files (368 LOC)
    • 1 *.webmanifest files (22 LOC)
    • 1 *.xml files (12 LOC)
  • " *.css" is biggest, containing 47.38% of LOC.
  • " *.xml" is smallest, containing 0.08% of LOC.


*.css7015 LOC (47%) 24 files
*.scss2311 LOC (15%) 12 files
*.xsd1680 LOC (11%) 1 file
*.html1534 LOC (10%) 49 files
*.toml1078 LOC (7%) 7 files
*.js786 LOC (5%) 5 files
*.yaml368 LOC (2%) 18 files
*.webmanifest22 LOC (<1%) 1 file
*.xml12 LOC (<1%) 1 file
Other Code
mod
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/go[.]mod".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]md".
    • files with paths like ".*/[Ss]amples/.*".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*[.]svg".
    • files with paths like ".*/[Dd]emos?/.*".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]htaccess".
  • 1796 files match defined criteria (132,805 LOC, 897.0% vs. main code):
    • 1,780 *.md files (129,023 LOC)
    • 14 *.svg files (3,759 LOC)
    • 1 *.json files (20 LOC)
    • 1 *.mod files (3 LOC)
  • " *.md" is biggest, containing 97.15% of LOC.
  • " *.mod" is smallest, containing 0% of LOC.


*.md129023 LOC (97%) 1,780 files
*.svg3759 LOC (2%) 14 files
*.json20 LOC (<1%) 1 file
*.mod3 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 15:50