Code Coverage
 
Classes and Traits
Functions and Methods
Lines
Total
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
3 / 3
CRAP
100.00% covered (success)
100.00%
7 / 7
TotalTime
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
3 / 3
3
100.00% covered (success)
100.00%
7 / 7
 initialize()
100.00% covered (success)
100.00%
1 / 1
1
100.00% covered (success)
100.00%
1 / 1
 execute()
100.00% covered (success)
100.00%
1 / 1
1
100.00% covered (success)
100.00%
5 / 5
 finalize()
100.00% covered (success)
100.00%
1 / 1
1
100.00% covered (success)
100.00%
1 / 1
<?php
/**
 *
 */
namespace aae\geo\meta {
    /**
     * @author Axel Ancona Esselmann
     * @package aae\geo\meta
     */
    class TotalTime {
        public $varName = "totalTime";
        public $metaDataObject = null;
        public function initialize() {
            
        }
        
        public function execute() {
            $meta = $this->metaDataObject;
            $var  = $this->varName;
            $time = $meta->segmentTimes[count($meta->segmentTimes) - 1];
            $meta->$var += $time;
        }
        public function finalize() {
        }
    }
}