protected function col_discriminative_efficiency($questionstat) {
        if ($this->is_calculated_question_summary($questionstat)) {
            list($min, $max) = $questionstat->get_min_max_of('discriminativeefficiency');

            if (!is_numeric($min) && !is_numeric($max)) {
                return '';
            } else {
                return $this->format_percentage_range($min, $max, false);
            }
        } else if (!is_numeric($questionstat->discriminativeefficiency)) {
            return '';
        } else {
            return $this->format_percentage($questionstat->discriminativeefficiency);
        }
    }
protected function col_discriminative_efficiency($questionstat) {
        if ($this->is_calculated_question_summary($questionstat)) {
            list($min, $max) = $questionstat->get_min_max_of('discriminativeefficiency');

            if (!is_numeric($min) && !is_numeric($max)) {
                return '';
            } else {
                return $this->format_percentage_range($min, $max, false);
            }
        } else if (!is_numeric($questionstat->discriminativeefficiency)) {
            return '';
        } else {
            return $this->format_percentage($questionstat->discriminativeefficiency);
        }
    }
protected function col_discriminative_efficiency ( $ questionstat ) { if ( $ this -> is_calculated_question_summary ( $ questionstat ) ) { list ( $ min , $ max ) = $ questionstat -> get_min_max_of ( 'discriminativeefficiency' ) ; if ( ! is_numeric ( $ min ) && ! is_numeric ( $ max ) ) { return '' ; } else { return $ this -> format_percentage_range ( $ min , $ max , false ) ; } } else if ( ! is_numeric ( $ questionstat -> discriminativeefficiency ) ) { return '' ; } else { return $ this -> format_percentage ( $ questionstat -> discriminativeefficiency ) ; } }
Discrimination efficiency, similar to, but different from, the Discrimination index.

@param \core_question\statistics\questions\calculated $questionstat stats for the question.
@return string contents of this table cell.
Discrimination efficiency similar to but different from the Discrimination index .