id: 1 unit: fun parse() file: src/main/kotlin/org/opensearch/commons/notifications/model/NotificationConfig.kt start line: 89 end line: 132 size: 44 LOC McCabe index: 4 number of parameters: 1 id: 2 unit: private LegacyCustomWebhookMessage() file: src/main/java/org/opensearch/commons/destination/message/LegacyCustomWebhookMessage.java start line: 55 end line: 104 size: 42 LOC McCabe index: 13 number of parameters: 10 id: 3 unit: public static User parse() file: src/main/java/org/opensearch/commons/authuser/User.java start line: 133 end line: 174 size: 41 LOC McCabe index: 10 number of parameters: 1 id: 4 unit: fun parse() file: src/main/kotlin/org/opensearch/commons/notifications/model/EventSource.kt start line: 75 end line: 113 size: 37 LOC McCabe index: 2 number of parameters: 1 id: 5 unit: fun parse() file: src/main/kotlin/org/opensearch/commons/notifications/model/EventStatus.kt start line: 89 end line: 127 size: 37 LOC McCabe index: 2 number of parameters: 1 id: 6 unit: fun parse() file: src/main/kotlin/org/opensearch/commons/notifications/model/FeatureChannel.kt start line: 76 end line: 113 size: 37 LOC McCabe index: 2 number of parameters: 1 id: 7 unit: fun parse() file: src/main/kotlin/org/opensearch/commons/notifications/model/NotificationConfigInfo.kt start line: 73 end line: 108 size: 35 LOC McCabe index: 2 number of parameters: 1 id: 8 unit: fun parse() file: src/main/kotlin/org/opensearch/commons/notifications/model/SmtpAccount.kt start line: 76 end line: 111 size: 35 LOC McCabe index: 2 number of parameters: 1 id: 9 unit: fun parse() file: src/main/kotlin/org/opensearch/commons/notifications/model/NotificationEventInfo.kt start line: 73 end line: 108 size: 35 LOC McCabe index: 2 number of parameters: 1 id: 10 unit: private RestClientBuilder createRestClientBuilder() file: src/main/java/org/opensearch/commons/rest/SecureRestClientBuilder.java start line: 189 end line: 222 size: 32 LOC McCabe index: 4 number of parameters: 0 id: 11 unit: fun parse() file: src/main/kotlin/org/opensearch/commons/notifications/action/GetNotificationConfigRequest.kt start line: 81 end line: 111 size: 30 LOC McCabe index: 2 number of parameters: 1 id: 12 unit: fun parse() file: src/main/kotlin/org/opensearch/commons/notifications/action/GetNotificationEventRequest.kt start line: 81 end line: 111 size: 30 LOC McCabe index: 2 number of parameters: 1 id: 13 unit: fun parse() file: src/main/kotlin/org/opensearch/commons/notifications/model/SesAccount.kt start line: 63 end line: 93 size: 30 LOC McCabe index: 2 number of parameters: 1 id: 14 unit: fun parse() file: src/main/kotlin/org/opensearch/commons/notifications/action/SendNotificationRequest.kt start line: 74 end line: 103 size: 29 LOC McCabe index: 2 number of parameters: 1 id: 15 unit: fun parse() file: src/main/kotlin/org/opensearch/commons/notifications/model/Attachment.kt start line: 66 end line: 94 size: 29 LOC McCabe index: 2 number of parameters: 1 id: 16 unit: fun parse() file: src/main/kotlin/org/opensearch/commons/notifications/model/ChannelMessage.kt start line: 72 end line: 104 size: 29 LOC McCabe index: 2 number of parameters: 1 id: 17 unit: fun parse() file: src/main/kotlin/org/opensearch/commons/notifications/model/NotificationEvent.kt start line: 68 end line: 97 size: 29 LOC McCabe index: 3 number of parameters: 1 id: 18 unit: fun parse() file: src/main/kotlin/org/opensearch/commons/notifications/action/GetPluginFeaturesResponse.kt start line: 67 end line: 94 size: 27 LOC McCabe index: 2 number of parameters: 1 id: 19 unit: fun parse() file: src/main/kotlin/org/opensearch/commons/notifications/model/DeliveryStatus.kt start line: 69 end line: 96 size: 27 LOC McCabe index: 2 number of parameters: 1 id: 20 unit: private String resolve() file: src/main/java/org/opensearch/commons/rest/SecureRestClientBuilder.java start line: 256 end line: 285 size: 27 LOC McCabe index: 8 number of parameters: 2 id: 21 unit: fun parse() file: src/main/kotlin/org/opensearch/commons/notifications/model/Webhook.kt start line: 79 end line: 104 size: 25 LOC McCabe index: 2 number of parameters: 1 id: 22 unit: fun parse() file: src/main/kotlin/org/opensearch/commons/notifications/model/Email.kt start line: 77 end line: 102 size: 25 LOC McCabe index: 2 number of parameters: 1 id: 23 unit: fun parse() file: src/main/kotlin/org/opensearch/commons/notifications/model/EmailRecipientStatus.kt start line: 69 end line: 93 size: 24 LOC McCabe index: 2 number of parameters: 1 id: 24 unit: public static User parse() file: src/main/java/org/opensearch/commons/authuser/User.java start line: 181 end line: 206 size: 23 LOC McCabe index: 10 number of parameters: 1 id: 25 unit: fun parse() file: src/main/kotlin/org/opensearch/commons/notifications/action/DeleteNotificationConfigRequest.kt start line: 65 end line: 86 size: 21 LOC McCabe index: 2 number of parameters: 1 id: 26 unit: fun parse() file: src/main/kotlin/org/opensearch/commons/notifications/action/GetFeatureChannelListRequest.kt start line: 63 end line: 84 size: 21 LOC McCabe index: 2 number of parameters: 1 id: 27 unit: fun parse() file: src/main/kotlin/org/opensearch/commons/notifications/action/UpdateNotificationConfigResponse.kt start line: 60 end line: 81 size: 21 LOC McCabe index: 2 number of parameters: 1 id: 28 unit: fun parse() file: src/main/kotlin/org/opensearch/commons/notifications/action/SendNotificationResponse.kt start line: 60 end line: 81 size: 21 LOC McCabe index: 2 number of parameters: 1 id: 29 unit: fun parse() file: src/main/kotlin/org/opensearch/commons/notifications/action/DeleteNotificationConfigResponse.kt start line: 65 end line: 86 size: 21 LOC McCabe index: 2 number of parameters: 1 id: 30 unit: fun parse() file: src/main/kotlin/org/opensearch/commons/notifications/action/CreateNotificationConfigResponse.kt start line: 60 end line: 81 size: 21 LOC McCabe index: 2 number of parameters: 1 id: 31 unit: fun parse() file: src/main/kotlin/org/opensearch/commons/notifications/model/EmailRecipient.kt start line: 71 end line: 92 size: 21 LOC McCabe index: 2 number of parameters: 1 id: 32 unit: fun parse() file: src/main/kotlin/org/opensearch/commons/notifications/model/EmailGroup.kt start line: 67 end line: 88 size: 21 LOC McCabe index: 2 number of parameters: 1 id: 33 unit: fun parse() file: src/main/kotlin/org/opensearch/commons/notifications/model/Slack.kt start line: 73 end line: 94 size: 21 LOC McCabe index: 2 number of parameters: 1 id: 34 unit: fun parse() file: src/main/kotlin/org/opensearch/commons/notifications/model/Chime.kt start line: 73 end line: 94 size: 21 LOC McCabe index: 2 number of parameters: 1 id: 35 unit: fun parse() file: src/main/kotlin/org/opensearch/commons/notifications/action/GetPluginFeaturesRequest.kt start line: 63 end line: 83 size: 20 LOC McCabe index: 2 number of parameters: 1 id: 36 unit: fun parse() file: src/main/kotlin/org/opensearch/commons/notifications/model/Sns.kt start line: 80 end line: 99 size: 19 LOC McCabe index: 2 number of parameters: 1 id: 37 unit: public String toString() file: src/main/java/org/opensearch/commons/destination/message/LegacyCustomWebhookMessage.java start line: 124 end line: 142 size: 19 LOC McCabe index: 1 number of parameters: 0 id: 38 unit: private SSLContext createSSLContext() file: src/main/java/org/opensearch/commons/rest/SecureRestClientBuilder.java start line: 224 end line: 245 size: 18 LOC McCabe index: 4 number of parameters: 0 id: 39 unit: protected URI buildUri() file: src/main/java/org/opensearch/commons/destination/message/LegacyBaseMessage.java start line: 102 end line: 119 size: 18 LOC McCabe index: 6 number of parameters: 6 id: 40 unit: public SecureRestClientBuilder() file: src/main/java/org/opensearch/commons/rest/SecureRestClientBuilder.java start line: 104 end line: 121 size: 17 LOC McCabe index: 4 number of parameters: 5 id: 41 unit: fun sendNotification() file: src/main/kotlin/org/opensearch/commons/notifications/NotificationsPluginInterface.kt start line: 207 end line: 222 size: 16 LOC McCabe index: 1 number of parameters: 5 id: 42 unit: public LegacyCustomWebhookMessage() file: src/main/java/org/opensearch/commons/destination/message/LegacyCustomWebhookMessage.java start line: 106 end line: 121 size: 16 LOC McCabe index: 2 number of parameters: 1 id: 43 unit: private KeyStore toTrustStore() file: src/main/java/org/opensearch/commons/rest/TrustStore.java start line: 73 end line: 88 size: 15 LOC McCabe index: 4 number of parameters: 2 id: 44 unit: fun publishLegacyNotification() file: src/main/kotlin/org/opensearch/commons/notifications/NotificationsPluginInterface.kt start line: 231 end line: 246 size: 14 LOC McCabe index: 2 number of parameters: 3 id: 45 unit: public LegacyCustomWebhookMessage build() file: src/main/java/org/opensearch/commons/destination/message/LegacyCustomWebhookMessage.java start line: 205 end line: 218 size: 14 LOC McCabe index: 1 number of parameters: 0 id: 46 unit: public void writeTo() file: src/main/java/org/opensearch/commons/destination/message/LegacyCustomWebhookMessage.java start line: 258 end line: 273 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 47 unit: fun validateConfigData() file: src/main/kotlin/org/opensearch/commons/notifications/model/config/ConfigDataProperties.kt start line: 77 end line: 89 size: 13 LOC McCabe index: 1 number of parameters: 2 id: 48 unit: public void injectRoles() file: src/main/java/org/opensearch/commons/InjectSecurity.java start line: 147 end line: 161 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 49 unit: private KeyStore getKeyStore() file: src/main/java/org/opensearch/commons/rest/SecureRestClientBuilder.java start line: 295 end line: 307 size: 13 LOC McCabe index: 3 number of parameters: 0 id: 50 unit: public User() file: src/main/java/org/opensearch/commons/authuser/User.java start line: 88 end line: 100 size: 13 LOC McCabe index: 1 number of parameters: 5 id: 51 unit: fun isValidEmail() file: src/main/kotlin/org/opensearch/commons/utils/ValidationHelpers.kt start line: 57 end line: 68 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 52 unit: override fun toXContent() file: src/main/kotlin/org/opensearch/commons/notifications/model/NotificationConfig.kt start line: 138 end line: 148 size: 11 LOC McCabe index: 1 number of parameters: 2 id: 53 unit: fun createNotificationConfig() file: src/main/kotlin/org/opensearch/commons/notifications/NotificationsPluginInterface.kt start line: 79 end line: 89 size: 11 LOC McCabe index: 1 number of parameters: 3 id: 54 unit: fun updateNotificationConfig() file: src/main/kotlin/org/opensearch/commons/notifications/NotificationsPluginInterface.kt start line: 97 end line: 107 size: 11 LOC McCabe index: 1 number of parameters: 3 id: 55 unit: fun deleteNotificationConfig() file: src/main/kotlin/org/opensearch/commons/notifications/NotificationsPluginInterface.kt start line: 115 end line: 125 size: 11 LOC McCabe index: 1 number of parameters: 3 id: 56 unit: fun getNotificationConfig() file: src/main/kotlin/org/opensearch/commons/notifications/NotificationsPluginInterface.kt start line: 133 end line: 143 size: 11 LOC McCabe index: 1 number of parameters: 3 id: 57 unit: fun getNotificationEvent() file: src/main/kotlin/org/opensearch/commons/notifications/NotificationsPluginInterface.kt start line: 151 end line: 161 size: 11 LOC McCabe index: 1 number of parameters: 3 id: 58 unit: fun getPluginFeatures() file: src/main/kotlin/org/opensearch/commons/notifications/NotificationsPluginInterface.kt start line: 169 end line: 179 size: 11 LOC McCabe index: 1 number of parameters: 3 id: 59 unit: fun getFeatureChannelList() file: src/main/kotlin/org/opensearch/commons/notifications/NotificationsPluginInterface.kt start line: 187 end line: 197 size: 11 LOC McCabe index: 1 number of parameters: 3 id: 60 unit: public void injectUser() file: src/main/java/org/opensearch/commons/InjectSecurity.java start line: 130 end line: 141 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 61 unit: public SecureRestClientBuilder() file: src/main/java/org/opensearch/commons/rest/SecureRestClientBuilder.java start line: 130 end line: 142 size: 11 LOC McCabe index: 3 number of parameters: 4 id: 62 unit: public User() file: src/main/java/org/opensearch/commons/authuser/User.java start line: 112 end line: 123 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 63 unit: public boolean equals() file: src/main/java/org/opensearch/commons/authuser/User.java start line: 241 end line: 251 size: 11 LOC McCabe index: 6 number of parameters: 1 id: 64 unit: public Request build() file: src/main/java/org/opensearch/commons/authuser/AuthUserRequestBuilder.java start line: 44 end line: 54 size: 11 LOC McCabe index: 1 number of parameters: 0 id: 65 unit: override fun toXContent() file: src/main/kotlin/org/opensearch/commons/notifications/action/GetNotificationConfigRequest.kt start line: 117 end line: 126 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 66 unit: override fun validate() file: src/main/kotlin/org/opensearch/commons/notifications/action/GetNotificationConfigRequest.kt start line: 183 end line: 192 size: 10 LOC McCabe index: 3 number of parameters: 0 id: 67 unit: override fun toXContent() file: src/main/kotlin/org/opensearch/commons/notifications/action/GetNotificationEventRequest.kt start line: 117 end line: 126 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 68 unit: override fun validate() file: src/main/kotlin/org/opensearch/commons/notifications/action/GetNotificationEventRequest.kt start line: 183 end line: 192 size: 10 LOC McCabe index: 3 number of parameters: 0 id: 69 unit: override fun toXContent() file: src/main/kotlin/org/opensearch/commons/notifications/model/EventSource.kt start line: 119 end line: 128 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 70 unit: override fun toXContent() file: src/main/kotlin/org/opensearch/commons/notifications/model/EventStatus.kt start line: 156 end line: 165 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 71 unit: override fun toXContent() file: src/main/kotlin/org/opensearch/commons/notifications/model/FeatureChannel.kt start line: 142 end line: 151 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 72 unit: public boolean injectProperty() file: src/main/java/org/opensearch/commons/InjectSecurity.java start line: 169 end line: 178 size: 10 LOC McCabe index: 4 number of parameters: 2 id: 73 unit: public SecureRestClientBuilder() file: src/main/java/org/opensearch/commons/rest/SecureRestClientBuilder.java start line: 144 end line: 154 size: 10 LOC McCabe index: 2 number of parameters: 2 id: 74 unit: public XContentBuilder toXContent() file: src/main/java/org/opensearch/commons/authuser/User.java start line: 209 end line: 218 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 75 unit: private LegacySlackMessage() file: src/main/java/org/opensearch/commons/destination/message/LegacySlackMessage.java start line: 40 end line: 52 size: 10 LOC McCabe index: 3 number of parameters: 3 id: 76 unit: override fun writeTo() file: src/main/kotlin/org/opensearch/commons/notifications/action/GetNotificationConfigRequest.kt start line: 170 end line: 178 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 77 unit: override fun writeTo() file: src/main/kotlin/org/opensearch/commons/notifications/action/GetNotificationEventRequest.kt start line: 170 end line: 178 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 78 unit: override fun toXContent() file: src/main/kotlin/org/opensearch/commons/notifications/action/SendNotificationRequest.kt start line: 151 end line: 159 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 79 unit: override fun toXContent() file: src/main/kotlin/org/opensearch/commons/notifications/model/SearchResults.kt start line: 212 end line: 220 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 80 unit: override fun toXContent() file: src/main/kotlin/org/opensearch/commons/notifications/model/NotificationConfigInfo.kt start line: 135 end line: 143 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 81 unit: override fun writeTo() file: src/main/kotlin/org/opensearch/commons/notifications/model/NotificationConfig.kt start line: 166 end line: 175 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 82 unit: override fun toXContent() file: src/main/kotlin/org/opensearch/commons/notifications/model/NotificationEventInfo.kt start line: 114 end line: 122 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 83 unit: public String toString() file: src/main/java/org/opensearch/commons/authuser/User.java start line: 230 end line: 238 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 84 unit: override fun getStatus() file: src/main/kotlin/org/opensearch/commons/notifications/action/DeleteNotificationConfigResponse.kt start line: 127 end line: 134 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 85 unit: override fun toXContent() file: src/main/kotlin/org/opensearch/commons/notifications/model/Attachment.kt start line: 97 end line: 104 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 86 unit: override fun toXContent() file: src/main/kotlin/org/opensearch/commons/notifications/model/ChannelMessage.kt start line: 129 end line: 136 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 87 unit: override fun toXContent() file: src/main/kotlin/org/opensearch/commons/notifications/model/Webhook.kt start line: 110 end line: 117 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 88 unit: override fun toXContent() file: src/main/kotlin/org/opensearch/commons/notifications/model/Email.kt start line: 127 end line: 134 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 89 unit: override fun toXContent() file: src/main/kotlin/org/opensearch/commons/notifications/model/SmtpAccount.kt start line: 117 end line: 124 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 90 unit: override fun execute() file: src/main/kotlin/org/opensearch/commons/utils/SecureClientWrapper.kt start line: 83 end line: 89 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 91 unit: override fun validate() file: src/main/kotlin/org/opensearch/commons/notifications/action/DeleteNotificationConfigRequest.kt start line: 127 end line: 133 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 92 unit: override fun toXContent() file: src/main/kotlin/org/opensearch/commons/notifications/action/UpdateNotificationConfigRequest.kt start line: 99 end line: 105 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 93 unit: override fun validate() file: src/main/kotlin/org/opensearch/commons/notifications/action/UpdateNotificationConfigRequest.kt start line: 139 end line: 145 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 94 unit: override fun writeTo() file: src/main/kotlin/org/opensearch/commons/notifications/action/SendNotificationRequest.kt start line: 140 end line: 146 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 95 unit: override fun validate() file: src/main/kotlin/org/opensearch/commons/notifications/action/SendNotificationRequest.kt start line: 164 end line: 170 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 96 unit: override fun toXContent() file: src/main/kotlin/org/opensearch/commons/notifications/action/GetPluginFeaturesResponse.kt start line: 100 end line: 106 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 97 unit: override fun toXContent() file: src/main/kotlin/org/opensearch/commons/notifications/action/CreateNotificationConfigRequest.kt start line: 101 end line: 107 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 98 unit: override fun writeTo() file: src/main/kotlin/org/opensearch/commons/notifications/model/SearchResults.kt start line: 201 end line: 207 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 99 unit: override fun writeTo() file: src/main/kotlin/org/opensearch/commons/notifications/model/EventSource.kt start line: 145 end line: 151 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 100 unit: override fun toXContent() file: src/main/kotlin/org/opensearch/commons/notifications/model/SesAccount.kt start line: 99 end line: 105 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 101 unit: override fun writeTo() file: src/main/kotlin/org/opensearch/commons/notifications/model/EventStatus.kt start line: 145 end line: 151 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 102 unit: override fun writeTo() file: src/main/kotlin/org/opensearch/commons/notifications/model/FeatureChannel.kt start line: 131 end line: 137 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 103 unit: override fun toXContent() file: src/main/kotlin/org/opensearch/commons/notifications/model/NotificationEvent.kt start line: 120 end line: 126 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 104 unit: override fun toXContent() file: src/main/kotlin/org/opensearch/commons/notifications/model/EmailRecipientStatus.kt start line: 116 end line: 122 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 105 unit: override fun toXContent() file: src/main/kotlin/org/opensearch/commons/notifications/model/DeliveryStatus.kt start line: 119 end line: 125 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 106 unit: public InjectSecurity() file: src/main/java/org/opensearch/commons/InjectSecurity.java start line: 104 end line: 111 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 107 unit: public void inject() file: src/main/java/org/opensearch/commons/InjectSecurity.java start line: 118 end line: 124 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 108 unit: private CredentialsProvider createCredsProvider() file: src/main/java/org/opensearch/commons/rest/SecureRestClientBuilder.java start line: 247 end line: 254 size: 7 LOC McCabe index: 3 number of parameters: 0 id: 109 unit: public User() file: src/main/java/org/opensearch/commons/authuser/User.java start line: 72 end line: 78 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 110 unit: public User() file: src/main/java/org/opensearch/commons/authuser/User.java start line: 80 end line: 86 size: 7 LOC McCabe index: 1 number of parameters: 4 id: 111 unit: public User() file: src/main/java/org/opensearch/commons/authuser/User.java start line: 125 end line: 131 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 112 unit: public void writeTo() file: src/main/java/org/opensearch/commons/authuser/User.java start line: 221 end line: 227 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 113 unit: private LegacyChimeMessage() file: src/main/java/org/opensearch/commons/destination/message/LegacyChimeMessage.java start line: 40 end line: 48 size: 7 LOC McCabe index: 2 number of parameters: 3 id: 114 unit: private LegacyDestinationResponse() file: src/main/java/org/opensearch/commons/destination/response/LegacyDestinationResponse.java start line: 41 end line: 47 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 115 unit: override fun execute() file: src/main/kotlin/org/opensearch/commons/utils/SecureClientWrapper.kt start line: 73 end line: 78 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 116 unit: override fun multiTermVectors() file: src/main/kotlin/org/opensearch/commons/utils/SecureClientWrapper.kt start line: 241 end line: 246 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 117 unit: override fun toXContent() file: src/main/kotlin/org/opensearch/commons/notifications/action/DeleteNotificationConfigRequest.kt start line: 117 end line: 122 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 118 unit: override fun toXContent() file: src/main/kotlin/org/opensearch/commons/notifications/action/GetFeatureChannelListRequest.kt start line: 115 end line: 120 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 119 unit: override fun toXContent() file: src/main/kotlin/org/opensearch/commons/notifications/action/UpdateNotificationConfigResponse.kt start line: 111 end line: 116 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 120 unit: override fun writeTo() file: src/main/kotlin/org/opensearch/commons/notifications/action/LegacyPublishNotificationRequest.kt start line: 71 end line: 76 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 121 unit: override fun toXContent() file: src/main/kotlin/org/opensearch/commons/notifications/action/SendNotificationResponse.kt start line: 111 end line: 116 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 122 unit: override fun toXContent() file: src/main/kotlin/org/opensearch/commons/notifications/action/DeleteNotificationConfigResponse.kt start line: 120 end line: 125 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 123 unit: override fun toXContent() file: src/main/kotlin/org/opensearch/commons/notifications/action/CreateNotificationConfigResponse.kt start line: 111 end line: 116 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 124 unit: override fun writeTo() file: src/main/kotlin/org/opensearch/commons/notifications/model/Attachment.kt start line: 120 end line: 125 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 125 unit: override fun toXContent() file: src/main/kotlin/org/opensearch/commons/notifications/model/EmailRecipient.kt start line: 113 end line: 118 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 126 unit: override fun toXContent() file: src/main/kotlin/org/opensearch/commons/notifications/model/EmailGroup.kt start line: 109 end line: 114 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 127 unit: override fun toXContent() file: src/main/kotlin/org/opensearch/commons/notifications/model/Slack.kt start line: 115 end line: 120 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 128 unit: override fun writeTo() file: src/main/kotlin/org/opensearch/commons/notifications/model/NotificationConfigInfo.kt start line: 125 end line: 130 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 129 unit: override fun toXContent() file: src/main/kotlin/org/opensearch/commons/notifications/model/Chime.kt start line: 115 end line: 120 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 130 unit: override fun toXContent() file: src/main/kotlin/org/opensearch/commons/notifications/model/Sns.kt start line: 40 end line: 45 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 131 unit: override fun writeTo() file: src/main/kotlin/org/opensearch/commons/notifications/model/SmtpAccount.kt start line: 140 end line: 145 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 132 unit: override fun writeTo() file: src/main/kotlin/org/opensearch/commons/notifications/model/NotificationEventInfo.kt start line: 138 end line: 143 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 133 unit: public void close() file: src/main/java/org/opensearch/commons/InjectSecurity.java start line: 181 end line: 186 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 134 unit: public AuthUserRequestBuilder() file: src/main/java/org/opensearch/commons/authuser/AuthUserRequestBuilder.java start line: 37 end line: 42 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 135 unit: public void writeTo() file: src/main/java/org/opensearch/commons/destination/message/LegacyBaseMessage.java start line: 122 end line: 127 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 136 unit: override fun toXContent() file: src/main/kotlin/org/opensearch/commons/notifications/action/GetPluginFeaturesRequest.kt start line: 89 end line: 93 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 137 unit: override fun writeTo() file: src/main/kotlin/org/opensearch/commons/notifications/action/UpdateNotificationConfigRequest.kt start line: 130 end line: 134 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 138 unit: override fun writeTo() file: src/main/kotlin/org/opensearch/commons/notifications/action/GetPluginFeaturesResponse.kt start line: 138 end line: 142 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 139 unit: override fun writeTo() file: src/main/kotlin/org/opensearch/commons/notifications/action/CreateNotificationConfigRequest.kt start line: 132 end line: 136 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 140 unit: override fun writeTo() file: src/main/kotlin/org/opensearch/commons/notifications/model/SesAccount.kt start line: 120 end line: 124 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 141 unit: override fun writeTo() file: src/main/kotlin/org/opensearch/commons/notifications/model/ChannelMessage.kt start line: 120 end line: 124 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 142 unit: override fun writeTo() file: src/main/kotlin/org/opensearch/commons/notifications/model/Webhook.kt start line: 132 end line: 136 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 143 unit: override fun writeTo() file: src/main/kotlin/org/opensearch/commons/notifications/model/Email.kt start line: 118 end line: 122 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 144 unit: fun isValidUrl() file: src/main/kotlin/org/opensearch/commons/utils/ValidationHelpers.kt start line: 48 end line: 51 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 145 unit: fun validateIamRoleArn() file: src/main/kotlin/org/opensearch/commons/utils/ValidationHelpers.kt start line: 74 end line: 77 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 146 unit: override fun writeTo() file: src/main/kotlin/org/opensearch/commons/notifications/action/DeleteNotificationConfigRequest.kt start line: 109 end line: 112 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 147 unit: override fun writeTo() file: src/main/kotlin/org/opensearch/commons/notifications/action/GetFeatureChannelListRequest.kt start line: 107 end line: 110 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 148 unit: override fun writeTo() file: src/main/kotlin/org/opensearch/commons/notifications/action/GetPluginFeaturesRequest.kt start line: 115 end line: 118 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 149 unit: override fun writeTo() file: src/main/kotlin/org/opensearch/commons/notifications/model/Sns.kt start line: 57 end line: 60 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 150 unit: fun getReaderForConfigType() file: src/main/kotlin/org/opensearch/commons/notifications/model/config/ConfigDataProperties.kt start line: 69 end line: 72 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 151 unit: override fun writeTo() file: src/main/kotlin/org/opensearch/commons/notifications/model/NotificationEvent.kt start line: 112 end line: 115 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 152 unit: override fun writeTo() file: src/main/kotlin/org/opensearch/commons/notifications/model/EmailRecipientStatus.kt start line: 108 end line: 111 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 153 unit: override fun writeTo() file: src/main/kotlin/org/opensearch/commons/notifications/model/DeliveryStatus.kt start line: 111 end line: 114 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 154 unit: override fun onResponse() file: src/main/kotlin/org/opensearch/commons/notifications/NotificationsPluginInterface.kt start line: 260 end line: 263 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 155 unit: public SecureRestClientBuilder setConnectTimeout() file: src/main/java/org/opensearch/commons/rest/SecureRestClientBuilder.java start line: 174 end line: 177 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 156 unit: public SecureRestClientBuilder setSocketTimeout() file: src/main/java/org/opensearch/commons/rest/SecureRestClientBuilder.java start line: 179 end line: 182 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 157 unit: public SecureRestClientBuilder setConnectionRequestTimeout() file: src/main/java/org/opensearch/commons/rest/SecureRestClientBuilder.java start line: 184 end line: 187 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 158 unit: public KeyStore create() file: src/main/java/org/opensearch/commons/rest/TrustStore.java start line: 52 end line: 55 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 159 unit: public LegacyChimeMessage() file: src/main/java/org/opensearch/commons/destination/message/LegacyChimeMessage.java start line: 50 end line: 53 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 160 unit: public LegacySlackMessage() file: src/main/java/org/opensearch/commons/destination/message/LegacySlackMessage.java start line: 54 end line: 57 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 161 unit: public LegacyDestinationResponse() file: src/main/java/org/opensearch/commons/destination/response/LegacyDestinationResponse.java start line: 49 end line: 52 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 162 unit: public void writeTo() file: src/main/java/org/opensearch/commons/destination/response/LegacyDestinationResponse.java start line: 78 end line: 81 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 163 unit: override fun index() file: src/main/kotlin/org/opensearch/commons/utils/SecureClientWrapper.kt start line: 94 end line: 96 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 164 unit: override fun index() file: src/main/kotlin/org/opensearch/commons/utils/SecureClientWrapper.kt start line: 101 end line: 103 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 165 unit: override fun update() file: src/main/kotlin/org/opensearch/commons/utils/SecureClientWrapper.kt start line: 108 end line: 110 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 166 unit: override fun update() file: src/main/kotlin/org/opensearch/commons/utils/SecureClientWrapper.kt start line: 115 end line: 117 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 167 unit: override fun delete() file: src/main/kotlin/org/opensearch/commons/utils/SecureClientWrapper.kt start line: 122 end line: 124 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 168 unit: override fun delete() file: src/main/kotlin/org/opensearch/commons/utils/SecureClientWrapper.kt start line: 129 end line: 131 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 169 unit: override fun bulk() file: src/main/kotlin/org/opensearch/commons/utils/SecureClientWrapper.kt start line: 136 end line: 138 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 170 unit: override fun bulk() file: src/main/kotlin/org/opensearch/commons/utils/SecureClientWrapper.kt start line: 143 end line: 145 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 171 unit: override fun get() file: src/main/kotlin/org/opensearch/commons/utils/SecureClientWrapper.kt start line: 150 end line: 152 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 172 unit: override fun get() file: src/main/kotlin/org/opensearch/commons/utils/SecureClientWrapper.kt start line: 157 end line: 159 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 173 unit: override fun multiGet() file: src/main/kotlin/org/opensearch/commons/utils/SecureClientWrapper.kt start line: 164 end line: 166 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 174 unit: override fun multiGet() file: src/main/kotlin/org/opensearch/commons/utils/SecureClientWrapper.kt start line: 171 end line: 173 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 175 unit: override fun search() file: src/main/kotlin/org/opensearch/commons/utils/SecureClientWrapper.kt start line: 178 end line: 180 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 176 unit: override fun search() file: src/main/kotlin/org/opensearch/commons/utils/SecureClientWrapper.kt start line: 185 end line: 187 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 177 unit: override fun searchScroll() file: src/main/kotlin/org/opensearch/commons/utils/SecureClientWrapper.kt start line: 192 end line: 194 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 178 unit: override fun searchScroll() file: src/main/kotlin/org/opensearch/commons/utils/SecureClientWrapper.kt start line: 199 end line: 201 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 179 unit: override fun multiSearch() file: src/main/kotlin/org/opensearch/commons/utils/SecureClientWrapper.kt start line: 206 end line: 208 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 180 unit: override fun multiSearch() file: src/main/kotlin/org/opensearch/commons/utils/SecureClientWrapper.kt start line: 213 end line: 215 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 181 unit: override fun termVectors() file: src/main/kotlin/org/opensearch/commons/utils/SecureClientWrapper.kt start line: 220 end line: 222 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 182 unit: override fun termVectors() file: src/main/kotlin/org/opensearch/commons/utils/SecureClientWrapper.kt start line: 227 end line: 229 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 183 unit: override fun multiTermVectors() file: src/main/kotlin/org/opensearch/commons/utils/SecureClientWrapper.kt start line: 234 end line: 236 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 184 unit: override fun explain() file: src/main/kotlin/org/opensearch/commons/utils/SecureClientWrapper.kt start line: 251 end line: 253 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 185 unit: override fun explain() file: src/main/kotlin/org/opensearch/commons/utils/SecureClientWrapper.kt start line: 258 end line: 260 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 186 unit: override fun clearScroll() file: src/main/kotlin/org/opensearch/commons/utils/SecureClientWrapper.kt start line: 265 end line: 267 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 187 unit: override fun clearScroll() file: src/main/kotlin/org/opensearch/commons/utils/SecureClientWrapper.kt start line: 272 end line: 274 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 188 unit: override fun fieldCaps() file: src/main/kotlin/org/opensearch/commons/utils/SecureClientWrapper.kt start line: 279 end line: 281 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 189 unit: override fun fieldCaps() file: src/main/kotlin/org/opensearch/commons/utils/SecureClientWrapper.kt start line: 286 end line: 288 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 190 unit: fun validateUrl() file: src/main/kotlin/org/opensearch/commons/utils/ValidationHelpers.kt start line: 36 end line: 38 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 191 unit: fun validateEmail() file: src/main/kotlin/org/opensearch/commons/utils/ValidationHelpers.kt start line: 40 end line: 42 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 192 unit: fun validateId() file: src/main/kotlin/org/opensearch/commons/utils/ValidationHelpers.kt start line: 44 end line: 46 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 193 unit: fun isValidId() file: src/main/kotlin/org/opensearch/commons/utils/ValidationHelpers.kt start line: 70 end line: 72 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 194 unit: fun logger() file: src/main/kotlin/org/opensearch/commons/utils/Helpers.kt start line: 33 end line: 35 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 195 unit: override fun validate() file: src/main/kotlin/org/opensearch/commons/notifications/action/GetFeatureChannelListRequest.kt start line: 125 end line: 127 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 196 unit: override fun writeTo() file: src/main/kotlin/org/opensearch/commons/notifications/action/UpdateNotificationConfigResponse.kt start line: 104 end line: 106 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 197 unit: fun parse() file: src/main/kotlin/org/opensearch/commons/notifications/action/GetNotificationEventResponse.kt start line: 57 end line: 59 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 198 unit: override fun writeTo() file: src/main/kotlin/org/opensearch/commons/notifications/action/GetNotificationEventResponse.kt start line: 82 end line: 84 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 199 unit: override fun toXContent() file: src/main/kotlin/org/opensearch/commons/notifications/action/GetNotificationEventResponse.kt start line: 89 end line: 91 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 200 unit: override fun writeTo() file: src/main/kotlin/org/opensearch/commons/notifications/action/LegacyPublishNotificationResponse.kt start line: 55 end line: 57 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 201 unit: override fun toXContent() file: src/main/kotlin/org/opensearch/commons/notifications/action/LegacyPublishNotificationResponse.kt start line: 60 end line: 62 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 202 unit: override fun validate() file: src/main/kotlin/org/opensearch/commons/notifications/action/GetPluginFeaturesRequest.kt start line: 123 end line: 125 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 203 unit: override fun writeTo() file: src/main/kotlin/org/opensearch/commons/notifications/action/SendNotificationResponse.kt start line: 104 end line: 106 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 204 unit: override fun writeTo() file: src/main/kotlin/org/opensearch/commons/notifications/action/DeleteNotificationConfigResponse.kt start line: 113 end line: 115 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 205 unit: fun parse() file: src/main/kotlin/org/opensearch/commons/notifications/action/GetFeatureChannelListResponse.kt start line: 57 end line: 59 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 206 unit: override fun writeTo() file: src/main/kotlin/org/opensearch/commons/notifications/action/GetFeatureChannelListResponse.kt start line: 82 end line: 84 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 207 unit: override fun toXContent() file: src/main/kotlin/org/opensearch/commons/notifications/action/GetFeatureChannelListResponse.kt start line: 89 end line: 91 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 208 unit: open fun getStatus() file: src/main/kotlin/org/opensearch/commons/notifications/action/BaseResponse.kt start line: 56 end line: 58 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 209 unit: override fun validate() file: src/main/kotlin/org/opensearch/commons/notifications/action/CreateNotificationConfigRequest.kt start line: 141 end line: 143 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 210 unit: fun parse() file: src/main/kotlin/org/opensearch/commons/notifications/action/GetNotificationConfigResponse.kt start line: 57 end line: 59 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 211 unit: override fun writeTo() file: src/main/kotlin/org/opensearch/commons/notifications/action/GetNotificationConfigResponse.kt start line: 82 end line: 84 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 212 unit: override fun toXContent() file: src/main/kotlin/org/opensearch/commons/notifications/action/GetNotificationConfigResponse.kt start line: 89 end line: 91 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 213 unit: override fun writeTo() file: src/main/kotlin/org/opensearch/commons/notifications/action/CreateNotificationConfigResponse.kt start line: 104 end line: 106 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 214 unit: override fun parseItem() file: src/main/kotlin/org/opensearch/commons/notifications/model/FeatureChannelList.kt start line: 90 end line: 92 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 215 unit: override fun writeTo() file: src/main/kotlin/org/opensearch/commons/notifications/model/EmailRecipient.kt start line: 106 end line: 108 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 216 unit: override fun writeTo() file: src/main/kotlin/org/opensearch/commons/notifications/model/EmailGroup.kt start line: 102 end line: 104 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 217 unit: override fun writeTo() file: src/main/kotlin/org/opensearch/commons/notifications/model/Slack.kt start line: 108 end line: 110 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 218 unit: fun parse() file: src/main/kotlin/org/opensearch/commons/notifications/model/SearchResults.kt start line: 55 end line: 58 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 219 unit: override fun parseItem() file: src/main/kotlin/org/opensearch/commons/notifications/model/NotificationConfigSearchResult.kt start line: 90 end line: 92 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 220 unit: override fun writeTo() file: src/main/kotlin/org/opensearch/commons/notifications/model/Chime.kt start line: 108 end line: 110 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 221 unit: fun createConfigData() file: src/main/kotlin/org/opensearch/commons/notifications/model/config/ConfigDataProperties.kt start line: 98 end line: 100 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 222 unit: override fun toString() file: src/main/kotlin/org/opensearch/commons/notifications/model/SeverityType.kt start line: 37 end line: 39 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 223 unit: override fun toString() file: src/main/kotlin/org/opensearch/commons/notifications/model/SeverityType.kt start line: 42 end line: 44 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 224 unit: override fun toString() file: src/main/kotlin/org/opensearch/commons/notifications/model/SeverityType.kt start line: 47 end line: 49 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 225 unit: override fun toString() file: src/main/kotlin/org/opensearch/commons/notifications/model/SeverityType.kt start line: 52 end line: 54 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 226 unit: fun fromTagOrDefault() file: src/main/kotlin/org/opensearch/commons/notifications/model/SeverityType.kt start line: 67 end line: 69 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 227 unit: override fun toString() file: src/main/kotlin/org/opensearch/commons/notifications/model/MethodType.kt start line: 7 end line: 9 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 228 unit: override fun toString() file: src/main/kotlin/org/opensearch/commons/notifications/model/MethodType.kt start line: 12 end line: 14 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 229 unit: override fun toString() file: src/main/kotlin/org/opensearch/commons/notifications/model/MethodType.kt start line: 17 end line: 19 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 230 unit: fun fromTagOrDefault() file: src/main/kotlin/org/opensearch/commons/notifications/model/MethodType.kt start line: 32 end line: 34 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 231 unit: override fun toString() file: src/main/kotlin/org/opensearch/commons/notifications/model/ConfigType.kt start line: 36 end line: 38 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 232 unit: override fun toString() file: src/main/kotlin/org/opensearch/commons/notifications/model/ConfigType.kt start line: 41 end line: 43 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 233 unit: override fun toString() file: src/main/kotlin/org/opensearch/commons/notifications/model/ConfigType.kt start line: 46 end line: 48 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 234 unit: override fun toString() file: src/main/kotlin/org/opensearch/commons/notifications/model/ConfigType.kt start line: 51 end line: 53 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 235 unit: override fun toString() file: src/main/kotlin/org/opensearch/commons/notifications/model/ConfigType.kt start line: 56 end line: 58 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 236 unit: override fun toString() file: src/main/kotlin/org/opensearch/commons/notifications/model/ConfigType.kt start line: 61 end line: 63 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 237 unit: override fun toString() file: src/main/kotlin/org/opensearch/commons/notifications/model/ConfigType.kt start line: 66 end line: 68 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 238 unit: override fun toString() file: src/main/kotlin/org/opensearch/commons/notifications/model/ConfigType.kt start line: 71 end line: 73 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 239 unit: override fun toString() file: src/main/kotlin/org/opensearch/commons/notifications/model/ConfigType.kt start line: 76 end line: 78 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 240 unit: fun fromTagOrDefault() file: src/main/kotlin/org/opensearch/commons/notifications/model/ConfigType.kt start line: 91 end line: 93 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 241 unit: override fun toString() file: src/main/kotlin/org/opensearch/commons/notifications/model/HttpMethodType.kt start line: 7 end line: 9 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 242 unit: override fun toString() file: src/main/kotlin/org/opensearch/commons/notifications/model/HttpMethodType.kt start line: 12 end line: 14 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 243 unit: override fun toString() file: src/main/kotlin/org/opensearch/commons/notifications/model/HttpMethodType.kt start line: 17 end line: 19 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 244 unit: fun fromTagOrDefault() file: src/main/kotlin/org/opensearch/commons/notifications/model/HttpMethodType.kt start line: 32 end line: 34 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 245 unit: override fun parseItem() file: src/main/kotlin/org/opensearch/commons/notifications/model/NotificationEventSearchResult.kt start line: 90 end line: 92 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 246 unit: override fun onFailure() file: src/main/kotlin/org/opensearch/commons/notifications/NotificationsPluginInterface.kt start line: 265 end line: 267 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 247 unit: public RestClient build() file: src/main/java/org/opensearch/commons/rest/SecureRestClientBuilder.java start line: 161 end line: 163 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 248 unit: public RestHighLevelClient buildHighlevelClient() file: src/main/java/org/opensearch/commons/rest/SecureRestClientBuilder.java start line: 170 end line: 172 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 249 unit: private String getTrustPem() file: src/main/java/org/opensearch/commons/rest/SecureRestClientBuilder.java start line: 287 end line: 289 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 250 unit: private String getKeystorePasswd() file: src/main/java/org/opensearch/commons/rest/SecureRestClientBuilder.java start line: 291 end line: 293 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 251 unit: public TrustStore() file: src/main/java/org/opensearch/commons/rest/TrustStore.java start line: 48 end line: 50 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 252 unit: public User() file: src/main/java/org/opensearch/commons/authuser/User.java start line: 107 end line: 109 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 253 unit: public String getName() file: src/main/java/org/opensearch/commons/authuser/User.java start line: 253 end line: 255 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 254 unit: public List getBackendRoles() file: src/main/java/org/opensearch/commons/authuser/User.java start line: 257 end line: 259 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 255 unit: public List getRoles() file: src/main/java/org/opensearch/commons/authuser/User.java start line: 261 end line: 263 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 256 unit: public List getCustomAttNames() file: src/main/java/org/opensearch/commons/authuser/User.java start line: 265 end line: 267 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 257 unit: public String getRequestedTenant() file: src/main/java/org/opensearch/commons/authuser/User.java start line: 270 end line: 272 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 258 unit: public String toString() file: src/main/java/org/opensearch/commons/destination/message/LegacyChimeMessage.java start line: 56 end line: 58 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 259 unit: public Builder() file: src/main/java/org/opensearch/commons/destination/message/LegacyChimeMessage.java start line: 65 end line: 67 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 260 unit: public LegacyChimeMessage build() file: src/main/java/org/opensearch/commons/destination/message/LegacyChimeMessage.java start line: 79 end line: 81 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 261 unit: public String getMessage() file: src/main/java/org/opensearch/commons/destination/message/LegacyChimeMessage.java start line: 84 end line: 86 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 262 unit: public String getUrl() file: src/main/java/org/opensearch/commons/destination/message/LegacyChimeMessage.java start line: 88 end line: 90 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 263 unit: public Builder() file: src/main/java/org/opensearch/commons/destination/message/LegacyCustomWebhookMessage.java start line: 156 end line: 158 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 264 unit: public String getScheme() file: src/main/java/org/opensearch/commons/destination/message/LegacyCustomWebhookMessage.java start line: 221 end line: 223 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 265 unit: public String getHost() file: src/main/java/org/opensearch/commons/destination/message/LegacyCustomWebhookMessage.java start line: 225 end line: 227 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 266 unit: public int getPort() file: src/main/java/org/opensearch/commons/destination/message/LegacyCustomWebhookMessage.java start line: 229 end line: 231 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 267 unit: public String getPath() file: src/main/java/org/opensearch/commons/destination/message/LegacyCustomWebhookMessage.java start line: 233 end line: 235 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 268 unit: public String getMethod() file: src/main/java/org/opensearch/commons/destination/message/LegacyCustomWebhookMessage.java start line: 237 end line: 239 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 269 unit: public Map getQueryParams() file: src/main/java/org/opensearch/commons/destination/message/LegacyCustomWebhookMessage.java start line: 241 end line: 243 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 270 unit: public Map getHeaderParams() file: src/main/java/org/opensearch/commons/destination/message/LegacyCustomWebhookMessage.java start line: 245 end line: 247 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 271 unit: public URI getUri() file: src/main/java/org/opensearch/commons/destination/message/LegacyCustomWebhookMessage.java start line: 249 end line: 251 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 272 unit: public String getMessage() file: src/main/java/org/opensearch/commons/destination/message/LegacyCustomWebhookMessage.java start line: 253 end line: 255 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 273 unit: public String toString() file: src/main/java/org/opensearch/commons/destination/message/LegacySlackMessage.java start line: 60 end line: 62 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 274 unit: public Builder() file: src/main/java/org/opensearch/commons/destination/message/LegacySlackMessage.java start line: 69 end line: 71 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 275 unit: public LegacySlackMessage build() file: src/main/java/org/opensearch/commons/destination/message/LegacySlackMessage.java start line: 83 end line: 85 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 276 unit: public String getMessage() file: src/main/java/org/opensearch/commons/destination/message/LegacySlackMessage.java start line: 88 end line: 90 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 277 unit: public String getUrl() file: src/main/java/org/opensearch/commons/destination/message/LegacySlackMessage.java start line: 92 end line: 94 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 278 unit: public void setUrl() file: src/main/java/org/opensearch/commons/destination/message/LegacyBaseMessage.java start line: 78 end line: 80 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 279 unit: public LegacyDestinationType getChannelType() file: src/main/java/org/opensearch/commons/destination/message/LegacyBaseMessage.java start line: 82 end line: 84 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 280 unit: public String getChannelName() file: src/main/java/org/opensearch/commons/destination/message/LegacyBaseMessage.java start line: 86 end line: 88 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 281 unit: public String getMessageContent() file: src/main/java/org/opensearch/commons/destination/message/LegacyBaseMessage.java start line: 90 end line: 92 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 282 unit: public String getUrl() file: src/main/java/org/opensearch/commons/destination/message/LegacyBaseMessage.java start line: 94 end line: 96 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 283 unit: public URI getUri() file: src/main/java/org/opensearch/commons/destination/message/LegacyBaseMessage.java start line: 98 end line: 100 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 284 unit: public LegacyDestinationResponse build() file: src/main/java/org/opensearch/commons/destination/response/LegacyDestinationResponse.java start line: 68 end line: 70 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 285 unit: public String getResponseContent() file: src/main/java/org/opensearch/commons/destination/response/LegacyDestinationResponse.java start line: 73 end line: 75 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 286 unit: public LegacyBaseResponse() file: src/main/java/org/opensearch/commons/destination/response/LegacyBaseResponse.java start line: 48 end line: 50 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 287 unit: public int getStatusCode() file: src/main/java/org/opensearch/commons/destination/response/LegacyBaseResponse.java start line: 52 end line: 54 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 288 unit: public void writeTo() file: src/main/java/org/opensearch/commons/destination/response/LegacyBaseResponse.java start line: 57 end line: 59 size: 3 LOC McCabe index: 1 number of parameters: 1