Filter löschen
Filter löschen

Some lines missed in code coverage report

8 Ansichten (letzte 30 Tage)
Ricardo Krause
Ricardo Krause am 5 Aug. 2020
Kommentiert: Steven Apsel am 28 Feb. 2022
Hello,
we work with matlab unit tests for matlab classes and want to improve our code coverage. We noticed that sometimes the coverage is not counted correctly in our tests.
We have set explicit breakpoints, which were also addressed, but the line in the report appears as not covered.
Can someone tell us what this could be or how we can debug it?
Thanks
  4 Kommentare
Micah Fry
Micah Fry am 17 Jun. 2021
Ricardo,
Did you ever get to any resolution on this? I'm having similar issues (https://www.mathworks.com/matlabcentral/answers/858045-coverage-report-from-unit-tests-is-inaccurate?s_tid=srchtitle)
Steven Apsel
Steven Apsel am 28 Feb. 2022
I had similar problems, and removing a "clear all" fixed it.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Model, Block, and Port Callbacks finden Sie in Help Center und File Exchange

Produkte


Version

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by