openai / doom-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
cfg
re
in
make
ps
obj
y
pro
fr
plist
ini
i
l
s
bib
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.

main368359 LOC (86%) 1,222 files
test0 LOC (0%) 0 files
generated3774 LOC (<1%) 2 files
build and deployment79 LOC (<1%) 8 files
other52453 LOC (12%) 358 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
y
re
i
s
pro
in
bib
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 1222 files match defined criteria (368,359 LOC, 100.0% vs. main code):
    • 489 *.cpp files (252,688 LOC)
    • 195 *.c files (51,675 LOC)
    • 389 *.h files (45,106 LOC)
    • 9 *.cc files (5,805 LOC)
    • 6 *.asm files (3,532 LOC)
    • 8 *.mm files (2,893 LOC)
    • 80 *.hpp files (2,502 LOC)
    • 1 *.html files (750 LOC)
    • 7 *.cmake files (695 LOC)
    • 4 *.inc files (603 LOC)
    • 2 *.y files (543 LOC)
    • 2 *.re files (538 LOC)
    • 14 *.java files (329 LOC)
    • 1 *.i files (212 LOC)
    • 1 *.s files (122 LOC)
    • 1 *.pro files (120 LOC)
    • 10 *.in files (115 LOC)
    • 2 *.py files (83 LOC)
    • 1 *.bib files (48 LOC)
  • " *.cpp" is biggest, containing 68.6% of LOC.
  • " *.bib" is smallest, containing 0.01% of LOC.


*.cpp252688 LOC (68%) 489 files
*.c51675 LOC (14%) 195 files
*.h45106 LOC (12%) 389 files
*.cc5805 LOC (1%) 9 files
*.asm3532 LOC (<1%) 6 files
*.mm2893 LOC (<1%) 8 files
*.hpp2502 LOC (<1%) 80 files
*.html750 LOC (<1%) 1 file
*.cmake695 LOC (<1%) 7 files
*.inc603 LOC (<1%) 4 files
*.y543 LOC (<1%) 2 files
*.re538 LOC (<1%) 2 files
*.java329 LOC (<1%) 14 files
*.i212 LOC (<1%) 1 file
*.s122 LOC (<1%) 1 file
*.pro120 LOC (<1%) 1 file
*.in115 LOC (<1%) 10 files
*.py83 LOC (<1%) 2 files
*.bib48 LOC (<1%) 1 file
Generated Code
Automatically generated files, not manually changed after generation.
ps
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.](ps|eps|pfa)".
  • 2 files match defined criteria (3,774 LOC, 1.0% vs. main code). All matches are in *.ps files.


*.ps3774 LOC (100%) 2 files
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 ".*[.]make".
    • files with paths like ".*[.]bat".
  • 8 files match defined criteria (79 LOC, 0.0% vs. main code):
    • 4 *.bat files (64 LOC)
    • 4 *.sh files (15 LOC)
  • " *.bat" is biggest, containing 81.01% of LOC.
  • " *.sh" is smallest, containing 18.99% of LOC.


*.bat64 LOC (81%) 4 files
*.sh15 LOC (18%) 4 files
Other Code
txt
fr
re
cfg
l
obj
plist
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 ".*[.]ini".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*[.]obj".
    • files with paths like ".*[.]fr".
    • files with paths like ".*[.]plist".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
  • 358 files match defined criteria (52,453 LOC, 14.2% vs. main code):
    • 289 *.txt files (47,631 LOC)
    • 1 *.fr files (1,373 LOC)
    • 9 *.re files (863 LOC)
    • 12 *.py files (569 LOC)
    • 13 *.cfg files (457 LOC)
    • 10 *.cpp files (359 LOC)
    • 10 *.java files (351 LOC)
    • 7 *.md files (345 LOC)
    • 1 *.l files (309 LOC)
    • 2 *.c files (64 LOC)
    • 2 *.obj files (55 LOC)
    • 1 *.plist files (49 LOC)
    • 1 *.ini files (28 LOC)
  • " *.txt" is biggest, containing 90.81% of LOC.
  • " *.ini" is smallest, containing 0.05% of LOC.


*.txt47631 LOC (90%) 289 files
*.fr1373 LOC (2%) 1 file
*.re863 LOC (1%) 9 files
*.py569 LOC (1%) 12 files
*.cfg457 LOC (<1%) 13 files
*.cpp359 LOC (<1%) 10 files
*.java351 LOC (<1%) 10 files
*.md345 LOC (<1%) 7 files
*.l309 LOC (<1%) 1 file
*.c64 LOC (<1%) 2 files
*.obj55 LOC (<1%) 2 files
*.plist49 LOC (<1%) 1 file
*.ini28 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-04-14 11:46