id: 1 unit: func SendCollectDMetrics() file: util/common/metrics.go start line: 112 end line: 207 size: 80 LOC McCabe index: 13 number of parameters: 3 id: 2 unit: func CheckFileRights() file: filesystem/windows_permission.go start line: 17 end line: 109 size: 71 LOC McCabe index: 16 number of parameters: 1 id: 3 unit: func() file: validator/validators/basic/basic_validator.go start line: 63 end line: 121 size: 52 LOC McCabe index: 12 number of parameters: 1 id: 4 unit: func GenerateLogConfig() file: util/common/logs.go start line: 144 end line: 203 size: 48 LOC McCabe index: 9 number of parameters: 2 id: 5 unit: func() file: validator/validators/performance/performance_validator.go start line: 187 end line: 232 size: 43 LOC McCabe index: 6 number of parameters: 1 id: 6 unit: func GetEnvironmentMetaData() file: environment/metadata.go start line: 332 end line: 376 size: 43 LOC McCabe index: 2 number of parameters: 0 id: 7 unit: func CheckMetricAboveZero() file: util/awsservice/cloudwatchmetrics.go start line: 137 end line: 184 size: 42 LOC McCabe index: 7 number of parameters: 5 id: 8 unit: func startStatsDClient() file: cmd/statsd-generator/statsd-generator.go start line: 38 end line: 82 size: 42 LOC McCabe index: 10 number of parameters: 3 id: 9 unit: func() file: validator/validators/stress/stress_validator.go start line: 416 end line: 467 size: 40 LOC McCabe index: 8 number of parameters: 1 id: 10 unit: func GetLogsSince() file: util/awsservice/cloudwatchlogs.go start line: 79 end line: 134 size: 39 LOC McCabe index: 12 number of parameters: 4 id: 11 unit: func() file: validator/validators/performance/performance_validator.go start line: 234 end line: 274 size: 37 LOC McCabe index: 5 number of parameters: 1 id: 12 unit: func main() file: validator/main.go start line: 30 end line: 77 size: 37 LOC McCabe index: 11 number of parameters: 0 id: 13 unit: func SendEMFMetrics() file: util/common/metrics.go start line: 313 end line: 355 size: 35 LOC McCabe index: 7 number of parameters: 5 id: 14 unit: func StartTraceGeneration() file: util/common/traces/generate.go start line: 14 end line: 47 size: 34 LOC McCabe index: 3 number of parameters: 4 id: 15 unit: func() file: validator/validators/performance/performance_validator.go start line: 147 end line: 185 size: 33 LOC McCabe index: 6 number of parameters: 1 id: 16 unit: func GetLogQueryStats() file: util/awsservice/cloudwatchlogs.go start line: 161 end line: 198 size: 33 LOC McCabe index: 7 number of parameters: 4 id: 17 unit: func GetLogQueryResults() file: util/awsservice/cloudwatchlogs.go start line: 202 end line: 239 size: 33 LOC McCabe index: 7 number of parameters: 4 id: 18 unit: func() file: validator/validators/basic/basic_validator.go start line: 182 end line: 213 size: 32 LOC McCabe index: 8 number of parameters: 1 id: 19 unit: func() file: validator/validators/stress/stress_validator.go start line: 333 end line: 366 size: 32 LOC McCabe index: 5 number of parameters: 1 id: 20 unit: func() file: validator/validators/stress/stress_validator.go start line: 368 end line: 414 size: 32 LOC McCabe index: 8 number of parameters: 1 id: 21 unit: func LaunchValidator() file: validator/validators/validator.go start line: 32 end line: 70 size: 31 LOC McCabe index: 5 number of parameters: 1 id: 22 unit: func CalculateMetricStatisticsBasedOnDataAndPeriod() file: validator/validators/performance/performance_stats.go start line: 26 end line: 63 size: 31 LOC McCabe index: 5 number of parameters: 2 id: 23 unit: func SendAppSignalMetrics() file: util/common/metrics.go start line: 232 end line: 274 size: 31 LOC McCabe index: 7 number of parameters: 1 id: 24 unit: func GetItemInDatabase() file: util/awsservice/dynamodb.go start line: 56 end line: 95 size: 31 LOC McCabe index: 5 number of parameters: 5 id: 25 unit: func writeLog() file: cmd/log-generator/log-generator.go start line: 57 end line: 89 size: 31 LOC McCabe index: 5 number of parameters: 2 id: 26 unit: func() file: validator/validators/performance/performance_validator.go start line: 114 end line: 145 size: 29 LOC McCabe index: 5 number of parameters: 1 id: 27 unit: func SendStatsdMetrics() file: util/common/metrics.go start line: 276 end line: 311 size: 29 LOC McCabe index: 9 number of parameters: 4 id: 28 unit: func TraceTest() file: util/common/traces/base/base.go start line: 59 end line: 88 size: 28 LOC McCabe index: 1 number of parameters: 2 id: 29 unit: func SegmentValidationTest() file: util/common/traces/base/base.go start line: 90 end line: 119 size: 28 LOC McCabe index: 5 number of parameters: 3 id: 30 unit: func ValidateSampleCount() file: util/awsservice/cloudwatchmetrics.go start line: 75 end line: 107 size: 28 LOC McCabe index: 5 number of parameters: 8 id: 31 unit: func() file: validator/validators/performance/performance_validator.go start line: 48 end line: 76 size: 27 LOC McCabe index: 7 number of parameters: 1 id: 32 unit: func BuildListEntitiesForMetricRequest() file: util/common/metrics.go start line: 371 end line: 408 size: 27 LOC McCabe index: 5 number of parameters: 2 id: 33 unit: func writeToLogs() file: util/common/logs.go start line: 83 end line: 113 size: 27 LOC McCabe index: 8 number of parameters: 4 id: 34 unit: func() file: util/common/traces/xray/generator.go start line: 62 end line: 92 size: 26 LOC McCabe index: 7 number of parameters: 1 id: 35 unit: func GetBatchTraces() file: util/awsservice/xray.go start line: 68 end line: 92 size: 25 LOC McCabe index: 7 number of parameters: 1 id: 36 unit: func GetMetricStatistics() file: util/awsservice/cloudwatchmetrics.go start line: 109 end line: 135 size: 25 LOC McCabe index: 2 number of parameters: 8 id: 37 unit: func main() file: install/install_agent.go start line: 20 end line: 45 size: 25 LOC McCabe index: 6 number of parameters: 0 id: 38 unit: func() file: validator/validators/basic/basic_validator.go start line: 215 end line: 249 size: 24 LOC McCabe index: 7 number of parameters: 1 id: 39 unit: func() file: validator/validators/performance/performance_validator.go start line: 78 end line: 113 size: 24 LOC McCabe index: 3 number of parameters: 1 id: 40 unit: func ValidateMetric() file: util/awsservice/cloudwatchmetrics.go start line: 30 end line: 57 size: 24 LOC McCabe index: 4 number of parameters: 3 id: 41 unit: func writeStructuredLog() file: cmd/emf-generator/emf-generator.go start line: 47 end line: 71 size: 23 LOC McCabe index: 4 number of parameters: 1 id: 42 unit: func() file: validator/validators/feature/feature_validator.go start line: 31 end line: 56 size: 22 LOC McCabe index: 4 number of parameters: 1 id: 43 unit: func DownloadFromS3() file: util/common/agent_util_unix.go start line: 245 end line: 270 size: 22 LOC McCabe index: 4 number of parameters: 3 id: 44 unit: func FindStackInstanceId() file: util/awsservice/cloudformation.go start line: 62 end line: 83 size: 22 LOC McCabe index: 7 number of parameters: 4 id: 45 unit: func() file: validator/validators/stress/stress_validator.go start line: 469 end line: 491 size: 21 LOC McCabe index: 1 number of parameters: 1 id: 46 unit: func setupClient() file: util/common/traces/otlp/generator.go start line: 101 end line: 125 size: 21 LOC McCabe index: 3 number of parameters: 1 id: 47 unit: func ConfigureAWSClients() file: util/awsservice/constant.go start line: 76 end line: 101 size: 21 LOC McCabe index: 2 number of parameters: 1 id: 48 unit: func AddItemIntoDatabaseIfNotExist() file: util/awsservice/dynamodb.go start line: 30 end line: 54 size: 21 LOC McCabe index: 2 number of parameters: 4 id: 49 unit: func GetContainerInstances() file: util/awsservice/ecs.go start line: 38 end line: 61 size: 21 LOC McCabe index: 4 number of parameters: 1 id: 50 unit: func main() file: msi/tools/msiversion/msiversionconverter.go start line: 23 end line: 43 size: 21 LOC McCabe index: 3 number of parameters: 0 id: 51 unit: func fillECSData() file: environment/metadata.go start line: 208 end line: 231 size: 21 LOC McCabe index: 4 number of parameters: 2 id: 52 unit: func RegisterEnvironmentMetaDataFlags() file: environment/metadata.go start line: 309 end line: 330 size: 21 LOC McCabe index: 1 number of parameters: 0 id: 53 unit: func() file: validator/validators/basic/basic_validator.go start line: 40 end line: 61 size: 20 LOC McCabe index: 3 number of parameters: 1 id: 54 unit: func() file: validator/validators/basic/basic_validator.go start line: 159 end line: 180 size: 20 LOC McCabe index: 3 number of parameters: 1 id: 55 unit: func CopyFile() file: util/common/agent_util_windows.go start line: 21 end line: 47 size: 20 LOC McCabe index: 4 number of parameters: 2 id: 56 unit: func AssertNoDuplicateLogs() file: util/awsservice/cloudwatchlogs.go start line: 346 end line: 365 size: 20 LOC McCabe index: 4 number of parameters: 0 id: 57 unit: func registerEKSE2ETestData() file: environment/metadata.go start line: 145 end line: 164 size: 20 LOC McCabe index: 1 number of parameters: 1 id: 58 unit: func main() file: cmd/log-generator/log-generator.go start line: 32 end line: 55 size: 20 LOC McCabe index: 5 number of parameters: 0 id: 59 unit: func() file: validator/validators/basic/basic_validator.go start line: 251 end line: 271 size: 19 LOC McCabe index: 1 number of parameters: 1 id: 60 unit: func RunShellScript() file: util/common/agent_util_windows.go start line: 92 end line: 115 size: 19 LOC McCabe index: 4 number of parameters: 2 id: 61 unit: func StartAgentWithCommand() file: util/common/agent_util_unix.go start line: 140 end line: 160 size: 19 LOC McCabe index: 5 number of parameters: 4 id: 62 unit: func() file: util/common/traces/otlp/generator.go start line: 36 end line: 54 size: 19 LOC McCabe index: 6 number of parameters: 1 id: 63 unit: func DownloadFile() file: util/awsservice/s3.go start line: 15 end line: 33 size: 19 LOC McCabe index: 3 number of parameters: 3 id: 64 unit: func GetLogStreams() file: util/awsservice/cloudwatchlogs.go start line: 241 end line: 263 size: 19 LOC McCabe index: 4 number of parameters: 1 id: 65 unit: func AssertLogSchema() file: util/awsservice/cloudwatchlogs.go start line: 285 end line: 303 size: 19 LOC McCabe index: 5 number of parameters: 1 id: 66 unit: func StartSendingMetrics() file: util/common/metrics.go start line: 38 end line: 57 size: 18 LOC McCabe index: 6 number of parameters: 6 id: 67 unit: func CopyFile() file: util/common/agent_util_unix.go start line: 42 end line: 62 size: 18 LOC McCabe index: 3 number of parameters: 2 id: 68 unit: func GetTraceIDs() file: util/awsservice/xray.go start line: 37 end line: 54 size: 18 LOC McCabe index: 5 number of parameters: 3 id: 69 unit: func IsLogGroupExists() file: util/awsservice/cloudwatchlogs.go start line: 137 end line: 157 size: 18 LOC McCabe index: 3 number of parameters: 2 id: 70 unit: func GetLogEventCountPerType() file: util/awsservice/cloudwatchlogs.go start line: 367 end line: 389 size: 18 LOC McCabe index: 4 number of parameters: 4 id: 71 unit: func StartAgent() file: util/common/agent_util_windows.go start line: 49 end line: 71 size: 17 LOC McCabe index: 5 number of parameters: 3 id: 72 unit: func processFile() file: util/common/metrics.go start line: 208 end line: 230 size: 17 LOC McCabe index: 3 number of parameters: 2 id: 73 unit: func getLogFilePaths() file: util/common/logs.go start line: 117 end line: 136 size: 17 LOC McCabe index: 4 number of parameters: 1 id: 74 unit: func NewLoadGenerator() file: util/common/traces/xray/generator.go start line: 45 end line: 61 size: 17 LOC McCabe index: 2 number of parameters: 1 id: 75 unit: func ReportMetric() file: util/awsservice/cloudwatchmetrics.go start line: 223 end line: 239 size: 17 LOC McCabe index: 1 number of parameters: 4 id: 76 unit: func() file: validator/validators/performance/performance_validator.go start line: 276 end line: 292 size: 16 LOC McCabe index: 1 number of parameters: 1 id: 77 unit: func packIntoPerformanceInformation() file: validator/validators/performance/performance_validator.go start line: 296 end line: 312 size: 16 LOC McCabe index: 1 number of parameters: 7 id: 78 unit: func NewValidateConfig() file: validator/models/validation_config.go start line: 84 end line: 101 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 79 unit: func fillEC2PluginTests() file: environment/metadata.go start line: 233 end line: 250 size: 16 LOC McCabe index: 4 number of parameters: 2 id: 80 unit: func fillExcludedTests() file: environment/metadata.go start line: 252 end line: 269 size: 16 LOC McCabe index: 4 number of parameters: 2 id: 81 unit: func GetNamedSecurityInfo() file: filesystem/windows_sec.go start line: 66 end line: 81 size: 16 LOC McCabe index: 2 number of parameters: 8 id: 82 unit: func SendAppSignalsTraceMetrics() file: util/common/metrics.go start line: 59 end line: 77 size: 15 LOC McCabe index: 3 number of parameters: 1 id: 83 unit: func GetAnyNvmeVolumeID() file: util/common/nvme_util_unix.go start line: 17 end line: 34 size: 15 LOC McCabe index: 4 number of parameters: 0 id: 84 unit: func UninstallAgent() file: util/common/agent_util_unix.go start line: 104 end line: 118 size: 15 LOC McCabe index: 3 number of parameters: 1 id: 85 unit: func RunShellScript() file: util/common/agent_util_unix.go start line: 192 end line: 212 size: 15 LOC McCabe index: 3 number of parameters: 2 id: 86 unit: func StartLogWrite() file: util/common/logs.go start line: 62 end line: 79 size: 15 LOC McCabe index: 4 number of parameters: 4 id: 87 unit: func BuildDimensionFilterList() file: util/awsservice/cloudwatchmetrics.go start line: 202 end line: 219 size: 15 LOC McCabe index: 2 number of parameters: 1 id: 88 unit: func() file: validator/validators/basic/basic_validator.go start line: 142 end line: 157 size: 14 LOC McCabe index: 6 number of parameters: 1 id: 89 unit: func validate() file: validator/main.go start line: 79 end line: 95 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 90 unit: func prepare() file: validator/main.go start line: 97 end line: 111 size: 14 LOC McCabe index: 2 number of parameters: 1 id: 91 unit: func StopAgent() file: util/common/agent_util_windows.go start line: 73 end line: 90 size: 14 LOC McCabe index: 3 number of parameters: 0 id: 92 unit: func processTraceFile() file: util/common/metrics.go start line: 94 end line: 110 size: 14 LOC McCabe index: 3 number of parameters: 3 id: 93 unit: func() file: util/common/traces/otlp/generator.go start line: 68 end line: 82 size: 14 LOC McCabe index: 2 number of parameters: 1 id: 94 unit: func() file: util/common/traces/xray/generator.go start line: 28 end line: 41 size: 14 LOC McCabe index: 5 number of parameters: 1 id: 95 unit: func FilterExpression() file: util/awsservice/xray.go start line: 22 end line: 35 size: 14 LOC McCabe index: 4 number of parameters: 1 id: 96 unit: func ValidateMetricWithTest() file: util/awsservice/cloudwatchmetrics.go start line: 60 end line: 73 size: 14 LOC McCabe index: 4 number of parameters: 6 id: 97 unit: func main() file: cmd/emf-generator/emf-generator.go start line: 30 end line: 45 size: 14 LOC McCabe index: 4 number of parameters: 0 id: 98 unit: func NewValidator() file: validator/validators/validator.go start line: 17 end line: 30 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 99 unit: func GetEKSInstances() file: util/awsservice/eks.go start line: 20 end line: 35 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 100 unit: func StartStack() file: util/awsservice/cloudformation.go start line: 30 end line: 46 size: 13 LOC McCabe index: 2 number of parameters: 6 id: 101 unit: func DeleteStack() file: util/awsservice/cloudformation.go start line: 48 end line: 60 size: 13 LOC McCabe index: 3 number of parameters: 3 id: 102 unit: func ValidateLogs() file: util/awsservice/cloudwatchlogs.go start line: 61 end line: 75 size: 13 LOC McCabe index: 4 number of parameters: 5 id: 103 unit: func fillEKSData() file: environment/metadata.go start line: 271 end line: 285 size: 13 LOC McCabe index: 3 number of parameters: 2 id: 104 unit: func CheckFileRights() file: filesystem/unix_permission.go start line: 78 end line: 95 size: 13 LOC McCabe index: 7 number of parameters: 1 id: 105 unit: func InstallAgent() file: util/common/agent_util_unix.go start line: 121 end line: 133 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 106 unit: func GenerateWindowsEvents() file: util/common/logs.go start line: 35 end line: 46 size: 12 LOC McCabe index: 5 number of parameters: 1 id: 107 unit: func setupTraceProvider() file: util/common/traces/otlp/generator.go start line: 127 end line: 139 size: 12 LOC McCabe index: 2 number of parameters: 2 id: 108 unit: func describeEksInstances() file: util/awsservice/eks.go start line: 37 end line: 48 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 109 unit: func ReplaceItemInDatabase() file: util/awsservice/dynamodb.go start line: 15 end line: 28 size: 12 LOC McCabe index: 2 number of parameters: 2 id: 110 unit: func GetMetricData() file: util/awsservice/cloudwatchmetrics.go start line: 187 end line: 200 size: 12 LOC McCabe index: 2 number of parameters: 3 id: 111 unit: func AssertPerLog() file: util/awsservice/cloudwatchlogs.go start line: 315 end line: 326 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 112 unit: func RestartService() file: util/awsservice/ecs.go start line: 17 end line: 30 size: 12 LOC McCabe index: 2 number of parameters: 3 id: 113 unit: func fillEKSInstallationType() file: environment/metadata.go start line: 287 end line: 299 size: 12 LOC McCabe index: 3 number of parameters: 2 id: 114 unit: func GetAclInformation() file: filesystem/windows_sec.go start line: 85 end line: 97 size: 12 LOC McCabe index: 2 number of parameters: 3 id: 115 unit: func() file: validator/validators/basic/basic_validator.go start line: 123 end line: 134 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 116 unit: func isAllValuesGreaterThanOrEqualToZero() file: validator/validators/performance/performance_validator.go start line: 314 end line: 324 size: 11 LOC McCabe index: 4 number of parameters: 1 id: 117 unit: func isAllStatisticsGreaterThanOrEqualToZero() file: validator/validators/performance/performance_validator.go start line: 326 end line: 336 size: 11 LOC McCabe index: 4 number of parameters: 1 id: 118 unit: func printOutputAndError() file: util/common/agent_util_windows.go start line: 119 end line: 129 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 119 unit: func printOutputAndError() file: util/common/agent_util_unix.go start line: 92 end line: 102 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 120 unit: func GetImdsMetadata() file: util/awsservice/imds.go start line: 27 end line: 39 size: 11 LOC McCabe index: 3 number of parameters: 0 id: 121 unit: func init() file: util/awsservice/constant.go start line: 60 end line: 73 size: 11 LOC McCabe index: 3 number of parameters: 0 id: 122 unit: func GetSegments() file: util/awsservice/xray.go start line: 56 end line: 66 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 123 unit: func GetFileOwnerUserName() file: filesystem/unix_permission.go start line: 51 end line: 62 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 124 unit: func GetFileGroupName() file: filesystem/unix_permission.go start line: 64 end line: 74 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 125 unit: func DeleteFile() file: util/common/agent_util_unix.go start line: 64 end line: 75 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 126 unit: func TouchFile() file: util/common/agent_util_unix.go start line: 77 end line: 88 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 127 unit: func SELinuxEnforced() file: util/common/agent_util_unix.go start line: 272 end line: 281 size: 10 LOC McCabe index: 3 number of parameters: 0 id: 128 unit: func GenerateLogs() file: util/common/logs.go start line: 24 end line: 33 size: 10 LOC McCabe index: 3 number of parameters: 5 id: 129 unit: func NewLoadGenerator() file: util/common/traces/otlp/generator.go start line: 58 end line: 67 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 130 unit: func GenerateTraces() file: util/common/traces/base/base.go start line: 120 end line: 129 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 131 unit: func putParameter() file: util/awsservice/ssm.go start line: 27 end line: 38 size: 10 LOC McCabe index: 1 number of parameters: 3 id: 132 unit: func LogCloudWatchDimension() file: validator/validators/util/common.go start line: 12 end line: 20 size: 9 LOC McCabe index: 4 number of parameters: 1 id: 133 unit: func RunCommands() file: util/common/agent_util_windows.go start line: 137 end line: 146 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 134 unit: func StopAgent() file: util/common/agent_util_unix.go start line: 162 end line: 172 size: 9 LOC McCabe index: 2 number of parameters: 0 id: 135 unit: func RunCommands() file: util/common/agent_util_unix.go start line: 226 end line: 235 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 136 unit: func CreateWindowsEvent() file: util/common/logs.go start line: 48 end line: 58 size: 9 LOC McCabe index: 2 number of parameters: 3 id: 137 unit: func GetStringParameter() file: util/awsservice/ssm.go start line: 16 end line: 25 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 138 unit: func DeleteLogStream() file: util/awsservice/cloudwatchlogs.go start line: 39 end line: 47 size: 9 LOC McCabe index: 3 number of parameters: 2 id: 139 unit: func CheckFileOwnerRights() file: filesystem/unix_permission.go start line: 98 end line: 107 size: 9 LOC McCabe index: 3 number of parameters: 2 id: 140 unit: func ValidateValidatorConfig() file: validator/models/validation_config.go start line: 103 end line: 110 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 141 unit: func RecreateAgentLogfile() file: util/common/agent_util_unix.go start line: 182 end line: 190 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 142 unit: func DeleteLogGroup() file: util/awsservice/cloudwatchlogs.go start line: 50 end line: 57 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 143 unit: func AssertLogContainsSubstring() file: util/awsservice/cloudwatchlogs.go start line: 305 end line: 312 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 144 unit: func AssertLogsNotEmpty() file: util/awsservice/cloudwatchlogs.go start line: 328 end line: 335 size: 8 LOC McCabe index: 2 number of parameters: 0 id: 145 unit: func AssertLogsCount() file: util/awsservice/cloudwatchlogs.go start line: 337 end line: 344 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 146 unit: func FileHasPermission() file: filesystem/unix_permission.go start line: 33 end line: 41 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 147 unit: func main() file: cmd/statsd-generator/statsd-generator.go start line: 28 end line: 36 size: 8 LOC McCabe index: 2 number of parameters: 0 id: 148 unit: func generateTraceID() file: util/common/metrics.go start line: 86 end line: 92 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 149 unit: func ReadAgentLogfile() file: util/common/agent_util_unix.go start line: 174 end line: 180 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 150 unit: func CreateStackName() file: util/awsservice/cloudformation.go start line: 19 end line: 28 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 151 unit: func GetInstancePrivateIpDns() file: util/awsservice/ec2.go start line: 10 end line: 17 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 152 unit: func GetLogStreamNames() file: util/awsservice/cloudwatchlogs.go start line: 265 end line: 271 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 153 unit: func GetContainerInstanceArns() file: util/awsservice/ecs.go start line: 63 end line: 70 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 154 unit: func registerECSData() file: environment/metadata.go start line: 131 end line: 137 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 155 unit: func fillComputeType() file: environment/metadata.go start line: 178 end line: 184 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 156 unit: func GetAce() file: filesystem/windows_sec.go start line: 101 end line: 107 size: 7 LOC McCabe index: 2 number of parameters: 3 id: 157 unit: func GetFileStatPermission() file: filesystem/unix_permission.go start line: 43 end line: 49 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 158 unit: func isAppSignalMetric() file: validator/validators/basic/basic_validator.go start line: 136 end line: 141 size: 6 LOC McCabe index: 4 number of parameters: 1 id: 159 unit: func NewFeatureValidator() file: validator/validators/feature/feature_validator.go start line: 24 end line: 29 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 160 unit: func NewStressValidator() file: validator/validators/stress/stress_validator.go start line: 326 end line: 331 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 161 unit: func NewPerformanceValidator() file: validator/validators/performance/performance_validator.go start line: 41 end line: 46 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 162 unit: func() file: validator/models/validation_config.go start line: 133 end line: 138 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 163 unit: func getBaseDir() file: util/common/metrics.go start line: 79 end line: 84 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 164 unit: func RunCommand() file: util/common/agent_util_unix.go start line: 214 end line: 219 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 165 unit: func ReplaceLocalStackHostName() file: util/common/agent_util_unix.go start line: 237 end line: 243 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 166 unit: func getTempFolder() file: util/common/logs.go start line: 207 end line: 212 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 167 unit: func describeContainerInstances() file: util/awsservice/ecs.go start line: 86 end line: 91 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 168 unit: func replaceValue() file: msi/tools/msiversion/msiversionconverter.go start line: 45 end line: 51 size: 6 LOC McCabe index: 2 number of parameters: 3 id: 169 unit: func NewBasicValidator() file: validator/validators/basic/basic_validator.go start line: 34 end line: 38 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 170 unit: func RunCommand() file: util/common/agent_util_windows.go start line: 131 end line: 135 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 171 unit: func DescribeInstances() file: util/awsservice/ec2.go start line: 19 end line: 23 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 172 unit: func WithSchema() file: util/awsservice/cloudwatchlogs.go start line: 279 end line: 283 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 173 unit: func listContainerInstances() file: util/awsservice/ecs.go start line: 80 end line: 84 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 174 unit: func registerEKSData() file: environment/metadata.go start line: 139 end line: 143 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 175 unit: func registerAgentStartCommand() file: environment/metadata.go start line: 202 end line: 206 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 176 unit: func() file: validator/models/validation_config.go start line: 170 end line: 173 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 177 unit: func RunAsyncCommand() file: util/common/agent_util_windows.go start line: 148 end line: 151 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 178 unit: func StartAgent() file: util/common/agent_util_unix.go start line: 135 end line: 138 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 179 unit: func RunAsyncCommand() file: util/common/agent_util_unix.go start line: 221 end line: 224 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 180 unit: func DeleteLogGroupAndStream() file: util/awsservice/cloudwatchlogs.go start line: 33 end line: 36 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 181 unit: func FromString() file: environment/ecslaunchtype/ecs_launch_type.go start line: 22 end line: 25 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 182 unit: func FromString() file: environment/ecsdeploymenttype/ecs_deployment_type.go start line: 24 end line: 27 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 183 unit: func registerS3Key() file: environment/metadata.go start line: 121 end line: 124 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 184 unit: func FromString() file: environment/eksinstallationtype/eks_installation_type.go start line: 22 end line: 25 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 185 unit: func FromString() file: environment/computetype/compute_type.go start line: 24 end line: 27 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 186 unit: func FromString() file: environment/eksdeploymenttype/eks_deployment_type.go start line: 28 end line: 31 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 187 unit: func() file: validator/models/validation_config.go start line: 113 end line: 115 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 188 unit: func() file: validator/models/validation_config.go start line: 118 end line: 120 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 189 unit: func() file: validator/models/validation_config.go start line: 123 end line: 125 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 190 unit: func() file: validator/models/validation_config.go start line: 128 end line: 130 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 191 unit: func() file: validator/models/validation_config.go start line: 141 end line: 143 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 192 unit: func() file: validator/models/validation_config.go start line: 146 end line: 148 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 193 unit: func() file: validator/models/validation_config.go start line: 151 end line: 153 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 194 unit: func() file: validator/models/validation_config.go start line: 156 end line: 158 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 195 unit: func() file: validator/models/validation_config.go start line: 161 end line: 163 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 196 unit: func() file: validator/models/validation_config.go start line: 166 end line: 168 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 197 unit: func() file: validator/models/validation_config.go start line: 175 end line: 177 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 198 unit: func() file: validator/models/validation_config.go start line: 179 end line: 181 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 199 unit: func() file: util/common/traces/otlp/generator.go start line: 55 end line: 57 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 200 unit: func() file: util/common/traces/otlp/generator.go start line: 84 end line: 86 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 201 unit: func() file: util/common/traces/otlp/generator.go start line: 88 end line: 90 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 202 unit: func() file: util/common/traces/otlp/generator.go start line: 91 end line: 93 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 203 unit: func() file: util/common/traces/otlp/generator.go start line: 94 end line: 96 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 204 unit: func() file: util/common/traces/otlp/generator.go start line: 97 end line: 99 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 205 unit: func() file: util/common/traces/xray/generator.go start line: 42 end line: 44 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 206 unit: func() file: util/common/traces/xray/generator.go start line: 94 end line: 96 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 207 unit: func() file: util/common/traces/xray/generator.go start line: 98 end line: 100 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 208 unit: func() file: util/common/traces/xray/generator.go start line: 101 end line: 103 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 209 unit: func() file: util/common/traces/xray/generator.go start line: 104 end line: 106 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 210 unit: func() file: util/common/traces/xray/generator.go start line: 107 end line: 109 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 211 unit: func PutStringParameter() file: util/awsservice/ssm.go start line: 12 end line: 14 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 212 unit: func GetInstanceId() file: util/awsservice/imds.go start line: 14 end line: 16 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 213 unit: func GetImageId() file: util/awsservice/imds.go start line: 18 end line: 20 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 214 unit: func GetInstanceType() file: util/awsservice/imds.go start line: 22 end line: 24 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 215 unit: func RestartDaemonService() file: util/awsservice/ecs.go start line: 13 end line: 15 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 216 unit: func GetContainerInstanceId() file: util/awsservice/ecs.go start line: 72 end line: 74 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 217 unit: func GetClusterName() file: util/awsservice/ecs.go start line: 76 end line: 78 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 218 unit: func registerComputeType() file: environment/metadata.go start line: 115 end line: 117 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 219 unit: func registerBucket() file: environment/metadata.go start line: 118 end line: 120 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 220 unit: func registerCwaCommitSha() file: environment/metadata.go start line: 125 end line: 127 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 221 unit: func registerCaCertPath() file: environment/metadata.go start line: 128 end line: 130 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 222 unit: func registerPluginTestsToExecute() file: environment/metadata.go start line: 166 end line: 168 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 223 unit: func registerExcludedTests() file: environment/metadata.go start line: 170 end line: 172 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 224 unit: func registerProxyUrl() file: environment/metadata.go start line: 174 end line: 176 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 225 unit: func registerAssumeRoleArn() file: environment/metadata.go start line: 186 end line: 188 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 226 unit: func registerInstanceArn() file: environment/metadata.go start line: 190 end line: 192 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 227 unit: func registerInstanceId() file: environment/metadata.go start line: 194 end line: 196 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 228 unit: func registerInstancePlatform() file: environment/metadata.go start line: 198 end line: 200 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 229 unit: func registerAmpWorkspaceId() file: environment/metadata.go start line: 301 end line: 303 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 230 unit: func registerAccountId() file: environment/metadata.go start line: 305 end line: 307 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 231 unit: func makeTimestamp() file: cmd/emf-generator/emf-generator.go start line: 74 end line: 76 size: 3 LOC McCabe index: 1 number of parameters: 0