xAPI-vle/moodle-logstore_xapi

View on GitHub
lib.php

Summary

Maintainability
A
1 hr
Test Coverage

Showing 3 of 3 total issues

Avoid too many return statements within this method.
Open

return ''; // Return blank if no errortype captured.
Severity: Major
Found in lib.php - About 30 mins to fix

Avoid too many return statements within this method.
Open

return get_string('failedtransformresponse', 'logstore_xapi', $row->eventname);
Severity: Major
Found in lib.php - About 30 mins to fix

Avoid too many return statements within this method.
Open

return get_string('unknownerror', 'logstore_xapi', $row->errortype);
Severity: Major
Found in lib.php - About 30 mins to fix

There are no issues that match your filters.

Category
Status