aliyun / aliyun-tablestore-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
proto
properties
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.

main61128 LOC (50%) 944 files
test52779 LOC (43%) 285 files
generated3444 LOC (2%) 1 file
build and deployment524 LOC (<1%) 4 files
other4272 LOC (3%) 29 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
proto
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 944 files match defined criteria (61,128 LOC, 100.0% vs. main code):
    • 937 *.java files (58,845 LOC)
    • 6 *.proto files (2,254 LOC)
    • 1 *.xml files (29 LOC)
  • " *.java" is biggest, containing 96.27% of LOC.
  • " *.xml" is smallest, containing 0.05% of LOC.


*.java58845 LOC (96%) 937 files
*.proto2254 LOC (3%) 6 files
*.xml29 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 ".*/mock[a-zA-Z0-9_\- ]+/.*".
  • 285 files match defined criteria (52,779 LOC, 86.3% vs. main code):
    • 284 *.java files (52,741 LOC)
    • 1 *.xml files (38 LOC)
  • " *.java" is biggest, containing 99.93% of LOC.
  • " *.xml" is smallest, containing 0.07% of LOC.


*.java52741 LOC (99%) 284 files
*.xml38 LOC (<1%) 1 file
Generated Code
Automatically generated files, not manually changed after generation.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with any line of content like "//[ ]*Generated by .*".
    • files with paths like ".*[.](py|java|h|cc|cpp|m|rb|php)" AND any line of content like ".*Generated by the protocol buffer compiler[.][ ]+DO NOT EDIT[!].*".
  • 1 file matches defined criteria (3,444 LOC, 5.6% vs. main code). All matches are in *.java files.


*.java3444 LOC (100%) 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".
  • 4 files match defined criteria (524 LOC, 0.9% vs. main code). All matches are in *.xml files.


*.xml524 LOC (100%) 4 files
Other Code
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]properties".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
  • 29 files match defined criteria (4,272 LOC, 7.0% vs. main code):
    • 22 *.java files (4,169 LOC)
    • 6 *.properties files (74 LOC)
    • 1 *.md files (29 LOC)
  • " *.java" is biggest, containing 97.59% of LOC.
  • " *.md" is smallest, containing 0.68% of LOC.


*.java4169 LOC (97%) 22 files
*.properties74 LOC (1%) 6 files
*.md29 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-15 04:54