aws-samples / appstream-data-tools-isolation-blog
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 680 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 1 medium size files (249 lines of codeclsfd_ftr_w_mp_ins)
    • 0 small files (0 lines of code)
    • 11 very small files (431 lines of code)
0% | 0% | 36% | 0% | 63%
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% | 0% | 41% | 0% | 58%
ps10% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
stacks0% | 0% | 48% | 0% | 51%
appstream_scripts0% | 0% | 0% | 0% | 100%
lambda0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 12)
File# lines# units
data_sandbox_appstream.py
in stacks
249 1
data_sandbox_service_roles.py
in stacks
68 1
sagemaker-notebook.ps1
in appstream_scripts
67 -
data_sandbox_notebook.py
in stacks
67 1
appstream_service_roles_lambda.py
in lambda
40 1
data_sandbox_start_fleet.py
in stacks
38 1
data_sandbox_saml.py
in stacks
35 1
data_sandbox_lambda.py
in lambda
28 1
data_sandbox_s3.py
in stacks
28 1
app.py
in root
24 -
data_sandbox_vpc.py
in stacks
24 1
sagemaker-notebook-launcher.ps1
in appstream_scripts
12 -
Files With Most Units (Top 9)
File# lines# units
appstream_service_roles_lambda.py
in lambda
40 1
data_sandbox_lambda.py
in lambda
28 1
data_sandbox_appstream.py
in stacks
249 1
data_sandbox_start_fleet.py
in stacks
38 1
data_sandbox_s3.py
in stacks
28 1
data_sandbox_service_roles.py
in stacks
68 1
data_sandbox_notebook.py
in stacks
67 1
data_sandbox_saml.py
in stacks
35 1
data_sandbox_vpc.py
in stacks
24 1
Files With Long Lines (Top 9)

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

File# lines# units# long lines
sagemaker-notebook.ps1
in appstream_scripts
67 - 3
app.py
in root
24 - 2
appstream_service_roles_lambda.py
in lambda
40 1 2
data_sandbox_appstream.py
in stacks
249 1 2
data_sandbox_service_roles.py
in stacks
68 1 2
data_sandbox_saml.py
in stacks
35 1 2
sagemaker-notebook-launcher.ps1
in appstream_scripts
12 - 1
data_sandbox_start_fleet.py
in stacks
38 1 1
data_sandbox_notebook.py
in stacks
67 1 1