aliyun / alibabacloud-odps-maxframe-client
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
pxd
pyi
in
cfg
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.

main44159 LOC (84%) 590 files
test7979 LOC (15%) 111 files
generated0 LOC (0%) 0 files
build and deployment0 LOC (0%) 0 files
other310 LOC (<1%) 5 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
cfg
pyi
pxd
in
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 590 files match defined criteria (44,159 LOC, 100.0% vs. main code):
    • 576 *.py files (41,847 LOC)
    • 3 *.pyx files (1,521 LOC)
    • 2 *.cpp files (513 LOC)
    • 1 *.cfg files (97 LOC)
    • 1 *.toml files (57 LOC)
    • 2 *.pyi files (49 LOC)
    • 3 *.pxd files (46 LOC)
    • 1 *.h files (17 LOC)
    • 1 *.in files (12 LOC)
  • " *.py" is biggest, containing 94.76% of LOC.
  • " *.in" is smallest, containing 0.03% of LOC.


*.py41847 LOC (94%) 576 files
*.pyx1521 LOC (3%) 3 files
*.cpp513 LOC (1%) 2 files
*.cfg97 LOC (<1%) 1 file
*.toml57 LOC (<1%) 1 file
*.pyi49 LOC (<1%) 2 files
*.pxd46 LOC (<1%) 3 files
*.h17 LOC (<1%) 1 file
*.in12 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]ests/.*".
    • files with paths like ".*/test_.*".
    • files with paths like ".*/test[-]data/.*".
  • 111 files match defined criteria (7,979 LOC, 18.1% vs. main code):
    • 110 *.py files (7,968 LOC)
    • 1 *.xml files (11 LOC)
  • " *.py" is biggest, containing 99.86% of LOC.
  • " *.xml" is smallest, containing 0.14% of LOC.


*.py7968 LOC (99%) 110 files
*.xml11 LOC (<1%) 1 file
Other Code
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.](rst|rest|resttxt|rsttxt)".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
  • 5 files match defined criteria (310 LOC, 0.7% vs. main code):
    • 4 *.txt files (259 LOC)
    • 1 *.rst files (51 LOC)
  • " *.txt" is biggest, containing 83.55% of LOC.
  • " *.rst" is smallest, containing 16.45% of LOC.


*.txt259 LOC (83%) 4 files
*.rst51 LOC (16%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-15 05:21