id: 1 unit: export default function CoconetPlayer() file: src/components/CoconetPlayer.tsx start line: 113 end line: 252 size: 125 LOC McCabe index: 23 number of parameters: 0 id: 2 unit: export default function useMagentaPlayer() file: src/hooks/use-magenta-player.ts start line: 50 end line: 183 size: 117 LOC McCabe index: 15 number of parameters: 6 id: 3 unit: export default function GeniePiano() file: src/components/GeniePiano.tsx start line: 322 end line: 442 size: 113 LOC McCabe index: 16 number of parameters: 1 id: 4 unit: export default function useD3Demo() file: src/hooks/use-d3-demo.ts start line: 38 end line: 244 size: 105 LOC McCabe index: 6 number of parameters: 6 id: 5 unit: draw() file: src/components/GeniePiano.tsx start line: 163 end line: 263 size: 88 LOC McCabe index: 9 number of parameters: 0 id: 6 unit: func parseHeader() file: pkg/ycd/header.go start line: 66 end line: 135 size: 65 LOC McCabe index: 18 number of parameters: 1 id: 7 unit: func Get() file: functions.go start line: 124 end line: 190 size: 62 LOC McCabe index: 13 number of parameters: 2 id: 8 unit: value: String() file: src/hooks/use-d3-demo.ts start line: 82 end line: 160 size: 62 LOC McCabe index: 2 number of parameters: 1 id: 9 unit: func() file: pkg/unpack/reader.go start line: 98 end line: 158 size: 53 LOC McCabe index: 17 number of parameters: 1 id: 10 unit: func UnpackBlock() file: pkg/unpack/unpack.go start line: 40 end line: 101 size: 52 LOC McCabe index: 14 number of parameters: 4 id: 11 unit: func main() file: cmd/extract/main.go start line: 29 end line: 80 size: 47 LOC McCabe index: 9 number of parameters: 0 id: 12 unit: function createMelody() file: src/components/CoconetPlayer.tsx start line: 45 end line: 90 size: 46 LOC McCabe index: 2 number of parameters: 6 id: 13 unit: func process() file: cmd/pinpi/main.go start line: 55 end line: 100 size: 44 LOC McCabe index: 9 number of parameters: 4 id: 14 unit: func main() file: cmd/dtob/main.go start line: 31 end line: 73 size: 40 LOC McCabe index: 11 number of parameters: 0 id: 15 unit: function ControlButtons() file: src/components/ControlButtons.tsx start line: 39 end line: 78 size: 38 LOC McCabe index: 5 number of parameters: 10 id: 16 unit: func fetchYCDFiles() file: cmd/indexer/main.go start line: 103 end line: 140 size: 38 LOC McCabe index: 5 number of parameters: 4 id: 17 unit: function initCodeViewer() file: src/template.ts start line: 22 end line: 62 size: 37 LOC McCabe index: 2 number of parameters: 0 id: 18 unit: func main() file: cmd/pinpi/main.go start line: 130 end line: 169 size: 35 LOC McCabe index: 5 number of parameters: 0 id: 19 unit: export default function Demo() file: src/components/Demo.tsx start line: 30 end line: 62 size: 31 LOC McCabe index: 1 number of parameters: 1 id: 20 unit: func listObjects() file: cmd/indexer/main.go start line: 44 end line: 75 size: 31 LOC McCabe index: 4 number of parameters: 3 id: 21 unit: func printIndexFileList() file: cmd/indexer/main.go start line: 156 end line: 187 size: 31 LOC McCabe index: 2 number of parameters: 3 id: 22 unit: func() file: pkg/service/service.go start line: 51 end line: 89 size: 30 LOC McCabe index: 6 number of parameters: 1 id: 23 unit: bs_return_type bs() file: codelab/pi.cc start line: 74 end line: 103 size: 29 LOC McCabe index: 4 number of parameters: 3 id: 24 unit: export default function useCoconetModel() file: src/hooks/use-coconet-model.ts start line: 20 end line: 51 size: 28 LOC McCabe index: 2 number of parameters: 2 id: 25 unit: x: parseFloat() file: src/components/GeniePiano.tsx start line: 86 end line: 117 size: 27 LOC McCabe index: 3 number of parameters: 1 id: 26 unit: export default function usePianoGenie() file: src/hooks/use-piano-genie.ts start line: 25 end line: 54 size: 27 LOC McCabe index: 2 number of parameters: 1 id: 27 unit: func() file: pkg/unpack/reader.go start line: 68 end line: 95 size: 27 LOC McCabe index: 7 number of parameters: 1 id: 28 unit: func main() file: cmd/indexer/main.go start line: 194 end line: 221 size: 25 LOC McCabe index: 4 number of parameters: 0 id: 29 unit: func init() file: functions.go start line: 46 end line: 71 size: 24 LOC McCabe index: 5 number of parameters: 0 id: 30 unit: drawLoop() file: src/components/GeniePiano.tsx start line: 106 end line: 133 size: 24 LOC McCabe index: 5 number of parameters: 1 id: 31 unit: func worker() file: cmd/pinpi/main.go start line: 102 end line: 128 size: 24 LOC McCabe index: 5 number of parameters: 3 id: 32 unit: int main() file: codelab/pi.cc start line: 130 end line: 156 size: 23 LOC McCabe index: 6 number of parameters: 2 id: 33 unit: export default function GenieButtons() file: src/components/GenieButtons.tsx start line: 25 end line: 48 size: 23 LOC McCabe index: 2 number of parameters: 1 id: 34 unit: func ToPackedOffsets() file: pkg/unpack/unpack.go start line: 119 end line: 143 size: 23 LOC McCabe index: 4 number of parameters: 4 id: 35 unit: func() file: pkg/unpack/reader.go start line: 182 end line: 206 size: 22 LOC McCabe index: 5 number of parameters: 1 id: 36 unit: function Selector() file: src/components/Selector.tsx start line: 32 end line: 52 size: 21 LOC McCabe index: 1 number of parameters: 5 id: 37 unit: func Parse() file: pkg/ycd/ycd.go start line: 43 end line: 66 size: 21 LOC McCabe index: 5 number of parameters: 1 id: 38 unit: func() file: pkg/resultset/reader.go start line: 73 end line: 94 size: 20 LOC McCabe index: 6 number of parameters: 1 id: 39 unit: func() file: pkg/unpack/reader.go start line: 161 end line: 180 size: 19 LOC McCabe index: 6 number of parameters: 1 id: 40 unit: func() file: pkg/cached/cached.go start line: 114 end line: 135 size: 19 LOC McCabe index: 6 number of parameters: 1 id: 41 unit: func() file: pkg/resultset/reader.go start line: 97 end line: 116 size: 19 LOC McCabe index: 6 number of parameters: 1 id: 42 unit: func main() file: cmd/rest/main.go start line: 27 end line: 47 size: 19 LOC McCabe index: 5 number of parameters: 0 id: 43 unit: width: parseFloat() file: src/components/GeniePiano.tsx start line: 88 end line: 117 size: 18 LOC McCabe index: 3 number of parameters: 1 id: 44 unit: constructor() file: src/lib/pi.ts start line: 91 end line: 109 size: 17 LOC McCabe index: 1 number of parameters: 2 id: 45 unit: export function querySelectorOrThrow() file: src/lib/dom.ts start line: 19 end line: 34 size: 16 LOC McCabe index: 3 number of parameters: 3 id: 46 unit: async get() file: src/lib/pi.ts start line: 38 end line: 53 size: 16 LOC McCabe index: 2 number of parameters: 3 id: 47 unit: function summation() file: distpi/bbp.js start line: 17 end line: 36 size: 15 LOC McCabe index: 4 number of parameters: 4 id: 48 unit: function createHarmony() file: src/components/CoconetPlayer.tsx start line: 97 end line: 111 size: 15 LOC McCabe index: 1 number of parameters: 3 id: 49 unit: func newRangeReader() file: pkg/resultset/resultset.go start line: 128 end line: 142 size: 14 LOC McCabe index: 4 number of parameters: 5 id: 50 unit: func() file: pkg/resultset/reader.go start line: 54 end line: 68 size: 14 LOC McCabe index: 4 number of parameters: 1 id: 51 unit: mpfr_real chudnovsky_pi() file: codelab/pi.cc start line: 105 end line: 118 size: 13 LOC McCabe index: 1 number of parameters: 2 id: 52 unit: func logYCDInfo() file: cmd/indexer/main.go start line: 89 end line: 101 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 53 unit: func getIntQueryParam() file: functions.go start line: 97 end line: 109 size: 12 LOC McCabe index: 3 number of parameters: 4 id: 54 unit: async function load() file: src/components/MagentaVisualizer.tsx start line: 47 end line: 60 size: 12 LOC McCabe index: 5 number of parameters: 0 id: 55 unit: addNote() file: src/components/GeniePiano.tsx start line: 84 end line: 95 size: 12 LOC McCabe index: 1 number of parameters: 3 id: 56 unit: func NewCachedReader() file: pkg/cached/cached.go start line: 57 end line: 70 size: 12 LOC McCabe index: 1 number of parameters: 2 id: 57 unit: func() file: pkg/cached/cached.go start line: 73 end line: 84 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 58 unit: func printIndexPrologue() file: cmd/indexer/main.go start line: 142 end line: 154 size: 12 LOC McCabe index: 1 number of parameters: 2 id: 59 unit: func NewService() file: pkg/service/service.go start line: 37 end line: 47 size: 11 LOC McCabe index: 2 number of parameters: 3 id: 60 unit: func newStorageClient() file: cmd/indexer/main.go start line: 77 end line: 87 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 61 unit: constructor() file: src/components/GeniePiano.tsx start line: 67 end line: 76 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 62 unit: highlightNote() file: src/components/GeniePiano.tsx start line: 265 end line: 275 size: 10 LOC McCabe index: 2 number of parameters: 2 id: 63 unit: function getAvailableNotes() file: src/components/GeniePiano.tsx start line: 304 end line: 314 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 64 unit: async start() file: src/lib/pi.ts start line: 197 end line: 207 size: 10 LOC McCabe index: 3 number of parameters: 0 id: 65 unit: func() file: pkg/cached/cached.go start line: 87 end line: 96 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 66 unit: func() file: pkg/resultset/resultset.go start line: 59 end line: 68 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 67 unit: func writeError() file: functions.go start line: 87 end line: 95 size: 9 LOC McCabe index: 2 number of parameters: 4 id: 68 unit: resize() file: src/components/GeniePiano.tsx start line: 153 end line: 161 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 69 unit: clearNote() file: src/components/GeniePiano.tsx start line: 277 end line: 285 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 70 unit: func DigitsPerWord() file: pkg/ycd/ycd.go start line: 32 end line: 40 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 71 unit: func() file: pkg/ycd/header.go start line: 56 end line: 64 size: 9 LOC McCabe index: 4 number of parameters: 1 id: 72 unit: auto operator() file: codelab/pi.cc start line: 64 end line: 71 size: 8 LOC McCabe index: 2 number of parameters: 0 id: 73 unit: func NewReader() file: pkg/unpack/reader.go start line: 55 end line: 62 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 74 unit: func() file: pkg/cached/cached.go start line: 105 end line: 112 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 75 unit: func readOnce() file: pkg/resultset/reader.go start line: 41 end line: 49 size: 8 LOC McCabe index: 2 number of parameters: 4 id: 76 unit: func() file: pkg/resultset/reader.go start line: 119 end line: 126 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 77 unit: test file: pi-100t/run-y-bench.rb start line: 11 end line: 18 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 78 unit: func NewClient() file: pkg/obj/gcs/storage.go start line: 41 end line: 47 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 79 unit: void print_usage() file: codelab/pi.cc start line: 120 end line: 126 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 80 unit: func getService() file: functions.go start line: 73 end line: 78 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 81 unit: func namedLogger() file: functions.go start line: 80 end line: 85 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 82 unit: func() file: pkg/resultset/resultset.go start line: 47 end line: 52 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 83 unit: func() file: pkg/resultset/resultset.go start line: 71 end line: 76 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 84 unit: func() file: pkg/resultset/resultset.go start line: 79 end line: 84 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 85 unit: func() file: pkg/resultset/resultset.go start line: 87 end line: 92 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 86 unit: func() file: pkg/resultset/resultset.go start line: 96 end line: 101 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 87 unit: func() file: pkg/resultset/resultset.go start line: 104 end line: 109 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 88 unit: func() file: pkg/resultset/resultset.go start line: 112 end line: 117 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 89 unit: func() file: pkg/resultset/resultset.go start line: 120 end line: 125 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 90 unit: func NotFound() file: functions.go start line: 195 end line: 199 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 91 unit: resize() file: src/components/GeniePiano.tsx start line: 78 end line: 82 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 92 unit: constructor() file: src/lib/pi.ts start line: 31 end line: 36 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 93 unit: func() file: pkg/cached/cached.go start line: 99 end line: 103 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 94 unit: function colorToRgb() file: src/components/MagentaVisualizer.tsx start line: 30 end line: 33 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 95 unit: startDrawLoop() file: src/components/GeniePiano.tsx start line: 101 end line: 104 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 96 unit: constructor() file: src/components/GeniePiano.tsx start line: 148 end line: 151 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 97 unit: func() file: pkg/ycd/ycd.go start line: 70 end line: 73 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 98 unit: func processDirectory() file: cmd/indexer/main.go start line: 189 end line: 192 size: 4 LOC McCabe index: 1 number of parameters: 6 id: 99 unit: stopNote() file: src/components/GeniePiano.tsx start line: 97 end line: 99 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 100 unit: function getGradId() file: src/hooks/use-d3-demo.ts start line: 34 end line: 36 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 101 unit: get length() file: src/lib/pi.ts start line: 55 end line: 57 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 102 unit: func copyWithZero() file: pkg/unpack/unpack.go start line: 35 end line: 37 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 103 unit: func UnpackedLen() file: pkg/unpack/unpack.go start line: 105 end line: 107 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 104 unit: func() file: pkg/obj/gcs/storage.go start line: 49 end line: 51 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 105 unit: func() file: pkg/obj/gcs/storage.go start line: 53 end line: 55 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 106 unit: func() file: pkg/obj/gcs/storage.go start line: 57 end line: 59 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 107 unit: func() file: pkg/obj/gcs/storage.go start line: 61 end line: 63 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 108 unit: func() file: pkg/service/service.go start line: 92 end line: 94 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 109 unit: func parseInt64() file: pkg/ycd/header.go start line: 52 end line: 54 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 110 unit: func() file: pkg/cached/cached.go start line: 138 end line: 140 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 111 unit: func() file: pkg/resultset/resultset.go start line: 32 end line: 34 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 112 unit: func() file: pkg/resultset/resultset.go start line: 37 end line: 39 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 113 unit: func() file: pkg/resultset/resultset.go start line: 42 end line: 44 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 114 unit: func() file: pkg/resultset/reader.go start line: 129 end line: 131 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 115 unit: export default function MagentaVisualizer() file: src/components/MagentaVisualizer.tsx start line: 35 end line: 36 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 116 unit: mpfr_ptr ptr() file: codelab/pi.cc start line: 50 end line: 50 size: 1 LOC McCabe index: 1 number of parameters: 0