awslabs / scale-out-computing-on-aws
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 149 files with 33,017 lines of code.
    • 2 very long files (13,414 lines of code)
    • 9 long files (5,857 lines of code)
    • 22 medium size files (6,412 lines of codeclsfd_ftr_w_mp_ins)
    • 23 small files (3,345 lines of code)
    • 93 very small files (3,989 lines of code)
40% | 17% | 19% | 10% | 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
css92% | 0% | 6% | 0% | <1%
py0% | 32% | 29% | 14% | 23%
html0% | 32% | 27% | 25% | 14%
cfg0% | 0% | 100% | 0% | 0%
yml0% | 0% | 0% | 67% | 32%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
source/soca/cluster_web_ui/static92% | 0% | 6% | 0% | <1%
installer/resources/src0% | 97% | 0% | 0% | 2%
source/soca/cluster_web_ui/templates0% | 32% | 27% | 25% | 14%
source/soca/cluster_manager0% | 56% | 41% | 0% | 2%
source/soca/cluster_web_ui/views0% | 29% | 14% | 29% | 26%
source/soca/cluster_web_ui/api0% | 0% | 40% | 19% | 40%
source/soca/cluster_web_ui/scheduled_tasks0% | 0% | 94% | 0% | 5%
source/soca/cluster_analytics0% | 0% | 62% | 0% | 37%
source/scripts0% | 0% | 100% | 0% | 0%
source/soca/cluster_web_ui0% | 0% | 29% | 49% | 21%
installer0% | 0% | 0% | 100% | 0%
source/soca/cluster_hooks0% | 0% | 0% | 100% | 0%
source/soca/cluster_manager/utilities0% | 0% | 0% | 100% | 0%
source/soca/cluster_hooks/queuejob0% | 0% | 0% | 0% | 100%
installer/resources/functions/SolutionMetricsLambda0% | 0% | 0% | 0% | 100%
installer/resources/functions/GetESPrivateIPLambda0% | 0% | 0% | 0% | 100%
installer/resources/functions/CreateELBSSLCertificate0% | 0% | 0% | 0% | 100%
installer/resources/functions/TagEC2ResourceLambda0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
installer/resources/functions/EFSThroughputLambda0% | 0% | 0% | 0% | 100%
source/soca/cluster_analytics/metricbeat0% | 0% | 0% | 0% | 100%
installer/resources/functions/ResetDSPassword0% | 0% | 0% | 0% | 100%
source/soca/cluster_manager/settings0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
app.css
in source/soca/cluster_web_ui/static/css
10433 -
icons.css
in source/soca/cluster_web_ui/static/css
2981 -
cdk_construct.py
in installer/resources/src
846 14
dispatcher.py
in source/soca/cluster_manager
835 11
add_nodes.py
in source/soca/cluster_manager
763 7
applications.html
in source/soca/cluster_web_ui/templates/admin
652 -
remote_desktop.html
in source/soca/cluster_web_ui/templates
592 -
install_soca.py
in installer/resources/src
585 8
my_files.py
in source/soca/cluster_web_ui/views
549 14
find_existing_resources.py
in installer/resources/src
530 11
remote_desktop_windows.html
in source/soca/cluster_web_ui/templates
505 -
manage_dcv_instances_lifecycle.py
in source/soca/cluster_web_ui/scheduled_tasks
441 7
cloudformation_builder.py
in source/soca/cluster_manager
422 1
dropzone.css
in source/soca/cluster_web_ui/static/css
391 -
howto_job.html
in source/soca/cluster_web_ui/templates
371 -
create_linux_desktop.py
in source/soca/cluster_web_ui/api/v1/dcv
363 4
nodes_manager.py
in source/soca/cluster_manager
345 11
my_files.html
in source/soca/cluster_web_ui/templates
336 -
fonts.css
in source/soca/cluster_web_ui/static/css
294 -
create_windows_desktop.py
in source/soca/cluster_web_ui/api/v1/dcv
280 4
queues.html
in source/soca/cluster_web_ui/templates/admin
277 -
remote_desktop_windows.py
in source/soca/cluster_web_ui/views
275 11
job_tracking.py
in source/soca/cluster_analytics
264 6
cfg
config.cfg
in source/scripts
262 -
app.py
in source/soca/cluster_web_ui
256 3
user.py
in source/soca/cluster_web_ui/api/v1/ldap/activedirectory
255 4
jquery-ui-slider-pips.css
in source/soca/cluster_web_ui/static/css
254 -
users.html
in source/soca/cluster_web_ui/templates/admin
248 -
user.py
in source/soca/cluster_web_ui/api/v1/ldap/openldap
233 4
socaqstat.py
in source/soca/cluster_manager
224 1
group.py
in source/soca/cluster_web_ui/api/v1/ldap/activedirectory
214 4
groups.html
in source/soca/cluster_web_ui/templates/admin
204 -
dcv_alb_manager.py
in source/soca/cluster_manager
203 9
list_desktops.py
in source/soca/cluster_web_ui/api/v1/dcv
197 3
remote_desktop.py
in source/soca/cluster_web_ui/views
195 8
my_api_key.html
in source/soca/cluster_web_ui/templates
192 -
group.py
in source/soca/cluster_web_ui/api/v1/ldap/openldap
174 4
my_jobs.html
in source/soca/cluster_web_ui/templates
171 -
submit_job_selected_application.html
in source/soca/cluster_web_ui/templates
167 -
config.py
in source/soca/cluster_web_ui
160 1
default_config.yml
in installer
153 -
decorators.py
in source/soca/cluster_web_ui
152 9
job.py
in source/soca/cluster_web_ui/api/v1/scheduler/pbspro
151 3
ami_management.html
in source/soca/cluster_web_ui/templates/admin
150 -
howto_queue.html
in source/soca/cluster_web_ui/templates
147 -
vertical_menu_bar.html
in source/soca/cluster_web_ui/templates/common
144 -
submit_job.py
in source/soca/cluster_web_ui/views
135 3
my_account.html
in source/soca/cluster_web_ui/templates
134 -
aws_price.py
in source/soca/cluster_web_ui/api/v1/system
131 3
users.py
in source/soca/cluster_web_ui/views/admin
126 4
Files With Most Units (Top 20)
File# lines# units
my_files.py
in source/soca/cluster_web_ui/views
549 14
cdk_construct.py
in installer/resources/src
846 14
remote_desktop_windows.py
in source/soca/cluster_web_ui/views
275 11
dispatcher.py
in source/soca/cluster_manager
835 11
nodes_manager.py
in source/soca/cluster_manager
345 11
find_existing_resources.py
in installer/resources/src
530 11
decorators.py
in source/soca/cluster_web_ui
152 9
dcv_alb_manager.py
in source/soca/cluster_manager
203 9
remote_desktop.py
in source/soca/cluster_web_ui/views
195 8
install_soca.py
in installer/resources/src
585 8
index.py
in source/soca/cluster_web_ui/views
91 7
manage_dcv_instances_lifecycle.py
in source/soca/cluster_web_ui/scheduled_tasks
441 7
add_nodes.py
in source/soca/cluster_manager
763 7
models.py
in source/soca/cluster_web_ui
118 6
job_tracking.py
in source/soca/cluster_analytics
264 6
groups.py
in source/soca/cluster_web_ui/views/admin
105 5
users.py
in source/soca/cluster_web_ui/views/admin
126 4
ami_management.py
in source/soca/cluster_web_ui/views/admin
62 4
group.py
in source/soca/cluster_web_ui/api/v1/ldap/openldap
174 4
user.py
in source/soca/cluster_web_ui/api/v1/ldap/openldap
233 4
Files With Long Lines (Top 20)

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

File# lines# units# long lines
cdk_construct.py
in installer/resources/src
846 14 201
remote_desktop.html
in source/soca/cluster_web_ui/templates
592 - 156
remote_desktop_windows.html
in source/soca/cluster_web_ui/templates
505 - 135
dispatcher.py
in source/soca/cluster_manager
835 11 120
install_soca.py
in installer/resources/src
585 8 89
applications.html
in source/soca/cluster_web_ui/templates/admin
652 - 82
manage_dcv_instances_lifecycle.py
in source/soca/cluster_web_ui/scheduled_tasks
441 7 64
app.css
in source/soca/cluster_web_ui/static/css
10433 - 63
create_linux_desktop.py
in source/soca/cluster_web_ui/api/v1/dcv
363 4 49
find_existing_resources.py
in installer/resources/src
530 11 42
howto_job.html
in source/soca/cluster_web_ui/templates
371 - 41
add_nodes.py
in source/soca/cluster_manager
763 7 39
create_windows_desktop.py
in source/soca/cluster_web_ui/api/v1/dcv
280 4 38
my_files.html
in source/soca/cluster_web_ui/templates
336 - 35
users.html
in source/soca/cluster_web_ui/templates/admin
248 - 33
budget.html
in source/soca/cluster_web_ui/templates
118 - 26
cloudformation_builder.py
in source/soca/cluster_manager
422 1 25
queues.html
in source/soca/cluster_web_ui/templates/admin
277 - 23
job_tracking.py
in source/soca/cluster_analytics
264 6 23
my_files.py
in source/soca/cluster_web_ui/views
549 14 22