(path: string)
| 529 | // An outside area is named where its trail leaves the opened one: a sibling, not a repository root area. |
| 530 | const reference = scope ? areaLevels(scope) : trailOf(options.filePath!); |
| 531 | const outsideArea = (path: string) => { |
| 532 | const trail = trailOf(path); |
| 533 | let shared = 0; |
| 534 | while (shared < trail.length && trail[shared] === reference[shared]) shared++; |
| 535 | return trail[Math.min(shared, trail.length - 1)]; |
| 536 | }; |
| 537 | scopedEvidence = evidence.filter(edge => inScope(edge.source) || inScope(edge.target)); |
| 538 | for (const edge of scopedEvidence) { |
| 539 | if (inScope(edge.source) === inScope(edge.target)) continue; |
no test coverage detected