Sorry, data for that comparison is no longer available.

chamilo/chamilo-lms

View on GitHub
assets/vue/services/userRelCourseVoteService.js

Summary

Maintainability
A
25 mins
Test Coverage

Showing 1 of 1 total issue

Function getUserVote has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring.
Open

export async function getUserVote({ userId, courseId, sessionId = null, urlId }) {
try {
let query = `/api/user_rel_course_votes?user.id=${userId}`
 
if (urlId) query += `&url.id=${urlId}`
Severity: Minor
Found in assets/vue/services/userRelCourseVoteService.js - About 25 mins to fix

There are no issues that match your filters.

Category
Status