aliyun / aliyun-openapi-java-sdk
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
properties
ini
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.

main3666869 LOC (98%) 61,821 files
test13009 LOC (<1%) 175 files
generated0 LOC (0%) 0 files
build and deployment43174 LOC (1%) 361 files
other14985 LOC (<1%) 372 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 ".*".
  • 61821 files match defined criteria (3,666,869 LOC, 100.0% vs. main code):
    • 61,820 *.java files (3,666,864 LOC)
    • 1 *.xml files (5 LOC)
  • " *.java" is biggest, containing 100% of LOC.
  • " *.xml" is smallest, containing 0% of LOC.


*.java3666864 LOC (99%) 61,820 files
*.xml5 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/.*".
  • 175 files match defined criteria (13,009 LOC, 0.4% vs. main code). All matches are in *.java files.


*.java13009 LOC (100%) 175 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".
  • 361 files match defined criteria (43,174 LOC, 1.2% vs. main code). All matches are in *.xml files.


*.xml43174 LOC (100%) 361 files
Other Code
txt
ini
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]ini".
    • files with paths like ".*/[.]gitignore".
  • 372 files match defined criteria (14,985 LOC, 0.4% vs. main code):
    • 360 *.txt files (13,546 LOC)
    • 5 *.json files (1,158 LOC)
    • 4 *.md files (240 LOC)
    • 1 *.ini files (37 LOC)
    • 2 *.properties files (4 LOC)
  • " *.txt" is biggest, containing 90.4% of LOC.
  • " *.properties" is smallest, containing 0.03% of LOC.


*.txt13546 LOC (90%) 360 files
*.json1158 LOC (7%) 5 files
*.md240 LOC (1%) 4 files
*.ini37 LOC (<1%) 1 file
*.properties4 LOC (<1%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-15 06:38