aliyun / ossfs
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
gnuplot
gitattributes
in
txt
clang-tidy
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.

main20951 LOC (78%) 78 files
test4282 LOC (16%) 20 files
generated0 LOC (0%) 0 files
build and deployment558 LOC (2%) 7 files
other938 LOC (3%) 7 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
gnuplot
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 78 files match defined criteria (20,951 LOC, 100.0% vs. main code):
    • 35 *.cpp files (18,284 LOC)
    • 35 *.h files (1,985 LOC)
    • 3 *.py files (419 LOC)
    • 4 *.gnuplot files (216 LOC)
    • 1 *.xml files (47 LOC)
  • " *.cpp" is biggest, containing 87.27% of LOC.
  • " *.xml" is smallest, containing 0.22% of LOC.


*.cpp18284 LOC (87%) 35 files
*.h1985 LOC (9%) 35 files
*.py419 LOC (1%) 3 files
*.gnuplot216 LOC (1%) 4 files
*.xml47 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 ".*/test_.*".
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*[-]test[-].*".
    • files with paths like ".*_test[.].*".
  • 20 files match defined criteria (4,282 LOC, 20.4% vs. main code):
    • 9 *.sh files (3,043 LOC)
    • 5 *.cpp files (657 LOC)
    • 3 *.cc files (371 LOC)
    • 1 *.py files (120 LOC)
    • 1 *.h files (72 LOC)
    • 1 *.c files (19 LOC)
  • " *.sh" is biggest, containing 71.06% of LOC.
  • " *.c" is smallest, containing 0.44% of LOC.


*.sh3043 LOC (71%) 9 files
*.cpp657 LOC (15%) 5 files
*.cc371 LOC (8%) 3 files
*.py120 LOC (2%) 1 file
*.h72 LOC (1%) 1 file
*.c19 LOC (<1%) 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 ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]gitattributes".
  • 7 files match defined criteria (558 LOC, 2.7% vs. main code). All matches are in *.sh files.


*.sh558 LOC (100%) 7 files
Other Code
in
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 ".*/[Mm]an/.*".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]json".
  • 7 files match defined criteria (938 LOC, 4.5% vs. main code):
    • 1 *.in files (466 LOC)
    • 4 *.md files (395 LOC)
    • 2 *.json files (77 LOC)
  • " *.in" is biggest, containing 49.68% of LOC.
  • " *.json" is smallest, containing 8.21% of LOC.


*.in466 LOC (49%) 1 file
*.md395 LOC (42%) 4 files
*.json77 LOC (8%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-15 04:53