aliyun / aliyun-odps-openapi-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
mod
patch
tea
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.

main3962 LOC (76%) 34 files
test677 LOC (13%) 3 files
generated0 LOC (0%) 0 files
build and deployment363 LOC (6%) 6 files
other192 LOC (3%) 6 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
tea
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 34 files match defined criteria (3,962 LOC, 100.0% vs. main code):
    • 11 *.py files (1,640 LOC)
    • 19 *.java files (1,224 LOC)
    • 3 *.go files (1,094 LOC)
    • 1 *.tea files (4 LOC)
  • " *.py" is biggest, containing 41.39% of LOC.
  • " *.tea" is smallest, containing 0.1% of LOC.


*.py1640 LOC (41%) 11 files
*.java1224 LOC (30%) 19 files
*.go1094 LOC (27%) 3 files
*.tea4 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 ".*/test_.*".
    • files with paths like ".*_test[.].*".
  • 3 files match defined criteria (677 LOC, 17.1% vs. main code):
    • 1 *.java files (355 LOC)
    • 1 *.go files (291 LOC)
    • 1 *.py files (31 LOC)
  • " *.java" is biggest, containing 52.44% of LOC.
  • " *.py" is smallest, containing 4.58% of LOC.


*.java355 LOC (52%) 1 file
*.go291 LOC (42%) 1 file
*.py31 LOC (4%) 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 ".*[.]sh".
    • files with paths like ".*/pom[.]xml".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 6 files match defined criteria (363 LOC, 9.2% vs. main code):
    • 3 *.xml files (250 LOC)
    • 3 *.sh files (113 LOC)
  • " *.xml" is biggest, containing 68.87% of LOC.
  • " *.sh" is smallest, containing 31.13% of LOC.


*.xml250 LOC (68%) 3 files
*.sh113 LOC (31%) 3 files
Other Code
patch
mod
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 ".*/[.]gitignore".
    • files with paths like ".*/go[.]mod".
    • files with paths like ".*[.]patch".
    • files with paths like ".*[.]txt".
  • 6 files match defined criteria (192 LOC, 4.8% vs. main code):
    • 1 *.patch files (86 LOC)
    • 3 *.mod files (55 LOC)
    • 2 *.md files (51 LOC)
  • " *.patch" is biggest, containing 44.79% of LOC.
  • " *.md" is smallest, containing 26.56% of LOC.


*.patch86 LOC (44%) 1 file
*.mod55 LOC (28%) 3 files
*.md51 LOC (26%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-15 05:25