aws-samples / aws-serverless-subscription-service-node
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 1,038 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)
    • 4 small files (649 lines of code)
    • 8 very small files (389 lines of code)
0% | 0% | 0% | 62% | 37%
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% | 0% | 0% | 91% | 8%
html0% | 0% | 0% | 0% | 100%
yml0% | 0% | 0% | 0% | 100%
css0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ROOT0% | 0% | 0% | 80% | 19%
paywall_edge_function0% | 0% | 0% | 96% | 3%
view0% | 0% | 0% | 0% | 100%
public0% | 0% | 0% | 0% | 100%
Longest Files (Top 12)
File# lines# units
paywall.js
in paywall_edge_function
189 1
paywall.js
in root
182 1
entitlements.js
in root
171 1
login.js
in root
107 -
entitlements.html
in view
87 -
index.html
in view
76 -
login.html
in view
60 -
serverless.yml
in root
58 -
index.js
in root
47 -
login.css
in public
47 -
config.js
in root
7 -
config.js
in paywall_edge_function
7 -
Files With Most Units (Top 3)
File# lines# units
entitlements.js
in root
171 1
paywall.js
in paywall_edge_function
189 1
paywall.js
in root
182 1
Files With Long Lines (Top 4)

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

File# lines# units# long lines
login.js
in root
107 - 3
entitlements.js
in root
171 1 1
paywall.js
in paywall_edge_function
189 1 1
paywall.js
in root
182 1 1