Skip to content

Added support for TRACE32 parser and metrics#662

Open
IgorMiksza wants to merge 70 commits into
jenkinsci:mainfrom
IgorMiksza:trace32-coverage
Open

Added support for TRACE32 parser and metrics#662
IgorMiksza wants to merge 70 commits into
jenkinsci:mainfrom
IgorMiksza:trace32-coverage

Conversation

@IgorMiksza
Copy link
Copy Markdown

Hello, I've added support for TRACE32 parser and metrics that include Statement, Decision, Condition, Function, Object Code and Bytes coverages.

I've added our metrics to CoverageTrendChart, CoverageBuildAction, CoverageChecksPublisher, CoverageTableModel, CoverageViewModel and Messages.properties.

I've also added TRACE32 to README.md, pom.xml description, CoverageTool.java and Messages.properties.

An example of our reports can be found in the coverage-model pull request.

@github-actions github-actions Bot requested a review from uhafner January 15, 2026 10:17
@uhafner uhafner added the feature New features label Jan 19, 2026
Comment thread plugin/pom.xml Outdated
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs to be the matching incrementals version of the coverage model:

Deployed version 0.66.0-rc1266.b_e6b_17a_f3c2c to Incrementals

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs to be the matching incrementals version of the coverage model:

Deployed version 0.66.0-rc1266.b_e6b_17a_f3c2c to Incrementals

Version bumped, thanks :)

@github-actions github-actions Bot requested a review from uhafner January 20, 2026 10:26
@IgorMiksza IgorMiksza marked this pull request as draft February 26, 2026 14:07
@IgorMiksza IgorMiksza marked this pull request as ready for review March 3, 2026 18:40
dependabot Bot and others added 13 commits March 23, 2026 08:25
Bumps [com.fasterxml.jackson.core:jackson-databind](https://github.com/FasterXML/jackson) from 2.21.0 to 2.21.2.
- [Commits](https://github.com/FasterXML/jackson/commits)

---
updated-dependencies:
- dependency-name: com.fasterxml.jackson.core:jackson-databind
  dependency-version: 2.21.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [org.jenkins-ci.tools:maven-hpi-plugin](https://github.com/jenkinsci/maven-hpi-plugin) from 3.1795.v6fb_496fc129b_ to 3.1820.ve687007a_69e5.
- [Release notes](https://github.com/jenkinsci/maven-hpi-plugin/releases)
- [Commits](https://github.com/jenkinsci/maven-hpi-plugin/commits)

---
updated-dependencies:
- dependency-name: org.jenkins-ci.tools:maven-hpi-plugin
  dependency-version: 3.1820.ve687007a_69e5
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Added `Metric.INSTRUCTION` to ViewModel, TableModel, Summary, Overview
Updated results tests for Coverage Publisher Overview and Summary
uhafner and others added 10 commits March 31, 2026 23:23
Now the PR number is written by `quality-monitor-build.yml` and attached
as an artifact.
This artifact is then read by `quality-monitor-comment-pr.yml`.
So the PR number is always available and the delta computation works.
…jenkins-ci.tools-maven-hpi-plugin-3.1820.ve687007a_69e5

Bump org.jenkins-ci.tools:maven-hpi-plugin from 3.1795.v6fb_496fc129b_ to 3.1820.ve687007a_69e5
…fasterxml.jackson.core-jackson-databind-2.21.2

Bump com.fasterxml.jackson.core:jackson-databind from 2.21.0 to 2.21.2
Also, delete temporary folder before uploading reports
Copy link
Copy Markdown
Member

@uhafner uhafner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we find a way to not change the views for existing users?

Comment on lines +84 to +86
Metric.LINE, Metric.BRANCH, Metric.INSTRUCTION, Metric.MUTATION, Metric.TEST_STRENGTH, Metric.CYCLOMATIC_COMPLEXITY,
Metric.TESTS, Metric.MCDC_PAIR, Metric.FUNCTION_CALL, Metric.COGNITIVE_COMPLEXITY, Metric.NCSS, Metric.NPATH_COMPLEXITY,
Metric.STMT_DC, Metric.STMT_CC, Metric.CONDITION, Metric.BYTES);
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we need to make these things configurable. It makes no sense to show all of these for everyone.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello, I’m sorry for the delayed response. Instruction coverage (along with all other T32 metric) is needed in the view model. I understand that Instruction coverage will now be visible to everyone, so that's why I wanted it to be named as "Statement" and only associated with T32 coverage.
Is there a way to display Instruction coverage only with T32 reports?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@uhafner just a gentle follow-up, it's been about a month since my last message, I'd really appreciate a reply when you have a moment. Thanks!

Comment thread plugin/pom.xml Outdated
@github-actions github-actions Bot requested a review from uhafner April 29, 2026 12:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New features

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants