We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm always getting zero branch coverage in my cobertura files
lcov.info for a file
SF:/packages/adaptivecards/lib/adaptive_backplane/adaptive_root.dart DA:16,1 DA:32,2 DA:81,1 DA:84,2 DA:88,1 DA:97,1 DA:103,3 DA:104,1 DA:105,1 DA:106,2 DA:107,2 DA:108,2 DA:109,2 DA:110,2 DA:111,2 DA:112,2 DA:113,2 DA:114,2 DA:118,1 DA:119,1 DA:122,1 DA:125,1 DA:126,1 DA:127,1 DA:128,1 DA:129,2 LF:26 LH:26 BRDA:16,0,0,1 BRDA:81,0,0,1 BRDA:88,0,0,1 BRDA:97,0,0,1 BRDA:122,0,0,1 BRDA:128,0,0,1 end_of_record
and the cobertura for that file is
<class name="adaptive_root" filename="/packages/adaptivecards/lib/adaptive_backplane/adaptive_root.dart" line-rate="1" branch-rate="0"> <lines> <line number="16" hits="1" branch="false"/> <line number="32" hits="2" branch="false"/> <line number="81" hits="1" branch="false"/> <line number="84" hits="2" branch="false"/> <line number="88" hits="1" branch="false"/> <line number="97" hits="1" branch="false"/> <line number="103" hits="3" branch="false"/> <line number="104" hits="1" branch="false"/> <line number="105" hits="1" branch="false"/> <line number="106" hits="2" branch="false"/> <line number="107" hits="2" branch="false"/> <line number="108" hits="2" branch="false"/> <line number="109" hits="2" branch="false"/> <line number="110" hits="2" branch="false"/> <line number="111" hits="2" branch="false"/> <line number="112" hits="2" branch="false"/> <line number="113" hits="2" branch="false"/> <line number="114" hits="2" branch="false"/> <line number="118" hits="1" branch="false"/> <line number="119" hits="1" branch="false"/> <line number="122" hits="1" branch="false"/> <line number="125" hits="1" branch="false"/> <line number="126" hits="1" branch="false"/> <line number="127" hits="1" branch="false"/> <line number="128" hits="1" branch="false"/> <line number="129" hits="2" branch="false"/> </lines> </class>
The text was updated successfully, but these errors were encountered:
Just noticed that the lcov.info test input file in this repo doesn't have any brda entries.
Sorry, something went wrong.
Looks like branch coverage is imported when you have BRDA in the file but it is never output to the XML.
Maybe it wasn't picked up because the flutter BRDA records are trash.
No branches or pull requests
I'm always getting zero branch coverage in my cobertura files
lcov.info for a file
and the cobertura for that file is
The text was updated successfully, but these errors were encountered: