original_string: public function countIssuesBySeverity(string $severity): int
      {
          $count = 0;
          foreach ($this->files as $file) {
              $count += count($file->getIssuesBySeverity($severity));
          }
          return $count;
      }
code: public function countIssuesBySeverity(string $severity): int
      {
          $count = 0;
          foreach ($this->files as $file) {
              $count += count($file->getIssuesBySeverity($severity));
          }
          return $count;
      }
code_tokens: public function countIssuesBySeverity ( string $ severity ) : int { $ count = 0 ; foreach ( $ this -> files as $ file ) { $ count += count ( $ file -> getIssuesBySeverity ( $ severity ) ) ; } return $ count ; }
docstring: Returns the number of issues with a given severity for the entire report
  
  @param string $severity The severity. Should be one of the Issue class' SEVERITY_* constants
  @return int The number of issues for the entire report.
docstring_tokens: Returns the number of issues with a given severity for the entire report