We have usecases where projects are complicated and need a way to filter coverage reports based on directory. Currently, you're able to view the individual files and sort them by package, but we'd like a directory level view that shows total Line coverage per directory. Potentially adding it as a new tab as highlighted in the below picture.

      Please advise if this is (potentially) possible and if there any design concerns/inputs around this. 

          [JENKINS-73149] Add a view tab for directories

          Ulli Hafner added a comment - - edited

          There are several possible ways to achieve this:

          1. Create additional tabs for modules, packages or folders without details navigation
          2. Create additional tabs for modules, packages or folders with details navigation (see warnings plugin)
          3. Select modules, packages or classes from the tree-view and open a details view

          Ulli Hafner added a comment - - edited There are several possible ways to achieve this: Create additional tabs for modules, packages or folders without details navigation Create additional tabs for modules, packages or folders with details navigation (see warnings plugin) Select modules, packages or classes from the tree-view and open a details view

          Pierson Yieh added a comment -

          drulli do you have a preference/recommendation on which implementation? We'd like to make the change and contribute back to the open source project.

          Pierson Yieh added a comment - drulli do you have a preference/recommendation on which implementation? We'd like to make the change and contribute back to the open source project.

          Ulli Hafner added a comment -

          I think using tabs (option 2) would have it look in the same way as the warnings plugin, this would make sense.

          So one optional tab for modules, one optional tab for packages (or folders) would make sense. Like in the warnings plugin:

          Each module or package is represented as a hyperlink that opens the same page for the selected details.

          This requires some changes but should be the best way to achieve this.

          Ulli Hafner added a comment - I think using tabs (option 2) would have it look in the same way as the warnings plugin, this would make sense. So one optional tab for modules, one optional tab for packages (or folders) would make sense. Like in the warnings plugin: Each module or package is represented as a hyperlink that opens the same page for the selected details. This requires some changes but should be the best way to achieve this.

            drulli Ulli Hafner
            pyieh Pierson Yieh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: