NodeBB/NodeBB

View on GitHub
public/src/modules/accounts/picture.js

Summary

Maintainability
A
1 hr
Test Coverage

Function openChangeModal has 85 lines of code (exceeds 75 allowed). Consider refactoring.
Open

    Picture.openChangeModal = () => {
        socket.emit('user.getProfilePictures', {
            uid: ajaxify.data.uid,
        }, function (err, pictures) {
            if (err) {
Severity: Major
Found in public/src/modules/accounts/picture.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status