original_string: protected function col_sd($questionstat) {
          if ($this->is_calculated_question_summary($questionstat)) {
              list($min, $max) = $questionstat->get_min_max_of('sd');
              return $this->format_percentage_range($min, $max);
          } else if (is_null($questionstat->sd) || $questionstat->maxmark == 0) {
              return '';
          } else {
              return $this->format_percentage($questionstat->sd / $questionstat->maxmark);
          }
      }
code: protected function col_sd($questionstat) {
          if ($this->is_calculated_question_summary($questionstat)) {
              list($min, $max) = $questionstat->get_min_max_of('sd');
              return $this->format_percentage_range($min, $max);
          } else if (is_null($questionstat->sd) || $questionstat->maxmark == 0) {
              return '';
          } else {
              return $this->format_percentage($questionstat->sd / $questionstat->maxmark);
          }
      }
code_tokens: protected function col_sd ( $ questionstat ) { if ( $ this -> is_calculated_question_summary ( $ questionstat ) ) { list ( $ min , $ max ) = $ questionstat -> get_min_max_of ( 'sd' ) ; return $ this -> format_percentage_range ( $ min , $ max ) ; } else if ( is_null ( $ questionstat -> sd ) || $ questionstat -> maxmark == 0 ) { return '' ; } else { return $ this -> format_percentage ( $ questionstat -> sd / $ questionstat -> maxmark ) ; } }
docstring: The standard deviation of the fractions.
  @param \core_question\statistics\questions\calculated $questionstat stats for the question.
  @return string contents of this table cell.
docstring_tokens: The standard deviation of the fractions .