e-ucm/rage-analytics-backend

View on GitHub
lib/consumers/openlrs.js

Summary

Maintainability
A
1 hr
Test Coverage

Function openLRSConsumer has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

var openLRSConsumer = function (lrs) {
    var Q = require('q');
    var request = require('request');
    var options = {
        uri: lrs.uri + 'statements',
Severity: Minor
Found in lib/consumers/openlrs.js - About 1 hr to fix

    Function addTraces has 6 arguments (exceeds 4 allowed). Consider refactoring.
    Open

            addTraces: function (playerId, versionId, gameplayId, activity, data, convertedData) {
    Severity: Minor
    Found in lib/consumers/openlrs.js - About 45 mins to fix

      There are no issues that match your filters.

      Category
      Status