id: 1 unit: function renderGallery() file: code/app/static/main.js start line: 89 end line: 133 size: 34 LOC McCabe index: 3 number of parameters: 1 id: 2 unit: func OnFileUpload() file: code/function/function.go start line: 54 end line: 85 size: 27 LOC McCabe index: 7 number of parameters: 2 id: 3 unit: func main() file: code/app/main.go start line: 31 end line: 64 size: 26 LOC McCabe index: 3 number of parameters: 0 id: 4 unit: func newPaths() file: code/function/function.go start line: 94 end line: 121 size: 23 LOC McCabe index: 5 number of parameters: 2 id: 5 unit: func() file: code/app/storage.go start line: 56 end line: 81 size: 22 LOC McCabe index: 5 number of parameters: 1 id: 6 unit: func() file: code/app/storage.go start line: 83 end line: 108 size: 22 LOC McCabe index: 5 number of parameters: 1 id: 7 unit: func createHandler() file: code/app/main.go start line: 84 end line: 113 size: 22 LOC McCabe index: 4 number of parameters: 2 id: 8 unit: xmlhttp.onreadystatechange = function() file: code/app/static/main.js start line: 175 end line: 195 size: 20 LOC McCabe index: 5 number of parameters: 0 id: 9 unit: func updateHandler() file: code/app/main.go start line: 140 end line: 165 size: 20 LOC McCabe index: 4 number of parameters: 2 id: 10 unit: func thumbnail() file: code/function/function.go start line: 155 end line: 178 size: 19 LOC McCabe index: 3 number of parameters: 3 id: 11 unit: func() file: code/app/storage.go start line: 122 end line: 144 size: 19 LOC McCabe index: 5 number of parameters: 1 id: 12 unit: func readHandler() file: code/app/main.go start line: 167 end line: 188 size: 18 LOC McCabe index: 4 number of parameters: 2 id: 13 unit: xmlhttp.onreadystatechange = function() file: code/app/static/main.js start line: 141 end line: 155 size: 15 LOC McCabe index: 4 number of parameters: 0 id: 14 unit: func listHandler() file: code/app/main.go start line: 66 end line: 82 size: 14 LOC McCabe index: 3 number of parameters: 2 id: 15 unit: xmlhttp.onreadystatechange = function() file: code/app/static/main.js start line: 71 end line: 83 size: 13 LOC McCabe index: 4 number of parameters: 0 id: 16 unit: function uploadImage() file: code/app/static/main.js start line: 161 end line: 199 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 17 unit: func NewCloudStorage() file: code/app/storage.go start line: 37 end line: 50 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 18 unit: func() file: code/app/storage.go start line: 161 end line: 173 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 19 unit: func() file: code/app/storage.go start line: 205 end line: 218 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 20 unit: func exists() file: code/function/function.go start line: 124 end line: 136 size: 11 LOC McCabe index: 3 number of parameters: 3 id: 21 unit: func move() file: code/function/function.go start line: 139 end line: 152 size: 11 LOC McCabe index: 3 number of parameters: 3 id: 22 unit: func writeResponse() file: code/app/main.go start line: 224 end line: 235 size: 10 LOC McCabe index: 2 number of parameters: 3 id: 23 unit: func() file: code/app/storage.go start line: 110 end line: 120 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 24 unit: func deleteHandler() file: code/app/main.go start line: 190 end line: 200 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 25 unit: func writeJSON() file: code/app/main.go start line: 208 end line: 216 size: 9 LOC McCabe index: 2 number of parameters: 3 id: 26 unit: func() file: code/app/main.go start line: 130 end line: 138 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 27 unit: func init() file: code/function/function.go start line: 35 end line: 43 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 28 unit: function deleteImage() file: code/app/static/main.js start line: 135 end line: 159 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 29 unit: func() file: code/app/storage.go start line: 176 end line: 183 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 30 unit: func() file: code/app/storage.go start line: 186 end line: 193 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 31 unit: func() file: code/app/storage.go start line: 221 end line: 228 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 32 unit: func() file: code/app/storage.go start line: 231 end line: 238 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 33 unit: func NewMimeMap() file: code/app/main.go start line: 117 end line: 123 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 34 unit: func() file: code/app/main.go start line: 248 end line: 255 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 35 unit: func() file: code/app/main.go start line: 258 end line: 265 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 36 unit: func thumbnailPath() file: code/function/function.go start line: 180 end line: 185 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 37 unit: func originalPath() file: code/function/function.go start line: 187 end line: 192 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 38 unit: function sendAlert() file: code/app/static/main.js start line: 30 end line: 46 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 39 unit: function sendError() file: code/app/static/main.js start line: 48 end line: 65 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 40 unit: setTimeout() file: code/app/static/main.js start line: 39 end line: 44 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 41 unit: setTimeout() file: code/app/static/main.js start line: 57 end line: 63 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 42 unit: function listImages() file: code/app/static/main.js start line: 68 end line: 87 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 43 unit: func NewImages() file: code/app/storage.go start line: 198 end line: 202 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 44 unit: func writeErrorMsg() file: code/app/main.go start line: 218 end line: 222 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 45 unit: func makePublic() file: code/function/function.go start line: 87 end line: 90 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 46 unit: setTimeout() file: code/app/static/main.js start line: 36 end line: 45 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 47 unit: setTimeout() file: code/app/static/main.js start line: 54 end line: 64 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 48 unit: func() file: code/app/main.go start line: 125 end line: 128 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 49 unit: function activateUpload() file: code/app/static/main.js start line: 26 end line: 28 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 50 unit: func() file: code/app/storage.go start line: 52 end line: 54 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 51 unit: func weblog() file: code/app/main.go start line: 237 end line: 239 size: 3 LOC McCabe index: 1 number of parameters: 1