| 118 | ])); |
| 119 | const checks = graph.nodes.filter(node => node.kind === 'check' && node.properties.rule === id); |
| 120 | const count = status => checks.filter(node => node.properties.status === status).length; |
| 121 | host.append(el('p', 'muted', `${count('completed')} completed · ${count('skipped')} skipped · ${count('error')} errors`)); |
| 122 | host.append(detail('Exact check coverage', el('pre', '', checks.map(node => `${node.properties.path}: ${node.properties.status}\n${node.properties.detail}`).join('\n\n')))); |
| 123 | } else if (metric) { |