openai / pachi-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
gtp
txt
in
ini
t
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.

main17919 LOC (96%) 135 files
test179 LOC (<1%) 5 files
generated0 LOC (0%) 0 files
build and deployment253 LOC (1%) 12 files
other126 LOC (<1%) 4 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
t
gtp
in
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 135 files match defined criteria (17,919 LOC, 100.0% vs. main code):
    • 50 *.c files (12,494 LOC)
    • 57 *.h files (2,058 LOC)
    • 7 *.py files (1,238 LOC)
    • 1 *.t files (604 LOC)
    • 2 *.pyx files (488 LOC)
    • 3 *.hpp files (371 LOC)
    • 2 *.cpp files (247 LOC)
    • 5 *.gtp files (214 LOC)
    • 7 *.pl files (204 LOC)
    • 1 *.in files (1 LOC)
  • " *.c" is biggest, containing 69.72% of LOC.
  • " *.in" is smallest, containing 0.01% of LOC.


*.c12494 LOC (69%) 50 files
*.h2058 LOC (11%) 57 files
*.py1238 LOC (6%) 7 files
*.t604 LOC (3%) 1 file
*.pyx488 LOC (2%) 2 files
*.hpp371 LOC (2%) 3 files
*.cpp247 LOC (1%) 2 files
*.gtp214 LOC (1%) 5 files
*.pl204 LOC (1%) 7 files
*.in1 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_.*".
    • files with paths like ".*/test[.].*".
  • 5 files match defined criteria (179 LOC, 1.0% vs. main code):
    • 1 *.c files (116 LOC)
    • 2 *.py files (49 LOC)
    • 1 *.sh files (10 LOC)
    • 1 *.h files (4 LOC)
  • " *.c" is biggest, containing 64.8% of LOC.
  • " *.h" is smallest, containing 2.23% of LOC.


*.c116 LOC (64%) 1 file
*.py49 LOC (27%) 2 files
*.sh10 LOC (5%) 1 file
*.h4 LOC (2%) 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".
  • 12 files match defined criteria (253 LOC, 1.4% vs. main code). All matches are in *.sh files.


*.sh253 LOC (100%) 12 files
Other Code
txt
ini
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • 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 ".*[.]txt".
    • files with paths like ".*[.]ini".
  • 4 files match defined criteria (126 LOC, 0.7% vs. main code):
    • 2 *.txt files (93 LOC)
    • 1 *.ini files (27 LOC)
    • 1 *.md files (6 LOC)
  • " *.txt" is biggest, containing 73.81% of LOC.
  • " *.md" is smallest, containing 4.76% of LOC.


*.txt93 LOC (73%) 2 files
*.ini27 LOC (21%) 1 file
*.md6 LOC (4%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-04-14 11:45