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

main1773148 LOC (91%) 1,243 files
test0 LOC (0%) 0 files
generated0 LOC (0%) 0 files
build and deployment22310 LOC (1%) 1,455 files
other151191 LOC (7%) 1,957 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 ".*".
  • 1243 files match defined criteria (1,773,148 LOC, 100.0% vs. main code):
    • 287 *.hpp files (914,809 LOC)
    • 471 *.cpp files (856,884 LOC)
    • 485 *.in files (1,455 LOC)
  • " *.hpp" is biggest, containing 51.59% of LOC.
  • " *.in" is smallest, containing 0.08% of LOC.


*.hpp914809 LOC (51%) 287 files
*.cpp856884 LOC (48%) 471 files
*.in1455 LOC (<1%) 485 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".
  • 1455 files match defined criteria (22,310 LOC, 1.3% vs. main code). All matches are in *.sh files.


*.sh22310 LOC (100%) 1,455 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".
  • 1957 files match defined criteria (151,191 LOC, 8.5% vs. main code):
    • 975 *.txt files (81,593 LOC)
    • 982 *.md files (69,598 LOC)
  • " *.txt" is biggest, containing 53.97% of LOC.
  • " *.md" is smallest, containing 46.03% of LOC.


*.txt81593 LOC (53%) 975 files
*.md69598 LOC (46%) 982 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-15 05:12