(skipped: boolean)
| 330 | } |
| 331 | |
| 332 | function emptyParsedTokens(skipped: boolean): ParsedTokensForScoring { |
| 333 | return { |
| 334 | numLines: 0, |
| 335 | identifiers: [], |
| 336 | calls: [], |
| 337 | bytes: 0, |
| 338 | skipped, |
| 339 | } |
| 340 | } |
| 341 | |
| 342 | function countLines(sourceCode: string): number { |
| 343 | return (sourceCode.match(/\n/g)?.length ?? 0) + 1 |
no outgoing calls
no test coverage detected