modxcms/revolution

View on GitHub
core/model/modx/processors/security/user/duplicate.class.php

Summary

Maintainability
A
1 hr
Test Coverage

Method beforeSave has 33 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function beforeSave() {
        /* copy profile */
        $profile = $this->object->getOne('Profile');
        if ($profile) {
            // Reset some modUserProfile fields
Severity: Minor
Found in core/model/modx/processors/security/user/duplicate.class.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status