aws-samples / dicom-metadata-extractor-serverless-datalake
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 8 files with 1,264 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (550 lines of code)
    • 0 medium size files (0 lines of codeclsfd_ftr_w_mp_ins)
    • 3 small files (496 lines of code)
    • 4 very small files (218 lines of code)
0% | 43% | 0% | 39% | 17%
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
yml0% | 100% | 0% | 0% | 0%
py0% | 0% | 0% | 69% | 30%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
deploy0% | 100% | 0% | 0% | 0%
src0% | 0% | 0% | 75% | 24%
src/utils0% | 0% | 0% | 79% | 20%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 8)
File# lines# units
serverless.yml
in deploy
550 -
tags.py
in src/utils
196 14
app.py
in src
191 4
s3wrapper.py
in src
109 8
generate_dcm.py
in root
69 -
dicomwrapper.py
in src
58 8
utils.py
in src/utils
51 4
logger.py
in src
40 1
Files With Most Units (Top 6)
File# lines# units
tags.py
in src/utils
196 14
dicomwrapper.py
in src
58 8
s3wrapper.py
in src
109 8
app.py
in src
191 4
utils.py
in src/utils
51 4
logger.py
in src
40 1
Files With Long Lines (Top 3)

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

File# lines# units# long lines
app.py
in src
191 4 2
serverless.yml
in deploy
550 - 1
dicomwrapper.py
in src
58 8 1