xAPI-vle/moodle-logstore_xapi

View on GitHub
src/transformer/get_event_function_map.php

Summary

Maintainability
B
5 hrs
Test Coverage

Showing 1 of 1 total issue

Method get_event_function_map has 145 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function get_event_function_map() {
$availableevents = [
'\core\event\course_category_created' => 'core\course_category_created',
'\core\event\badge_awarded' => 'core\badge_awarded',
'\core\event\badge_updated' => 'core\badge_updated',
Severity: Major
Found in src/transformer/get_event_function_map.php - About 5 hrs to fix
Category
Status