aws-samples / medical-image-search
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 15 files with 2,869 lines of code.
    • 1 very long files (1,407 lines of code)
    • 0 long files (0 lines of code)
    • 4 medium size files (1,137 lines of codeclsfd_ftr_w_mp_ins)
    • 1 small files (108 lines of code)
    • 9 very small files (217 lines of code)
49% | 0% | 39% | 3% | 7%
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
yaml82% | 0% | 17% | 0% | 0%
js0% | 0% | 83% | 0% | 16%
py0% | 0% | 65% | 31% | 2%
css0% | 0% | 0% | 0% | 100%
html0% | 0% | 0% | 0% | 100%
yml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
CloudFormationTemplates82% | 0% | 17% | 0% | 0%
src0% | 0% | 78% | 0% | 21%
MMS0% | 0% | 100% | 0% | 0%
LambdaFunctions0% | 0% | 0% | 100% | 0%
public0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
container0% | 0% | 0% | 0% | 100%
Longest Files (Top 15)
File# lines# units
AppSyncBackend.yaml
in CloudFormationTemplates
1407 -
Search.js
in src
329 13
ecsfargate.yaml
in CloudFormationTemplates
304 -
Image.js
in src
284 25
dicom_featurization_service.py
in MMS
220 6
CMprocessLambdaFunction.py
in LambdaFunctions
108 1
serviceWorker.js
in src
98 4
App.css
in src
33 -
index.html
in public
21 -
App.js
in src
18 -
amplify.yml
in root
16 -
index.css
in src
12 -
mms-entrypoint.py
in container
10 -
index.js
in src
8 -
setupTests.js
in src
1 -
Files With Most Units (Top 5)
File# lines# units
Image.js
in src
284 25
Search.js
in src
329 13
dicom_featurization_service.py
in MMS
220 6
serviceWorker.js
in src
98 4
CMprocessLambdaFunction.py
in LambdaFunctions
108 1
Files With Long Lines (Top 5)

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

File# lines# units# long lines
AppSyncBackend.yaml
in CloudFormationTemplates
1407 - 4
dicom_featurization_service.py
in MMS
220 6 1
Image.js
in src
284 25 1
Search.js
in src
329 13 1
CMprocessLambdaFunction.py
in LambdaFunctions
108 1 1