Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-52839

Make Code Coverage API plugin more generic

    Details

    • Similar Issues:

      Description

      We have adopted code from Cobertura plugin, and it will aggregate coverage by rules in `CoverageAggregationRule`. So we need to add more rules if we want to implement a different type of coverage tool. (we have two types of coverage tool now, one is Java coverage tool and another is llvm coverage tool)
      Also, we have coverage metric and coverage element for each type of coverage tool. We need to add new metrics and elements if we have a new type of coverage tool.

      So it is necessary to make the Code Coverage API plugin more generic:

      • Because of the similarity of rules, we can remove those rules and make them as the default behavior
      • Make CoverageMetric and CoverageElement injectable, so other guys can add new metric and new element in their own plugin.

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              cizezsy Shenyu Zheng
              Reporter:
              cizezsy Shenyu Zheng
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: