anthropics / python-tblib
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 7 files with 403 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)
    • 1 small files (172 lines of code)
    • 6 very small files (231 lines of code)
0% | 0% | 0% | 42% | 57%
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% | 0% | 49% | 50%
cfg0% | 0% | 0% | 0% | 100%
in0% | 0% | 0% | 0% | 100%
yaml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src0% | 0% | 0% | 61% | 38%
ci0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 7)
File# lines# units
__init__.py
in src/tblib
172 9
83 7
64 3
decorators.py
in src/tblib
26 5
22 -
in
19 -
17 -
Files With Most Units (Top 4)
File# lines# units
__init__.py
in src/tblib
172 9
83 7
decorators.py
in src/tblib
26 5
64 3
Files With Long Lines (Top 2)

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

File# lines# units# long lines
__init__.py
in src/tblib
172 9 2
64 3 1
Correlations

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

src/tblib/pickling_support.py x: 16 commits (all time) y: 83 lines of code .bumpversion.cfg x: 16 commits (all time) y: 22 lines of code src/tblib/__init__.py x: 50 commits (all time) y: 172 lines of code .pre-commit-config.yaml x: 4 commits (all time) y: 17 lines of code src/tblib/decorators.py x: 4 commits (all time) y: 26 lines of code ci/bootstrap.py x: 6 commits (all time) y: 64 lines of code MANIFEST.in x: 7 commits (all time) y: 19 lines of code
172.0
lines of code
  min: 17.0
  average: 57.57
  25th percentile: 19.0
  median: 26.0
  75th percentile: 83.0
  max: 172.0
0 50.0
commits (all time)
min: 4.0 | average: 14.71 | 25th percentile: 4.0 | median: 7.0 | 75th percentile: 16.0 | max: 50.0

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

src/tblib/pickling_support.py x: 4 contributors (all time) y: 83 lines of code .bumpversion.cfg x: 1 contributors (all time) y: 22 lines of code src/tblib/__init__.py x: 7 contributors (all time) y: 172 lines of code .pre-commit-config.yaml x: 1 contributors (all time) y: 17 lines of code src/tblib/decorators.py x: 1 contributors (all time) y: 26 lines of code ci/bootstrap.py x: 1 contributors (all time) y: 64 lines of code MANIFEST.in x: 1 contributors (all time) y: 19 lines of code
172.0
lines of code
  min: 17.0
  average: 57.57
  25th percentile: 19.0
  median: 26.0
  75th percentile: 83.0
  max: 172.0
0 7.0
contributors (all time)
min: 1.0 | average: 2.29 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 4.0 | max: 7.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".