Skip to content

optimize the frequency sketch

Sign in for the full log view
GitHub Actions / Qodana Community for JVM completed Nov 16, 2024 in 0s

3 new problems found by Qodana Community for JVM

Qodana Community for JVM

3 new problems were found

Inspection name Severity Problems
Pointless arithmetic expression 🔶 Warning 1
Pointless bitwise expression 🔶 Warning 1
Redundant local variable 🔶 Warning 1

💡 Qodana analysis was run in the pull request mode: only the changed files were checked
☁️ View the detailed Qodana report

Contact Qodana team

Contact us at [email protected]

Details

This result was published with Qodana GitHub Action

Annotations

Check warning on line 163 in caffeine/src/main/java/com/github/benmanes/caffeine/cache/FrequencySketch.java

See this annotation in the file changed.

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

Pointless arithmetic expression

`block + offset0 + (0 << 1)` can be replaced with 'block + offset0'

Check warning on line 163 in caffeine/src/main/java/com/github/benmanes/caffeine/cache/FrequencySketch.java

See this annotation in the file changed.

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

Pointless bitwise expression

`0 << 1` can be replaced with '0'

Check warning on line 160 in caffeine/src/main/java/com/github/benmanes/caffeine/cache/FrequencySketch.java

See this annotation in the file changed.

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

Redundant local variable

Local variable `h0` is redundant