aliyun / alibabacloud-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
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.

main7788930 LOC (97%) 104,284 files
test515 LOC (<1%) 7 files
generated0 LOC (0%) 0 files
build and deployment120853 LOC (1%) 694 files
other64583 LOC (<1%) 2,083 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 ".*".
  • 104284 files match defined criteria (7,788,930 LOC, 100.0% vs. main code). All matches are in *.java files.


*.java7788930 LOC (100%) 104,284 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[-].*".
  • 7 files match defined criteria (515 LOC, 0.0% vs. main code):
    • 6 *.java files (334 LOC)
    • 1 *.xml files (181 LOC)
  • " *.java" is biggest, containing 64.85% of LOC.
  • " *.xml" is smallest, containing 35.15% of LOC.


*.java334 LOC (64%) 6 files
*.xml181 LOC (35%) 1 file
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".
  • 694 files match defined criteria (120,853 LOC, 1.6% vs. main code). All matches are in *.xml files.


*.xml120853 LOC (100%) 694 files
Other Code
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 ".*/[.]gitignore".
  • 2083 files match defined criteria (64,583 LOC, 0.8% vs. main code):
    • 694 *.txt files (34,106 LOC)
    • 1,389 *.md files (30,477 LOC)
  • " *.txt" is biggest, containing 52.81% of LOC.
  • " *.md" is smallest, containing 47.19% of LOC.


*.txt34106 LOC (52%) 694 files
*.md30477 LOC (47%) 1,389 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-15 20:14