openai / gym-http-api
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
hs
lua
wl
txt
jl
cabal
boot
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.

main2744 LOC (75%) 35 files
test387 LOC (10%) 4 files
generated0 LOC (0%) 0 files
build and deployment5 LOC (<1%) 2 files
other481 LOC (13%) 14 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
wl
hs
lua
cabal
jl
boot
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 35 files match defined criteria (2,744 LOC, 100.0% vs. main code):
    • 3 *.py files (388 LOC)
    • 2 *.cpp files (291 LOC)
    • 2 *.wl files (286 LOC)
    • 1 *.go files (278 LOC)
    • 5 *.hs files (206 LOC)
    • 2 *.swift files (199 LOC)
    • 1 *.rs files (197 LOC)
    • 2 *.m files (170 LOC)
    • 2 *.lua files (150 LOC)
    • 2 *.rb files (130 LOC)
    • 2 *.ts files (124 LOC)
    • 2 *.clj files (103 LOC)
    • 1 *.cabal files (56 LOC)
    • 3 *.yaml files (49 LOC)
    • 1 *.h files (38 LOC)
    • 1 *.js files (37 LOC)
    • 1 *.jl files (28 LOC)
    • 1 *.toml files (8 LOC)
    • 1 *.boot files (6 LOC)
  • " *.py" is biggest, containing 14.14% of LOC.
  • " *.boot" is smallest, containing 0.22% of LOC.


*.py388 LOC (14%) 3 files
*.cpp291 LOC (10%) 2 files
*.wl286 LOC (10%) 2 files
*.go278 LOC (10%) 1 file
*.hs206 LOC (7%) 5 files
*.swift199 LOC (7%) 2 files
*.rs197 LOC (7%) 1 file
*.m170 LOC (6%) 2 files
*.lua150 LOC (5%) 2 files
*.rb130 LOC (4%) 2 files
*.ts124 LOC (4%) 2 files
*.clj103 LOC (3%) 2 files
*.cabal56 LOC (2%) 1 file
*.yaml49 LOC (1%) 3 files
*.h38 LOC (1%) 1 file
*.js37 LOC (1%) 1 file
*.jl28 LOC (1%) 1 file
*.toml8 LOC (<1%) 1 file
*.boot6 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
lua
hs
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 ".*/[Tt]ests/.*".
  • 4 files match defined criteria (387 LOC, 14.1% vs. main code):
    • 1 *.py files (257 LOC)
    • 1 *.lua files (95 LOC)
    • 1 *.rs files (33 LOC)
    • 1 *.hs files (2 LOC)
  • " *.py" is biggest, containing 66.41% of LOC.
  • " *.hs" is smallest, containing 0.52% of LOC.


*.py257 LOC (66%) 1 file
*.lua95 LOC (24%) 1 file
*.rs33 LOC (8%) 1 file
*.hs2 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 ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]sh".
    • files with paths like ".*/package[.]json".
  • 2 files match defined criteria (5 LOC, 0.2% vs. main code). All matches are in *.sh files.


*.sh5 LOC (100%) 2 files
Other Code
hs
txt
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 ".*/[Ee]xamples/.*".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[Dd]emos?/.*".
  • 14 files match defined criteria (481 LOC, 17.5% vs. main code):
    • 6 *.md files (182 LOC)
    • 2 *.go files (103 LOC)
    • 1 *.ts files (66 LOC)
    • 1 *.hs files (62 LOC)
    • 2 *.json files (36 LOC)
    • 1 *.rs files (27 LOC)
    • 1 *.txt files (5 LOC)
  • " *.md" is biggest, containing 37.84% of LOC.
  • " *.txt" is smallest, containing 1.04% of LOC.


*.md182 LOC (37%) 6 files
*.go103 LOC (21%) 2 files
*.ts66 LOC (13%) 1 file
*.hs62 LOC (12%) 1 file
*.json36 LOC (7%) 2 files
*.rs27 LOC (5%) 1 file
*.txt5 LOC (1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-04-14 11:46