lagranovskiy/j316-translator

View on GitHub
app/business/QuestionDistributor.js

Summary

Maintainability
A
1 hr
Test Coverage

Function submitQuestionAnswer has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    submitQuestionAnswer: function (answer, questionUUID, senderName, senderLanguage) {
        var question = this.msgCache.get(questionUUID);
        if (!question) {
            console.error('Cannot find msg with uuid ' + questionUUID + ' answer not accepted.');
            return;
Severity: Minor
Found in app/business/QuestionDistributor.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status