Code coverage shows < 100% complete altho all methods covered Follow
Hi
This is with IDEA 94.539.
I have reproduced this across a set of unit tests. After running the tests, all methods are shown as covered, but
- the coverage % is less than 100% ( between 85-95%)
- if I open the class being tested, all methods are marked with green, but on the class declaration itself (public class XXX), the line is marked with pink
Patrick
Please sign in to leave a comment.
More details
Thanks
Patrick
Hello Patrick,
That means that class has only implicit constructor and it was never called.
Thank you
-
Anna Kozlova
JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"