1) Code coverage is only for
Junit or is it like pmd tool which checks for coding errors?
I have three
java files
Main Java FIles:
Add.java
sub.java
Multiply.java
Junit :
And I have two junit
test java files
AddTest.java
subTest.java
SHould I run cobertura(tool) on the Junit files or on the Main files ?
What would be the main purpose of Code Coverage?
How does the Code coverage act on the above case and what would be the expected output ?