openai / codex
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
editorconfig
nix
npmrc
policy
mjs
prettierignore
snap
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.

main23621 LOC (59%) 162 files
test7204 LOC (18%) 89 files
generated0 LOC (0%) 0 files
build and deployment3996 LOC (10%) 8 files
other4620 LOC (11%) 33 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
policy
mjs
nix
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 162 files match defined criteria (23,621 LOC, 100.0% vs. main code):
    • 65 *.rs files (10,766 LOC)
    • 51 *.ts files (6,846 LOC)
    • 26 *.tsx files (4,757 LOC)
    • 3 *.py files (628 LOC)
    • 12 *.toml files (296 LOC)
    • 1 *.policy files (188 LOC)
    • 1 *.mjs files (78 LOC)
    • 1 *.nix files (49 LOC)
    • 2 *.js files (13 LOC)
  • " *.rs" is biggest, containing 45.58% of LOC.
  • " *.js" is smallest, containing 0.06% of LOC.


*.rs10766 LOC (45%) 65 files
*.ts6846 LOC (28%) 51 files
*.tsx4757 LOC (20%) 26 files
*.py628 LOC (2%) 3 files
*.toml296 LOC (1%) 12 files
*.policy188 LOC (<1%) 1 file
*.mjs78 LOC (<1%) 1 file
*.nix49 LOC (<1%) 1 file
*.js13 LOC (<1%) 2 files
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
snap
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]ests/.*".
    • files with paths like ".*[.][Tt]est[.].*".
    • files with paths like ".*[.]test[.].*".
    • files with paths like ".*[.]snap".
    • files with paths like ".*[-]test[-].*".
  • 89 files match defined criteria (7,204 LOC, 30.5% vs. main code):
    • 52 *.ts files (4,658 LOC)
    • 20 *.tsx files (1,376 LOC)
    • 16 *.rs files (1,159 LOC)
    • 1 *.snap files (11 LOC)
  • " *.ts" is biggest, containing 64.66% of LOC.
  • " *.snap" is smallest, containing 0.15% of LOC.


*.ts4658 LOC (64%) 52 files
*.tsx1376 LOC (19%) 20 files
*.rs1159 LOC (16%) 16 files
*.snap11 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 ".*/pnpm.*[.]ya?ml".
    • files with paths like ".*/package[.]json".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]sh".
  • 8 files match defined criteria (3,996 LOC, 16.9% vs. main code):
    • 2 *.yaml files (3,799 LOC)
    • 6 *.sh files (197 LOC)
  • " *.yaml" is biggest, containing 95.07% of LOC.
  • " *.sh" is smallest, containing 4.93% of LOC.


*.yaml3799 LOC (95%) 2 files
*.sh197 LOC (4%) 6 files
Other Code
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[.]prettierignore".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]json".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]editorconfig".
    • files with paths like ".*/[.]dockerignore".
    • files with paths like ".*[.]npmrc".
  • 33 files match defined criteria (4,620 LOC, 19.6% vs. main code):
    • 4 *.json files (2,305 LOC)
    • 16 *.md files (1,317 LOC)
    • 1 *.py files (317 LOC)
    • 1 *.ipynb files (231 LOC)
    • 1 *.html files (202 LOC)
    • 4 *.sh files (139 LOC)
    • 4 *.yaml files (107 LOC)
    • 2 *.txt files (2 LOC)
  • " *.json" is biggest, containing 49.89% of LOC.
  • " *.txt" is smallest, containing 0.04% of LOC.


*.json2305 LOC (49%) 4 files
*.md1317 LOC (28%) 16 files
*.py317 LOC (6%) 1 file
*.ipynb231 LOC (5%) 1 file
*.html202 LOC (4%) 1 file
*.sh139 LOC (3%) 4 files
*.yaml107 LOC (2%) 4 files
*.txt2 LOC (<1%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-04 14:17