4.x: Cleanup + lambda instead of inner class check#8179
Conversation
🐷 TruffleHog + Entropy Beauty ScanAverage entropy of changed code: 4.427 bits/char Changed files entropy: ✅ No secrets or suspicious high-entropy strings found. Mid-4 beauty heuristic in action — powered by our entropy chats! 😊 |
🐷 TruffleHog + Entropy Beauty ScanAverage entropy of changed code: 4.427 bits/char Changed files entropy: ✅ No secrets or suspicious high-entropy strings found. Mid-4 beauty heuristic in action — powered by our entropy chats! 😊 |
🐷 TruffleHog + Entropy Beauty ScanAverage entropy of changed code: 4.427 bits/char Changed files entropy: ✅ No secrets or suspicious high-entropy strings found. Mid-4 beauty heuristic in action — powered by our entropy chats! 😊 |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## 4.x #8179 +/- ##
=========================================
Coverage 98.33% 98.33%
- Complexity 6937 6939 +2
=========================================
Files 785 785
Lines 49015 49015
Branches 6603 6603
=========================================
+ Hits 48200 48201 +1
+ Misses 625 620 -5
- Partials 190 194 +4 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Runs the following regex against all java files to detect anonymous inner class creation:
new\s+\w+(?:\s*<(?:[\s\w<>(\[\])?,.?]|\s*<[\s\w<>(\[\])?,.?]*>)*>)?\s*\([^)]*\)\s*\{It will have all the file and line numbers in the crash exception.
If an anonymous inner class has state, use the
/* NFI */comment between the)and{: