sympmarc/SPServices

View on GitHub
src/utils/SPGetCurrentUser.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function SPGetCurrentUser has 60 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    $.fn.SPServices.SPGetCurrentUser = function (options) {

        var opt = $.extend({}, {
            webURL: "", // URL of the target Site Collection.  If not specified, the current Web is used.
            fieldName: "Name", // Specifies which field to return from the userdisp.aspx page
Severity: Major
Found in src/utils/SPGetCurrentUser.js - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status