aws-samples / pcluster-manager
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 59 files with 6,594 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (546 lines of code)
    • 7 medium size files (2,318 lines of codeclsfd_ftr_w_mp_ins)
    • 14 small files (2,192 lines of code)
    • 37 very small files (1,538 lines of code)
0% | 8% | 35% | 33% | 23%
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
js0% | 10% | 30% | 33% | 25%
yaml0% | 0% | 64% | 22% | 13%
py0% | 0% | 49% | 27% | 22%
css0% | 0% | 0% | 93% | 6%
html0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
frontend/src/pages0% | 15% | 29% | 37% | 17%
infrastructure0% | 0% | 64% | 22% | 13%
frontend/src0% | 0% | 50% | 20% | 28%
api0% | 0% | 93% | 0% | 6%
awslambda0% | 0% | 0% | 82% | 17%
infrastructure/cognitolambda0% | 0% | 0% | 100% | 0%
frontend/src/components0% | 0% | 0% | 29% | 70%
frontend/src/redux0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
frontend/public0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
Storage.js
in frontend/src/pages/Configure
546 11
pcluster-manager.yaml
in infrastructure
467 -
model.js
in frontend/src
460 28
PclusterApiHandler.py
in api
329 24
Cluster.js
in frontend/src/pages/Configure
307 7
Queues.js
in frontend/src/pages/Configure
280 9
HeadNode.js
in frontend/src/pages/Configure
264 8
CustomImages.js
in frontend/src/pages/CustomImages
211 2
App.css
in frontend/src
185 -
serverless_wsgi.py
in awslambda
182 12
index.js
in infrastructure/cognitolambda
178 2
Clusters.js
in frontend/src/pages/Clusters
177 1
WizardDialog.js
in frontend/src/pages/Configure
176 2
ClusterInstances.js
in frontend/src/pages/Clusters
175 3
Users.js
in frontend/src/pages/Users
166 4
Source.js
in frontend/src/pages/Configure
163 3
pcluster-manager-cognito.yaml
in infrastructure
162 -
Components.js
in frontend/src/pages/Configure
134 3
CustomImageDetails.js
in frontend/src/pages/CustomImages
133 3
ImageBuildDialog.js
in frontend/src/pages/CustomImages
126 3
TopBar.js
in frontend/src/components
119 2
OfficialImages.js
in frontend/src/pages/OfficialImages
116 1
SideBar.js
in frontend/src/components
100 2
SSMSessionProfile-cfn.yaml
in infrastructure
98 -
store.js
in frontend/src
95 11
ClusterActions.js
in frontend/src/pages/Clusters
87 1
app.py
in root
86 2
Create.js
in frontend/src/pages/Configure
84 5
ClusterProperties.js
in frontend/src/pages/Clusters
80 2
util.js
in frontend/src/pages/Configure
65 2
index.js
in frontend/src
59 -
CustomImageLogs.js
in frontend/src/pages/CustomImages
58 1
FileChooser.js
in frontend/src/components
57 4
ClusterLogs.js
in frontend/src/pages/Clusters
54 2
ValidationErrors.js
in frontend/src/components
46 -
ClusterStackEvents.js
in frontend/src/pages/Clusters
44 2
util.js
in frontend/src
42 5
useNotifier.js
in frontend/src/redux
40 -
snackbar_reducer.js
in frontend/src/redux
38 -
entrypoint.py
in awslambda
37 2
App.js
in frontend/src
37 -
ClusterStopDialog.js
in frontend/src/pages/Clusters
37 -
CustomImageStackEvents.js
in frontend/src/pages/CustomImages
36 2
ClusterDeleteDialog.js
in frontend/src/pages/Clusters
36 -
Status.js
in frontend/src/components
30 -
Home.js
in frontend/src/pages/Home
28 1
utils.py
in api
23 2
snackbar_actions.js
in frontend/src/redux
22 -
index.html
in frontend/public
22 -
ClusterDetails.js
in frontend/src/pages/Clusters
21 -
Files With Most Units (Top 20)
File# lines# units
model.js
in frontend/src
460 28
PclusterApiHandler.py
in api
329 24
serverless_wsgi.py
in awslambda
182 12
store.js
in frontend/src
95 11
Storage.js
in frontend/src/pages/Configure
546 11
Queues.js
in frontend/src/pages/Configure
280 9
HeadNode.js
in frontend/src/pages/Configure
264 8
Cluster.js
in frontend/src/pages/Configure
307 7
util.js
in frontend/src
42 5
Create.js
in frontend/src/pages/Configure
84 5
FileChooser.js
in frontend/src/components
57 4
Users.js
in frontend/src/pages/Users
166 4
ImageBuildDialog.js
in frontend/src/pages/CustomImages
126 3
CustomImageDetails.js
in frontend/src/pages/CustomImages
133 3
ClusterInstances.js
in frontend/src/pages/Clusters
175 3
Source.js
in frontend/src/pages/Configure
163 3
Components.js
in frontend/src/pages/Configure
134 3
utils.py
in api
23 2
entrypoint.py
in awslambda
37 2
app.py
in root
86 2
Files With Long Lines (Top 20)

There are 26 files with lines longer than 120 characters. In total, there are 123 long lines.

File# lines# units# long lines
Storage.js
in frontend/src/pages/Configure
546 11 32
Queues.js
in frontend/src/pages/Configure
280 9 14
pcluster-manager.yaml
in infrastructure
467 - 12
ClusterActions.js
in frontend/src/pages/Clusters
87 1 7
HeadNode.js
in frontend/src/pages/Configure
264 8 6
SideBar.js
in frontend/src/components
100 2 5
Source.js
in frontend/src/pages/Configure
163 3 5
Cluster.js
in frontend/src/pages/Configure
307 7 5
Status.js
in frontend/src/components
30 - 4
ClusterLogs.js
in frontend/src/pages/Clusters
54 2 4
ClusterInstances.js
in frontend/src/pages/Clusters
175 3 3
Components.js
in frontend/src/pages/Configure
134 3 3
Create.js
in frontend/src/pages/Configure
84 5 3
pcluster-manager-cognito.yaml
in infrastructure
162 - 3
ValidationErrors.js
in frontend/src/components
46 - 2
CustomImageLogs.js
in frontend/src/pages/CustomImages
58 1 2
CustomImageDetails.js
in frontend/src/pages/CustomImages
133 3 2
WizardDialog.js
in frontend/src/pages/Configure
176 2 2
index.js
in infrastructure/cognitolambda
178 2 2
App.css
in frontend/src
185 - 1