alibaba / spring-ai-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
txt
st
eml
mk
properties
mbox
cmd
stylelintignore
npmrc
bib
eslintignore
prettierignore
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.

main66497 LOC (74%) 890 files
test13349 LOC (14%) 165 files
generated0 LOC (0%) 0 files
build and deployment6637 LOC (7%) 85 files
other3196 LOC (3%) 79 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 ".*".
  • 890 files match defined criteria (66,497 LOC, 100.0% vs. main code):
    • 739 *.java files (50,812 LOC)
    • 53 *.tsx files (6,097 LOC)
    • 19 *.js files (3,482 LOC)
    • 29 *.css files (2,857 LOC)
    • 4 *.yaml files (1,236 LOC)
    • 27 *.ts files (877 LOC)
    • 3 *.html files (647 LOC)
    • 14 *.less files (317 LOC)
    • 1 *.xml files (104 LOC)
    • 1 *.py files (68 LOC)
  • " *.java" is biggest, containing 76.41% of LOC.
  • " *.py" is smallest, containing 0.1% of LOC.


*.java50812 LOC (76%) 739 files
*.tsx6097 LOC (9%) 53 files
*.js3482 LOC (5%) 19 files
*.css2857 LOC (4%) 29 files
*.yaml1236 LOC (1%) 4 files
*.ts877 LOC (1%) 27 files
*.html647 LOC (<1%) 3 files
*.less317 LOC (<1%) 14 files
*.xml104 LOC (<1%) 1 file
*.py68 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
eml
st
mbox
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*/test[.].*".
  • 165 files match defined criteria (13,349 LOC, 20.1% vs. main code):
    • 142 *.java files (12,800 LOC)
    • 4 *.eml files (288 LOC)
    • 11 *.st files (81 LOC)
    • 2 *.mbox files (70 LOC)
    • 2 *.xml files (54 LOC)
    • 2 *.html files (50 LOC)
    • 1 *.yaml files (5 LOC)
    • 1 *.py files (1 LOC)
  • " *.java" is biggest, containing 95.89% of LOC.
  • " *.py" is smallest, containing 0.01% of LOC.


*.java12800 LOC (95%) 142 files
*.eml288 LOC (2%) 4 files
*.st81 LOC (<1%) 11 files
*.mbox70 LOC (<1%) 2 files
*.xml54 LOC (<1%) 2 files
*.html50 LOC (<1%) 2 files
*.yaml5 LOC (<1%) 1 file
*.py1 LOC (<1%) 1 file
Build and Deployment Code
Source code used to configure or support build and deployment process.
mk
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/pom[.]xml".
    • files with paths like ".*[.]mk".
    • files with paths like ".*/package[.]json".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]bat".
  • 85 files match defined criteria (6,637 LOC, 10.0% vs. main code):
    • 79 *.xml files (6,407 LOC)
    • 4 *.mk files (152 LOC)
    • 2 *.bat files (78 LOC)
  • " *.xml" is biggest, containing 96.53% of LOC.
  • " *.bat" is smallest, containing 1.18% of LOC.


*.xml6407 LOC (96%) 79 files
*.mk152 LOC (2%) 4 files
*.bat78 LOC (1%) 2 files
Other Code
txt
properties
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 ".*/checkstyle.*".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]json".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]stylelintignore".
    • files with paths like ".*[.]npmrc".
    • files with paths like ".*/[.]eslintignore".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/[.]prettierignore".
  • 79 files match defined criteria (3,196 LOC, 4.8% vs. main code):
    • 47 *.md files (2,601 LOC)
    • 11 *.json files (410 LOC)
    • 18 *.txt files (124 LOC)
    • 2 *.properties files (50 LOC)
    • 1 *.xml files (11 LOC)
  • " *.md" is biggest, containing 81.38% of LOC.
  • " *.xml" is smallest, containing 0.34% of LOC.


*.md2601 LOC (81%) 47 files
*.json410 LOC (12%) 11 files
*.txt124 LOC (3%) 18 files
*.properties50 LOC (1%) 2 files
*.xml11 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-14 19:00