(collection, code)
| 529 | return { count : 0, functions : [], functionTable : [] }; |
| 530 | } |
| 531 | function addToCollection(collection, code) { |
| 532 | collection.count++; |
| 533 | let funcData = collection.functionTable[code.func]; |
| 534 | if (!funcData) { |
| 535 | funcData = { f : file.functions[code.func], instances : [] }; |
| 536 | collection.functionTable[code.func] = funcData; |
| 537 | collection.functions.push(funcData); |
| 538 | } |
| 539 | funcData.instances.push(code); |
| 540 | } |
| 541 | |
| 542 | let functionCount = 0; |
| 543 | let baselineFunctionCount = 0; |
no test coverage detected