diff options
Diffstat (limited to 'detekt-baselines/app.xml')
-rw-r--r-- | detekt-baselines/app.xml | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/detekt-baselines/app.xml b/detekt-baselines/app.xml index 0f5ba452..be37b720 100644 --- a/detekt-baselines/app.xml +++ b/detekt-baselines/app.xml @@ -35,7 +35,6 @@ <ID>LongMethod:RepositorySettings.kt$RepositorySettings$override fun provideSettings(builder: PreferenceScreen.Builder)</ID> <ID>LoopWithTooManyJumpStatements:AutofillMatcher.kt$AutofillMatcher.Companion$for ((key, value) in prefs.all) { if (!key.startsWith(PREFERENCE_PREFIX_MATCHES)) continue // We know that preferences starting with `PREFERENCE_PREFIX_MATCHES` were // created with `putStringSet`. @Suppress("UNCHECKED_CAST") val oldMatches = value as? Set<String> if (oldMatches == null) { logcat(WARN) { "Failed to read matches for $key" } continue } // Delete all matches for file locations that are going to be overwritten, then // transfer matches over to the files at their new locations. val newMatches = oldMatches .asSequence() .minus(deletePathList) .minus(oldNewPathMap.values) .map { match -> val newPath = oldNewPathMap[match] ?: return@map match logcat { "Updating match for $key: $match --> $newPath" } newPath } .toSet() if (newMatches != oldMatches) prefs.edit { putStringSet(key, newMatches) } }</ID> <ID>LoopWithTooManyJumpStatements:ErrorMessages.kt$ErrorMessages$while (cause.cause != null) { if (cause is GitException) break val nextCause = cause.cause!! if (nextCause is RemoteException) break cause = nextCause }</ID> - <ID>MagicNumber:AndroidExtensions.kt$26</ID> <ID>MagicNumber:Api30AutofillResponseBuilder.kt$Api30AutofillResponseBuilder$30</ID> <ID>MagicNumber:AutofillDecryptActivity.kt$AutofillDecryptActivity$26</ID> <ID>MagicNumber:AutofillDecryptActivity.kt$AutofillDecryptActivity.Companion$31</ID> @@ -71,15 +70,12 @@ <ID>MagicNumber:GitLogAdapter.kt$8</ID> <ID>MagicNumber:GitServerConfigActivity.kt$GitServerConfigActivity$500</ID> <ID>MagicNumber:LaunchActivity.kt$LaunchActivity$500L</ID> - <ID>MagicNumber:MiscSettings.kt$MiscSettings$26</ID> <ID>MagicNumber:OreoAutofillService.kt$OreoAutofillService$26</ID> <ID>MagicNumber:OreoAutofillService.kt$OreoAutofillService$28</ID> <ID>MagicNumber:OreoAutofillService.kt$OreoAutofillService$30</ID> <ID>MagicNumber:PasswordCreationActivity.kt$PasswordCreationActivity$28</ID> <ID>MagicNumber:PasswordExportService.kt$PasswordExportService$1024</ID> <ID>MagicNumber:PasswordExportService.kt$PasswordExportService$26</ID> - <ID>MagicNumber:PasswordFragment.kt$PasswordFragment.<no name provided>$100</ID> - <ID>MagicNumber:PasswordFragment.kt$PasswordFragment.<no name provided>$90f</ID> <ID>MagicNumber:PasswordGeneratorDialogFragment.kt$PasswordGeneratorDialogFragment$20</ID> <ID>MagicNumber:PasswordItemRecyclerAdapter.kt$PasswordItemRecyclerAdapter.PasswordItemViewHolder$0.7f</ID> <ID>MagicNumber:ProxySelectorActivity.kt$ProxySelectorActivity$29</ID> @@ -89,7 +85,6 @@ <ID>MagicNumber:ShortcutHandler.kt$ShortcutHandler$26</ID> <ID>MagicNumber:SshKey.kt$SshKey$100_000</ID> <ID>MagicNumber:SshKey.kt$SshKey$15</ID> - <ID>MagicNumber:SshKey.kt$SshKey$28</ID> <ID>MagicNumber:SshKey.kt$SshKey$30</ID> <ID>MagicNumber:SshKey.kt$SshKey.Algorithm.Ecdsa$256</ID> <ID>MagicNumber:SshKey.kt$SshKey.Algorithm.Ecdsa$28</ID> @@ -132,6 +127,13 @@ <ID>TooManyFunctions:SearchableRepositoryViewModel.kt$SearchableRepositoryViewModel : AndroidViewModel</ID> <ID>TooManyFunctions:SshjConfig.kt$AbstractLogger : Logger</ID> <ID>TooManyFunctions:SshjConfig.kt$LogcatLoggerFactory$LogcatLogger : AbstractLogger</ID> + <ID>TopLevelPropertyNaming:AutofillMatcher.kt$private const val PREFERENCES_AUTOFILL_APP_MATCHES = "oreo_autofill_app_matches"</ID> + <ID>TopLevelPropertyNaming:AutofillMatcher.kt$private const val PREFERENCES_AUTOFILL_WEB_MATCHES = "oreo_autofill_web_matches"</ID> + <ID>TopLevelPropertyNaming:Extensions.kt$/** The default OpenPGP provider for the app */ const val OPENPGP_PROVIDER = "org.sufficientlysecure.keychain"</ID> + <ID>TopLevelPropertyNaming:PasswordStore.kt$const val PASSWORD_FRAGMENT_TAG = "PasswordsList"</ID> + <ID>TopLevelPropertyNaming:SshKey.kt$private const val ANDROIDX_SECURITY_KEYSET_PREF_NAME = "androidx_sshkey_keyset_prefs"</ID> + <ID>TopLevelPropertyNaming:SshKey.kt$private const val KEYSTORE_ALIAS = "sshkey"</ID> + <ID>TopLevelPropertyNaming:SshKey.kt$private const val PROVIDER_ANDROID_KEY_STORE = "AndroidKeyStore"</ID> <ID>UnusedPrivateMember:PasswordStore.kt$PasswordStore$private val directorySelectAction = registerForActivityResult(StartActivityForResult()) { result -> if (result.resultCode == RESULT_OK) { checkLocalRepository() } }</ID> <ID>UnusedPrivateMember:PasswordStore.kt$PasswordStore$private val storagePermissionRequest = registerForActivityResult(RequestPermission()) { granted -> if (granted) checkLocalRepository() }</ID> <ID>UseCheckOrError:CredentialFinder.kt$CredentialFinder$throw IllegalStateException("Only SshKey and Password connection mode ask for passwords")</ID> |