(n)
| 113 | } |
| 114 | |
| 115 | function textHeavy(n) { |
| 116 | // Many text nodes, some carrying template expressions; pair with |
| 117 | // SAFE_FOR_TEMPLATES to exercise the scrub paths. |
| 118 | let html = ''; |
| 119 | for (let i = 0; i < n; i++) { |
| 120 | html += |
| 121 | `<p>Paragraph ${i} with plain prose and a mustache {{ user.name${i} }}` + |
| 122 | ` plus a template literal \${ totals[${i}] } and an erb <%= row${i} %> tail.</p>`; |
| 123 | } |
| 124 | |
| 125 | return html; |
| 126 | } |
| 127 | |
| 128 | function commentHeavy(n) { |
| 129 | // Comments with and without markup-significant payloads: exercises |
no outgoing calls
no test coverage detected
searching dependent graphs…