Code Duplication    Length = 3-3 lines in 2 locations

class/benchmark.php 2 locations

@@ 240-242 (lines=3) @@
237
	 */
238
	public function Result($options = '') {
239
		// Stop last group if it's not stopped
240
		if (!isset($this->aGroup[$this->iGroup]['time_stop'])
241
			&& isset($this->aGroup[$this->iGroup]['time_start']))
242
			$this->Stop();
243
244
		$html = '';
245
@@ 352-354 (lines=3) @@
349
	 */
350
	public function Start($desc = '') {
351
		// Stop last group if it's not stopped
352
		if (!isset($this->aGroup[$this->iGroup]['time_stop'])
353
			&& isset($this->aGroup[$this->iGroup]['time_start']))
354
			$this->Stop();
355
356
		if (empty($desc))
357
			$desc = "Group #{$this->iGroup}";