alibaba / async_simple
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
ipp
txt
s
clang-format
lua
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.

main119491 LOC (93%) 755 files
test5455 LOC (4%) 28 files
generated0 LOC (0%) 0 files
build and deployment0 LOC (0%) 0 files
other2355 LOC (1%) 26 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
ipp
lua
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 755 files match defined criteria (119,491 LOC, 100.0% vs. main code):
    • 581 *.hpp files (92,852 LOC)
    • 78 *.ipp files (18,334 LOC)
    • 58 *.h files (5,869 LOC)
    • 26 *.cpp files (1,875 LOC)
    • 2 *.py files (234 LOC)
    • 2 *.cc files (150 LOC)
    • 4 *.cmake files (85 LOC)
    • 1 *.lua files (48 LOC)
    • 2 *.bzl files (40 LOC)
    • 1 *.html files (4 LOC)
  • " *.hpp" is biggest, containing 77.71% of LOC.
  • " *.html" is smallest, containing 0% of LOC.


*.hpp92852 LOC (77%) 581 files
*.ipp18334 LOC (15%) 78 files
*.h5869 LOC (4%) 58 files
*.cpp1875 LOC (1%) 26 files
*.py234 LOC (<1%) 2 files
*.cc150 LOC (<1%) 2 files
*.cmake85 LOC (<1%) 4 files
*.lua48 LOC (<1%) 1 file
*.bzl40 LOC (<1%) 2 files
*.html4 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_.*".
  • 28 files match defined criteria (5,455 LOC, 4.6% vs. main code):
    • 26 *.cpp files (5,404 LOC)
    • 2 *.h files (51 LOC)
  • " *.cpp" is biggest, containing 99.07% of LOC.
  • " *.h" is smallest, containing 0.93% of LOC.


*.cpp5404 LOC (99%) 26 files
*.h51 LOC (<1%) 2 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 ".*[.]json".
    • files with paths like ".*/[.]gitignore".
  • 26 files match defined criteria (2,355 LOC, 2.0% vs. main code):
    • 22 *.txt files (1,847 LOC)
    • 3 *.md files (490 LOC)
    • 1 *.json files (18 LOC)
  • " *.txt" is biggest, containing 78.43% of LOC.
  • " *.json" is smallest, containing 0.76% of LOC.


*.txt1847 LOC (78%) 22 files
*.md490 LOC (20%) 3 files
*.json18 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-14 18:55