aws-samples / smallmatter-package
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 23 files with 2,664 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (931 lines of code)
    • 3 medium size files (1,040 lines of codeclsfd_ftr_w_mp_ins)
    • 3 small files (371 lines of code)
    • 16 very small files (322 lines of code)
0% | 34% | 39% | 13% | 12%
Legend:
1001+
501-1000
201-500
101-200
1-100


explore: zoomable circles | sunburst | 3D view
File Size per Extension
1001+
501-1000
201-500
101-200
1-100
py0% | 35% | 39% | 13% | 11%
cfg0% | 0% | 0% | 0% | 100%
toml0% | 0% | 0% | 0% | 100%
in0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ROOT0% | 93% | 0% | 0% | 6%
src/smallmatter0% | 0% | 82% | 9% | 7%
src/smallmatter/typecheck0% | 0% | 0% | 69% | 30%
notebooks/smproc-stopgap0% | 0% | 0% | 85% | 14%
notebooks/smproc-stopgap/sourcedir0% | 0% | 0% | 0% | 100%
src/smallmatter/aws_lambda0% | 0% | 0% | 0% | 100%
notebooks0% | 0% | 0% | 0% | 100%
notebooks/smproc-stopgap/dummy_util0% | 0% | 0% | 0% | 100%
Longest Files (Top 23)
File# lines# units
versioneer.py
in root
931 36
sm.py
in src/smallmatter
406 16
_version.py
in src/smallmatter
334 17
ds.py
in src/smallmatter
300 36
_pdcheck.py
in src/smallmatter/typecheck
127 12
pathlib.py
in src/smallmatter
122 29
try-smproc-stopgap.py
in notebooks/smproc-stopgap
122 4
common.py
in src/smallmatter
55 5
__main__.py
in src/smallmatter/typecheck
54 1
setup.py
in root
53 1
bkh.py
in src/smallmatter
41 5
ipython_config.py
in notebooks
24 1
processing.py
in notebooks/smproc-stopgap/sourcedir
22 -
smconfig.py
in notebooks/smproc-stopgap
20 6
s3.py
in src/smallmatter/aws_lambda
18 2
__init__.py
in src/smallmatter/aws_lambda
9 1
version_prober.py
in notebooks/smproc-stopgap/sourcedir
9 1
cfg
setup.cfg
in root
7 -
__init__.py
in src/smallmatter
4 -
pyproject.toml
in root
2 -
in
MANIFEST.in
in root
2 -
__init__.py
in src/smallmatter/typecheck
1 -
__init__.py
in notebooks/smproc-stopgap/dummy_util
1 -
Files With Most Units (Top 16)
File# lines# units
ds.py
in src/smallmatter
300 36
versioneer.py
in root
931 36
pathlib.py
in src/smallmatter
122 29
_version.py
in src/smallmatter
334 17
sm.py
in src/smallmatter
406 16
_pdcheck.py
in src/smallmatter/typecheck
127 12
smconfig.py
in notebooks/smproc-stopgap
20 6
bkh.py
in src/smallmatter
41 5
common.py
in src/smallmatter
55 5
try-smproc-stopgap.py
in notebooks/smproc-stopgap
122 4
s3.py
in src/smallmatter/aws_lambda
18 2
__main__.py
in src/smallmatter/typecheck
54 1
__init__.py
in src/smallmatter/aws_lambda
9 1
setup.py
in root
53 1
ipython_config.py
in notebooks
24 1
version_prober.py
in notebooks/smproc-stopgap/sourcedir
9 1
Files With Long Lines (Top 0)

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

File# lines# units# long lines