Skip to content

Push on release/4.2.x #725

Push on release/4.2.x

Push on release/4.2.x #725

GitHub Actions / Qodana Community for JVM completed May 8, 2024 in 0s

21 new problems found by Qodana Community for JVM

Qodana Community for JVM

21 new problems were found

Inspection name Severity Problems
AutoCloseable used without 'try'-with-resources 🔶 Warning 11
Negative int hexadecimal constant in long context 🔶 Warning 4
Nullability and data flow problems 🔶 Warning 3
Number of placeholders does not match number of arguments in logging call 🔶 Warning 3

💡 Qodana analysis was run in the pull request mode: only the changed files were checked

View the detailed Qodana report

To be able to view the detailed Qodana report, you can either:

To get *.log files or any other Qodana artifacts, run the action with upload-result option set to true,
so that the action will upload the files as the job artifacts:

      - name: 'Qodana Scan'
        uses: JetBrains/qodana-action@v2024.1.4
        with:
          upload-result: true
Contact Qodana team

Contact us at qodana-support@jetbrains.com

Details

This result was published with Qodana GitHub Action

Annotations

Check warning on line 52 in metrics-httpasyncclient/src/main/java/com/codahale/metrics/httpasyncclient/InstrumentedNHttpClientBuilder.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

AutoCloseable used without 'try'-with-resources

'CloseableHttpAsyncClient' used without 'try'-with-resources statement

Check warning on line 204 in metrics-ehcache/src/main/java/com/codahale/metrics/ehcache/InstrumentedEhcache.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

AutoCloseable used without 'try'-with-resources

'Context' used without 'try'-with-resources statement

Check warning on line 194 in metrics-ehcache/src/main/java/com/codahale/metrics/ehcache/InstrumentedEhcache.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

AutoCloseable used without 'try'-with-resources

'Context' used without 'try'-with-resources statement

Check warning on line 44 in metrics-httpclient/src/main/java/com/codahale/metrics/httpclient/InstrumentedHttpRequestExecutor.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

AutoCloseable used without 'try'-with-resources

'Context' used without 'try'-with-resources statement

Check warning on line 214 in metrics-ehcache/src/main/java/com/codahale/metrics/ehcache/InstrumentedEhcache.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

AutoCloseable used without 'try'-with-resources

'Context' used without 'try'-with-resources statement

Check warning on line 287 in metrics-core/src/main/java/com/codahale/metrics/InstrumentedScheduledExecutorService.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

AutoCloseable used without 'try'-with-resources

'Context' used without 'try'-with-resources statement

Check warning on line 239 in metrics-core/src/main/java/com/codahale/metrics/InstrumentedScheduledExecutorService.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

AutoCloseable used without 'try'-with-resources

'Context' used without 'try'-with-resources statement

Check warning on line 224 in metrics-ehcache/src/main/java/com/codahale/metrics/ehcache/InstrumentedEhcache.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

AutoCloseable used without 'try'-with-resources

'Context' used without 'try'-with-resources statement

Check warning on line 184 in metrics-ehcache/src/main/java/com/codahale/metrics/ehcache/InstrumentedEhcache.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

AutoCloseable used without 'try'-with-resources

'Context' used without 'try'-with-resources statement

Check warning on line 60 in metrics-httpclient5/src/main/java/com/codahale/metrics/httpclient5/InstrumentedHttpRequestExecutor.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

AutoCloseable used without 'try'-with-resources

'Context' used without 'try'-with-resources statement

Check warning on line 262 in metrics-core/src/main/java/com/codahale/metrics/InstrumentedScheduledExecutorService.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

AutoCloseable used without 'try'-with-resources

'Context' used without 'try'-with-resources statement

Check warning on line 34 in metrics-servlets/src/main/java/com/codahale/metrics/servlets/CpuProfileServlet.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Nullability and data flow problems

Variable is already assigned to this value

Check warning on line 34 in metrics-jakarta-servlets/src/main/java/io/dropwizard/metrics/servlets/CpuProfileServlet.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Nullability and data flow problems

Variable is already assigned to this value

Check warning on line 27 in metrics-jcache/src/test/java/JCacheGaugeSetTest.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Nullability and data flow problems

Method invocation `toURI` may produce `NullPointerException`

Check warning on line 415 in metrics-graphite/src/main/java/com/codahale/metrics/graphite/GraphiteReporter.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Number of placeholders does not match number of arguments in logging call

More arguments provided (1) than placeholders specified (0)

Check warning on line 397 in metrics-graphite/src/main/java/com/codahale/metrics/graphite/GraphiteReporter.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Number of placeholders does not match number of arguments in logging call

More arguments provided (1) than placeholders specified (0)

Check warning on line 402 in metrics-graphite/src/main/java/com/codahale/metrics/graphite/GraphiteReporter.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Number of placeholders does not match number of arguments in logging call

More arguments provided (1) than placeholders specified (0)

Check warning on line 31 in metrics-benchmarks/src/main/java/com/codahale/metrics/benchmarks/SlidingTimeWindowReservoirsBenchmark.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Negative int hexadecimal constant in long context

Negative int hexadecimal constant in long context

Check warning on line 34 in metrics-benchmarks/src/main/java/com/codahale/metrics/benchmarks/ReservoirBenchmark.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Negative int hexadecimal constant in long context

Negative int hexadecimal constant in long context

Check warning on line 18 in metrics-benchmarks/src/main/java/com/codahale/metrics/benchmarks/MeterBenchmark.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Negative int hexadecimal constant in long context

Negative int hexadecimal constant in long context

Check warning on line 18 in metrics-benchmarks/src/main/java/com/codahale/metrics/benchmarks/CounterBenchmark.java

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Negative int hexadecimal constant in long context

Negative int hexadecimal constant in long context