original_string: protected function getCompareResultSummary($post, $sourceSurveyData, $targetSurveyData) {
          $categorizedResults = $this->getCategorizedResults($post, $sourceSurveyData, $targetSurveyData);
          $table              = \MUtil_Html::create()->table(['class' => 'browser table', 'style' => 'width: auto']);
  
          $row = $table->tr(['class' => $this->questionStatusClasses['new']]);
          $row->td(sprintf($this->_('%d new questions'), count($categorizedResults['new'])));
          $row->td(join(', ', array_keys($categorizedResults['new'])));
  
          $row = $table->tr(['class' => $this->questionStatusClasses['same']]);
          $row->td(sprintf($this->_('%d questions without warnings '), count($categorizedResults['same'])));
          $row->td(join(', ', array_keys($categorizedResults['same'])));
  
          $row = $table->tr(['class' => $this->questionStatusClasses['missing']]);
          $row->td(sprintf($this->_('%d missing questions'), count($categorizedResults['missing'])));
          $row->td(join(', ', array_keys($categorizedResults['missing'])));
  
          $row = $table->tr(['class' => $this->questionStatusClasses['type-difference']]);
          $row->td(sprintf($this->_('%d questions where the question type has changed'), count($categorizedResults['type-difference'])));
          $row->td(join(', ', array_keys($categorizedResults['type-difference'])));
  
          return $table;
      }
code: protected function getCompareResultSummary($post, $sourceSurveyData, $targetSurveyData) {
          $categorizedResults = $this->getCategorizedResults($post, $sourceSurveyData, $targetSurveyData);
          $table              = \MUtil_Html::create()->table(['class' => 'browser table', 'style' => 'width: auto']);
  
          $row = $table->tr(['class' => $this->questionStatusClasses['new']]);
          $row->td(sprintf($this->_('%d new questions'), count($categorizedResults['new'])));
          $row->td(join(', ', array_keys($categorizedResults['new'])));
  
          $row = $table->tr(['class' => $this->questionStatusClasses['same']]);
          $row->td(sprintf($this->_('%d questions without warnings '), count($categorizedResults['same'])));
          $row->td(join(', ', array_keys($categorizedResults['same'])));
  
          $row = $table->tr(['class' => $this->questionStatusClasses['missing']]);
          $row->td(sprintf($this->_('%d missing questions'), count($categorizedResults['missing'])));
          $row->td(join(', ', array_keys($categorizedResults['missing'])));
  
          $row = $table->tr(['class' => $this->questionStatusClasses['type-difference']]);
          $row->td(sprintf($this->_('%d questions where the question type has changed'), count($categorizedResults['type-difference'])));
          $row->td(join(', ', array_keys($categorizedResults['type-difference'])));
  
          return $table;
      }
code_tokens: protected function getCompareResultSummary ( $ post , $ sourceSurveyData , $ targetSurveyData ) { $ categorizedResults = $ this -> getCategorizedResults ( $ post , $ sourceSurveyData , $ targetSurveyData ) ; $ table = \ MUtil_Html :: create ( ) -> table ( [ 'class' => 'browser table' , 'style' => 'width: auto' ] ) ; $ row = $ table -> tr ( [ 'class' => $ this -> questionStatusClasses [ 'new' ] ] ) ; $ row -> td ( sprintf ( $ this -> _ ( '%d new questions' ) , count ( $ categorizedResults [ 'new' ] ) ) ) ; $ row -> td ( join ( ', ' , array_keys ( $ categorizedResults [ 'new' ] ) ) ) ; $ row = $ table -> tr ( [ 'class' => $ this -> questionStatusClasses [ 'same' ] ] ) ; $ row -> td ( sprintf ( $ this -> _ ( '%d questions without warnings ' ) , count ( $ categorizedResults [ 'same' ] ) ) ) ; $ row -> td ( join ( ', ' , array_keys ( $ categorizedResults [ 'same' ] ) ) ) ; $ row = $ table -> tr ( [ 'class' => $ this -> questionStatusClasses [ 'missing' ] ] ) ; $ row -> td ( sprintf ( $ this -> _ ( '%d missing questions' ) , count ( $ categorizedResults [ 'missing' ] ) ) ) ; $ row -> td ( join ( ', ' , array_keys ( $ categorizedResults [ 'missing' ] ) ) ) ; $ row = $ table -> tr ( [ 'class' => $ this -> questionStatusClasses [ 'type-difference' ] ] ) ; $ row -> td ( sprintf ( $ this -> _ ( '%d questions where the question type has changed' ) , count ( $ categorizedResults [ 'type-difference' ] ) ) ) ; $ row -> td ( join ( ', ' , array_keys ( $ categorizedResults [ 'type-difference' ] ) ) ) ; return $ table ; }
docstring: Creates a table with comparison summary
  
  @param $post array List of post values
  @param $sourceSurveyData array list of survey structure
  @param $targetSurveyData
  @return mixed
docstring_tokens: Creates a table with comparison summary