client/app/bundles/course/assessment/pages/AssessmentStatistics/utils.js
Function processSubmissionsIntoChartData
has 49 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function processSubmissionsIntoChartData(submissions) {
const submittedSubmissions = submissions.filter((s) => s.submittedAt != null);
const mappedSubmissions = submittedSubmissions
.map((s) => ({
...s,
- Create a ticketCreate a ticket