Why is StringHelper not fully covered

22 views
Skip to first unread message

Raja Nagendra Kumar

unread,
Apr 5, 2023, 9:07:53 AM4/5/23
to PIT Users

shlc.png


Why is StringHelper line coverage shows 80%, while the code view shows pink color only for the class definition

shc.png

Raja Nagendra Kumar

unread,
Apr 6, 2023, 10:50:31 PM4/6/23
to PIT Users
Any insights pl. as it is highlighting the class name.. not sure what line is still not covered as per the pitest report

Ullrich Hafner

unread,
Apr 11, 2023, 5:33:39 AM4/11/23
to pitu...@googlegroups.com
Code coverage works on the byte code. So I would assume that the generated default constructor is not covered. This constructor should be private anyway for utility classes.

Am 05.04.2023 um 15:07 schrieb Raja Nagendra Kumar <nagend...@gmail.com>:


<shlc.png>


Why is StringHelper line coverage shows 80%, while the code view shows pink color only for the class definition

<shc.png>

--
You received this message because you are subscribed to the Google Groups "PIT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pitusers+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pitusers/c73f9a50-99af-4835-b806-fd26ca092c72n%40googlegroups.com.
<shc.png><shlc.png>

Adwait Kumar Singh

unread,
Apr 11, 2023, 5:34:23 AM4/11/23
to pitu...@googlegroups.com
It probably indicates the default constructor not being covered.

--
You received this message because you are subscribed to the Google Groups "PIT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pitusers+u...@googlegroups.com.
Reply all
Reply to author
Forward
Message has been deleted
Message has been deleted
0 new messages