modxcms/revolution

View on GitHub
core/model/modx/processors/security/profile/get.class.php

Summary

Maintainability
A
1 hr
Test Coverage

Method getUserGroups has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function getUserGroups() {
        $c = $this->modx->newQuery('modUserGroupMember');
        $c->leftJoin('modUserGroupRole','UserGroupRole');
        $c->innerJoin('modUserGroup','UserGroup');
        $c->where(array(
Severity: Minor
Found in core/model/modx/processors/security/profile/get.class.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status