[JIRA] (JENKINS-60388) Incorrect reporting of Kotlin not null assertion operator

2 views
Skip to first unread message

mkrussel@hotmail.com (JIRA)

unread,
Dec 6, 2019, 7:41:03 AM12/6/19
to jenkinsc...@googlegroups.com
Michael Krussel created an issue
 
Jenkins / Bug JENKINS-60388
Incorrect reporting of Kotlin not null assertion operator
Issue Type: Bug Bug
Assignee: Ognjen Bubalo
Components: jacoco-plugin
Created: 2019-12-06 12:40
Priority: Minor Minor
Reporter: Michael Krussel

Jacoco was modified to filter out changes from the not null assertion operator in 0.8.3

https://github.com/jacoco/jacoco/pull/815

 

When looking at the report generated by the jacoco gradle plugin, it shows 100% coverage even though the '!!' is never throwing an exception.

 

With the plugin, the report shows missing coverage there, but when you drive to the source code it shows the lines in green.

My guess is that this is caused by the plugin using jacoco 0.8.2.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages