aws-samples / aws-serverless-saas-layers
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 113 files with 6,095 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 0 medium size files (0 lines of codeclsfd_ftr_w_mp_ins)
    • 19 small files (2,644 lines of code)
    • 94 very small files (3,451 lines of code)
0% | 0% | 0% | 43% | 56%
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% | 0% | 0% | 84% | 15%
js0% | 0% | 0% | 18% | 81%
py0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
Solution/Lab40% | 0% | 0% | 74% | 25%
Lab4/server0% | 0% | 0% | 59% | 40%
Solution/Lab30% | 0% | 0% | 43% | 56%
Lab3/server0% | 0% | 0% | 53% | 46%
Lab1/server0% | 0% | 0% | 38% | 61%
Cloud9Setup0% | 0% | 0% | 100% | 0%
Solution/Lab20% | 0% | 0% | 21% | 78%
Lab2/server0% | 0% | 0% | 24% | 75%
Solution/Lab10% | 0% | 0% | 17% | 82%
Lab3/client0% | 0% | 0% | 0% | 100%
Lab4/client0% | 0% | 0% | 0% | 100%
Lab1/client0% | 0% | 0% | 0% | 100%
Lab2/client0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
saas-cfn-stack.yaml
in Solution/Lab3/server
186 -
saas-cfn-stack.yaml
in Solution/Lab4/server
186 -
saas-cfn-stack.yaml
in Lab3/server
186 -
saas-cfn-stack.yaml
in Lab4/server
186 -
partition-manager.js
in Solution/Lab4/server/layers/nodejs
143 7
partition-manager.js
in Lab4/server/layers/nodejs
143 7
sam-output.yaml
in Lab1/server
142 -
saas-sam-stack.yaml
in Solution/Lab3/server
140 -
saas-sam-stack.yaml
in Solution/Lab4/server
140 -
saas-sam-stack.yaml
in Lab3/server
140 -
saas-sam-stack.yaml
in Lab4/server
140 -
saas-sam-stack.yaml
in Solution/Lab2/server
135 -
saas-sam-stack.yaml
in Lab2/server
114 -
order-manager-dal.js
in Solution/Lab4/server/order-manager
113 1
product-manager-dal.js
in Solution/Lab4/server/product-manager
113 1
saas-sam-stack.yaml
in Solution/Lab1/server
112 -
saas-sam-stack.yaml
in Lab1/server
112 -
saas-cfn-cloud9-stack-eventengine.yaml
in Cloud9Setup
107 -
saas-cfn-cloud9-stack.yaml
in Cloud9Setup
106 -
saas-cfn-stack.yaml
in Solution/Lab2/server
98 -
saas-cfn-stack.yaml
in Lab2/server
98 -
saas-cfn-stack.yaml
in Solution/Lab1/server
94 -
order-manager-dal.js
in Solution/Lab3/server/order-manager
94 1
product-manager-dal.js
in Solution/Lab3/server/product-manager
94 1
saas-cfn-stack.yaml
in Lab1/server
94 -
order-manager-dal.js
in Lab4/server/order-manager
94 1
product-manager-dal.js
in Lab4/server/product-manager
94 1
order-manager-dal.js
in Lab3/server/order-manager
85 1
product-manager-dal.js
in Lab3/server/product-manager
85 1
order-manager-dal.js
in Solution/Lab1/server/order-manager
84 1
product-manager-dal.js
in Solution/Lab1/server/product-manager
84 1
order-manager-dal.js
in Solution/Lab2/server/order-manager
84 1
product-manager-dal.js
in Solution/Lab2/server/product-manager
84 1
order-manager-dal.js
in Lab1/server/order-manager
84 1
product-manager-dal.js
in Lab1/server/product-manager
84 1
order-manager-dal.js
in Lab2/server/order-manager
84 1
product-manager-dal.js
in Lab2/server/product-manager
84 1
product-simulator.py
in Solution/Lab1/client
44 5
order-simulator.py
in Solution/Lab1/client
44 5
product-simulator.py
in Solution/Lab3/client
44 5
order-simulator.py
in Solution/Lab3/client
44 5
product-simulator.py
in Solution/Lab2/client
44 5
order-simulator.py
in Solution/Lab2/client
44 5
product-simulator.py
in Solution/Lab4/client
44 5
order-simulator.py
in Solution/Lab4/client
44 5
product-simulator.py
in Lab1/client
44 5
order-simulator.py
in Lab1/client
44 5
product-simulator.py
in Lab3/client
44 5
order-simulator.py
in Lab3/client
44 5
product-simulator.py
in Lab2/client
44 5
Files With Most Units (Top 20)
File# lines# units
partition-manager.js
in Solution/Lab4/server/layers/nodejs
143 7
partition-manager.js
in Lab4/server/layers/nodejs
143 7
product-simulator.py
in Solution/Lab1/client
44 5
order-simulator.py
in Solution/Lab1/client
44 5
product-simulator.py
in Solution/Lab3/client
44 5
order-simulator.py
in Solution/Lab3/client
44 5
product-simulator.py
in Solution/Lab2/client
44 5
order-simulator.py
in Solution/Lab2/client
44 5
product-simulator.py
in Solution/Lab4/client
44 5
order-simulator.py
in Solution/Lab4/client
44 5
product-simulator.py
in Lab1/client
44 5
order-simulator.py
in Lab1/client
44 5
product-simulator.py
in Lab3/client
44 5
order-simulator.py
in Lab3/client
44 5
product-simulator.py
in Lab2/client
44 5
order-simulator.py
in Lab2/client
44 5
product-simulator.py
in Lab4/client
44 5
order-simulator.py
in Lab4/client
44 5
utils.py
in Solution/Lab1/client
20 4
utils.py
in Solution/Lab3/client
20 4
Files With Long Lines (Top 20)

There are 38 files with lines longer than 120 characters. In total, there are 106 long lines.

File# lines# units# long lines
order-manager-dal.js
in Solution/Lab4/server/order-manager
113 1 6
product-manager-dal.js
in Solution/Lab4/server/product-manager
113 1 6
product-manager-dal.js
in Solution/Lab1/server/product-manager
84 1 3
product-manager.js
in Solution/Lab1/server/product-manager
21 - 3
order-manager-dal.js
in Solution/Lab3/server/order-manager
94 1 3
order-manager.js
in Solution/Lab3/server/order-manager
21 - 3
product-manager-dal.js
in Solution/Lab3/server/product-manager
94 1 3
product-manager.js
in Solution/Lab3/server/product-manager
21 - 3
order-manager-dal.js
in Solution/Lab2/server/order-manager
84 1 3
order-manager.js
in Solution/Lab2/server/order-manager
21 - 3
product-manager-dal.js
in Solution/Lab2/server/product-manager
84 1 3
product-manager.js
in Solution/Lab2/server/product-manager
21 - 3
order-manager.js
in Solution/Lab4/server/order-manager
21 - 3
product-manager.js
in Solution/Lab4/server/product-manager
21 - 3
partition-manager.js
in Solution/Lab4/server/layers/nodejs
143 7 3
product-manager-dal.js
in Lab1/server/product-manager
84 1 3
product-manager.js
in Lab1/server/product-manager
21 - 3
order-manager-dal.js
in Lab3/server/order-manager
85 1 3
order-manager.js
in Lab3/server/order-manager
21 - 3
product-manager-dal.js
in Lab3/server/product-manager
85 1 3