sonar code coverage issue
Posted
by
user1490244
on Stack Overflow
See other posts from Stack Overflow
or by user1490244
Published on 2012-10-31T04:59:44Z
Indexed on
2012/10/31
4:59 UTC
Read the original article
Hit count: 121
sonar-runner
Hi I am running sonar for my impl class, i have written junit for all the methods of impl class but when i ran the sonar the code coverage is just 11% and all the file is in red color. stating that the code is not covered. I really dont understand inspite of writing all the test methods for all the impl methods why is it showing such a less percentage.
Any help or tips or guidelines will be greatly appreciated.
Thanks
© Stack Overflow or respective owner