aws-samples / 1click-hpc
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 27 files with 7,471 lines of code.
    • 0 very long files (0 lines of code)
    • 5 long files (3,024 lines of code)
    • 11 medium size files (3,954 lines of codeclsfd_ftr_w_mp_ins)
    • 1 small files (163 lines of code)
    • 10 very small files (330 lines of code)
0% | 40% | 52% | 2% | 4%
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
yaml0% | 40% | 59% | 0% | 0%
js0% | 100% | 0% | 0% | 0%
xsl0% | 0% | 100% | 0% | 0%
ui0% | 0% | 0% | 79% | 20%
yml0% | 0% | 0% | 0% | 100%
html0% | 0% | 0% | 0% | 100%
py0% | 0% | 0% | 0% | 100%
mysql0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
parallelcluster0% | 30% | 69% | 0% | 0%
Templates0% | 100% | 0% | 0% | 0%
enginframe0% | 51% | 28% | 15% | 3%
monitoring/docker-compose0% | 0% | 0% | 0% | 100%
monitoring/www0% | 0% | 0% | 0% | 100%
monitoring/prometheus0% | 0% | 0% | 0% | 100%
monitoring/grafana/datasources0% | 0% | 0% | 0% | 100%
monitoring/custom-metrics0% | 0% | 0% | 0% | 100%
monitoring/grafana/dashboards0% | 0% | 0% | 0% | 100%
sacct/mysql0% | 0% | 0% | 0% | 100%
Longest Files (Top 27)
File# lines# units
AWS-HPC-Cluster.yaml
in Templates
912 -
config.eu-west-1.sample.yaml
in parallelcluster
530 -
config.us-east-2.sample.yaml
in parallelcluster
530 -
hydrogen.manage-users.js
in enginframe
527 37
config.us-east-1.sample.yaml
in parallelcluster
525 -
config.us-west-2.sample.yaml
in parallelcluster
400 -
config.ap-northeast-1.sample.yaml
in parallelcluster
386 -
config.us-west-1.sample.yaml
in parallelcluster
386 -
config.eu-central-1.sample.yaml
in parallelcluster
386 -
config.ap-northeast-2.sample.yaml
in parallelcluster
372 -
config.ap-south-1.sample.yaml
in parallelcluster
356 -
config.ap-east-1.sample.yaml
in parallelcluster
346 -
config.ca-central-1.sample.yaml
in parallelcluster
346 -
config.eu-north-1.sample.yaml
in parallelcluster
346 -
config.eu-south-1.sample.yaml
in parallelcluster
332 -
xsl
layout.templates.xsl
in enginframe
298 -
ui
applications.manage.users.ui
in enginframe
163 -
index.html
in monitoring/www
83 -
prometheus.yml
in monitoring/prometheus
68 -
docker-compose.headnode.yml
in monitoring/docker-compose
60 -
ui
fm.browse.ui
in enginframe
41 -
docker-compose.compute.gpu.yml
in monitoring/docker-compose
22 -
datasource.yml
in monitoring/grafana/datasources
20 -
aws-region.py
in monitoring/custom-metrics
13 -
docker-compose.compute.yml
in monitoring/docker-compose
12 -
dashboards.yml
in monitoring/grafana/dashboards
10 -
mysql
grant.mysql
in sacct/mysql
1 -
Files With Most Units (Top 1)
File# lines# units
hydrogen.manage-users.js
in enginframe
527 37
Files With Long Lines (Top 6)

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

File# lines# units# long lines
hydrogen.manage-users.js
in enginframe
527 37 15
AWS-HPC-Cluster.yaml
in Templates
912 - 11
index.html
in monitoring/www
83 - 5
xsl
layout.templates.xsl
in enginframe
298 - 3
ui
applications.manage.users.ui
in enginframe
163 - 1
ui
fm.browse.ui
in enginframe
41 - 1