original_string: 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));
  	}
code: 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));
  	}
code_tokens: 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 ) ) ; }
docstring: Return total code coverage in percent.
  
  @return int
docstring_tokens: Return total code coverage in percent .