original_string: protected function col_s($questionstat) {
          if ($this->is_calculated_question_summary($questionstat)) {
              list($min, $max) = $questionstat->get_min_max_of('s');
              $min = $min ?: 0;
              $max = $max ?: 0;
              return $this->format_range($min, $max);
          } else if (!isset($questionstat->s)) {
              return 0;
          } else {
              return $questionstat->s;
          }
      }
code: protected function col_s($questionstat) {
          if ($this->is_calculated_question_summary($questionstat)) {
              list($min, $max) = $questionstat->get_min_max_of('s');
              $min = $min ?: 0;
              $max = $max ?: 0;
              return $this->format_range($min, $max);
          } else if (!isset($questionstat->s)) {
              return 0;
          } else {
              return $questionstat->s;
          }
      }
code_tokens: protected function col_s ( $ questionstat ) { if ( $ this -> is_calculated_question_summary ( $ questionstat ) ) { list ( $ min , $ max ) = $ questionstat -> get_min_max_of ( 's' ) ; $ min = $ min ? : 0 ; $ max = $ max ? : 0 ; return $ this -> format_range ( $ min , $ max ) ; } else if ( ! isset ( $ questionstat -> s ) ) { return 0 ; } else { return $ questionstat -> s ; } }
docstring: The number of attempts at this question.
  
  @param \core_question\statistics\questions\calculated $questionstat stats for the question.
  @return string contents of this table cell.
docstring_tokens: The number of attempts at this question .