johnjones4/InBrief

View on GitHub
src/lib/util/EWSFactory.js

Summary

Maintainability
B
4 hrs
Test Coverage

Function NTLMXHRAPI has 61 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const NTLMXHRAPI = (function () {
  function ntlmXHRApi (user, password) {
    this.userName = user
    this.password = password
  }
Severity: Major
Found in src/lib/util/EWSFactory.js - About 2 hrs to fix

    Function xhr has 47 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      ntlmXHRApi.prototype.xhr = function (xhroptions) {
        const _this = this
        let userName = _this.userName
        let domain = ''
        if (userName.indexOf('\\') >= 0) {
    Severity: Minor
    Found in src/lib/util/EWSFactory.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status