openai / roboschool
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
dae
obj
mtl
glsl
urdf
inl
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.

main12174 LOC (31%) 74 files
test66 LOC (<1%) 2 files
generated0 LOC (0%) 0 files
build and deployment194 LOC (<1%) 11 files
other26211 LOC (67%) 40 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
inl
glsl
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 74 files match defined criteria (12,174 LOC, 100.0% vs. main code):
    • 10 *.cpp files (3,998 LOC)
    • 35 *.py files (3,520 LOC)
    • 1 *.inl files (1,821 LOC)
    • 9 *.h files (1,785 LOC)
    • 8 *.glsl files (469 LOC)
    • 10 *.xml files (431 LOC)
    • 1 *.pyx files (150 LOC)
  • " *.cpp" is biggest, containing 32.84% of LOC.
  • " *.pyx" is smallest, containing 1.23% of LOC.


*.cpp3998 LOC (32%) 10 files
*.py3520 LOC (28%) 35 files
*.inl1821 LOC (14%) 1 file
*.h1785 LOC (14%) 9 files
*.glsl469 LOC (3%) 8 files
*.xml431 LOC (3%) 10 files
*.pyx150 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_.*".
  • 2 files match defined criteria (66 LOC, 0.5% vs. main code):
    • 1 *.py files (59 LOC)
    • 1 *.sh files (7 LOC)
  • " *.py" is biggest, containing 89.39% of LOC.
  • " *.sh" is smallest, containing 10.61% of LOC.


*.py59 LOC (89%) 1 file
*.sh7 LOC (10%) 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".
  • 11 files match defined criteria (194 LOC, 1.6% vs. main code). All matches are in *.sh files.


*.sh194 LOC (100%) 11 files
Other Code
obj
urdf
mtl
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 ".*[.]obj".
    • files with paths like ".*[.]mtl".
    • files with paths like ".*[.]urdf".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]dockerignore".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
  • 40 files match defined criteria (26,211 LOC, 215.3% vs. main code):
    • 21 *.obj files (23,885 LOC)
    • 7 *.urdf files (2,018 LOC)
    • 3 *.md files (190 LOC)
    • 9 *.mtl files (118 LOC)
  • " *.obj" is biggest, containing 91.13% of LOC.
  • " *.mtl" is smallest, containing 0.45% of LOC.


*.obj23885 LOC (91%) 21 files
*.urdf2018 LOC (7%) 7 files
*.md190 LOC (<1%) 3 files
*.mtl118 LOC (<1%) 9 files
Analyzers
Info about analyzers used for source code examinations.


2025-04-14 11:47