id: 1 unit: function parse() file: src/argsParser.js start line: 124 end line: 244 size: 96 LOC McCabe index: 27 number of parameters: 2 id: 2 unit: function transform() file: src/Runner.js start line: 211 end line: 315 size: 77 LOC McCabe index: 18 number of parameters: 1 id: 3 unit: renameTo: function() file: src/collections/VariableDeclarator.js start line: 76 end line: 163 size: 69 LOC McCabe index: 23 number of parameters: 1 id: 4 unit: function run() file: src/Runner.js start line: 162 end line: 316 size: 46 LOC McCabe index: 9 number of parameters: 3 id: 5 unit: visitIdentifier: function() file: src/template.js start line: 37 end line: 94 size: 45 LOC McCabe index: 13 number of parameters: 1 id: 6 unit: function setup() file: src/Worker.js start line: 54 end line: 100 size: 42 LOC McCabe index: 7 number of parameters: 2 id: 7 unit: function() file: src/Worker.js start line: 147 end line: 200 size: 38 LOC McCabe index: 8 number of parameters: 2 id: 8 unit: function registerMethods() file: src/Collection.js start line: 358 end line: 398 size: 36 LOC McCabe index: 9 number of parameters: 2 id: 9 unit: hasAttributes: function() file: src/collections/JSXElement.js start line: 77 end line: 115 size: 32 LOC McCabe index: 8 number of parameters: 1 id: 10 unit: function formatOption() file: src/argsParser.js start line: 16 end line: 46 size: 30 LOC McCabe index: 15 number of parameters: 1 id: 11 unit: function dirFiles() file: src/Runner.js start line: 95 end line: 134 size: 26 LOC McCabe index: 6 number of parameters: 3 id: 12 unit: function getAllFiles() file: src/Runner.js start line: 136 end line: 160 size: 23 LOC McCabe index: 4 number of parameters: 2 id: 13 unit: function prepareOptions() file: src/argsParser.js start line: 90 end line: 118 size: 22 LOC McCabe index: 5 number of parameters: 1 id: 14 unit: function enrichCore() file: src/core.js start line: 154 end line: 181 size: 21 LOC McCabe index: 4 number of parameters: 2 id: 15 unit: function hasConflictingRegistration() file: src/Collection.js start line: 428 end line: 452 size: 19 LOC McCabe index: 6 number of parameters: 2 id: 16 unit: function runTest() file: src/testUtils.js start line: 82 end line: 101 size: 18 LOC McCabe index: 2 number of parameters: 5 id: 17 unit: function fromAST() file: src/core.js start line: 56 end line: 73 size: 18 LOC McCabe index: 7 number of parameters: 1 id: 18 unit: module.exports = function() file: src/utils/intersection.js start line: 8 end line: 27 size: 18 LOC McCabe index: 5 number of parameters: 1 id: 19 unit: requiresModule: function() file: src/collections/VariableDeclarator.js start line: 46 end line: 63 size: 18 LOC McCabe index: 7 number of parameters: 1 id: 20 unit: function _inferTypes() file: src/Collection.js start line: 248 end line: 269 size: 18 LOC McCabe index: 5 number of parameters: 1 id: 21 unit: function validateOptions() file: src/argsParser.js start line: 71 end line: 88 size: 18 LOC McCabe index: 5 number of parameters: 2 id: 22 unit: getVariableDeclarators: function() file: src/collections/Node.js start line: 103 end line: 120 size: 17 LOC McCabe index: 6 number of parameters: 1 id: 23 unit: findJSXElementsByModuleName: function() file: src/collections/JSXElement.js start line: 49 end line: 66 size: 17 LOC McCabe index: 3 number of parameters: 1 id: 24 unit: function applyTransform() file: src/testUtils.js start line: 15 end line: 36 size: 16 LOC McCabe index: 7 number of parameters: 4 id: 25 unit: map() file: src/Collection.js start line: 117 end line: 133 size: 16 LOC McCabe index: 5 number of parameters: 2 id: 26 unit: closest: function() file: src/collections/Node.js start line: 76 end line: 90 size: 15 LOC McCabe index: 6 number of parameters: 2 id: 27 unit: function addIgnoreFromFile() file: src/ignoreFiles.js start line: 43 end line: 59 size: 15 LOC McCabe index: 3 number of parameters: 1 id: 28 unit: function expression() file: src/template.js start line: 131 end line: 150 size: 15 LOC McCabe index: 3 number of parameters: 1 id: 29 unit: function asyncExpression() file: src/template.js start line: 152 end line: 170 size: 15 LOC McCabe index: 3 number of parameters: 1 id: 30 unit: constructor() file: src/Collection.js start line: 40 end line: 54 size: 15 LOC McCabe index: 7 number of parameters: 3 id: 31 unit: throw Error() file: src/Collection.js start line: 213 end line: 256 size: 15 LOC McCabe index: 5 number of parameters: 1 id: 32 unit: function trimStackTrace() file: src/Worker.js start line: 122 end line: 136 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 33 unit: function matchNode() file: src/matchNode.js start line: 21 end line: 34 size: 14 LOC McCabe index: 5 number of parameters: 2 id: 34 unit: function statements() file: src/template.js start line: 111 end line: 125 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 35 unit: childElements: function() file: src/collections/JSXElement.js start line: 161 end line: 173 size: 13 LOC McCabe index: 3 number of parameters: 0 id: 36 unit: function addIgnorePattern() file: src/ignoreFiles.js start line: 14 end line: 25 size: 12 LOC McCabe index: 6 number of parameters: 1 id: 37 unit: function _getSupertypeNames() file: src/Collection.js start line: 283 end line: 297 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 38 unit: function getHelpText() file: src/argsParser.js start line: 48 end line: 69 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 39 unit: function run() file: src/Worker.js start line: 138 end line: 208 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 40 unit: module.exports = function() file: src/utils/union.js start line: 8 end line: 20 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 41 unit: module.exports = function() file: src/utils/once.js start line: 11 end line: 21 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 42 unit: childNodes: function() file: src/collections/JSXElement.js start line: 144 end line: 154 size: 11 LOC McCabe index: 2 number of parameters: 0 id: 43 unit: function _toTypeArray() file: src/Collection.js start line: 271 end line: 281 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 44 unit: function fromNodes() file: src/Collection.js start line: 336 end line: 346 size: 11 LOC McCabe index: 1 number of parameters: 3 id: 45 unit: function createTempFileWith() file: utils/testUtils.js start line: 24 end line: 33 size: 10 LOC McCabe index: 2 number of parameters: 3 id: 46 unit: function defineTest() file: src/testUtils.js start line: 108 end line: 117 size: 10 LOC McCabe index: 2 number of parameters: 5 id: 47 unit: function match() file: src/core.js start line: 93 end line: 102 size: 10 LOC McCabe index: 3 number of parameters: 2 id: 48 unit: function next() file: src/Runner.js start line: 230 end line: 239 size: 10 LOC McCabe index: 4 number of parameters: 0 id: 49 unit: find: function() file: src/collections/Node.js start line: 32 end line: 57 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 50 unit: toSource() file: src/Collection.js start line: 173 end line: 182 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 51 unit: get() file: src/Collection.js start line: 210 end line: 219 size: 10 LOC McCabe index: 2 number of parameters: 0 id: 52 unit: function transformer() file: sample/reverse-identifiers.js start line: 12 end line: 21 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 53 unit: function extensionForParser() file: src/testUtils.js start line: 53 end line: 61 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 54 unit: function fromSource() file: src/core.js start line: 75 end line: 83 size: 9 LOC McCabe index: 3 number of parameters: 2 id: 55 unit: function concatAll() file: src/Runner.js start line: 67 end line: 75 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 56 unit: function showFileStats() file: src/Runner.js start line: 77 end line: 85 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 57 unit: hasChildren: function() file: src/collections/JSXElement.js start line: 123 end line: 131 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 58 unit: at() file: src/Collection.js start line: 195 end line: 203 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 59 unit: function typedMethod() file: src/Collection.js start line: 407 end line: 421 size: 9 LOC McCabe index: 5 number of parameters: 0 id: 60 unit: const newCore = function() file: src/core.js start line: 136 end line: 143 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 61 unit: writeFileAtomic() file: src/Worker.js start line: 179 end line: 186 size: 8 LOC McCabe index: 2 number of parameters: 3 id: 62 unit: function installTypedMethod() file: src/Collection.js start line: 400 end line: 426 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 63 unit: function renameFileTo() file: utils/testUtils.js start line: 16 end line: 22 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 64 unit: function createTransformWith() file: utils/testUtils.js start line: 38 end line: 44 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 65 unit: function defineInlineTest() file: src/testUtils.js start line: 120 end line: 126 size: 7 LOC McCabe index: 2 number of parameters: 5 id: 66 unit: function defineSnapshotTest() file: src/testUtils.js start line: 129 end line: 135 size: 7 LOC McCabe index: 2 number of parameters: 4 id: 67 unit: function defineSnapshotTestFromFixture() file: src/testUtils.js start line: 141 end line: 147 size: 7 LOC McCabe index: 1 number of parameters: 6 id: 68 unit: function showStats() file: src/Runner.js start line: 87 end line: 93 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 69 unit: visitor[visitorMethodName] = function() file: src/collections/Node.js start line: 46 end line: 52 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 70 unit: replaceWith: function() file: src/collections/Node.js start line: 139 end line: 145 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 71 unit: insertBefore: function() file: src/collections/Node.js start line: 153 end line: 159 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 72 unit: insertAfter: function() file: src/collections/Node.js start line: 167 end line: 173 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 73 unit: getRootName: function() file: src/collections/JSXElement.js start line: 184 end line: 191 size: 7 LOC McCabe index: 4 number of parameters: 1 id: 74 unit: function addIgnoreFromInput() file: src/ignoreFiles.js start line: 31 end line: 37 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 75 unit: function fromPaths() file: src/Collection.js start line: 315 end line: 322 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 76 unit: function throwError() file: src/argsParser.js start line: 8 end line: 14 size: 7 LOC McCabe index: 2 number of parameters: 3 id: 77 unit: function use() file: src/core.js start line: 117 end line: 122 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 78 unit: function withParser() file: src/core.js start line: 131 end line: 146 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 79 unit: function() file: src/Worker.js start line: 201 end line: 206 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 80 unit: function visit() file: src/collections/Node.js start line: 37 end line: 43 size: 6 LOC McCabe index: 3 number of parameters: 1 id: 81 unit: function cleanLocation() file: src/template.js start line: 20 end line: 25 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 82 unit: forEach() file: src/Collection.js start line: 73 end line: 78 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 83 unit: getAST() file: src/Collection.js start line: 166 end line: 171 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 84 unit: Apply transform logic in TRANSFORM_PATH() file: src/argsParser.js start line: 59 end line: 66 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 85 unit: process() file: src/argsParser.js start line: 172 end line: 178 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 86 unit: function runSnapshotTest() file: src/testUtils.js start line: 39 end line: 43 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 87 unit: function runInlineTest() file: src/testUtils.js start line: 46 end line: 50 size: 5 LOC McCabe index: 1 number of parameters: 5 id: 88 unit: function core() file: src/core.js start line: 42 end line: 46 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 89 unit: function done() file: src/Runner.js start line: 99 end line: 104 size: 5 LOC McCabe index: 2 number of parameters: 0 id: 90 unit: function prepareJscodeshift() file: src/Worker.js start line: 48 end line: 52 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 91 unit: function register() file: src/collections/VariableDeclarator.js start line: 167 end line: 171 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 92 unit: function register() file: src/collections/Node.js start line: 181 end line: 185 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 93 unit: function register() file: src/collections/JSXElement.js start line: 194 end line: 198 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 94 unit: function ensureStatement() file: src/template.js start line: 27 end line: 33 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 95 unit: function replaceNodes() file: src/template.js start line: 98 end line: 102 size: 5 LOC McCabe index: 1 number of parameters: 4 id: 96 unit: some() file: src/Collection.js start line: 86 end line: 90 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 97 unit: every() file: src/Collection.js start line: 98 end line: 102 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 98 unit: module.exports = function() file: parser/flow.js start line: 28 end line: 34 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 99 unit: module.exports = function() file: parser/tsx.js start line: 21 end line: 27 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 100 unit: module.exports = function() file: parser/babel5Compat.js start line: 44 end line: 50 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 101 unit: module.exports = function() file: parser/babylon.js start line: 51 end line: 57 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 102 unit: module.exports = function() file: parser/ts.js start line: 18 end line: 24 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 103 unit: function updateStatus() file: src/Worker.js start line: 106 end line: 109 size: 4 LOC McCabe index: 2 number of parameters: 3 id: 104 unit: function stats() file: src/Worker.js start line: 117 end line: 120 size: 4 LOC McCabe index: 2 number of parameters: 2 id: 105 unit: findVariableDeclarators: function() file: src/collections/VariableDeclarator.js start line: 32 end line: 35 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 106 unit: findJSXElements: function() file: src/collections/JSXElement.js start line: 35 end line: 38 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 107 unit: function shouldIgnore() file: src/ignoreFiles.js start line: 61 end line: 64 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 108 unit: function getVistor() file: src/template.js start line: 35 end line: 96 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 109 unit: options() file: src/argsParser.js start line: 262 end line: 271 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 110 unit: function getFileContent() file: utils/testUtils.js start line: 47 end line: 49 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 111 unit: parse() file: parser/flow.js start line: 30 end line: 32 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 112 unit: parse() file: parser/tsx.js start line: 23 end line: 25 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 113 unit: parse() file: parser/babel5Compat.js start line: 46 end line: 48 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 114 unit: parse() file: parser/babylon.js start line: 53 end line: 55 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 115 unit: parse() file: parser/ts.js start line: 20 end line: 22 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 116 unit: function lineBreak() file: src/Runner.js start line: 23 end line: 25 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 117 unit: ok() file: src/Runner.js start line: 49 end line: 51 size: 3 LOC McCabe index: 2 number of parameters: 2 id: 118 unit: nochange() file: src/Runner.js start line: 52 end line: 54 size: 3 LOC McCabe index: 2 number of parameters: 2 id: 119 unit: skip() file: src/Runner.js start line: 55 end line: 57 size: 3 LOC McCabe index: 2 number of parameters: 2 id: 120 unit: error() file: src/Runner.js start line: 58 end line: 60 size: 3 LOC McCabe index: 2 number of parameters: 2 id: 121 unit: function report() file: src/Runner.js start line: 63 end line: 65 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 122 unit: function free() file: src/Worker.js start line: 102 end line: 104 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 123 unit: function report() file: src/Worker.js start line: 111 end line: 113 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 124 unit: function isNode() file: src/matchNode.js start line: 36 end line: 38 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 125 unit: closestScope: function() file: src/collections/Node.js start line: 65 end line: 67 size: 3 LOC McCabe index: 2 number of parameters: 0 id: 126 unit: function toArray() file: src/collections/Node.js start line: 123 end line: 125 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 127 unit: remove: function() file: src/collections/Node.js start line: 175 end line: 177 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 128 unit: function splice() file: src/template.js start line: 16 end line: 18 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 129 unit: function getUniqueVarName() file: src/template.js start line: 105 end line: 107 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 130 unit: function statement() file: src/template.js start line: 127 end line: 129 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 131 unit: filter() file: src/Collection.js start line: 63 end line: 65 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 132 unit: size() file: src/Collection.js start line: 140 end line: 142 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 133 unit: get length() file: src/Collection.js start line: 149 end line: 151 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 134 unit: nodes() file: src/Collection.js start line: 158 end line: 160 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 135 unit: paths() file: src/Collection.js start line: 162 end line: 164 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 136 unit: getTypes() file: src/Collection.js start line: 227 end line: 229 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 137 unit: isOfType() file: src/Collection.js start line: 237 end line: 239 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 138 unit: function setDefaultCollectionType() file: src/Collection.js start line: 464 end line: 466 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 139 unit: callback() file: src/argsParser.js start line: 94 end line: 96 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 140 unit: function isOption() file: src/argsParser.js start line: 120 end line: 122 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 141 unit: parse() file: src/argsParser.js start line: 264 end line: 266 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 142 unit: getHelpText() file: src/argsParser.js start line: 267 end line: 269 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 143 unit: throw Error() file: src/Collection.js start line: 417 end line: 418 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 144 unit: function empty() file: src/Worker.js start line: 115 end line: 115 size: 1 LOC McCabe index: 1 number of parameters: 0