opensearch-project / notifications
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 188 files with 14,702 lines of code.
    • 0 very long files (0 lines of code)
    • 2 long files (1,029 lines of code)
    • 15 medium size files (3,849 lines of codeclsfd_ftr_w_mp_ins)
    • 39 small files (5,476 lines of code)
    • 132 very small files (4,348 lines of code)
0% | 6% | 26% | 37% | 29%
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
kt0% | 9% | 24% | 27% | 38%
tsx0% | 7% | 28% | 47% | 16%
ts0% | 0% | 25% | 23% | 50%
yml0% | 0% | 0% | 51% | 48%
policy0% | 0% | 0% | 0% | 100%
py0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
notifications/notifications/src0% | 12% | 24% | 31% | 32%
dashboards-notifications/public/pages0% | 6% | 27% | 47% | 17%
notifications/core/src0% | 0% | 23% | 24% | 51%
dashboards-notifications/server/routes0% | 0% | 58% | 39% | 1%
dashboards-notifications/public/services0% | 0% | 57% | 0% | 42%
dashboards-notifications/models0% | 0% | 0% | 100% | 0%
notifications/core-spi/src0% | 0% | 0% | 0% | 100%
dashboards-notifications/public/components0% | 0% | 0% | 0% | 100%
dashboards-notifications/public/utils0% | 0% | 0% | 0% | 100%
dashboards-notifications/server/clusters0% | 0% | 0% | 0% | 100%
dashboards-notifications/public0% | 0% | 0% | 0% | 100%
dashboards-notifications/server0% | 0% | 0% | 0% | 100%
release-notes0% | 0% | 0% | 0% | 100%
dashboards-notifications/common0% | 0% | 0% | 0% | 100%
notifications0% | 0% | 0% | 0% | 100%
dashboards-notifications/server/utils0% | 0% | 0% | 0% | 100%
dashboards-notifications/public/models0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
SendMessageActionHelper.kt
in notifications/notifications/src/main/kotlin/org/opensearch/notifications/send
517 3
CreateChannel.tsx
in dashboards-notifications/public/pages/CreateChannel
512 2
ConfigIndexingActions.kt
in notifications/notifications/src/main/kotlin/org/opensearch/notifications/index
374 6
EmailSettings.tsx
in dashboards-notifications/public/pages/CreateChannel/components
342 5
PluginSettings.kt
in notifications/core/src/main/kotlin/org/opensearch/notifications/core/setting
341 4
Notifications.tsx
in dashboards-notifications/public/pages/Notifications/containers
265 5
RecipientGroupsTable.tsx
in dashboards-notifications/public/pages/Emails/components/tables
261 5
Channels.tsx
in dashboards-notifications/public/pages/Channels
260 6
SendersTable.tsx
in dashboards-notifications/public/pages/Emails/components/tables
244 5
Metrics.kt
in notifications/notifications/src/main/kotlin/org/opensearch/notifications/metrics
232 2
SESSendersTable.tsx
in dashboards-notifications/public/pages/Emails/components/tables
225 5
ChannelDetails.tsx
in dashboards-notifications/public/pages/Channels/components/details
224 1
NotificationEventIndex.kt
in notifications/notifications/src/main/kotlin/org/opensearch/notifications/index
224 9
NotificationConfigIndex.kt
in notifications/notifications/src/main/kotlin/org/opensearch/notifications/index
223 9
Main.tsx
in dashboards-notifications/public/pages/Main
220 2
configRoutes.ts
in dashboards-notifications/server/routes
210 1
NotificationService.ts
in dashboards-notifications/public/services
204 5
ConfigQueryHelper.kt
in notifications/notifications/src/main/kotlin/org/opensearch/notifications/index
196 2
ChannelControls.tsx
in dashboards-notifications/public/pages/Channels/components
192 2
ChannelSettingsDetails.tsx
in dashboards-notifications/public/pages/Channels/components/details
191 -
CustomWebhookSettings.tsx
in dashboards-notifications/public/pages/CreateChannel/components
190 3
Filters.tsx
in dashboards-notifications/public/pages/Notifications/components/SearchBar/Filter
187 -
NotificationConfigRestHandler.kt
in notifications/notifications/src/main/kotlin/org/opensearch/notifications/resthandler
177 4
CreateRecipientGroup.tsx
in dashboards-notifications/public/pages/Emails
176 3
CreateSender.tsx
in dashboards-notifications/public/pages/Emails
172 5
CreateSESSender.tsx
in dashboards-notifications/public/pages/Emails
172 4
filterHelpers.tsx
in dashboards-notifications/public/pages/Notifications/components/SearchBar/utils
165 -
SecureIndexClient.kt
in notifications/notifications/src/main/kotlin/org/opensearch/notifications/util
159 30
NotificationPlugin.kt
in notifications/notifications/src/main/kotlin/org/opensearch/notifications
154 5
EventQueryHelper.kt
in notifications/notifications/src/main/kotlin/org/opensearch/notifications/index
153 2
FilterEditPopover.tsx
in dashboards-notifications/public/pages/Notifications/components/SearchBar/Filter
150 1
NotificationsTable.tsx
in dashboards-notifications/public/pages/Notifications/components/NotificationsTable
146 1
PluginSettings.kt
in notifications/notifications/src/main/kotlin/org/opensearch/notifications/settings
146 4
helper.ts
in dashboards-notifications/public/pages/CreateChannel/utils
143 -
CreateSenderForm.tsx
in dashboards-notifications/public/pages/Emails/components/forms
142 3
eventRoutes.ts
in dashboards-notifications/server/routes
142 1
DestinationHttpClient.kt
in notifications/core/src/main/kotlin/org/opensearch/notifications/core/client
140 3
CreateSESSenderForm.tsx
in dashboards-notifications/public/pages/Emails/components/forms
133 2
notifications-config-mapping.yml
in notifications/notifications/src/main/resources
130 -
CreateRecipientGroupForm.tsx
in dashboards-notifications/public/pages/Emails/components/forms
128 3
CreateSenderModal.tsx
in dashboards-notifications/public/pages/CreateChannel/components/modals
122 4
CreateSESSenderModal.tsx
in dashboards-notifications/public/pages/CreateChannel/components/modals
120 3
PluginBaseAction.kt
in notifications/notifications/src/main/kotlin/org/opensearch/notifications/action
120 1
DeleteChannelModal.tsx
in dashboards-notifications/public/pages/Channels/components/modals
118 -
CreateRecipientGroupModal.tsx
in dashboards-notifications/public/pages/CreateChannel/components/modals
116 2
DeleteRecipientGroupModal.tsx
in dashboards-notifications/public/pages/Emails/components/modals
113 -
ChannelActions.tsx
in dashboards-notifications/public/pages/Channels/components
111 2
ChannelDetailsActions.tsx
in dashboards-notifications/public/pages/Channels/components/details
111 -
DeleteSenderModal.tsx
in dashboards-notifications/public/pages/Emails/components/modals
111 -
DestinationSesClient.kt
in notifications/core/src/main/kotlin/org/opensearch/notifications/core/client
110 1
Files With Most Units (Top 20)
File# lines# units
SecureIndexClient.kt
in notifications/notifications/src/main/kotlin/org/opensearch/notifications/util
159 30
NotificationConfigIndex.kt
in notifications/notifications/src/main/kotlin/org/opensearch/notifications/index
223 9
NotificationEventIndex.kt
in notifications/notifications/src/main/kotlin/org/opensearch/notifications/index
224 9
ValidationHelpers.kt
in notifications/core/src/main/kotlin/org/opensearch/notifications/core/utils
58 7
Channels.tsx
in dashboards-notifications/public/pages/Channels
260 6
ValidationHelpers.kt
in notifications/core-spi/src/main/kotlin/org/opensearch/notifications/spi/utils
53 6
ConfigIndexingActions.kt
in notifications/notifications/src/main/kotlin/org/opensearch/notifications/index
374 6
NotificationService.ts
in dashboards-notifications/public/services
204 5
CreateSender.tsx
in dashboards-notifications/public/pages/Emails
172 5
SESSendersTable.tsx
in dashboards-notifications/public/pages/Emails/components/tables
225 5
SendersTable.tsx
in dashboards-notifications/public/pages/Emails/components/tables
244 5
RecipientGroupsTable.tsx
in dashboards-notifications/public/pages/Emails/components/tables
261 5
EmailSettings.tsx
in dashboards-notifications/public/pages/CreateChannel/components
342 5
Notifications.tsx
in dashboards-notifications/public/pages/Notifications/containers
265 5
UserAccessManager.kt
in notifications/notifications/src/main/kotlin/org/opensearch/notifications/security
36 5
NotificationPlugin.kt
in notifications/notifications/src/main/kotlin/org/opensearch/notifications
154 5
RollingCounter.kt
in notifications/notifications/src/main/kotlin/org/opensearch/notifications/metrics
56 5
plugin.ts
in dashboards-notifications/public
41 4
CreateSESSender.tsx
in dashboards-notifications/public/pages/Emails
172 4
CreateSenderModal.tsx
in dashboards-notifications/public/pages/CreateChannel/components/modals
122 4
Files With Long Lines (Top 17)

There are 17 files with lines longer than 120 characters. In total, there are 20 long lines.

File# lines# units# long lines
EmailSettings.tsx
in dashboards-notifications/public/pages/CreateChannel/components
342 5 3
DestinationSnsClient.kt
in notifications/core/src/main/kotlin/org/opensearch/notifications/core/client
89 2 2
CreateRecipientGroupForm.tsx
in dashboards-notifications/public/pages/Emails/components/forms
128 3 1
CreateSenderForm.tsx
in dashboards-notifications/public/pages/Emails/components/forms
142 3 1
CreateSESSenderForm.tsx
in dashboards-notifications/public/pages/Emails/components/forms
133 2 1
SESSendersTable.tsx
in dashboards-notifications/public/pages/Emails/components/tables
225 5 1
SendersTable.tsx
in dashboards-notifications/public/pages/Emails/components/tables
244 5 1
RecipientGroupsTable.tsx
in dashboards-notifications/public/pages/Emails/components/tables
261 5 1
CreateRecipientGroupModal.tsx
in dashboards-notifications/public/pages/CreateChannel/components/modals
116 2 1
PluginSettings.kt
in notifications/core/src/main/kotlin/org/opensearch/notifications/core/setting
341 4 1
DestinationSesClient.kt
in notifications/core/src/main/kotlin/org/opensearch/notifications/core/client
110 1 1
WebhookDestinationTransport.kt
in notifications/core/src/main/kotlin/org/opensearch/notifications/core/transport
45 1 1
policy
plugin-security.policy
in notifications/core/src/main/plugin-metadata
35 - 1
NotificationConfigIndex.kt
in notifications/notifications/src/main/kotlin/org/opensearch/notifications/index
223 9 1
NotificationEventIndex.kt
in notifications/notifications/src/main/kotlin/org/opensearch/notifications/index
224 9 1
SendMessageActionHelper.kt
in notifications/notifications/src/main/kotlin/org/opensearch/notifications/send
517 3 1
policy
plugin-security.policy
in notifications/notifications/src/main/plugin-metadata
35 - 1