(line: string)
| 295 | } |
| 296 | |
| 297 | function parseAndroidDurationMs(line: string): number | null { |
| 298 | const match = /\b(?:duration|elapsed request\/response time, ms)[:= ]+(\d+)\b/i.exec(line); |
| 299 | if (!match) return null; |
| 300 | const value = Number.parseInt(match[1] ?? '', 10); |
| 301 | return Number.isInteger(value) ? value : null; |
| 302 | } |
| 303 | |
| 304 | function parseEmbeddedJson(line: string): Record<string, unknown> | null { |
| 305 | const start = line.indexOf('{'); |
no outgoing calls
no test coverage detected
searching dependent graphs…