MCPcopy Index your code
hub / github.com/ember-cli/ember-cli / countNodes

Function countNodes

tests/unit/models/instrumentation-test.js:360–370  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

358 }
359
360 function countNodes() {
361 let graph = heimdallGraph.loadFromNode(heimdall.root);
362 let count = 0;
363
364 // eslint-disable-next-line no-unused-vars
365 for (let n of graph.dfsIterator()) {
366 ++count;
367 }
368
369 return count;
370 }
371
372 td.replace(instrumentation, '_buildSummary');
373 td.replace(instrumentation, '_invokeAddonHook');

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…