apache / dubbo-admin
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
cmd
txt
editorconfig
tpl
eslintignore
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.

main19739 LOC (80%) 239 files
test2582 LOC (10%) 37 files
generated0 LOC (0%) 0 files
build and deployment1192 LOC (4%) 7 files
other915 LOC (3%) 24 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
tpl
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 239 files match defined criteria (19,739 LOC, 100.0% vs. main code):
    • 175 *.java files (10,293 LOC)
    • 29 *.vue files (7,026 LOC)
    • 14 *.js files (1,040 LOC)
    • 13 *.yaml files (963 LOC)
    • 1 *.css files (217 LOC)
    • 4 *.xml files (140 LOC)
    • 1 *.tpl files (37 LOC)
    • 1 *.html files (13 LOC)
    • 1 *.sql files (10 LOC)
  • " *.java" is biggest, containing 52.15% of LOC.
  • " *.sql" is smallest, containing 0.05% of LOC.


*.java10293 LOC (52%) 175 files
*.vue7026 LOC (35%) 29 files
*.js1040 LOC (5%) 14 files
*.yaml963 LOC (4%) 13 files
*.css217 LOC (1%) 1 file
*.xml140 LOC (<1%) 4 files
*.tpl37 LOC (<1%) 1 file
*.html13 LOC (<1%) 1 file
*.sql10 LOC (<1%) 1 file
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 ".*/[Tt]est/.*".
    • files with paths like ".*/test[.].*".
  • 37 files match defined criteria (2,582 LOC, 13.1% vs. main code):
    • 27 *.java files (1,791 LOC)
    • 3 *.vue files (679 LOC)
    • 7 *.sh files (112 LOC)
  • " *.java" is biggest, containing 69.36% of LOC.
  • " *.sh" is smallest, containing 4.34% of LOC.


*.java1791 LOC (69%) 27 files
*.vue679 LOC (26%) 3 files
*.sh112 LOC (4%) 7 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 ".*/pom[.]xml".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]sh".
    • files with paths like ".*/package[.]json".
  • 7 files match defined criteria (1,192 LOC, 6.0% vs. main code):
    • 5 *.xml files (1,156 LOC)
    • 2 *.sh files (36 LOC)
  • " *.xml" is biggest, containing 96.98% of LOC.
  • " *.sh" is smallest, containing 3.02% of LOC.


*.xml1156 LOC (96%) 5 files
*.sh36 LOC (3%) 2 files
Other Code
properties
txt
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 ".*[.]txt".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]editorconfig".
    • files with paths like ".*/[.]eslintignore".
    • files with paths like ".*/checkstyle[.]xml".
    • files with paths like ".*/checkstyle.*".
  • 24 files match defined criteria (915 LOC, 4.6% vs. main code):
    • 12 *.properties files (647 LOC)
    • 6 *.md files (155 LOC)
    • 4 *.json files (64 LOC)
    • 1 *.txt files (29 LOC)
    • 1 *.xml files (20 LOC)
  • " *.properties" is biggest, containing 70.71% of LOC.
  • " *.xml" is smallest, containing 2.19% of LOC.


*.properties647 LOC (70%) 12 files
*.md155 LOC (16%) 6 files
*.json64 LOC (6%) 4 files
*.txt29 LOC (3%) 1 file
*.xml20 LOC (2%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 17:32