openai / blocksparse
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
sass
txt
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.

main33748 LOC (88%) 64 files
test2081 LOC (5%) 24 files
generated0 LOC (0%) 0 files
build and deployment0 LOC (0%) 0 files
other2283 LOC (5%) 10 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
sass
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 64 files match defined criteria (33,748 LOC, 100.0% vs. main code):
    • 21 *.cu files (16,943 LOC)
    • 18 *.cc files (7,025 LOC)
    • 16 *.py files (4,443 LOC)
    • 5 *.sass files (3,566 LOC)
    • 4 *.h files (1,771 LOC)
  • " *.cu" is biggest, containing 50.2% of LOC.
  • " *.h" is smallest, containing 5.25% of LOC.


*.cu16943 LOC (50%) 21 files
*.cc7025 LOC (20%) 18 files
*.py4443 LOC (13%) 16 files
*.sass3566 LOC (10%) 5 files
*.h1771 LOC (5%) 4 files
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[.].*".
  • 24 files match defined criteria (2,081 LOC, 6.2% vs. main code):
    • 23 *.py files (2,076 LOC)
    • 1 *.sh files (5 LOC)
  • " *.py" is biggest, containing 99.76% of LOC.
  • " *.sh" is smallest, containing 0.24% of LOC.


*.py2076 LOC (99%) 23 files
*.sh5 LOC (<1%) 1 file
Other Code
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]md".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*[.]json".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*[.]txt".
  • 10 files match defined criteria (2,283 LOC, 6.8% vs. main code):
    • 8 *.py files (2,079 LOC)
    • 2 *.md files (204 LOC)
  • " *.py" is biggest, containing 91.06% of LOC.
  • " *.md" is smallest, containing 8.94% of LOC.


*.py2079 LOC (91%) 8 files
*.md204 LOC (8%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2025-04-14 11:48