Uploaded image for project: 'Planet4'
  1. Planet4
  2. PLANET-5194

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

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Won't Do
    • Icon: Should have 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

            Unassigned Unassigned
            pvincent Pieter Vincent
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: