openai / openai-quickstart-node
File Size

The distribution of size of files (measured in lines of code).

Intro
  • File size measurements show the distribution of size of files.
  • Files are classified in four categories based on their size (lines of code): 1-100 (very small files), 101-200 (small files), 201-500 (medium size files), 501-1000 (long files), 1001+(very long files).
  • It is a good practice to keep files small. Long files may become "bloaters", code that have increased to such gargantuan proportions that they are hard to work with.
Learn more...
File Size Overall
  • There are 16 files with 337 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 0 medium size files (0 lines of code)
    • 0 small files (0 lines of code)
    • 16 very small files (337 lines of code)
0% | 0% | 0% | 0% | 100%
Legend:
1001+
501-1000
201-500
101-200
1-100


explore: grouped by folders | grouped by size | sunburst | 3D view
File Size per Extension
1001+
501-1000
201-500
101-200
1-100
js0% | 0% | 0% | 0% | 100%
jsonl0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
chat_completions0% | 0% | 0% | 0% | 100%
fine_tuning0% | 0% | 0% | 0% | 100%
batch0% | 0% | 0% | 0% | 100%
assistants0% | 0% | 0% | 0% | 100%
moderation0% | 0% | 0% | 0% | 100%
images0% | 0% | 0% | 0% | 100%
embeddings0% | 0% | 0% | 0% | 100%
Longest Files (Top 16)
File# lines# units
function_calling.js
in chat_completions
66 -
use_model.js
in fine_tuning
43 -
thread.js
in assistants
37 -
vision.js
in chat_completions
31 -
27 -
multi_turn.js
in chat_completions
22 1
index.js
in batch
18 -
index.js
in fine_tuning
16 -
images.js
in moderation
14 -
index.js
in chat_completions
13 -
index.js
in assistants
11 -
jsonl
training_data.jsonl
in fine_tuning
10 -
index.js
in images
9 -
index.js
in embeddings
8 -
index.js
in moderation
7 -
jsonl
5 -
Files With Most Units (Top 1)
File# lines# units
multi_turn.js
in chat_completions
22 1
Files With Long Lines (Top 3)

There are 3 files with lines longer than 120 characters. In total, there are 16 long lines.

File# lines# units# long lines
jsonl
training_data.jsonl
in fine_tuning
10 - 10
jsonl
5 - 5
function_calling.js
in chat_completions
66 - 1
Correlations

File Size vs. Commits (all time): 16 points

assistants/index.js x: 2 commits (all time) y: 11 lines of code assistants/thread.js x: 2 commits (all time) y: 37 lines of code batch/index.js x: 2 commits (all time) y: 18 lines of code batch/requests.jsonl x: 2 commits (all time) y: 5 lines of code batch/retrieve_results.js x: 2 commits (all time) y: 27 lines of code chat_completions/function_calling.js x: 2 commits (all time) y: 66 lines of code chat_completions/index.js x: 2 commits (all time) y: 13 lines of code chat_completions/multi_turn.js x: 2 commits (all time) y: 22 lines of code chat_completions/vision.js x: 2 commits (all time) y: 31 lines of code embeddings/index.js x: 2 commits (all time) y: 8 lines of code fine_tuning/index.js x: 2 commits (all time) y: 16 lines of code fine_tuning/training_data.jsonl x: 2 commits (all time) y: 10 lines of code fine_tuning/use_model.js x: 2 commits (all time) y: 43 lines of code images/index.js x: 2 commits (all time) y: 9 lines of code moderation/images.js x: 2 commits (all time) y: 14 lines of code moderation/index.js x: 2 commits (all time) y: 7 lines of code
66.0
lines of code
  min: 5.0
  average: 21.06
  25th percentile: 9.25
  median: 15.0
  75th percentile: 30.0
  max: 66.0
0 2.0
commits (all time)
min: 2.0 | average: 2.0 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 2.0 | max: 2.0

File Size vs. Contributors (all time): 16 points

assistants/index.js x: 2 contributors (all time) y: 11 lines of code assistants/thread.js x: 2 contributors (all time) y: 37 lines of code batch/index.js x: 2 contributors (all time) y: 18 lines of code batch/requests.jsonl x: 2 contributors (all time) y: 5 lines of code batch/retrieve_results.js x: 2 contributors (all time) y: 27 lines of code chat_completions/function_calling.js x: 2 contributors (all time) y: 66 lines of code chat_completions/index.js x: 2 contributors (all time) y: 13 lines of code chat_completions/multi_turn.js x: 2 contributors (all time) y: 22 lines of code chat_completions/vision.js x: 2 contributors (all time) y: 31 lines of code embeddings/index.js x: 2 contributors (all time) y: 8 lines of code fine_tuning/index.js x: 2 contributors (all time) y: 16 lines of code fine_tuning/training_data.jsonl x: 2 contributors (all time) y: 10 lines of code fine_tuning/use_model.js x: 2 contributors (all time) y: 43 lines of code images/index.js x: 2 contributors (all time) y: 9 lines of code moderation/images.js x: 2 contributors (all time) y: 14 lines of code moderation/index.js x: 2 contributors (all time) y: 7 lines of code
66.0
lines of code
  min: 5.0
  average: 21.06
  25th percentile: 9.25
  median: 15.0
  75th percentile: 30.0
  max: 66.0
0 2.0
contributors (all time)
min: 2.0 | average: 2.0 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 2.0 | max: 2.0

File Size vs. Commits (30 days): 0 points

No data for "commits (30d)" vs. "lines of code".

File Size vs. Contributors (30 days): 0 points

No data for "contributors (30d)" vs. "lines of code".


File Size vs. Commits (90 days): 0 points

No data for "commits (90d)" vs. "lines of code".

File Size vs. Contributors (90 days): 0 points

No data for "contributors (90d)" vs. "lines of code".