Skip to content
This repository has been archived by the owner on Nov 15, 2021. It is now read-only.

add extra stats in output xml #283

Closed
sarut0bi opened this issue Mar 11, 2015 · 5 comments
Closed

add extra stats in output xml #283

sarut0bi opened this issue Mar 11, 2015 · 5 comments

Comments

@sarut0bi
Copy link

Once openCover finished playing with nunit i ve got following output in my console:
Committing...
Visited Classes 547 of 778 (70.31)
Visited Methods 4612 of 8884 (51.91)
Visited Points 25700 of 44785 (57.39)
Visited Branches 10016 of 22091 (45.34)
Should it be possible to have it in output XML in

like numSequencePoints/visited... ?

@sawilde
Copy link
Member

sawilde commented Mar 11, 2015

that's what the results.xml file is for - if you haven't specified an output file via the -output switch then that is what it will be called.

When looking at the results.xml file you will find a summary element at the top which will have the data you want.

You might find using ReportGenerator will give you the best visualization of your code.

@sarut0bi
Copy link
Author

hi again,

I use -output switch. I Only have following element in my summary element using 4.5.3522:
< Summary numSequencePoints="44785" visitedSequencePoints="25700" numBranchPoints="22091" visitedBranchPoints="10016" sequenceCoverage="57.39" branchCoverage="45.34" maxCyclomaticComplexity="76" minCyclomaticComplexity="0" / >
aka Visited Points & Visited Branches.

Is there extra argument to put on the commandline to have Visited Classes & Visited Methods in the XML?

@sawilde
Copy link
Member

sawilde commented Mar 12, 2015

not at this moment in time - you can pull that information manually via the xml if you need it

@sawilde sawilde added the feature label Apr 3, 2015
sawilde added a commit that referenced this issue Apr 4, 2015
add visited class/method to summary #283
@sawilde
Copy link
Member

sawilde commented Jul 12, 2015

@sawilde
Copy link
Member

sawilde commented Jul 20, 2015

@sawilde sawilde closed this as completed Jul 20, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants