mambax7/xnewsletter

View on GitHub
class/Mailinglist.php

Summary

Maintainability
A
3 hrs
Test Coverage

Method getForm has 50 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function getForm($action = false, $system = 0)
    {
        global $xoopsDB;

        if (false === $action) {
Severity: Minor
Found in class/Mailinglist.php - About 2 hrs to fix

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

        public function getValuesMailinglist($keys = null, $format = null, $maxDepth = null)
        {
            $ret['id']          = $this->getVar('mailinglist_id');
            $ret['name']        = $this->getVar('mailinglist_name');
            $ret['email']       = $this->getVar('mailinglist_email');
    Severity: Minor
    Found in class/Mailinglist.php - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status