Reduce complexity and check if tests can be added for class-p4-control-panel.php

XMLWordPrintable

    • Type: Task
    • Resolution: Won't Do
    • Priority: Should have
    • None
    • None
    • 5
    • Technical Debt, Testing
    • Sprint #142, Sprint #143, Sprint #144

      This class is not covered by any test. There might be no things in it that can be tested, however it was also flagged because of high complexity.

      https://4867-131222745-gh.circle-artifacts.com/0/planet4-docker-compose/artifacts/codeception/coverage/themes/planet4-master-theme/classes/class-p4-control-panel.php.html#16

      Tasks

      • Reduce complexity (eg. nesting level)
      • Check which parts of the code we can tests

            Assignee:
            Unassigned
            Reporter:
            Pieter Vincent (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: