| 66 | }; |
| 67 | const cardCallout = (id, text) => button(text || id, () => showCard(id, true), 'card-callout'); |
| 68 | const location = region => region.start_line ? `Lines ${region.start_line}–${region.end_line} · ${viewSnapshot ? 'snapshot' : region.side}` : 'File-level observation · range unavailable'; |
| 69 | const regionName = region => { |
| 70 | const subjects = region.subjects.filter(subject => subject !== region.path); |
| 71 | return subjects.length > 1 ? subjects.length + ' source subjects' : subjects[0] || 'File-level facts'; |
no outgoing calls
no test coverage detected