Click here to Skip to main content
15,397,084 members

Survey Results

Do you measure code coverage?

Survey period: 27 Mar 2017 to 3 Apr 2017

Code Coverage: the degree to which the source code of a program is executed when a particular test suite runs.

OptionVotes% 
Yes - to ensure our unit tests cover all execution paths15116.00
Yes - to know how much of our code is actually run in production242.54
Yes - for both tests and in production434.56
Yes - for other reasons262.75
No - but we are planning to727.63
No - it's a pointless metric848.90
No - we don't have the tools or expertise14415.25
No - we don't have time11812.50
No28229.87



 
GeneralRe: No Pin
Rob Philpott28-Mar-17 2:31
MemberRob Philpott28-Mar-17 2:31 
PraiseRe: No Pin
den2k8828-Mar-17 4:44
professionalden2k8828-Mar-17 4:44 
GeneralRe: No Pin
Agent__00729-Mar-17 1:52
professionalAgent__00729-Mar-17 1:52 
GeneralYes i do, first option but! Pin
HobbyProggy26-Mar-17 19:26
professionalHobbyProggy26-Mar-17 19:26 
It is a big effort to get a good rate (80%+) and have it with usefull tests.
I for my self am still stuck on the 10% because i don't have the time to do further unit tests. But it still is a measurment for me since i can surely say those 10% are working if the tests don't fail.

I guess it's an issue most people have. I either don't have enough time to write proper tests or you don't have the knowledge to do good tests. I still need to get into a mocking framework to be able to test my methods where db querry are executed Smile | :)
Rules for the FOSW ![^]
if(this.signature != "")
{
    MessageBox.Show("This is my signature: " + Environment.NewLine + signature);
}
else
{
    MessageBox.Show("404-Signature not found");
}

GeneralNo Pin
Nelek26-Mar-17 18:58
protectorNelek26-Mar-17 18:58 
GeneralI selected the first option but, Pin
dan!sh 26-Mar-17 18:08
professional dan!sh 26-Mar-17 18:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.