Uploaded image for project: 'Clover'
  1. Clover
  2. CLOV-1503

provide explanation when number of files is greater than number of classes for a package

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Fixed
    • 4.0.0
    • Reporting
    • None
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      There might be a case that number of files > number of classes listed:

      This is normal behaviour, because by default Clover hides entities having no executable code, such as: empty classes, enums (with no methods), interfaces (with no virtual extension methods).

      However, this may be confusing for end user.

      How we could improve this:

      1) Set the showEmpty to true by default. Benefit: 'classes >= files' in all cases. Drawback: report will contain unnecessary noise.

      2) Add [(?) Help] button above the table. Example:

      3) Add tooltip for 'Files' (TotalElements.getHelp())

      4) Add small text below the class table. For example:

      "3 classes are not listed because they contain no executable code."

      Attachments

        1. more_files_than_classes.png
          more_files_than_classes.png
          19 kB
        2. package_help.png
          package_help.png
          13 kB

        Activity

          People

            mparfianowicz Marek Parfianowicz
            mparfianowicz Marek Parfianowicz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: