openai / robogym
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
libsonnet
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.

main19494 LOC (77%) 257 files
test5081 LOC (20%) 41 files
generated0 LOC (0%) 0 files
build and deployment0 LOC (0%) 0 files
other671 LOC (2%) 12 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 257 files match defined criteria (19,494 LOC, 100.0% vs. main code):
    • 146 *.py files (15,078 LOC)
    • 75 *.xml files (3,698 LOC)
    • 36 *.jsonnet files (718 LOC)
  • " *.py" is biggest, containing 77.35% of LOC.
  • " *.jsonnet" is smallest, containing 3.68% of LOC.


*.py15078 LOC (77%) 146 files
*.xml3698 LOC (18%) 75 files
*.jsonnet718 LOC (3%) 36 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]ests/.*".
    • files with paths like ".*/test_.*".
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*/testing[.].*".
  • 41 files match defined criteria (5,081 LOC, 26.1% vs. main code):
    • 38 *.py files (4,988 LOC)
    • 3 *.xml files (93 LOC)
  • " *.py" is biggest, containing 98.17% of LOC.
  • " *.xml" is smallest, containing 1.83% of LOC.


*.py4988 LOC (98%) 38 files
*.xml93 LOC (1%) 3 files
Other Code
libsonnet
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 ".*[.]libsonnet".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*[.]json".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
  • 12 files match defined criteria (671 LOC, 3.4% vs. main code):
    • 5 *.md files (410 LOC)
    • 7 *.libsonnet files (261 LOC)
  • " *.md" is biggest, containing 61.1% of LOC.
  • " *.libsonnet" is smallest, containing 38.9% of LOC.


*.md410 LOC (61%) 5 files
*.libsonnet261 LOC (38%) 7 files
Analyzers
Info about analyzers used for source code examinations.


2025-04-14 12:04