id: 1 unit: func writeInputs() file: cobra/aid/render.go start line: 46 end line: 141 size: 76 LOC McCabe index: 29 number of parameters: 0 id: 2 unit: func main() file: box/gen.go start line: 39 end line: 96 size: 50 LOC McCabe index: 10 number of parameters: 0 id: 3 unit: func writeOutputs() file: cobra/aid/render.go start line: 143 end line: 208 size: 50 LOC McCabe index: 19 number of parameters: 0 id: 4 unit: func initRun() file: cobra/controller/init.go start line: 78 end line: 134 size: 45 LOC McCabe index: 13 number of parameters: 2 id: 5 unit: func TrimRightFile() file: helper/files.go start line: 176 end line: 224 size: 40 LOC McCabe index: 10 number of parameters: 2 id: 6 unit: func unsplashRun() file: cobra/controller/unsplash.go start line: 74 end line: 122 size: 38 LOC McCabe index: 10 number of parameters: 2 id: 7 unit: func DownloadPhotoByID() file: cobra/aid/unsplash.go start line: 108 end line: 151 size: 37 LOC McCabe index: 17 number of parameters: 2 id: 8 unit: func updateLogoFromUnsplashFile() file: cobra/controller/render.go start line: 133 end line: 177 size: 36 LOC McCabe index: 7 number of parameters: 0 id: 9 unit: func updateLogoFromConfigurations() file: cobra/controller/render.go start line: 179 end line: 217 size: 32 LOC McCabe index: 11 number of parameters: 1 id: 10 unit: func GetAppInfo() file: cobra/aid/root.go start line: 27 end line: 61 size: 30 LOC McCabe index: 3 number of parameters: 0 id: 11 unit: func InitCustomized() file: cobra/aid/init.go start line: 64 end line: 94 size: 29 LOC McCabe index: 11 number of parameters: 2 id: 12 unit: func initConfig() file: cobra/cmd/root.go start line: 50 end line: 86 size: 29 LOC McCabe index: 9 number of parameters: 0 id: 13 unit: func renderPreRun() file: cobra/controller/render.go start line: 57 end line: 88 size: 26 LOC McCabe index: 6 number of parameters: 2 id: 14 unit: func askAboutInitialization() file: cobra/view/configure.go start line: 188 end line: 218 size: 26 LOC McCabe index: 6 number of parameters: 2 id: 15 unit: func gitIgnoreRun() file: cobra/controller/gitignore.go start line: 77 end line: 106 size: 25 LOC McCabe index: 7 number of parameters: 2 id: 16 unit: func DownloadPhoto() file: cobra/aid/unsplash.go start line: 77 end line: 105 size: 25 LOC McCabe index: 7 number of parameters: 3 id: 17 unit: func UnsplashCmd() file: cobra/controller/unsplash.go start line: 33 end line: 59 size: 24 LOC McCabe index: 2 number of parameters: 0 id: 18 unit: func BuildTemplate() file: cobra/aid/render.go start line: 16 end line: 44 size: 22 LOC McCabe index: 4 number of parameters: 1 id: 19 unit: func InitCmd() file: cobra/controller/init.go start line: 34 end line: 57 size: 21 LOC McCabe index: 2 number of parameters: 0 id: 20 unit: func configureRun() file: cobra/controller/configure.go start line: 52 end line: 75 size: 21 LOC McCabe index: 5 number of parameters: 2 id: 21 unit: func buildURL() file: cobra/aid/unsplash.go start line: 46 end line: 73 size: 21 LOC McCabe index: 6 number of parameters: 2 id: 22 unit: func createCredentialProfile() file: cobra/view/configure.go start line: 37 end line: 60 size: 20 LOC McCabe index: 3 number of parameters: 2 id: 23 unit: func createConfigurationProfile() file: cobra/view/configure.go start line: 121 end line: 143 size: 20 LOC McCabe index: 3 number of parameters: 2 id: 24 unit: func ValidateCmdArgAndFlag() file: helper/cobra.go start line: 35 end line: 54 size: 19 LOC McCabe index: 4 number of parameters: 5 id: 25 unit: func GetReadMe() file: cobra/dao/configure.go start line: 43 end line: 65 size: 19 LOC McCabe index: 4 number of parameters: 0 id: 26 unit: func gitIgnorePreRun() file: cobra/controller/gitignore.go start line: 52 end line: 75 size: 19 LOC McCabe index: 6 number of parameters: 2 id: 27 unit: func renderRun() file: cobra/controller/render.go start line: 90 end line: 122 size: 19 LOC McCabe index: 4 number of parameters: 2 id: 28 unit: func GetPhoto() file: cobra/aid/unsplash.go start line: 196 end line: 219 size: 19 LOC McCabe index: 4 number of parameters: 2 id: 29 unit: func requestGitIgnore() file: cobra/aid/gitignore.go start line: 53 end line: 75 size: 19 LOC McCabe index: 4 number of parameters: 2 id: 30 unit: func requestGitIgnoreList() file: cobra/aid/gitignore.go start line: 77 end line: 99 size: 19 LOC McCabe index: 4 number of parameters: 0 id: 31 unit: func ValidateCmdArgs() file: helper/cobra.go start line: 11 end line: 32 size: 18 LOC McCabe index: 4 number of parameters: 3 id: 32 unit: func RenderCmd() file: cobra/controller/render.go start line: 35 end line: 55 size: 18 LOC McCabe index: 2 number of parameters: 0 id: 33 unit: func RequestRandomPhoto() file: cobra/aid/unsplash.go start line: 172 end line: 193 size: 18 LOC McCabe index: 4 number of parameters: 2 id: 34 unit: func UpdateCredentials() file: cobra/view/configure.go start line: 74 end line: 95 size: 18 LOC McCabe index: 5 number of parameters: 2 id: 35 unit: func UpdateConfigurations() file: cobra/view/configure.go start line: 230 end line: 250 size: 18 LOC McCabe index: 5 number of parameters: 2 id: 36 unit: func GitIgnoreCmd() file: cobra/controller/gitignore.go start line: 31 end line: 50 size: 17 LOC McCabe index: 2 number of parameters: 0 id: 37 unit: func ConfigureCmd() file: cobra/controller/configure.go start line: 32 end line: 50 size: 17 LOC McCabe index: 2 number of parameters: 0 id: 38 unit: func FileSize() file: helper/files.go start line: 140 end line: 155 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 39 unit: func getPhotoURLBySize() file: cobra/aid/unsplash.go start line: 154 end line: 169 size: 16 LOC McCabe index: 6 number of parameters: 2 id: 40 unit: func DownloadFile() file: helper/files.go start line: 64 end line: 83 size: 15 LOC McCabe index: 3 number of parameters: 3 id: 41 unit: func createAndEnterProjectDir() file: cobra/aid/init.go start line: 31 end line: 49 size: 15 LOC McCabe index: 4 number of parameters: 1 id: 42 unit: func DownloadFileTo() file: helper/files.go start line: 43 end line: 61 size: 14 LOC McCabe index: 3 number of parameters: 2 id: 43 unit: func MkDirsIfNotExist() file: helper/directories.go start line: 14 end line: 28 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 44 unit: func GetManual() file: helper/manual.go start line: 20 end line: 34 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 45 unit: func initPreRun() file: cobra/controller/init.go start line: 59 end line: 76 size: 14 LOC McCabe index: 4 number of parameters: 2 id: 46 unit: func RootCmd() file: cobra/controller/root.go start line: 29 end line: 49 size: 14 LOC McCabe index: 2 number of parameters: 0 id: 47 unit: func CreateCloudFormationProject() file: cobra/aid/init.go start line: 123 end line: 139 size: 14 LOC McCabe index: 4 number of parameters: 2 id: 48 unit: func CreateTerraformProject() file: cobra/aid/init.go start line: 163 end line: 179 size: 14 LOC McCabe index: 4 number of parameters: 2 id: 49 unit: func WriteInterfaceToFile() file: cobra/aid/configure.go start line: 104 end line: 119 size: 14 LOC McCabe index: 4 number of parameters: 2 id: 50 unit: func GetStringInBetweenTwoString() file: helper/strings.go start line: 8 end line: 20 size: 13 LOC McCabe index: 3 number of parameters: 3 id: 51 unit: func CopyFile() file: helper/files.go start line: 106 end line: 119 size: 13 LOC McCabe index: 3 number of parameters: 2 id: 52 unit: func CopyFileTo() file: helper/files.go start line: 122 end line: 136 size: 13 LOC McCabe index: 3 number of parameters: 2 id: 53 unit: func VersionCmd() file: cobra/controller/version.go start line: 30 end line: 43 size: 13 LOC McCabe index: 2 number of parameters: 0 id: 54 unit: func versionRun() file: cobra/controller/version.go start line: 45 end line: 62 size: 13 LOC McCabe index: 2 number of parameters: 2 id: 55 unit: func getInput() file: cobra/aid/configure.go start line: 165 end line: 183 size: 13 LOC McCabe index: 3 number of parameters: 0 id: 56 unit: func SetupLoggingOutput() file: cobra/aid/root.go start line: 64 end line: 79 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 57 unit: func GetConfigurations() file: cobra/dao/configure.go start line: 27 end line: 40 size: 12 LOC McCabe index: 3 number of parameters: 0 id: 58 unit: func GetConfigurationProfile() file: cobra/dao/configure.go start line: 68 end line: 82 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 59 unit: func GetCredentials() file: cobra/dao/configure.go start line: 99 end line: 112 size: 12 LOC McCabe index: 3 number of parameters: 0 id: 60 unit: func GetCredentialProfile() file: cobra/dao/configure.go start line: 115 end line: 129 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 61 unit: func GetCredentialByProvider() file: cobra/dao/configure.go start line: 132 end line: 145 size: 12 LOC McCabe index: 4 number of parameters: 2 id: 62 unit: func DownloadGitIgnore() file: cobra/aid/gitignore.go start line: 29 end line: 42 size: 12 LOC McCabe index: 3 number of parameters: 2 id: 63 unit: func ReadConfig() file: cobra/aid/configure.go start line: 57 end line: 70 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 64 unit: func ReadTemplate() file: cobra/aid/configure.go start line: 88 end line: 101 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 65 unit: func GetUserInputAsBool() file: cobra/aid/configure.go start line: 198 end line: 211 size: 12 LOC McCabe index: 4 number of parameters: 3 id: 66 unit: func GetModelFromFlags() file: cobra/aid/unsplash.go start line: 32 end line: 44 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 67 unit: func CreateBasicProject() file: cobra/aid/init.go start line: 17 end line: 29 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 68 unit: func initTerraformProject() file: cobra/aid/init.go start line: 182 end line: 196 size: 11 LOC McCabe index: 8 number of parameters: 0 id: 69 unit: func ReadConfigAsViper() file: cobra/aid/configure.go start line: 73 end line: 85 size: 11 LOC McCabe index: 2 number of parameters: 3 id: 70 unit: func askAboutUnsplashRandomPhotoParameters() file: cobra/view/configure.go start line: 175 end line: 186 size: 11 LOC McCabe index: 1 number of parameters: 2 id: 71 unit: func CreateCloudProject() file: cobra/aid/init.go start line: 99 end line: 110 size: 10 LOC McCabe index: 3 number of parameters: 2 id: 72 unit: func GetSensitiveUserInputAsString() file: cobra/aid/configure.go start line: 151 end line: 163 size: 10 LOC McCabe index: 3 number of parameters: 3 id: 73 unit: func GetUserInputAsString() file: cobra/aid/configure.go start line: 214 end line: 226 size: 10 LOC McCabe index: 3 number of parameters: 3 id: 74 unit: func askAboutUnsplashConfiguration() file: cobra/view/configure.go start line: 155 end line: 166 size: 10 LOC McCabe index: 2 number of parameters: 2 id: 75 unit: func GetUnsplashRandomPhotoParameters() file: cobra/dao/configure.go start line: 85 end line: 96 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 76 unit: func unsplashPreRun() file: cobra/controller/unsplash.go start line: 61 end line: 72 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 77 unit: func UpdateReadMeLogoURL() file: cobra/aid/render.go start line: 211 end line: 220 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 78 unit: func getUserInput() file: cobra/aid/configure.go start line: 185 end line: 195 size: 9 LOC McCabe index: 2 number of parameters: 3 id: 79 unit: func askAboutCredential() file: cobra/view/configure.go start line: 62 end line: 71 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 80 unit: func askAboutCredentialProfile() file: cobra/view/configure.go start line: 97 end line: 107 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 81 unit: func askAboutConfigurationProfile() file: cobra/view/configure.go start line: 252 end line: 262 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 82 unit: func ContainsString() file: helper/strings.go start line: 37 end line: 45 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 83 unit: func WriteFile() file: helper/files.go start line: 19 end line: 28 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 84 unit: func WriteFileFromBox() file: helper/files.go start line: 31 end line: 40 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 85 unit: func initCloudFormationProject() file: cobra/aid/init.go start line: 142 end line: 158 size: 8 LOC McCabe index: 5 number of parameters: 0 id: 86 unit: func SetupLoggingLevel() file: cobra/aid/root.go start line: 82 end line: 90 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 87 unit: func askAboutInitializationFile() file: cobra/view/configure.go start line: 220 end line: 227 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 88 unit: func FormatByteSlice() file: box/gen.go start line: 31 end line: 37 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 89 unit: func GetStringTrimmed() file: helper/strings.go start line: 28 end line: 34 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 90 unit: func FileExists() file: helper/files.go start line: 87 end line: 93 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 91 unit: func ListFiles() file: helper/files.go start line: 158 end line: 166 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 92 unit: func CreateDirectoryNamedPath() file: helper/directories.go start line: 32 end line: 39 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 93 unit: func CreateTempDir() file: helper/directories.go start line: 43 end line: 50 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 94 unit: func createCredentials() file: cobra/controller/configure.go start line: 77 end line: 83 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 95 unit: func updateCredentials() file: cobra/controller/configure.go start line: 85 end line: 91 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 96 unit: func createConfigurations() file: cobra/controller/configure.go start line: 93 end line: 99 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 97 unit: func updateConfigurations() file: cobra/controller/configure.go start line: 101 end line: 107 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 98 unit: func SaveGetPhotoResult() file: cobra/aid/unsplash.go start line: 222 end line: 228 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 99 unit: func dumpUnsplashRandomPhotoResponse() file: cobra/aid/unsplash.go start line: 230 end line: 236 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 100 unit: func GetGitIgnoreList() file: cobra/aid/gitignore.go start line: 45 end line: 51 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 101 unit: func initProject() file: cobra/aid/init.go start line: 52 end line: 61 size: 7 LOC McCabe index: 4 number of parameters: 0 id: 102 unit: func maskString() file: cobra/aid/configure.go start line: 141 end line: 148 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 103 unit: func CreateCredentials() file: cobra/view/configure.go start line: 29 end line: 35 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 104 unit: func CreateConfigurations() file: cobra/view/configure.go start line: 112 end line: 118 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 105 unit: func askAboutConfiguration() file: cobra/view/configure.go start line: 145 end line: 152 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 106 unit: func() file: box/box.go start line: 14 end line: 19 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 107 unit: func() file: box/box.go start line: 24 end line: 29 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 108 unit: func DirOrFileExists() file: helper/files.go start line: 97 end line: 103 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 109 unit: func updateLogo() file: cobra/controller/render.go start line: 124 end line: 131 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 110 unit: func Execute() file: cobra/cmd/root.go start line: 34 end line: 39 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 111 unit: func init() file: cobra/cmd/root.go start line: 41 end line: 47 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 112 unit: func init() file: box/gen.go start line: 24 end line: 28 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 113 unit: func initCloudProject() file: cobra/aid/init.go start line: 113 end line: 118 size: 5 LOC McCabe index: 2 number of parameters: 0 id: 114 unit: func askAboutUnsplashRandomPhoto() file: cobra/view/configure.go start line: 168 end line: 173 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 115 unit: func CreateConfigurationsDirectory() file: cobra/aid/configure.go start line: 46 end line: 49 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 116 unit: func newResourceBox() file: box/box.go start line: 9 end line: 11 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 117 unit: func() file: box/box.go start line: 32 end line: 34 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 118 unit: func Get() file: box/box.go start line: 40 end line: 42 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 119 unit: func Add() file: box/box.go start line: 45 end line: 47 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 120 unit: func Has() file: box/box.go start line: 50 end line: 52 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 121 unit: func GetStringBetweenDoubleQuotes() file: helper/strings.go start line: 23 end line: 25 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 122 unit: func DeleteFile() file: helper/files.go start line: 170 end line: 172 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 123 unit: func SaveConfigurations() file: cobra/dao/configure.go start line: 148 end line: 150 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 124 unit: func SaveCredentials() file: cobra/dao/configure.go start line: 153 end line: 155 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 125 unit: func saveGitIgnoreAsFile() file: cobra/aid/gitignore.go start line: 101 end line: 103 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 126 unit: func ConfigurationsDirectoryExist() file: cobra/aid/configure.go start line: 36 end line: 38 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 127 unit: func ConfigurationsFileExist() file: cobra/aid/configure.go start line: 41 end line: 43 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 128 unit: func CredentialsFileExist() file: cobra/aid/configure.go start line: 52 end line: 54 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 129 unit: func DeleteCredentialFile() file: cobra/aid/configure.go start line: 122 end line: 124 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 130 unit: func DeleteConfigurationFile() file: cobra/aid/configure.go start line: 127 end line: 129 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 131 unit: func DeleteConfigurationsDirectory() file: cobra/aid/configure.go start line: 132 end line: 134 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 132 unit: func GetSensitiveUserInput() file: cobra/aid/configure.go start line: 137 end line: 139 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 133 unit: func init() file: cobra/cmd/version.go start line: 22 end line: 24 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 134 unit: func init() file: cobra/cmd/unsplash.go start line: 22 end line: 24 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 135 unit: func init() file: cobra/cmd/gitignore.go start line: 22 end line: 24 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 136 unit: func init() file: cobra/cmd/init.go start line: 22 end line: 24 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 137 unit: func init() file: cobra/cmd/render.go start line: 22 end line: 24 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 138 unit: func init() file: cobra/cmd/configure.go start line: 24 end line: 26 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 139 unit: func main() file: main.go start line: 20 end line: 22 size: 3 LOC McCabe index: 1 number of parameters: 0