aws-samples / ab-testing-at-edge
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 24 files with 2,675 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 2 medium size files (594 lines of codeclsfd_ftr_w_mp_ins)
    • 9 small files (1,322 lines of code)
    • 13 very small files (759 lines of code)
0% | 0% | 22% | 49% | 28%
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
ts0% | 0% | 47% | 0% | 52%
html0% | 0% | 15% | 84% | 0%
js0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
lib0% | 0% | 100% | 0% | 0%
resources/website0% | 0% | 15% | 84% | 0%
resources/module_3_10% | 0% | 0% | 0% | 100%
resources/module_3_30% | 0% | 0% | 0% | 100%
resources/module_3_20% | 0% | 0% | 0% | 100%
lib/module_20% | 0% | 0% | 0% | 100%
lib/module_3_10% | 0% | 0% | 0% | 100%
lib/module_3_30% | 0% | 0% | 0% | 100%
lib/module_3_20% | 0% | 0% | 0% | 100%
lib/module_10% | 0% | 0% | 0% | 100%
lib/bootstrap0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 24)
File# lines# units
ab_dashboard.ts
in lib
343 27
index_b.html
in resources/website
251 -
index.html
in resources/website
194 -
product-1002.html
in resources/website
141 -
product-1001.html
in resources/website
141 -
product-1004.html
in resources/website
141 -
product-2001.html
in resources/website
141 -
product-2002.html
in resources/website
141 -
product-2004.html
in resources/website
141 -
product-1003.html
in resources/website
141 -
product-2003.html
in resources/website
141 -
index.js
in resources/module_3_1/request
95 4
ab_testing_module_2.ts
in lib/module_2
94 3
index.js
in resources/module_3_3/request
82 2
index.js
in resources/module_3_2/request
81 3
ab_testing_module_3_1.ts
in lib/module_3_1
69 1
ab_testing_module_3_3.ts
in lib/module_3_3
68 1
ab_testing_module_3_2.ts
in lib/module_3_2
66 1
ab_testing_module_1.ts
in lib/module_1
57 2
index.js
in resources/module_3_1/response
36 1
index.js
in resources/module_3_2/response
36 1
index.js
in resources/module_3_3/response
36 1
ab_testing_bootstrap.ts
in lib/bootstrap
32 1
jest.config.js
in root
7 -
Files With Most Units (Top 13)
File# lines# units
ab_dashboard.ts
in lib
343 27
index.js
in resources/module_3_1/request
95 4
ab_testing_module_2.ts
in lib/module_2
94 3
index.js
in resources/module_3_2/request
81 3
ab_testing_module_1.ts
in lib/module_1
57 2
index.js
in resources/module_3_3/request
82 2
ab_testing_module_3_1.ts
in lib/module_3_1
69 1
ab_testing_bootstrap.ts
in lib/bootstrap
32 1
ab_testing_module_3_2.ts
in lib/module_3_2
66 1
ab_testing_module_3_3.ts
in lib/module_3_3
68 1
index.js
in resources/module_3_1/response
36 1
index.js
in resources/module_3_2/response
36 1
index.js
in resources/module_3_3/response
36 1
Files With Long Lines (Top 13)

There are 13 files with lines longer than 120 characters. In total, there are 28 long lines.

File# lines# units# long lines
ab_dashboard.ts
in lib
343 27 6
product-1002.html
in resources/website
141 - 2
index_b.html
in resources/website
251 - 2
index.html
in resources/website
194 - 2
product-1001.html
in resources/website
141 - 2
product-1004.html
in resources/website
141 - 2
product-2001.html
in resources/website
141 - 2
product-2002.html
in resources/website
141 - 2
product-2004.html
in resources/website
141 - 2
product-1003.html
in resources/website
141 - 2
product-2003.html
in resources/website
141 - 2
ab_testing_module_2.ts
in lib/module_2
94 3 1
ab_testing_bootstrap.ts
in lib/bootstrap
32 1 1