Code Duplication    Length = 10-10 lines in 2 locations

src/debug-bar/timeline.php 1 location

@@ 31-40 (lines=10) @@
28
				<th>Memory</th>
29
				<th>Diff</th>
30
			</tr>
31
			<?php $i = 1; foreach( $report['marks'] as $name => $mark ) { ?>
32
			<tr>
33
				<td><?=$i++?></td>
34
				<td><?=$name?></td>
35
				<td><?=number_format($mark['elapsed'] * 1000, 3)?> ms</td>
36
				<td><?=number_format($mark['time_diff'] * 1000, 3)?> ms</td>
37
				<td><?=number_format($mark['memory'] / 1024 / 1024, 3)?> MB</td>
38
				<td><?=number_format($mark['memory_diff'] / 1024 / 1024, 3)?> MB</td>
39
			</tr>
40
			<?php } ?>
41
		</table>
42
	</div>
43
	

src/report.php 1 location

@@ 198-207 (lines=10) @@
195
				<th>Memory</th>
196
				<th>Diff</th>
197
			</tr>
198
			<?php $i = 1; foreach( $report['marks'] as $name => $mark ) { ?>
199
			<tr>
200
				<td class="center caption"><?=$i++?></td>
201
				<td class="left caption"><?=$name?></td>
202
				<td><?=number_format($mark['elapsed'] * 1000, 3)?> ms</td>
203
				<td><?=number_format($mark['time_diff'] * 1000, 3)?> ms</td>
204
				<td><?=number_format($mark['memory'] / 1024 / 1024, 3)?> MB</td>
205
				<td><?=number_format($mark['memory_diff'] / 1024 / 1024, 3)?> MB</td>
206
			</tr>
207
			<?php } ?>
208
		</table>
209
		
210
	</div>