opensearch-project / common-utils
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 78 files with 4,913 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 3 medium size files (611 lines of codeclsfd_ftr_w_mp_ins)
    • 8 small files (1,060 lines of code)
    • 67 very small files (3,242 lines of code)
0% | 0% | 12% | 21% | 65%
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
java0% | 0% | 59% | 0% | 40%
kt0% | 0% | 0% | 27% | 72%
py0% | 0% | 0% | 0% | 100%
yml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src/main/java/org/opensearch/commons/destination/message0% | 0% | 52% | 0% | 47%
src/main/java/org/opensearch/commons/authuser0% | 0% | 89% | 0% | 10%
src/main/java/org/opensearch/commons/rest0% | 0% | 79% | 0% | 20%
src/main/kotlin/org/opensearch/commons/notifications/model0% | 0% | 0% | 18% | 81%
src/main/kotlin/org/opensearch/commons/notifications/action0% | 0% | 0% | 28% | 71%
src/main/kotlin/org/opensearch/commons/notifications0% | 0% | 0% | 69% | 30%
src/main/kotlin/org/opensearch/commons/utils0% | 0% | 0% | 52% | 47%
src/main/java/org/opensearch/commons0% | 0% | 0% | 0% | 100%
src/main/java/org/opensearch/commons/destination/response0% | 0% | 0% | 0% | 100%
release-notes0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
LegacyCustomWebhookMessage.java
in src/main/java/org/opensearch/commons/destination/message
206 15
User.java
in src/main/java/org/opensearch/commons/authuser
204 17
SecureRestClientBuilder.java
in src/main/java/org/opensearch/commons/rest
201 15
NotificationsPluginInterface.kt
in src/main/kotlin/org/opensearch/commons/notifications
163 11
SecureClientWrapper.kt
in src/main/kotlin/org/opensearch/commons/utils
159 30
SearchResults.kt
in src/main/kotlin/org/opensearch/commons/notifications/model
155 3
GetNotificationConfigRequest.kt
in src/main/kotlin/org/opensearch/commons/notifications/action
125 4
GetNotificationEventRequest.kt
in src/main/kotlin/org/opensearch/commons/notifications/action
125 4
NotificationConfig.kt
in src/main/kotlin/org/opensearch/commons/notifications/model
120 3
EventStatus.kt
in src/main/kotlin/org/opensearch/commons/notifications/model
108 3
SendNotificationRequest.kt
in src/main/kotlin/org/opensearch/commons/notifications/action
105 4
FeatureChannel.kt
in src/main/kotlin/org/opensearch/commons/notifications/model
96 3
EventSource.kt
in src/main/kotlin/org/opensearch/commons/notifications/model
95 3
SmtpAccount.kt
in src/main/kotlin/org/opensearch/commons/notifications/model
90 3
NotificationConfigInfo.kt
in src/main/kotlin/org/opensearch/commons/notifications/model
88 3
NotificationEventInfo.kt
in src/main/kotlin/org/opensearch/commons/notifications/model
88 3
SesAccount.kt
in src/main/kotlin/org/opensearch/commons/notifications/model
84 3
LegacyBaseMessage.java
in src/main/java/org/opensearch/commons/destination/message
83 8
GetPluginFeaturesResponse.kt
in src/main/kotlin/org/opensearch/commons/notifications/action
82 3
UpdateNotificationConfigRequest.kt
in src/main/kotlin/org/opensearch/commons/notifications/action
81 3
CreateNotificationConfigRequest.kt
in src/main/kotlin/org/opensearch/commons/notifications/action
79 3
ChannelMessage.kt
in src/main/kotlin/org/opensearch/commons/notifications/model
77 3
Webhook.kt
in src/main/kotlin/org/opensearch/commons/notifications/model
77 3
Email.kt
in src/main/kotlin/org/opensearch/commons/notifications/model
75 3
DeleteNotificationConfigResponse.kt
in src/main/kotlin/org/opensearch/commons/notifications/action
74 4
Attachment.kt
in src/main/kotlin/org/opensearch/commons/notifications/model
74 3
NotificationConstants.kt
in src/main/kotlin/org/opensearch/commons/notifications
72 -
InjectSecurity.java
in src/main/java/org/opensearch/commons
72 6
DeleteNotificationConfigRequest.kt
in src/main/kotlin/org/opensearch/commons/notifications/action
71 4
NotificationEvent.kt
in src/main/kotlin/org/opensearch/commons/notifications/model
71 3
DeliveryStatus.kt
in src/main/kotlin/org/opensearch/commons/notifications/model
70 3
Sns.kt
in src/main/kotlin/org/opensearch/commons/notifications/model
66 3
EmailRecipientStatus.kt
in src/main/kotlin/org/opensearch/commons/notifications/model
66 3
GetFeatureChannelListRequest.kt
in src/main/kotlin/org/opensearch/commons/notifications/action
65 4
GetPluginFeaturesRequest.kt
in src/main/kotlin/org/opensearch/commons/notifications/action
63 4
Slack.kt
in src/main/kotlin/org/opensearch/commons/notifications/model
61 3
Chime.kt
in src/main/kotlin/org/opensearch/commons/notifications/model
61 3
EmailRecipient.kt
in src/main/kotlin/org/opensearch/commons/notifications/model
59 3
UpdateNotificationConfigResponse.kt
in src/main/kotlin/org/opensearch/commons/notifications/action
58 3
SendNotificationResponse.kt
in src/main/kotlin/org/opensearch/commons/notifications/action
58 3
CreateNotificationConfigResponse.kt
in src/main/kotlin/org/opensearch/commons/notifications/action
58 3
EmailGroup.kt
in src/main/kotlin/org/opensearch/commons/notifications/model
56 3
ConfigType.kt
in src/main/kotlin/org/opensearch/commons/notifications/model
56 10
TrustStore.java
in src/main/java/org/opensearch/commons/rest
52 3
ConfigDataProperties.kt
in src/main/kotlin/org/opensearch/commons/notifications/model/config
50 3
LegacySlackMessage.java
in src/main/java/org/opensearch/commons/destination/message
50 7
XContentHelpers.kt
in src/main/kotlin/org/opensearch/commons/utils
49 -
LegacyChimeMessage.java
in src/main/java/org/opensearch/commons/destination/message
47 7
LegacyPublishNotificationRequest.kt
in src/main/kotlin/org/opensearch/commons/notifications/action
43 1
LegacyDestinationResponse.java
in src/main/java/org/opensearch/commons/destination/response
41 5
Files With Most Units (Top 20)
File# lines# units
SecureClientWrapper.kt
in src/main/kotlin/org/opensearch/commons/utils
159 30
User.java
in src/main/java/org/opensearch/commons/authuser
204 17
SecureRestClientBuilder.java
in src/main/java/org/opensearch/commons/rest
201 15
LegacyCustomWebhookMessage.java
in src/main/java/org/opensearch/commons/destination/message
206 15
NotificationsPluginInterface.kt
in src/main/kotlin/org/opensearch/commons/notifications
163 11
ConfigType.kt
in src/main/kotlin/org/opensearch/commons/notifications/model
56 10
LegacyBaseMessage.java
in src/main/java/org/opensearch/commons/destination/message
83 8
ValidationHelpers.kt
in src/main/kotlin/org/opensearch/commons/utils
36 7
LegacyChimeMessage.java
in src/main/java/org/opensearch/commons/destination/message
47 7
LegacySlackMessage.java
in src/main/java/org/opensearch/commons/destination/message
50 7
InjectSecurity.java
in src/main/java/org/opensearch/commons
72 6
SeverityType.kt
in src/main/kotlin/org/opensearch/commons/notifications/model
31 5
LegacyDestinationResponse.java
in src/main/java/org/opensearch/commons/destination/response
41 5
GetNotificationConfigRequest.kt
in src/main/kotlin/org/opensearch/commons/notifications/action
125 4
DeleteNotificationConfigRequest.kt
in src/main/kotlin/org/opensearch/commons/notifications/action
71 4
GetFeatureChannelListRequest.kt
in src/main/kotlin/org/opensearch/commons/notifications/action
65 4
GetNotificationEventRequest.kt
in src/main/kotlin/org/opensearch/commons/notifications/action
125 4
GetPluginFeaturesRequest.kt
in src/main/kotlin/org/opensearch/commons/notifications/action
63 4
SendNotificationRequest.kt
in src/main/kotlin/org/opensearch/commons/notifications/action
105 4
DeleteNotificationConfigResponse.kt
in src/main/kotlin/org/opensearch/commons/notifications/action
74 4
Files With Long Lines (Top 13)

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

File# lines# units# long lines
NotificationsPluginInterface.kt
in src/main/kotlin/org/opensearch/commons/notifications
163 11 5
ConfigConstants.java
in src/main/java/org/opensearch/commons
20 - 5
InjectSecurity.java
in src/main/java/org/opensearch/commons
72 6 2
LegacyCustomWebhookMessage.java
in src/main/java/org/opensearch/commons/destination/message
206 15 2
LegacyBaseMessage.java
in src/main/java/org/opensearch/commons/destination/message
83 8 2
ValidationHelpers.kt
in src/main/kotlin/org/opensearch/commons/utils
36 7 1
LegacyPublishNotificationRequest.kt
in src/main/kotlin/org/opensearch/commons/notifications/action
43 1 1
LegacyPublishNotificationResponse.kt
in src/main/kotlin/org/opensearch/commons/notifications/action
28 2 1
EventStatus.kt
in src/main/kotlin/org/opensearch/commons/notifications/model
108 3 1
SecureRestClientBuilder.java
in src/main/java/org/opensearch/commons/rest
201 15 1
TrustStore.java
in src/main/java/org/opensearch/commons/rest
52 3 1
LegacyChimeMessage.java
in src/main/java/org/opensearch/commons/destination/message
47 7 1
LegacySlackMessage.java
in src/main/java/org/opensearch/commons/destination/message
50 7 1