anthropics / blobfile
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 12 files with 4,408 lines of code.
    • 2 very long files (2,472 lines of code)
    • 2 long files (1,452 lines of code)
    • 0 medium size files (0 lines of code)
    • 1 small files (175 lines of code)
    • 7 very small files (309 lines of code)
56% | 32% | 0% | 3% | 7%
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
py56% | 33% | 0% | 3% | 6%
yaml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
blobfile58% | 34% | 0% | 4% | 3%
testing0% | 0% | 0% | 0% | 100%
scripts0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 12)
File# lines# units
_azure.py
in blobfile
1265 54
_context.py
in blobfile
1207 53
_common.py
in blobfile
755 58
_gcp.py
in blobfile
697 49
_ops.py
in blobfile
175 23
run.py
in testing
77 3
__init__.py
in blobfile
73 -
65 3
_xml.py
in blobfile
55 4
env.yaml
in root
20 -
12 3
run-tests.py
in testing
7 -
Files With Most Units (Top 9)
File# lines# units
_common.py
in blobfile
755 58
_azure.py
in blobfile
1265 54
_context.py
in blobfile
1207 53
_gcp.py
in blobfile
697 49
_ops.py
in blobfile
175 23
_xml.py
in blobfile
55 4
run.py
in testing
77 3
12 3
65 3
Files With Long Lines (Top 4)

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

File# lines# units# long lines
_common.py
in blobfile
755 58 6
_azure.py
in blobfile
1265 54 5
_gcp.py
in blobfile
697 49 3
_context.py
in blobfile
1207 53 1
Correlations

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

blobfile/_common.py x: 76 commits (all time) y: 755 lines of code blobfile/_gcp.py x: 33 commits (all time) y: 697 lines of code blobfile/_azure.py x: 63 commits (all time) y: 1265 lines of code blobfile/_context.py x: 33 commits (all time) y: 1207 lines of code testing/run.py x: 12 commits (all time) y: 77 lines of code blobfile/_ops.py x: 55 commits (all time) y: 175 lines of code blobfile/_xml.py x: 4 commits (all time) y: 55 lines of code conftest.py x: 2 commits (all time) y: 12 lines of code scripts/performance_test_parallel.py x: 9 commits (all time) y: 65 lines of code blobfile/__init__.py x: 34 commits (all time) y: 73 lines of code env.yaml x: 21 commits (all time) y: 20 lines of code testing/run-tests.py x: 9 commits (all time) y: 7 lines of code
1265.0
lines of code
  min: 7.0
  average: 367.33
  25th percentile: 28.75
  median: 75.0
  75th percentile: 740.5
  max: 1265.0
0 76.0
commits (all time)
min: 2.0 | average: 29.25 | 25th percentile: 9.0 | median: 27.0 | 75th percentile: 49.75 | max: 76.0

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

blobfile/_common.py x: 13 contributors (all time) y: 755 lines of code blobfile/_gcp.py x: 8 contributors (all time) y: 697 lines of code blobfile/_azure.py x: 9 contributors (all time) y: 1265 lines of code blobfile/_context.py x: 7 contributors (all time) y: 1207 lines of code testing/run.py x: 4 contributors (all time) y: 77 lines of code blobfile/_ops.py x: 8 contributors (all time) y: 175 lines of code blobfile/_xml.py x: 3 contributors (all time) y: 55 lines of code conftest.py x: 2 contributors (all time) y: 12 lines of code scripts/performance_test_parallel.py x: 2 contributors (all time) y: 65 lines of code blobfile/__init__.py x: 4 contributors (all time) y: 73 lines of code env.yaml x: 3 contributors (all time) y: 20 lines of code testing/run-tests.py x: 3 contributors (all time) y: 7 lines of code
1265.0
lines of code
  min: 7.0
  average: 367.33
  25th percentile: 28.75
  median: 75.0
  75th percentile: 740.5
  max: 1265.0
0 13.0
contributors (all time)
min: 2.0 | average: 5.5 | 25th percentile: 3.0 | median: 4.0 | 75th percentile: 8.0 | max: 13.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".