aws-observability / aws-rum-web
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 71 files with 5,667 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 4 medium size files (1,155 lines of codeclsfd_ftr_w_mp_ins)
    • 20 small files (2,704 lines of code)
    • 47 very small files (1,808 lines of code)
0% | 0% | 20% | 47% | 31%
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% | 22% | 46% | 30%
html0% | 0% | 22% | 51% | 25%
js0% | 0% | 0% | 45% | 54%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src/plugins0% | 0% | 32% | 38% | 28%
app0% | 0% | 22% | 51% | 25%
src/orchestration0% | 0% | 100% | 0% | 0%
src/dispatch0% | 0% | 0% | 62% | 37%
src/sessions0% | 0% | 0% | 100% | 0%
src/loader0% | 0% | 0% | 36% | 63%
src/event-cache0% | 0% | 0% | 100% | 0%
src/test-utils0% | 0% | 0% | 63% | 36%
ROOT0% | 0% | 0% | 81% | 18%
src/utils0% | 0% | 0% | 0% | 100%
src0% | 0% | 0% | 0% | 100%
src/remote-config0% | 0% | 0% | 0% | 100%
scripts0% | 0% | 0% | 0% | 100%
src/errors0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
ingestion.html
in app
329 -
Orchestration.ts
in src/orchestration
315 15
XhrPlugin.ts
in src/plugins/event-plugins
270 8
FetchPlugin.ts
in src/plugins/event-plugins
241 6
NavigationPlugin.ts
in src/plugins/event-plugins
197 1
SessionManager.ts
in src/sessions
195 16
page_event.html
in app
166 -
http-utils.ts
in src/plugins/utils
164 3
Dispatch.ts
in src/dispatch
150 7
scorekeep.js
in src/loader/utils
142 14
EventCache.ts
in src/event-cache
139 9
http_xhr_event.html
in app
138 -
DataPlaneClient.ts
in src/dispatch
131 3
test-utils.ts
in src/test-utils
131 1
ResourcePlugin.ts
in src/plugins/event-plugins
129 2
index.html
in app
123 -
PageManager.ts
in src/sessions
119 12
http_fetch_event.html
in app
119 -
CognitoIdentityClient.ts
in src/dispatch
117 1
js_error_event.html
in app
115 -
DomEventPlugin.ts
in src/plugins/event-plugins
112 7
nightwatch.conf.js
in root
109 1
web_vital_event.html
in app
106 -
FetchHttpHandler.ts
in src/dispatch
102 1
PageViewPlugin.ts
in src/plugins/event-plugins
96 6
dom_event.html
in app
91 -
js-error-utils.ts
in src/plugins/utils
88 -
Authentication.ts
in src/dispatch
87 2
remote_config.html
in app
85 -
JsErrorPlugin.ts
in src/plugins/event-plugins
81 3
common-utils.ts
in src/utils
81 -
CommandQueue.ts
in src
81 3
cookies_enabled.html
in app
78 -
cookies_disabled.html
in app
78 -
EnhancedAuthentication.ts
in src/dispatch
74 2
StsClient.ts
in src/dispatch
72 1
unsupported_browser.html
in app
49 -
DemoPlugin.ts
in src/plugins/event-plugins
48 2
cookies-utils.ts
in src/utils
43 -
remote-config.ts
in src/remote-config
43 -
WebVitalsPlugin.ts
in src/plugins/event-plugins
40 1
integ-http-handler.ts
in src/test-utils
40 1
loader.js
in src/loader
39 3
http-handler-utils.ts
in src/test-utils
36 -
PluginManager.ts
in src/plugins
35 6
generate-schema-ts.js
in scripts
32 -
BeaconHttpHandler.ts
in src/dispatch
30 1
MonkeyPatched.ts
in src/plugins
29 3
jest.unit.config.js
in root
24 -
loader-ingestion.js
in src/loader
24 -
Files With Most Units (Top 20)
File# lines# units
SessionManager.ts
in src/sessions
195 16
Orchestration.ts
in src/orchestration
315 15
scorekeep.js
in src/loader/utils
142 14
PageManager.ts
in src/sessions
119 12
EventCache.ts
in src/event-cache
139 9
XhrPlugin.ts
in src/plugins/event-plugins
270 8
DomEventPlugin.ts
in src/plugins/event-plugins
112 7
Dispatch.ts
in src/dispatch
150 7
FetchPlugin.ts
in src/plugins/event-plugins
241 6
PageViewPlugin.ts
in src/plugins/event-plugins
96 6
PluginManager.ts
in src/plugins
35 6
loader.js
in src/loader
39 3
JsErrorPlugin.ts
in src/plugins/event-plugins
81 3
http-utils.ts
in src/plugins/utils
164 3
MonkeyPatched.ts
in src/plugins
29 3
DataPlaneClient.ts
in src/dispatch
131 3
CommandQueue.ts
in src
81 3
ResourcePlugin.ts
in src/plugins/event-plugins
129 2
DemoPlugin.ts
in src/plugins/event-plugins
48 2
Authentication.ts
in src/dispatch
87 2
Files With Long Lines (Top 4)

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

File# lines# units# long lines
ingestion.html
in app
329 - 6
scorekeep.js
in src/loader/utils
142 14 2
web_vital_event.html
in app
106 - 1
page_event.html
in app
166 - 1