openai / whisper
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 17 files with 3,931 lines of code.
    • 0 very long files (0 lines of code)
    • 2 long files (1,504 lines of code)
    • 6 medium size files (2,043 lines of code)
    • 1 small files (115 lines of code)
    • 8 very small files (269 lines of code)
0% | 38% | 51% | 2% | 6%
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
ipynb0% | 100% | 0% | 0% | 0%
py0% | 18% | 69% | 3% | 8%
yaml0% | 0% | 0% | 0% | 100%
in0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
notebooks0% | 100% | 0% | 0% | 0%
whisper0% | 18% | 69% | 3% | 8%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 17)
File# lines# units
LibriSpeech.ipynb
in notebooks
959 -
decoding.py
in whisper
545 37
english.py
in whisper/normalizers
467 9
transcribe.py
in whisper
465 7
tokenizer.py
in whisper
317 24
timing.py
in whisper
299 8
model.py
in whisper
253 23
utils.py
in whisper
242 23
__init__.py
in whisper
115 3
triton_ops.py
in whisper
90 3
audio.py
in whisper
81 4
basic.py
in whisper/normalizers
60 4
28 -
in
5 -
__main__.py
in whisper
2 -
__init__.py
in whisper/normalizers
2 -
version.py
in whisper
1 -
Files With Most Units (Top 11)
File# lines# units
decoding.py
in whisper
545 37
tokenizer.py
in whisper
317 24
model.py
in whisper
253 23
utils.py
in whisper
242 23
english.py
in whisper/normalizers
467 9
timing.py
in whisper
299 8
transcribe.py
in whisper
465 7
basic.py
in whisper/normalizers
60 4
audio.py
in whisper
81 4
triton_ops.py
in whisper
90 3
__init__.py
in whisper
115 3
Files With Long Lines (Top 3)

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

File# lines# units# long lines
transcribe.py
in whisper
465 7 29
__init__.py
in whisper
115 3 14
LibriSpeech.ipynb
in notebooks
959 - 1
Correlations

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

.pre-commit-config.yaml x: 4 commits (all time) y: 28 lines of code whisper/version.py x: 13 commits (all time) y: 1 lines of code whisper/__init__.py x: 11 commits (all time) y: 115 lines of code whisper/timing.py x: 13 commits (all time) y: 299 lines of code whisper/triton_ops.py x: 3 commits (all time) y: 90 lines of code notebooks/LibriSpeech.ipynb x: 1 commits (all time) y: 959 lines of code whisper/normalizers/basic.py x: 2 commits (all time) y: 60 lines of code whisper/utils.py x: 16 commits (all time) y: 242 lines of code whisper/transcribe.py x: 42 commits (all time) y: 465 lines of code whisper/audio.py x: 11 commits (all time) y: 81 lines of code whisper/model.py x: 11 commits (all time) y: 253 lines of code whisper/decoding.py x: 15 commits (all time) y: 545 lines of code whisper/tokenizer.py x: 12 commits (all time) y: 317 lines of code MANIFEST.in x: 2 commits (all time) y: 5 lines of code whisper/__main__.py x: 1 commits (all time) y: 2 lines of code whisper/normalizers/english.py x: 1 commits (all time) y: 467 lines of code
959.0
lines of code
  min: 1.0
  average: 231.24
  25th percentile: 16.5
  median: 115.0
  75th percentile: 391.0
  max: 959.0
0 42.0
commits (all time)
min: 1.0 | average: 9.35 | 25th percentile: 1.5 | median: 11.0 | 75th percentile: 13.0 | max: 42.0

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

.pre-commit-config.yaml x: 3 contributors (all time) y: 28 lines of code whisper/version.py x: 2 contributors (all time) y: 1 lines of code whisper/__init__.py x: 8 contributors (all time) y: 115 lines of code whisper/timing.py x: 7 contributors (all time) y: 299 lines of code whisper/triton_ops.py x: 2 contributors (all time) y: 90 lines of code notebooks/LibriSpeech.ipynb x: 1 contributors (all time) y: 959 lines of code whisper/normalizers/basic.py x: 2 contributors (all time) y: 60 lines of code whisper/utils.py x: 13 contributors (all time) y: 242 lines of code whisper/transcribe.py x: 21 contributors (all time) y: 465 lines of code whisper/audio.py x: 8 contributors (all time) y: 81 lines of code whisper/model.py x: 5 contributors (all time) y: 253 lines of code whisper/decoding.py x: 8 contributors (all time) y: 545 lines of code whisper/tokenizer.py x: 5 contributors (all time) y: 317 lines of code MANIFEST.in x: 2 contributors (all time) y: 5 lines of code whisper/__main__.py x: 1 contributors (all time) y: 2 lines of code whisper/normalizers/english.py x: 1 contributors (all time) y: 467 lines of code
959.0
lines of code
  min: 1.0
  average: 231.24
  25th percentile: 16.5
  median: 115.0
  75th percentile: 391.0
  max: 959.0
0 21.0
contributors (all time)
min: 1.0 | average: 5.29 | 25th percentile: 1.5 | median: 3.0 | 75th percentile: 8.0 | max: 21.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): 1 points

.pre-commit-config.yaml x: 1 commits (90d) y: 28 lines of code
28.0
lines of code
  min: 28.0
  average: 28.0
  25th percentile: 28.0
  median: 28.0
  75th percentile: 28.0
  max: 28.0
0 1.0
commits (90d)
min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0

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

.pre-commit-config.yaml x: 1 contributors (90d) y: 28 lines of code
28.0
lines of code
  min: 28.0
  average: 28.0
  25th percentile: 28.0
  median: 28.0
  75th percentile: 28.0
  max: 28.0
0 1.0
contributors (90d)
min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0