(t *table)
| 142 | } |
| 143 | |
| 144 | func (i *item) Emit(t *table) { |
| 145 | levelOfConcern, interesting := i.levelOfConcern(t.threshold) |
| 146 | if !interesting { |
| 147 | return |
| 148 | } |
| 149 | valueString, unitString := i.humaner.Format(i.value, i.unit) |
| 150 | t.formatRow( |
| 151 | i.name, t.footnotes.CreateCitation(i.Footnote(t.nameStyle)), |
| 152 | valueString, unitString, |
| 153 | levelOfConcern, |
| 154 | ) |
| 155 | } |
| 156 | |
| 157 | func (i *item) Footnote(nameStyle NameStyle) string { |
| 158 | if i.path == nil || i.path.OID == git.NullOID { |
nothing calls this directly
no test coverage detected