xAPI-vle/moodle-logstore_xapi

View on GitHub
src/transformer/events/mod_quiz/question_manually_graded.php

Summary

Maintainability
A
2 hrs
Test Coverage

Showing 1 of 1 total issue

Method question_manually_graded has 68 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function question_manually_graded(array $config, \stdClass $event) {
$repo = $config['repo'];
$instructor = $repo->read_record_by_id('user', $event->userid);
$course = $repo->read_record_by_id('course', $event->courseid);
$lang = utils\get_course_lang($course);
Severity: Major
Found in src/transformer/events/mod_quiz/question_manually_graded.php - About 2 hrs to fix

There are no issues that match your filters.

Category
Status