(node, cb)
| 102 | |
| 103 | _totalTime(hash) { |
| 104 | const sumNodes = (node, cb) => { |
| 105 | let total = 0; |
| 106 | node.visitPreOrder((node) => { |
| 107 | total += cb(node); |
| 108 | }); |
| 109 | return total; |
| 110 | }; |
| 111 | |
| 112 | return sumNodes(hash.graph.__heimdall__, (node) => node.stats.time.self); |
| 113 | } |
nothing calls this directly
no outgoing calls
no test coverage detected