Unusual coverage statistics. Can you even cover an empty line, a javadoc?

已回答

Here's what I got after running a test with coverage and then adding the stats to an existing suite

It's the first time I see something like that. The Coverage plugin suggests that I cover:

1. A closing bracket

2. An empty line

3. A javadoc

4. A method signature

Is it some bug?

I uploaded the logs, here's the upload ID: 2024_03_24_24J7yvpmjNa5R62nvYfXFv

0

It seems the class files are somehow outdated. I noticed some exception in the log file about Maven function:

 

SEVERE - #c.i.u.c.SchedulingWrapper - java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is:
java.net.ConnectException: Connection refused: connect
java.lang.RuntimeException: java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is:
java.net.ConnectException: Connection refused: connect
at org.jetbrains.idea.maven.server.MavenServerConnectorImpl.lambda$startPullingLogger$1(MavenServerConnectorImpl.java:289)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)



Do you have any security tools installed (e.g. anti-virus, firewall, network protection etc.)?

Can this project be built outside of IDEA, eg using the Maven command line by using mvn compile?

0

请先登录再写评论。