Explore
126-150 of 379
JUnit 5: assertEquals suspicious order of arguments (with message)
Suspicious argument values for 'expected' and 'actual'
- warning
- java
- testing
- framework specific
- JUnit 5
- quality
JUnit 5: @Disabled Description
Add a description to indicate why the test has been disabled.
- warning
- java
- testing
- framework specific
- JUnit 5
- quality
JUnit 5: Incorrect method signature for annotation (All)
The annotations on this method require it to have a void return type, not be private, and be static.
- error
- java
- kotlin
- testing
- framework specific
- JUnit 5
- quality
JUnit 5: Incorrect method signature for annotation (Each)
The annotations on this method require it to have a void return type, not be private, and not be static.
- error
- java
- kotlin
- testing
- framework specific
- JUnit 5
- quality
JUnit 5: MethodSourceProvider should be static
Methods that return a Stream of Arguments should be as static
- error
- java
- kotlin
- testing
- framework specific
- JUnit 5
- quality
JUnit 5: @Nested annotation missing
Inner classes that contain test information should be marked with the @Nested annotation
- error
- java
- testing
- framework specific
- JUnit 5
- quality
JUnit 5: @Nested annotation unnecessary
There is no test information in this nested class.
- warning
- java
- testing
- framework specific
- JUnit 5
- quality
JUnit 5: @Nested annotation unnecessary
@Nested is only needed on nested classes
- warning
- java
- testing
- framework specific
- JUnit 5
- quality
JUnit 5: @Test annotation missing
Method with assertions is missing @Test annotation
- error
- java
- testing
- framework specific
- JUnit 5
- quality
JUnit 5: Test method cannot be private.
JUnit tests methods cannot be private. This test will not be ran as a test.
- warning
- java
- kotlin
- testing
- framework specific
- JUnit 5
- quality
JUnit: Mixed use of JUnit versions
This class is using multiple versions of JUnit. Consider standardizing to the latest JUnit version, and/or to AssertJ for assertions.
- warning
- java
- JUnit
- testing
- framework specific
- JUnit 4
- JUnit 5
- quality
Manifest Best Practices: Activity: launch mode should not be set
Launch mode should not be set for private activities
- warning
- xml
- security
- framework specific
- mobile
- Android
Manifest Best Practices: Activity: task affinity should not be set
Task affinity should not be set for private activities
- warning
- xml
- security
- framework specific
- mobile
- Android
Manifest best practices: Disable Backups
Enabling backups could lead to undesired manipulation
- error
- xml
- security
- framework specific
- mobile
- Android
Manifest best practices: disable cleartext traffic
When android:usesCleartextTraffic="true" is set the application will allow clear text traffic which could lead to data leakage
- error
- xml
- security
- framework specific
- mobile
- Android
Manifest best practices: explicit exported components
When android:exported is set to true any application will be able to call this component.
- error
- xml
- security
- framework specific
- mobile
- Android
Migrate DateTime parameter to java.time.ZonedDateTime or java.time.OffsetDateTime
Migrate DateTime parameter to java.time.ZonedDateTime or java.time.OffsetDateTime
- warning
- java
- framework specific
- java.time
- Joda-Time
- quality
Migrate DateTimeZone parameter to java.time
Migrate DateTimeZone parameter to java.time
- warning
- java
- framework specific
- java.time
- Joda-Time
- quality
Migrate DateTimeZone return type to java.time
Migrate DateTimeZone return type to java.time
- warning
- java
- kotlin
- framework specific
- java.time
- Joda-Time
- quality
Migrate new DateTime(Calendar, DateTimeZone) to java.time
Migrate new DateTime(Calendar, DateTimeZone) to java.time
- warning
- java
- framework specific
- java.time
- Joda-Time
- quality
Migrate new DateTime(Calendar) to java.time
Migrate new DateTime(Calendar) to java.time
- warning
- java
- framework specific
- java.time
- Joda-Time
- quality
Migrate new DateTime(Date, DateTimeZone) to java.time
Migrate new DateTime(Date, DateTimeZone) to java.time
- warning
- java
- framework specific
- java.time
- Joda-Time
- quality
Migrate new DateTime(DateTimeZone) to java.time
Migrate new DateTime(DateTimeZone) to java.time
- warning
- java
- framework specific
- java.time
- Joda-Time
- quality
Migrate new DateTime(Date) to java.time
Migrate new DateTime(Date) to java.time
- warning
- java
- framework specific
- java.time
- Joda-Time
- quality
Migrate new DateTime(java.time.Instant, DateTimeZone) to java.time
Migrate new DateTime(java.time.Instant, DateTimeZone) to java.time
- warning
- java
- framework specific
- java.time
- Joda-Time
- quality