Lines Matching refs:final
138 $final['name'] = 'OVERALL RESULT';
139 $final['counts'] = array();
140 $final['percent'] = 0;
146 if (!isset($final['counts'][$key])) {
147 $final['counts'][$key] = 0;
150 $final['counts'][$key] += $aCount;
155 if (isset($final['counts']['run'])) {
156 $per = 100/$final['counts']['run'];
157 $failed = ($per*$final['counts']['error'])+($per*$final['counts']['failure']);
158 $final['percent'] = round(100-$failed,2);
160 $final['percent'] = 0;
163 array_unshift($suiteResults,$final);