openai / CLIP
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 6 files with 591 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 1 medium size files (326 lines of code)
    • 2 small files (249 lines of code)
    • 3 very small files (16 lines of code)
0% | 0% | 55% | 42% | 2%
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
py0% | 0% | 55% | 42% | 2%
in0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
clip0% | 0% | 56% | 43% | <1%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 6)
File# lines# units
model.py
in clip
326 25
clip.py
in clip
148 6
101 9
hubconf.py
in root
14 2
in
1 -
1 -
Files With Most Units (Top 4)
File# lines# units
model.py
in clip
326 25
101 9
clip.py
in clip
148 6
hubconf.py
in root
14 2
Files With Long Lines (Top 2)

There are 2 files with lines longer than 120 characters. In total, there are 15 long lines.

File# lines# units# long lines
clip.py
in clip
148 6 12
model.py
in clip
326 25 3
Correlations

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

clip/clip.py x: 20 commits (all time) y: 148 lines of code clip/model.py x: 12 commits (all time) y: 326 lines of code hubconf.py x: 1 commits (all time) y: 14 lines of code MANIFEST.in x: 1 commits (all time) y: 1 lines of code clip/simple_tokenizer.py x: 1 commits (all time) y: 101 lines of code
326.0
lines of code
  min: 1.0
  average: 98.5
  25th percentile: 1.0
  median: 57.5
  75th percentile: 192.5
  max: 326.0
0 20.0
commits (all time)
min: 1.0 | average: 6.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 14.0 | max: 20.0

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

clip/clip.py x: 14 contributors (all time) y: 148 lines of code clip/model.py x: 9 contributors (all time) y: 326 lines of code hubconf.py x: 1 contributors (all time) y: 14 lines of code MANIFEST.in x: 1 contributors (all time) y: 1 lines of code clip/simple_tokenizer.py x: 1 contributors (all time) y: 101 lines of code
326.0
lines of code
  min: 1.0
  average: 98.5
  25th percentile: 1.0
  median: 57.5
  75th percentile: 192.5
  max: 326.0
0 14.0
contributors (all time)
min: 1.0 | average: 4.5 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 10.25 | max: 14.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".