lancew/DojoList

View on GitHub
lib/sync.model.php

Summary

Maintainability
A
3 hrs
Test Coverage

Method ImportNewerFarDojo has 35 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function ImportNewerFarDojo($file)
{
    $farxml = LoadFarXML($file);
    $localxml = Load_Xml_data();
    
Severity: Minor
Found in lib/sync.model.php - About 1 hr to fix

    Method ListNewerFarDojo has 29 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    function ListNewerFarDojo($file)
    {
        $farxml = LoadFarXML($file);
        $localxml = Load_Xml_data();
        
    Severity: Minor
    Found in lib/sync.model.php - About 1 hr to fix

      Method NewerFarDojo has 28 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

      function NewerFarDojo($file)
      {
          $farxml = LoadFarXML($file);
          $localxml = Load_Xml_data();
          
      Severity: Minor
      Found in lib/sync.model.php - About 1 hr to fix

        Avoid unused local variables such as '$update'.
        Open

            foreach ($fardojolist_up as $update)
        Severity: Minor
        Found in lib/sync.model.php by phpmd

        Since: PHPMD 0.2

        Detects when a local variable is declared and/or assigned, but not used.

        Example:

        class Foo {
              public function doSomething()
              {
                  $i = 5; // Unused
              }
          }

        Source: http://phpmd.org/rules/unusedcode.txt

        Avoid unused local variables such as '$update'.
        Open

            foreach ($fardojolist_up as $update)
        Severity: Minor
        Found in lib/sync.model.php by phpmd

        Since: PHPMD 0.2

        Detects when a local variable is declared and/or assigned, but not used.

        Example:

        class Foo {
              public function doSomething()
              {
                  $i = 5; // Unused
              }
          }

        Source: http://phpmd.org/rules/unusedcode.txt

        Avoid unused local variables such as '$update'.
        Open

            foreach ($fardojolist_up as $update)
        Severity: Minor
        Found in lib/sync.model.php by phpmd

        Since: PHPMD 0.2

        Detects when a local variable is declared and/or assigned, but not used.

        Example:

        class Foo {
              public function doSomething()
              {
                  $i = 5; // Unused
              }
          }

        Source: http://phpmd.org/rules/unusedcode.txt

        The variable $localdojolist_up is not named in camelCase.
        Open

        function ListNewerFarDojo($file)
        {
            $farxml = LoadFarXML($file);
            $localxml = Load_Xml_data();
            
        Severity: Minor
        Found in lib/sync.model.php by phpmd

        Since: PHPMD 0.2

        It is considered best practice to use the camelCase notation to name variables.

        Example:

        class ClassName {
              public function doSomething() {
                  $data_module = new DataModule();
              }
          }

        Source: http://phpmd.org/rules/controversial.txt

        The variable $json_data is not named in camelCase.
        Open

        function ImportDojoNotInLocal($file)
        {
            $farxml = LoadFarXML($file);
            $localxml = Load_Xml_data();
            
        Severity: Minor
        Found in lib/sync.model.php by phpmd

        Since: PHPMD 0.2

        It is considered best practice to use the camelCase notation to name variables.

        Example:

        class ClassName {
              public function doSomething() {
                  $data_module = new DataModule();
              }
          }

        Source: http://phpmd.org/rules/controversial.txt

        The variable $fardojolist_up is not named in camelCase.
        Open

        function ListNewerFarDojo($file)
        {
            $farxml = LoadFarXML($file);
            $localxml = Load_Xml_data();
            
        Severity: Minor
        Found in lib/sync.model.php by phpmd

        Since: PHPMD 0.2

        It is considered best practice to use the camelCase notation to name variables.

        Example:

        class ClassName {
              public function doSomething() {
                  $data_module = new DataModule();
              }
          }

        Source: http://phpmd.org/rules/controversial.txt

        The variable $localdojolist_up is not named in camelCase.
        Open

        function NewerFarDojo($file)
        {
            $farxml = LoadFarXML($file);
            $localxml = Load_Xml_data();
            
        Severity: Minor
        Found in lib/sync.model.php by phpmd

        Since: PHPMD 0.2

        It is considered best practice to use the camelCase notation to name variables.

        Example:

        class ClassName {
              public function doSomething() {
                  $data_module = new DataModule();
              }
          }

        Source: http://phpmd.org/rules/controversial.txt

        The variable $fardojolist_up is not named in camelCase.
        Open

        function ImportNewerFarDojo($file)
        {
            $farxml = LoadFarXML($file);
            $localxml = Load_Xml_data();
            
        Severity: Minor
        Found in lib/sync.model.php by phpmd

        Since: PHPMD 0.2

        It is considered best practice to use the camelCase notation to name variables.

        Example:

        class ClassName {
              public function doSomething() {
                  $data_module = new DataModule();
              }
          }

        Source: http://phpmd.org/rules/controversial.txt

        The variable $localdojolist_up is not named in camelCase.
        Open

        function NewerFarDojo($file)
        {
            $farxml = LoadFarXML($file);
            $localxml = Load_Xml_data();
            
        Severity: Minor
        Found in lib/sync.model.php by phpmd

        Since: PHPMD 0.2

        It is considered best practice to use the camelCase notation to name variables.

        Example:

        class ClassName {
              public function doSomething() {
                  $data_module = new DataModule();
              }
          }

        Source: http://phpmd.org/rules/controversial.txt

        The variable $fardojolist_up is not named in camelCase.
        Open

        function NewerFarDojo($file)
        {
            $farxml = LoadFarXML($file);
            $localxml = Load_Xml_data();
            
        Severity: Minor
        Found in lib/sync.model.php by phpmd

        Since: PHPMD 0.2

        It is considered best practice to use the camelCase notation to name variables.

        Example:

        class ClassName {
              public function doSomething() {
                  $data_module = new DataModule();
              }
          }

        Source: http://phpmd.org/rules/controversial.txt

        The variable $fardojolist_up is not named in camelCase.
        Open

        function NewerFarDojo($file)
        {
            $farxml = LoadFarXML($file);
            $localxml = Load_Xml_data();
            
        Severity: Minor
        Found in lib/sync.model.php by phpmd

        Since: PHPMD 0.2

        It is considered best practice to use the camelCase notation to name variables.

        Example:

        class ClassName {
              public function doSomething() {
                  $data_module = new DataModule();
              }
          }

        Source: http://phpmd.org/rules/controversial.txt

        The variable $localdojolist_up is not named in camelCase.
        Open

        function ImportNewerFarDojo($file)
        {
            $farxml = LoadFarXML($file);
            $localxml = Load_Xml_data();
            
        Severity: Minor
        Found in lib/sync.model.php by phpmd

        Since: PHPMD 0.2

        It is considered best practice to use the camelCase notation to name variables.

        Example:

        class ClassName {
              public function doSomething() {
                  $data_module = new DataModule();
              }
          }

        Source: http://phpmd.org/rules/controversial.txt

        The variable $json_data is not named in camelCase.
        Open

        function ImportNewerFarDojo($file)
        {
            $farxml = LoadFarXML($file);
            $localxml = Load_Xml_data();
            
        Severity: Minor
        Found in lib/sync.model.php by phpmd

        Since: PHPMD 0.2

        It is considered best practice to use the camelCase notation to name variables.

        Example:

        class ClassName {
              public function doSomething() {
                  $data_module = new DataModule();
              }
          }

        Source: http://phpmd.org/rules/controversial.txt

        The variable $json_data is not named in camelCase.
        Open

        function ImportNewerFarDojo($file)
        {
            $farxml = LoadFarXML($file);
            $localxml = Load_Xml_data();
            
        Severity: Minor
        Found in lib/sync.model.php by phpmd

        Since: PHPMD 0.2

        It is considered best practice to use the camelCase notation to name variables.

        Example:

        class ClassName {
              public function doSomething() {
                  $data_module = new DataModule();
              }
          }

        Source: http://phpmd.org/rules/controversial.txt

        The variable $fardojolist_up is not named in camelCase.
        Open

        function ImportNewerFarDojo($file)
        {
            $farxml = LoadFarXML($file);
            $localxml = Load_Xml_data();
            
        Severity: Minor
        Found in lib/sync.model.php by phpmd

        Since: PHPMD 0.2

        It is considered best practice to use the camelCase notation to name variables.

        Example:

        class ClassName {
              public function doSomething() {
                  $data_module = new DataModule();
              }
          }

        Source: http://phpmd.org/rules/controversial.txt

        The variable $fardojolist_up is not named in camelCase.
        Open

        function NewerFarDojo($file)
        {
            $farxml = LoadFarXML($file);
            $localxml = Load_Xml_data();
            
        Severity: Minor
        Found in lib/sync.model.php by phpmd

        Since: PHPMD 0.2

        It is considered best practice to use the camelCase notation to name variables.

        Example:

        class ClassName {
              public function doSomething() {
                  $data_module = new DataModule();
              }
          }

        Source: http://phpmd.org/rules/controversial.txt

        The variable $fardojolist_up is not named in camelCase.
        Open

        function ListNewerFarDojo($file)
        {
            $farxml = LoadFarXML($file);
            $localxml = Load_Xml_data();
            
        Severity: Minor
        Found in lib/sync.model.php by phpmd

        Since: PHPMD 0.2

        It is considered best practice to use the camelCase notation to name variables.

        Example:

        class ClassName {
              public function doSomething() {
                  $data_module = new DataModule();
              }
          }

        Source: http://phpmd.org/rules/controversial.txt

        The variable $fardojolist_up is not named in camelCase.
        Open

        function ImportNewerFarDojo($file)
        {
            $farxml = LoadFarXML($file);
            $localxml = Load_Xml_data();
            
        Severity: Minor
        Found in lib/sync.model.php by phpmd

        Since: PHPMD 0.2

        It is considered best practice to use the camelCase notation to name variables.

        Example:

        class ClassName {
              public function doSomething() {
                  $data_module = new DataModule();
              }
          }

        Source: http://phpmd.org/rules/controversial.txt

        The variable $localdojolist_up is not named in camelCase.
        Open

        function NewerFarDojo($file)
        {
            $farxml = LoadFarXML($file);
            $localxml = Load_Xml_data();
            
        Severity: Minor
        Found in lib/sync.model.php by phpmd

        Since: PHPMD 0.2

        It is considered best practice to use the camelCase notation to name variables.

        Example:

        class ClassName {
              public function doSomething() {
                  $data_module = new DataModule();
              }
          }

        Source: http://phpmd.org/rules/controversial.txt

        The variable $localdojolist_up is not named in camelCase.
        Open

        function ListNewerFarDojo($file)
        {
            $farxml = LoadFarXML($file);
            $localxml = Load_Xml_data();
            
        Severity: Minor
        Found in lib/sync.model.php by phpmd

        Since: PHPMD 0.2

        It is considered best practice to use the camelCase notation to name variables.

        Example:

        class ClassName {
              public function doSomething() {
                  $data_module = new DataModule();
              }
          }

        Source: http://phpmd.org/rules/controversial.txt

        The variable $localdojolist_up is not named in camelCase.
        Open

        function ImportNewerFarDojo($file)
        {
            $farxml = LoadFarXML($file);
            $localxml = Load_Xml_data();
            
        Severity: Minor
        Found in lib/sync.model.php by phpmd

        Since: PHPMD 0.2

        It is considered best practice to use the camelCase notation to name variables.

        Example:

        class ClassName {
              public function doSomething() {
                  $data_module = new DataModule();
              }
          }

        Source: http://phpmd.org/rules/controversial.txt

        The variable $fardojolist_up is not named in camelCase.
        Open

        function ListNewerFarDojo($file)
        {
            $farxml = LoadFarXML($file);
            $localxml = Load_Xml_data();
            
        Severity: Minor
        Found in lib/sync.model.php by phpmd

        Since: PHPMD 0.2

        It is considered best practice to use the camelCase notation to name variables.

        Example:

        class ClassName {
              public function doSomething() {
                  $data_module = new DataModule();
              }
          }

        Source: http://phpmd.org/rules/controversial.txt

        The variable $fardojolist_up is not named in camelCase.
        Open

        function NewerFarDojo($file)
        {
            $farxml = LoadFarXML($file);
            $localxml = Load_Xml_data();
            
        Severity: Minor
        Found in lib/sync.model.php by phpmd

        Since: PHPMD 0.2

        It is considered best practice to use the camelCase notation to name variables.

        Example:

        class ClassName {
              public function doSomething() {
                  $data_module = new DataModule();
              }
          }

        Source: http://phpmd.org/rules/controversial.txt

        The variable $localdojolist_up is not named in camelCase.
        Open

        function ListNewerFarDojo($file)
        {
            $farxml = LoadFarXML($file);
            $localxml = Load_Xml_data();
            
        Severity: Minor
        Found in lib/sync.model.php by phpmd

        Since: PHPMD 0.2

        It is considered best practice to use the camelCase notation to name variables.

        Example:

        class ClassName {
              public function doSomething() {
                  $data_module = new DataModule();
              }
          }

        Source: http://phpmd.org/rules/controversial.txt

        The variable $json_data is not named in camelCase.
        Open

        function ImportDojoNotInLocal($file)
        {
            $farxml = LoadFarXML($file);
            $localxml = Load_Xml_data();
            
        Severity: Minor
        Found in lib/sync.model.php by phpmd

        Since: PHPMD 0.2

        It is considered best practice to use the camelCase notation to name variables.

        Example:

        class ClassName {
              public function doSomething() {
                  $data_module = new DataModule();
              }
          }

        Source: http://phpmd.org/rules/controversial.txt

        The variable $fardojolist_up is not named in camelCase.
        Open

        function ListNewerFarDojo($file)
        {
            $farxml = LoadFarXML($file);
            $localxml = Load_Xml_data();
            
        Severity: Minor
        Found in lib/sync.model.php by phpmd

        Since: PHPMD 0.2

        It is considered best practice to use the camelCase notation to name variables.

        Example:

        class ClassName {
              public function doSomething() {
                  $data_module = new DataModule();
              }
          }

        Source: http://phpmd.org/rules/controversial.txt

        The variable $fardojolist_up is not named in camelCase.
        Open

        function ImportNewerFarDojo($file)
        {
            $farxml = LoadFarXML($file);
            $localxml = Load_Xml_data();
            
        Severity: Minor
        Found in lib/sync.model.php by phpmd

        Since: PHPMD 0.2

        It is considered best practice to use the camelCase notation to name variables.

        Example:

        class ClassName {
              public function doSomething() {
                  $data_module = new DataModule();
              }
          }

        Source: http://phpmd.org/rules/controversial.txt

        The variable $localdojolist_up is not named in camelCase.
        Open

        function ImportNewerFarDojo($file)
        {
            $farxml = LoadFarXML($file);
            $localxml = Load_Xml_data();
            
        Severity: Minor
        Found in lib/sync.model.php by phpmd

        Since: PHPMD 0.2

        It is considered best practice to use the camelCase notation to name variables.

        Example:

        class ClassName {
              public function doSomething() {
                  $data_module = new DataModule();
              }
          }

        Source: http://phpmd.org/rules/controversial.txt

        There are no issues that match your filters.

        Category
        Status