openai / build-hours
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
mjs
jsonl
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.

main25034 LOC (45%) 220 files
test5 LOC (<1%) 1 file
generated2504 LOC (4%) 2 files
build and deployment21338 LOC (38%) 6 files
other6378 LOC (11%) 100 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
mjs
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 220 files match defined criteria (25,034 LOC, 100.0% vs. main code):
    • 2 *.ipynb files (6,654 LOC)
    • 86 *.tsx files (6,135 LOC)
    • 41 *.py files (4,238 LOC)
    • 35 *.ts files (2,585 LOC)
    • 24 *.js files (2,147 LOC)
    • 2 *.yaml files (1,769 LOC)
    • 14 *.css files (882 LOC)
    • 5 *.scss files (409 LOC)
    • 4 *.cjs files (132 LOC)
    • 2 *.html files (48 LOC)
    • 5 *.mjs files (35 LOC)
  • " *.ipynb" is biggest, containing 26.58% of LOC.
  • " *.mjs" is smallest, containing 0.14% of LOC.


*.ipynb6654 LOC (26%) 2 files
*.tsx6135 LOC (24%) 86 files
*.py4238 LOC (16%) 41 files
*.ts2585 LOC (10%) 35 files
*.js2147 LOC (8%) 24 files
*.yaml1769 LOC (7%) 2 files
*.css882 LOC (3%) 14 files
*.scss409 LOC (1%) 5 files
*.cjs132 LOC (<1%) 4 files
*.html48 LOC (<1%) 2 files
*.mjs35 LOC (<1%) 5 files
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]est[.].*".
    • files with paths like ".*[.]test[.].*".
  • 1 file matches defined criteria (5 LOC, 0.0% vs. main code). All matches are in *.js files.


*.js5 LOC (100%) 1 file
Generated Code
Automatically generated files, not manually changed after generation.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/package[-]lock[.]json".
  • 2 files match defined criteria (2,504 LOC, 10.0% vs. main code). All matches are in *.json files.


*.json2504 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 ".*/package[.]json".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/package[-]lock[.]json".
    • files with paths like ".*/pnpm.*[.]ya?ml".
    • files with paths like ".*/docker[-]compose[.]yaml".
  • 6 files match defined criteria (21,338 LOC, 85.2% vs. main code). All matches are in *.yaml files.


*.yaml21338 LOC (100%) 6 files
Other Code
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]md".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]svg".
  • 100 files match defined criteria (6,378 LOC, 25.5% vs. main code):
    • 76 *.json files (5,599 LOC)
    • 14 *.md files (683 LOC)
    • 7 *.txt files (93 LOC)
    • 3 *.svg files (3 LOC)
  • " *.json" is biggest, containing 87.79% of LOC.
  • " *.svg" is smallest, containing 0.05% of LOC.


*.json5599 LOC (87%) 76 files
*.md683 LOC (10%) 14 files
*.txt93 LOC (1%) 7 files
*.svg3 LOC (<1%) 3 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-04 14:13