alibaba / spring-cloud-alibaba
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
prefs
x
txt
cmd
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.

main18943 LOC (44%) 309 files
test6442 LOC (15%) 107 files
generated0 LOC (0%) 0 files
build and deployment3880 LOC (9%) 73 files
other12880 LOC (30%) 163 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
prefs
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 309 files match defined criteria (18,943 LOC, 100.0% vs. main code):
    • 266 *.java files (16,879 LOC)
    • 32 *.yaml files (848 LOC)
    • 1 *.prefs files (412 LOC)
    • 2 *.xml files (315 LOC)
    • 4 *.html files (257 LOC)
    • 3 *.sql files (213 LOC)
    • 1 *.js files (19 LOC)
  • " *.java" is biggest, containing 89.1% of LOC.
  • " *.js" is smallest, containing 0.1% of LOC.


*.java16879 LOC (89%) 266 files
*.yaml848 LOC (4%) 32 files
*.prefs412 LOC (2%) 1 file
*.xml315 LOC (1%) 2 files
*.html257 LOC (1%) 4 files
*.sql213 LOC (1%) 3 files
*.js19 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 ".*[-]tests/.*".
    • files with paths like ".*/[Tt]ests/.*".
    • files with paths like ".*[-]test[-].*".
  • 107 files match defined criteria (6,442 LOC, 34.0% vs. main code):
    • 94 *.java files (5,969 LOC)
    • 13 *.xml files (473 LOC)
  • " *.java" is biggest, containing 92.66% of LOC.
  • " *.xml" is smallest, containing 7.34% of LOC.


*.java5969 LOC (92%) 94 files
*.xml473 LOC (7%) 13 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 ".*[.]sh".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 73 files match defined criteria (3,880 LOC, 20.5% vs. main code):
    • 61 *.xml files (3,797 LOC)
    • 12 *.sh files (83 LOC)
  • " *.xml" is biggest, containing 97.86% of LOC.
  • " *.sh" is smallest, containing 2.14% of LOC.


*.xml3797 LOC (97%) 61 files
*.sh83 LOC (2%) 12 files
Other Code
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]json".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/checkstyle.*".
  • 163 files match defined criteria (12,880 LOC, 68.0% vs. main code):
    • 41 *.json files (6,934 LOC)
    • 17 *.md files (3,411 LOC)
    • 94 *.java files (2,417 LOC)
    • 10 *.properties files (109 LOC)
    • 1 *.xml files (9 LOC)
  • " *.json" is biggest, containing 53.84% of LOC.
  • " *.xml" is smallest, containing 0.07% of LOC.


*.json6934 LOC (53%) 41 files
*.md3411 LOC (26%) 17 files
*.java2417 LOC (18%) 94 files
*.properties109 LOC (<1%) 10 files
*.xml9 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-14 18:51