id: 1 unit: func structMatcher() file: structmatcher/structmatcher.go start line: 27 end line: 104 size: 72 LOC McCabe index: 26 number of parameters: 6 id: 2 unit: func f64Dig() file: conv/float.go start line: 53 end line: 113 size: 51 LOC McCabe index: 9 number of parameters: 3 id: 3 unit: func() file: dbconn/dbconn.go start line: 190 end line: 249 size: 47 LOC McCabe index: 12 number of parameters: 1 id: 4 unit: func i16Dig() file: conv/int.go start line: 61 end line: 101 size: 35 LOC McCabe index: 7 number of parameters: 2 id: 5 unit: func i32Dig() file: conv/int.go start line: 103 end line: 143 size: 35 LOC McCabe index: 7 number of parameters: 2 id: 6 unit: func i64Dig() file: conv/int.go start line: 145 end line: 185 size: 35 LOC McCabe index: 7 number of parameters: 2 id: 7 unit: func() file: cluster/cluster.go start line: 326 end line: 352 size: 27 LOC McCabe index: 4 number of parameters: 1 id: 8 unit: func() file: cluster/cluster.go start line: 253 end line: 280 size: 26 LOC McCabe index: 13 number of parameters: 1 id: 9 unit: func GetSegmentConfiguration() file: cluster/cluster.go start line: 496 end line: 521 size: 25 LOC McCabe index: 4 number of parameters: 2 id: 10 unit: func() file: cluster/cluster.go start line: 368 end line: 391 size: 23 LOC McCabe index: 7 number of parameters: 1 id: 11 unit: func SelectStringSlice() file: dbconn/dbconn.go start line: 422 end line: 444 size: 23 LOC McCabe index: 6 number of parameters: 3 id: 12 unit: func i8Dig() file: conv/int.go start line: 35 end line: 59 size: 23 LOC McCabe index: 6 number of parameters: 2 id: 13 unit: func InitializeSystemFunctions() file: operating/operating.go start line: 79 end line: 101 size: 23 LOC McCabe index: 1 number of parameters: 0 id: 14 unit: func NewDBConn() file: dbconn/dbconn.go start line: 97 end line: 121 size: 22 LOC McCabe index: 4 number of parameters: 4 id: 15 unit: func ui16Dig() file: conv/uint.go start line: 47 end line: 71 size: 22 LOC McCabe index: 5 number of parameters: 2 id: 16 unit: func ui32Dig() file: conv/uint.go start line: 73 end line: 97 size: 22 LOC McCabe index: 5 number of parameters: 2 id: 17 unit: func ui64Dig() file: conv/uint.go start line: 99 end line: 125 size: 22 LOC McCabe index: 5 number of parameters: 2 id: 18 unit: func NewCluster() file: cluster/cluster.go start line: 215 end line: 240 size: 21 LOC McCabe index: 5 number of parameters: 1 id: 19 unit: func Fatal() file: gplog/gplog.go start line: 285 end line: 305 size: 21 LOC McCabe index: 4 number of parameters: 3 id: 20 unit: func() file: cluster/cluster.go start line: 295 end line: 313 size: 19 LOC McCabe index: 5 number of parameters: 1 id: 21 unit: func NewDBConnFromEnvironment() file: dbconn/dbconn.go start line: 75 end line: 95 size: 19 LOC McCabe index: 5 number of parameters: 1 id: 22 unit: func Float64ToBytes() file: conv/float.go start line: 12 end line: 30 size: 19 LOC McCabe index: 7 number of parameters: 3 id: 23 unit: func Float64ToString() file: conv/float.go start line: 33 end line: 51 size: 19 LOC McCabe index: 7 number of parameters: 3 id: 24 unit: func() file: dbconn/dbconn.go start line: 260 end line: 278 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 25 unit: func UInt8ToBytes() file: conv/uint.go start line: 4 end line: 21 size: 18 LOC McCabe index: 5 number of parameters: 2 id: 26 unit: func ReadLinesFromFile() file: iohelper/iohelper.go start line: 90 end line: 106 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 27 unit: func NewRemoteOutput() file: cluster/cluster.go start line: 194 end line: 209 size: 16 LOC McCabe index: 3 number of parameters: 3 id: 28 unit: func NewLogger() file: gplog/gplog.go start line: 148 end line: 164 size: 16 LOC McCabe index: 4 number of parameters: 7 id: 29 unit: func LogFatalClusterError() file: cluster/cluster.go start line: 393 end line: 408 size: 15 LOC McCabe index: 4 number of parameters: 3 id: 30 unit: func createLogDirectory() file: gplog/gplog.go start line: 364 end line: 378 size: 15 LOC McCabe index: 5 number of parameters: 1 id: 31 unit: func FileExistsAndIsReadable() file: iohelper/iohelper.go start line: 75 end line: 88 size: 14 LOC McCabe index: 4 number of parameters: 1 id: 32 unit: func InitializeLogging() file: gplog/gplog.go start line: 109 end line: 125 size: 14 LOC McCabe index: 3 number of parameters: 2 id: 33 unit: func InitializeVersion() file: dbconn/version.go start line: 33 end line: 46 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 34 unit: func() file: dbconn/dbconn.go start line: 128 end line: 140 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 35 unit: func() file: dbconn/dbconn.go start line: 142 end line: 153 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 36 unit: func() file: dbconn/dbconn.go start line: 362 end line: 373 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 37 unit: func SelectString() file: dbconn/dbconn.go start line: 392 end line: 403 size: 12 LOC McCabe index: 4 number of parameters: 3 id: 38 unit: func CreateMockDBConn() file: testhelper/functions.go start line: 56 end line: 67 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 39 unit: func Info() file: gplog/gplog.go start line: 232 end line: 242 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 40 unit: func Verbose() file: gplog/gplog.go start line: 252 end line: 262 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 41 unit: func Debug() file: gplog/gplog.go start line: 264 end line: 274 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 42 unit: func GenerateLogFileName() file: gplog/gplog.go start line: 127 end line: 136 size: 10 LOC McCabe index: 2 number of parameters: 2 id: 43 unit: func abort() file: gplog/gplog.go start line: 345 end line: 354 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 44 unit: func() file: structmatcher/structmatcher.go start line: 136 end line: 145 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 45 unit: func() file: testhelper/structs.go start line: 21 end line: 31 size: 10 LOC McCabe index: 4 number of parameters: 1 id: 46 unit: func NewShellCommand() file: cluster/cluster.go start line: 173 end line: 181 size: 9 LOC McCabe index: 1 number of parameters: 4 id: 47 unit: func getSegmentByRole() file: cluster/cluster.go start line: 418 end line: 426 size: 9 LOC McCabe index: 4 number of parameters: 2 id: 48 unit: func GetHeader() file: gplog/gplog.go start line: 166 end line: 174 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 49 unit: func FatalOnError() file: gplog/gplog.go start line: 307 end line: 315 size: 9 LOC McCabe index: 3 number of parameters: 2 id: 50 unit: func FatalWithoutPanic() file: gplog/gplog.go start line: 317 end line: 325 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 51 unit: func() file: dbconn/dbconn.go start line: 160 end line: 168 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 52 unit: func() file: dbconn/dbconn.go start line: 175 end line: 183 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 53 unit: func OpenFileForWriting() file: iohelper/iohelper.go start line: 45 end line: 52 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 54 unit: func OpenFileForAppending() file: iohelper/iohelper.go start line: 60 end line: 67 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 55 unit: func ConstructSSHCommand() file: cluster/cluster.go start line: 282 end line: 289 size: 8 LOC McCabe index: 2 number of parameters: 3 id: 56 unit: func Error() file: gplog/gplog.go start line: 276 end line: 283 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 57 unit: func openLogFile() file: gplog/gplog.go start line: 355 end line: 362 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 58 unit: func StringToSemVerRange() file: dbconn/version.go start line: 48 end line: 55 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 59 unit: func FormatMD5() file: conv/md5.go start line: 4 end line: 11 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 60 unit: func SetupTestLogger() file: testhelper/functions.go start line: 22 end line: 29 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 61 unit: func() file: testhelper/structs.go start line: 55 end line: 62 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 62 unit: func() file: testhelper/structs.go start line: 64 end line: 71 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 63 unit: func OpenFileForReading() file: iohelper/iohelper.go start line: 31 end line: 37 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 64 unit: func() file: cluster/cluster.go start line: 428 end line: 434 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 65 unit: func() file: cluster/cluster.go start line: 436 end line: 442 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 66 unit: func() file: cluster/cluster.go start line: 444 end line: 450 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 67 unit: func() file: cluster/cluster.go start line: 452 end line: 458 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 68 unit: func() file: cluster/cluster.go start line: 460 end line: 466 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 69 unit: func() file: cluster/cluster.go start line: 468 end line: 474 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 70 unit: func() file: cluster/cluster.go start line: 476 end line: 482 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 71 unit: func() file: cluster/cluster.go start line: 484 end line: 490 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 72 unit: func Warn() file: gplog/gplog.go start line: 244 end line: 250 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 73 unit: func NewVersion() file: dbconn/version.go start line: 25 end line: 31 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 74 unit: func() file: dbconn/dbconn.go start line: 287 end line: 293 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 75 unit: func() file: dbconn/dbconn.go start line: 300 end line: 306 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 76 unit: func() file: dbconn/dbconn.go start line: 320 end line: 326 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 77 unit: func() file: dbconn/dbconn.go start line: 335 end line: 341 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 78 unit: func() file: dbconn/dbconn.go start line: 350 end line: 356 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 79 unit: func GetLogPrefix() file: gplog/gplog.go start line: 193 end line: 198 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 80 unit: func() file: dbconn/dbconn.go start line: 313 end line: 318 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 81 unit: func() file: dbconn/dbconn.go start line: 328 end line: 333 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 82 unit: func() file: dbconn/dbconn.go start line: 343 end line: 348 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 83 unit: func UInt16ToBytes() file: conv/uint.go start line: 24 end line: 29 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 84 unit: func UInt32ToBytes() file: conv/uint.go start line: 32 end line: 37 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 85 unit: func UInt64ToBytes() file: conv/uint.go start line: 40 end line: 45 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 86 unit: func Int8ToBytes() file: conv/int.go start line: 4 end line: 9 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 87 unit: func Int16ToBytes() file: conv/int.go start line: 12 end line: 17 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 88 unit: func Int32ToBytes() file: conv/int.go start line: 20 end line: 25 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 89 unit: func Int64ToBytes() file: conv/int.go start line: 28 end line: 33 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 90 unit: func OpenFileRead() file: operating/operating.go start line: 30 end line: 35 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 91 unit: func OpenFileWrite() file: operating/operating.go start line: 37 end line: 42 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 92 unit: func SetupTestEnvironment() file: testhelper/functions.go start line: 31 end line: 36 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 93 unit: func CreateMockDB() file: testhelper/functions.go start line: 38 end line: 44 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 94 unit: func CreateAndConnectMockDB() file: testhelper/functions.go start line: 74 end line: 79 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 95 unit: func ShouldPanicWithMessage() file: testhelper/functions.go start line: 89 end line: 95 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 96 unit: func MockFileContents() file: testhelper/functions.go start line: 106 end line: 111 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 97 unit: func MustOpenFileForReading() file: iohelper/iohelper.go start line: 39 end line: 43 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 98 unit: func MustOpenFileForWriting() file: iohelper/iohelper.go start line: 54 end line: 58 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 99 unit: func MustOpenFileForAppending() file: iohelper/iohelper.go start line: 69 end line: 73 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 100 unit: func MustReadLinesFromFile() file: iohelper/iohelper.go start line: 108 end line: 112 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 101 unit: func() file: cluster/cluster.go start line: 362 end line: 366 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 102 unit: func MustGetSegmentConfiguration() file: cluster/cluster.go start line: 523 end line: 527 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 103 unit: func formatStackTrace() file: gplog/gplog.go start line: 331 end line: 335 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 104 unit: func MustSelectString() file: dbconn/dbconn.go start line: 386 end line: 390 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 105 unit: func MustSelectStringSlice() file: dbconn/dbconn.go start line: 416 end line: 420 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 106 unit: func MatchStruct() file: structmatcher/structmatcher.go start line: 130 end line: 134 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 107 unit: func() file: cluster/cluster.go start line: 315 end line: 318 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 108 unit: func defaultLogPrefixFunc() file: gplog/gplog.go start line: 188 end line: 191 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 109 unit: func() file: dbconn/version.go start line: 57 end line: 60 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 110 unit: func() file: dbconn/version.go start line: 62 end line: 65 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 111 unit: func() file: dbconn/version.go start line: 67 end line: 70 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 112 unit: func() file: dbconn/dbconn.go start line: 123 end line: 126 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 113 unit: func() file: dbconn/dbconn.go start line: 155 end line: 158 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 114 unit: func() file: dbconn/dbconn.go start line: 170 end line: 173 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 115 unit: func() file: dbconn/dbconn.go start line: 185 end line: 188 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 116 unit: func() file: dbconn/dbconn.go start line: 251 end line: 254 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 117 unit: func() file: dbconn/dbconn.go start line: 295 end line: 298 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 118 unit: func() file: dbconn/dbconn.go start line: 308 end line: 311 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 119 unit: func() file: structmatcher/structmatcher.go start line: 155 end line: 158 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 120 unit: func() file: structmatcher/structmatcher.go start line: 160 end line: 163 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 121 unit: func ExpectVersionQuery() file: testhelper/functions.go start line: 69 end line: 72 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 122 unit: func AssertQueryRuns() file: testhelper/functions.go start line: 97 end line: 100 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 123 unit: func scopeIsSegments() file: cluster/cluster.go start line: 119 end line: 121 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 124 unit: func scopeIsHosts() file: cluster/cluster.go start line: 123 end line: 125 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 125 unit: func scopeExcludesCoordinator() file: cluster/cluster.go start line: 127 end line: 129 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 126 unit: func scopeIncludesCoordinator() file: cluster/cluster.go start line: 131 end line: 133 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 127 unit: func scopeIsRemote() file: cluster/cluster.go start line: 135 end line: 137 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 128 unit: func scopeIsLocal() file: cluster/cluster.go start line: 139 end line: 141 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 129 unit: func scopeExcludesMirrors() file: cluster/cluster.go start line: 143 end line: 145 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 130 unit: func scopeIncludesMirrors() file: cluster/cluster.go start line: 147 end line: 149 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 131 unit: func SetLogger() file: gplog/gplog.go start line: 138 end line: 140 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 132 unit: func GetLogger() file: gplog/gplog.go start line: 143 end line: 145 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 133 unit: func SetLogPrefixFunc() file: gplog/gplog.go start line: 176 end line: 178 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 134 unit: func SetLogFileNameFunc() file: gplog/gplog.go start line: 180 end line: 182 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 135 unit: func SetExitFunc() file: gplog/gplog.go start line: 184 end line: 186 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 136 unit: func GetLogFilePath() file: gplog/gplog.go start line: 200 end line: 202 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 137 unit: func GetVerbosity() file: gplog/gplog.go start line: 204 end line: 206 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 138 unit: func SetVerbosity() file: gplog/gplog.go start line: 208 end line: 210 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 139 unit: func GetLogFileVerbosity() file: gplog/gplog.go start line: 212 end line: 214 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 140 unit: func SetLogFileVerbosity() file: gplog/gplog.go start line: 216 end line: 218 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 141 unit: func GetErrorCode() file: gplog/gplog.go start line: 220 end line: 222 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 142 unit: func SetErrorCode() file: gplog/gplog.go start line: 224 end line: 226 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 143 unit: func defaultExit() file: gplog/gplog.go start line: 380 end line: 382 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 144 unit: func() file: dbconn/dbconn.go start line: 67 end line: 69 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 145 unit: func() file: dbconn/dbconn.go start line: 256 end line: 258 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 146 unit: func StructMatcher() file: structmatcher/structmatcher.go start line: 23 end line: 25 size: 3 LOC McCabe index: 1 number of parameters: 5 id: 147 unit: func ExpectStructsToMatch() file: structmatcher/structmatcher.go start line: 107 end line: 109 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 148 unit: func ExpectStructsToMatchExcluding() file: structmatcher/structmatcher.go start line: 112 end line: 114 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 149 unit: func ExpectStructsToMatchIncluding() file: structmatcher/structmatcher.go start line: 117 end line: 119 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 150 unit: func() file: structmatcher/structmatcher.go start line: 147 end line: 149 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 151 unit: func() file: structmatcher/structmatcher.go start line: 151 end line: 153 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 152 unit: func SetDBVersion() file: testhelper/functions.go start line: 52 end line: 54 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 153 unit: func ExpectRegexp() file: testhelper/functions.go start line: 81 end line: 83 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 154 unit: func NotExpectRegexp() file: testhelper/functions.go start line: 85 end line: 87 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 155 unit: func() file: testhelper/structs.go start line: 37 end line: 39 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 156 unit: func() file: testhelper/structs.go start line: 41 end line: 43 size: 3 LOC McCabe index: 1 number of parameters: 1