aliyun / aliyun-openapi-cpp-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
in
clang-format
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.

main3425615 LOC (97%) 64,811 files
test3311 LOC (<1%) 57 files
generated0 LOC (0%) 0 files
build and deployment32 LOC (<1%) 3 files
other84233 LOC (2%) 296 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
in
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 64811 files match defined criteria (3,425,615 LOC, 100.0% vs. main code):
    • 32,267 *.cc files (2,003,180 LOC)
    • 32,541 *.h files (1,419,342 LOC)
    • 1 *.py files (2,984 LOC)
    • 1 *.js files (89 LOC)
    • 1 *.in files (20 LOC)
  • " *.cc" is biggest, containing 58.48% of LOC.
  • " *.in" is smallest, containing 0% of LOC.


*.cc2003180 LOC (58%) 32,267 files
*.h1419342 LOC (41%) 32,541 files
*.py2984 LOC (<1%) 1 file
*.js89 LOC (<1%) 1 file
*.in20 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
in
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*_test[.].*".
    • files with paths like ".*/test[.].*".
    • files with paths like ".*/[Tt]est/.*".
  • 57 files match defined criteria (3,311 LOC, 0.1% vs. main code):
    • 48 *.cc files (2,728 LOC)
    • 2 *.cmake files (340 LOC)
    • 2 *.h files (126 LOC)
    • 2 *.sh files (51 LOC)
    • 1 *.js files (38 LOC)
    • 2 *.in files (28 LOC)
  • " *.cc" is biggest, containing 82.39% of LOC.
  • " *.in" is smallest, containing 0.85% of LOC.


*.cc2728 LOC (82%) 48 files
*.cmake340 LOC (10%) 2 files
*.h126 LOC (3%) 2 files
*.sh51 LOC (1%) 2 files
*.js38 LOC (1%) 1 file
*.in28 LOC (<1%) 2 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 ".*[.]sh".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/package[.]json".
  • 3 files match defined criteria (32 LOC, 0.0% vs. main code). All matches are in *.sh files.


*.sh32 LOC (100%) 3 files
Other Code
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]txt".
    • 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 ".*[.]json".
  • 296 files match defined criteria (84,233 LOC, 2.5% vs. main code):
    • 281 *.txt files (83,399 LOC)
    • 6 *.md files (443 LOC)
    • 7 *.cc files (312 LOC)
    • 1 *.h files (63 LOC)
    • 1 *.json files (16 LOC)
  • " *.txt" is biggest, containing 99.01% of LOC.
  • " *.json" is smallest, containing 0.02% of LOC.


*.txt83399 LOC (99%) 281 files
*.md443 LOC (<1%) 6 files
*.cc312 LOC (<1%) 7 files
*.h63 LOC (<1%) 1 file
*.json16 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-15 05:27