openai / atari-py
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
txt
mk
properties
m4
tex
ins
ini
pro
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.

main39657 LOC (94%) 348 files
test16 LOC (<1%) 2 files
generated0 LOC (0%) 0 files
build and deployment322 LOC (<1%) 20 files
other2090 LOC (4%) 23 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
ins
tex
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 348 files match defined criteria (39,657 LOC, 100.0% vs. main code):
    • 61 *.cxx files (12,426 LOC)
    • 95 *.cpp files (8,159 LOC)
    • 2 *.ins files (7,163 LOC)
    • 65 *.hxx files (5,388 LOC)
    • 94 *.hpp files (2,719 LOC)
    • 7 *.c files (1,236 LOC)
    • 2 *.xml files (801 LOC)
    • 2 *.tex files (728 LOC)
    • 13 *.h files (572 LOC)
    • 6 *.py files (400 LOC)
    • 1 *.perl files (65 LOC)
  • " *.cxx" is biggest, containing 31.33% of LOC.
  • " *.perl" is smallest, containing 0.16% of LOC.


*.cxx12426 LOC (31%) 61 files
*.cpp8159 LOC (20%) 95 files
*.ins7163 LOC (18%) 2 files
*.hxx5388 LOC (13%) 65 files
*.hpp2719 LOC (6%) 94 files
*.c1236 LOC (3%) 7 files
*.xml801 LOC (2%) 2 files
*.tex728 LOC (1%) 2 files
*.h572 LOC (1%) 13 files
*.py400 LOC (1%) 6 files
*.perl65 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 ".*/[Tt]ests/.*".
    • files with paths like ".*/test_.*".
  • 2 files match defined criteria (16 LOC, 0.0% vs. main code). All matches are in *.py files.


*.py16 LOC (100%) 2 files
Build and Deployment Code
Source code used to configure or support build and deployment process.
mk
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]sh".
    • files with paths like ".*[.]bat".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]mk".
    • files with paths like ".*/build[.]xml".
  • 20 files match defined criteria (322 LOC, 0.8% vs. main code):
    • 9 *.mk files (212 LOC)
    • 9 *.sh files (96 LOC)
    • 1 *.bat files (9 LOC)
    • 1 *.xml files (5 LOC)
  • " *.mk" is biggest, containing 65.84% of LOC.
  • " *.xml" is smallest, containing 1.55% of LOC.


*.mk212 LOC (65%) 9 files
*.sh96 LOC (29%) 9 files
*.bat9 LOC (2%) 1 file
*.xml5 LOC (1%) 1 file
Other Code
txt
properties
ini
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]ini".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*[.]properties".
  • 23 files match defined criteria (2,090 LOC, 5.3% vs. main code):
    • 10 *.txt files (1,614 LOC)
    • 3 *.cpp files (137 LOC)
    • 2 *.md files (107 LOC)
    • 2 *.c files (89 LOC)
    • 4 *.properties files (86 LOC)
    • 1 *.ini files (29 LOC)
    • 1 *.py files (28 LOC)
  • " *.txt" is biggest, containing 77.22% of LOC.
  • " *.py" is smallest, containing 1.34% of LOC.


*.txt1614 LOC (77%) 10 files
*.cpp137 LOC (6%) 3 files
*.md107 LOC (5%) 2 files
*.c89 LOC (4%) 2 files
*.properties86 LOC (4%) 4 files
*.ini29 LOC (1%) 1 file
*.py28 LOC (1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-04-14 11:45