Statement Coverage - Georgia Tech - Software Development Process

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

For the print sum example, isn't the answer 84%, as the statement printcol("red", result); is not executed and jumps to elseif statement

rushi
Автор

In second case executed statements are 6 not 7. so 6/7*100=85%.

choudaryshazaib
Автор

The video sound is pretty good, beyond my imagination

dinhgiangdinhgiang
Автор

could someone explain why he chk again false condition because in statment coverage we dont need to chk false condition

atikaakmal
Автор

3:03 how have we covered all the statements in the -ve values for a and b, we only covered 6/7 statements becuase we wont cover the data inside of If statement since its < 0.

beingakid
Автор

I am curios to know what people think to achieving 100% code coverage? You think it is not possible in the given time or is that because you do not have good test infrastructure to inject fault and cover error branches?

haroonmansi
Автор

This should be the video in the Udacity Course explaining test coverage

michaelnajera
Автор

nice video but that cliff hanger is crazy

haadi
Автор

Thanks! It is very helpful! Can you please clear that how to find out the total number of statements suppose we have while loop Ex..( a = 10; while (int i=0;i=5;i++) {print a}, do we also count the iterations in the loop as well?? Please any one Thanks!

javalearner
Автор

printSum(int a, int b){
---
---
}

printSum(int a, int b)
{
---
---
}

Are we considering same statement count in these two scenarios or do we have to reformat it before doing this process?

anamixnetwork
Автор

in the statement coverage, why line 4 is executed?

zefengwang
Автор

What if your value is 0? Thats not covered in the code? So surely its not 100% covered

shawncartwright
Автор

But why do we say Statement coverage covers only the Ture conditions, It cannot test the false conditions?

medhanieweldemariam