SonarQube PHP
  1. SonarQube PHP
  2. SONARPHP-223

PDepend: CLASSES Measure Fix, new DEPTH_IN_TREE, NUMBER_OF_CHILDREN Measures

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 0.4
    • Fix Version/s: 0.5
    • Component/s: None
    • Labels:
      None
    • Patch Submitted:
      Yes
    • Number of attachments :
      1

      Description

      PHP files can contain more than one Class pro file - and the number of classes in file can be imported from PDepend.

      It is also possible to import DEPTH_IN_TREE and NUMBER_OF_CHILDREN measures.

      The attached patch solves this issues

      1. pdepend.diff
        5 kB
        Gennadiy Litvinyuk

        Activity

        Hide
        Fabrice Bellingard added a comment -

        Hi Gennadiy, as you provided the patch and as you're now a committer, I've affected this ticket to you. I set it to PHP 0.6, feel free to update if you want to fix it for 0.5.

        Show
        Fabrice Bellingard added a comment - Hi Gennadiy, as you provided the patch and as you're now a committer, I've affected this ticket to you. I set it to PHP 0.6, feel free to update if you want to fix it for 0.5.
        Hide
        Gennadiy Litvinyuk added a comment -

        Was resolved, unfortunately without tests, because available test data was generated with Pdepend 0.2.5 and the original php source code to calculate new metrics with current version of PDepend is not available.

        Show
        Gennadiy Litvinyuk added a comment - Was resolved, unfortunately without tests, because available test data was generated with Pdepend 0.2.5 and the original php source code to calculate new metrics with current version of PDepend is not available.

          People

          • Assignee:
            Gennadiy Litvinyuk
            Reporter:
            Gennadiy Litvinyuk
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: