jihoun/calendar

View on GitHub
src/Component/ToDo.php

Summary

Maintainability
C
1 day
Test Coverage

ToDo has 35 functions (exceeds 20 allowed). Consider refactoring.
Open

class ToDo extends IComponent
{
    // The following are REQUIRED,
    // but MUST NOT occur more than once.
    protected $dtstamp;
Severity: Minor
Found in src/Component/ToDo.php - About 4 hrs to fix

    File ToDo.php has 258 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    <?php
    namespace Jihoun\Calendar\Component;
    
    /**
     * Provide a grouping of calendar properties that describe a to-do.
    Severity: Minor
    Found in src/Component/ToDo.php - About 2 hrs to fix

      Method getProperties has 42 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          private function getProperties()
          {
              $res = array(
                  $this->dtstamp,
                  $this->uid,
      Severity: Minor
      Found in src/Component/ToDo.php - About 1 hr to fix

        There are no issues that match your filters.

        Category
        Status