Talentica/AndroidWithKotlin

View on GitHub

Showing 83 of 83 total issues

Identical blocks of code found in 2 locations. Consider refactoring.
Open

.IMPORTANCE_DEFAULT, true, "Personal", Color.CYAN, longArrayOf(100, 200, 300,
100, 200, 300, 100, 200, 300))
o_notifications/src/main/java/com/talentica/androidkotlin/onotifications/notifications/NotificationContract.kt on lines 40..41

Identical blocks of code found in 2 locations. Consider refactoring.
Open

group: String = "Personal", vibrationPattern: LongArray = longArrayOf
(100, 200, 300, 100, 200, 300, 100, 200, 300))
o_notifications/src/main/java/com/talentica/androidkotlin/onotifications/utils/NotificationHelper.kt on lines 57..58

Method getTestData has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring.
Open

public static String getTestData(Context context) {
 
StringBuilder returnString = new StringBuilder();
InputStream fIn = null;
InputStreamReader isr = null;
Severity
Category
Status
Source
Language