public function getTotalCodeCoverage() {
		$totalStatements = 0;
		$totalCoveredStatements = 0;
		foreach ($this->getFiles() as $file) {
			$totalStatements += $file->getStatements();
			$totalCoveredStatements += $file->getCoveredStatements();
		}
		foreach ($this->getPackages() as $package) {
			foreach ($package->getFiles() as $file) {
				$totalStatements += $file->getStatements();
				$totalCoveredStatements += $file->getCoveredStatements();
			}
		}

		return ($totalCoveredStatements==0?0:\round(($totalCoveredStatements/$totalStatements)*100));
	}