Code Coverage, and what to expect

I am currently working with a developer partner who is building an api, that acts as a connector between our system and a third party system, for us using dot net core.

Its been a while since I was in the .net world professionally, I have been working as a Ruby dev for the past 7 years and testing is something that I have always worked a lot with, TDD / BDD etc.

I have been asked to review the code and the tests of the project. So I am looking at it and I see that for the size of the app there aren't a whole load of tests (but there is an external project that has some behaviour type tests)

I have run some code coverage tooling on the app, and the results I am seeing are:

line coverage about 18% 1063 / 5701

branch coverage about 13%. 70 / 523

Which to me seem low (esp coming from a very test driven world)

So I thought I would reach out to here, to see what sort of coverage one might expect, I know this isn't going to be simple without knowing too much about the app itself and its functionality. I just thought someone might have some insight ( i.e you probs want to see at least 50% coverage??)

Please feel free to close / remove if this isn't the right place to ask this sort of question.

Thanks


1 Reply

AR Aravind Ravi Syncfusion Team November 30, 2020 12:27 PM UTC

Hi William, 
 
Thanks for contacting Syncfusion Support. 
 
Could you please share us in which tool you have checked the coverage, video demonstration of the requirements or any sample to check the coverage of QR code generator. This would help us to proceed further. 
 
Regards 
Aravind Ravi 


Loader.
Up arrow icon