apache / dubbo-getty
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
properties
mod
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.

main2887 LOC (18%) 12 files
test600 LOC (3%) 3 files
generated0 LOC (0%) 0 files
build and deployment9 LOC (<1%) 1 file
other12069 LOC (77%) 218 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 ".*".
  • 12 files match defined criteria (2,887 LOC, 100.0% vs. main code). All matches are in *.go files.


*.go2887 LOC (100%) 12 files
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*_test[.].*".
    • files with paths like ".*/[Tt]est/.*".
  • 3 files match defined criteria (600 LOC, 20.8% vs. main code). All matches are in *.go files.


*.go600 LOC (100%) 3 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 ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 1 file matches defined criteria (9 LOC, 0.3% vs. main code). All matches are in *.sh files.


*.sh9 LOC (100%) 1 file
Other Code
properties
mod
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]md".
    • files with paths like ".*/[Dd]emos?/.*".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/go[.]mod".
    • files with paths like ".*[.]json".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]txt".
  • 218 files match defined criteria (12,069 LOC, 418.0% vs. main code):
    • 59 *.go files (4,723 LOC)
    • 6 *.js files (3,698 LOC)
    • 24 *.xml files (1,224 LOC)
    • 87 *.sh files (1,174 LOC)
    • 18 *.toml files (651 LOC)
    • 2 *.css files (160 LOC)
    • 6 *.yml files (156 LOC)
    • 8 *.properties files (112 LOC)
    • 5 *.md files (109 LOC)
    • 2 *.html files (46 LOC)
    • 1 *.mod files (16 LOC)
  • " *.go" is biggest, containing 39.13% of LOC.
  • " *.mod" is smallest, containing 0.13% of LOC.


*.go4723 LOC (39%) 59 files
*.js3698 LOC (30%) 6 files
*.xml1224 LOC (10%) 24 files
*.sh1174 LOC (9%) 87 files
*.toml651 LOC (5%) 18 files
*.css160 LOC (1%) 2 files
*.yml156 LOC (1%) 6 files
*.properties112 LOC (<1%) 8 files
*.md109 LOC (<1%) 5 files
*.html46 LOC (<1%) 2 files
*.mod16 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 22:09