Android-Password-Store/app/lint-baseline.xml

264 lines
11 KiB
XML
Raw Normal View History

2022-04-23 08:16:57 +00:00
<?xml version="1.0" encoding="UTF-8"?>
<issues format="6" by="lint 8.2.0-alpha14" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha14)" variant="all" version="8.2.0-alpha14">
2022-04-23 08:16:57 +00:00
2023-04-26 20:07:20 +00:00
<issue
id="StopShip"
message="`TODO` call found; points to code which must be fixed prior to release"
errorLine1=" is Err -> TODO()"
errorLine2=" ~~~~~~">
<location
file="src/main/java/app/passwordstore/util/viewmodel/PGPKeyListViewModel.kt"
line="38"
2023-04-26 20:07:20 +00:00
column="19"/>
</issue>
<issue
id="InvalidPackage"
message="Invalid package reference in org.bouncycastle:bcpkix-jdk15to18; not included in Android: `javax.naming.directory`. Referenced from `org.bouncycastle.cert.dane.fetcher.JndiDANEFetcherFactory`.">
<location
file="$GRADLE_USER_HOME/caches/modules-2/files-2.1/org.bouncycastle/bcpkix-jdk15to18/1.76/3ee440dfa1c557c1cc0c46b5dadf5ef3896ccebb/bcpkix-jdk15to18-1.76.jar"/>
2023-04-26 20:07:20 +00:00
</issue>
<issue
id="InvalidPackage"
message="Invalid package reference in org.bouncycastle:bcpkix-jdk15to18; not included in Android: `javax.naming`. Referenced from `org.bouncycastle.cert.dane.fetcher.JndiDANEFetcherFactory.1`.">
<location
file="$GRADLE_USER_HOME/caches/modules-2/files-2.1/org.bouncycastle/bcpkix-jdk15to18/1.76/3ee440dfa1c557c1cc0c46b5dadf5ef3896ccebb/bcpkix-jdk15to18-1.76.jar"/>
2023-04-26 20:07:20 +00:00
</issue>
2023-06-01 13:12:35 +00:00
<issue
id="RawDispatchersUse"
message="Use SlackDispatchers."
errorLine1=" runBlocking(Dispatchers.Main) { suspendCoroutine { cont -> askForPassword(cont, isRetry) } }"
2023-06-01 13:12:35 +00:00
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="src/main/java/app/passwordstore/util/git/sshj/SshjSessionFactory.kt"
line="60"
column="19"/>
</issue>
<issue
id="DenyListedApi"
message="Use Context#getDrawableCompat() instead"
errorLine1=" ContextCompat.getDrawable(itemView.context, R.drawable.ic_content_copy)"
2023-07-22 19:21:24 +00:00
errorLine2=" ~~~~~~~~~~~">
2023-06-01 13:12:35 +00:00
<location
file="src/main/java/app/passwordstore/ui/adapters/FieldItemAdapter.kt"
line="67"
2023-07-22 19:21:24 +00:00
column="31"/>
2023-06-01 13:12:35 +00:00
</issue>
<issue
id="DenyListedApi"
message="Use Context#getDrawableCompat() instead"
errorLine1=" ContextCompat.getDrawable(itemView.context, R.drawable.ic_content_copy)"
2023-07-22 19:21:24 +00:00
errorLine2=" ~~~~~~~~~~~">
2023-06-01 13:12:35 +00:00
<location
file="src/main/java/app/passwordstore/ui/adapters/FieldItemAdapter.kt"
line="67"
2023-07-22 19:21:24 +00:00
column="31"/>
2023-06-01 13:12:35 +00:00
</issue>
<issue
id="DenyListedApi"
message="Use the structured concurrent CoroutineScope#launch and Flow#collect APIs instead of reactive Flow#onEach and Flow#launchIn. Suspend calls like Flow#collect can be refactored into standalone suspend funs and mixed in with regular control flow in a suspend context, but calls that invoke CoroutineScope#launch and Flow#collect at the same time hide the suspend context, encouraging the developer to continue working in the reactive domain."
2023-07-22 19:21:24 +00:00
errorLine1=" .launchIn(lifecycleScope)"
errorLine2=" ~~~~~~~~">
2023-06-01 13:12:35 +00:00
<location
file="src/main/java/app/passwordstore/ui/passwords/PasswordFragment.kt"
2023-07-22 19:21:24 +00:00
line="212"
column="8"/>
2023-06-01 13:12:35 +00:00
</issue>
<issue
id="DenyListedApi"
message="Use the structured concurrent CoroutineScope#launch and Flow#collect APIs instead of reactive Flow#onEach and Flow#launchIn. Suspend calls like Flow#collect can be refactored into standalone suspend funs and mixed in with regular control flow in a suspend context, but calls that invoke CoroutineScope#launch and Flow#collect at the same time hide the suspend context, encouraging the developer to continue working in the reactive domain."
2023-07-22 19:21:24 +00:00
errorLine1=" .launchIn(lifecycleScope)"
errorLine2=" ~~~~~~~~">
2023-06-01 13:12:35 +00:00
<location
file="src/main/java/app/passwordstore/ui/dialogs/PasswordGeneratorDialogFragment.kt"
2023-07-22 19:21:24 +00:00
line="68"
column="8"/>
2023-06-01 13:12:35 +00:00
</issue>
<issue
id="DenyListedApi"
message="Use the structured concurrent CoroutineScope#launch and Flow#collect APIs instead of reactive Flow#onEach and Flow#launchIn. Suspend calls like Flow#collect can be refactored into standalone suspend funs and mixed in with regular control flow in a suspend context, but calls that invoke CoroutineScope#launch and Flow#collect at the same time hide the suspend context, encouraging the developer to continue working in the reactive domain."
2023-07-22 19:21:24 +00:00
errorLine1=" .launchIn(lifecycleScope)"
errorLine2=" ~~~~~~~~">
2023-06-01 13:12:35 +00:00
<location
file="src/main/java/app/passwordstore/ui/folderselect/SelectFolderFragment.kt"
2023-07-22 19:21:24 +00:00
line="65"
column="8"/>
2023-06-01 13:12:35 +00:00
</issue>
<issue
id="MissingQuantity"
message="For locale &quot;it&quot; (Italian) the following quantity should also be defined: `many`"
errorLine1=" &lt;plurals name=&quot;delete_title&quot;>"
errorLine2=" ^">
<location
file="src/main/res/values-it/strings.xml"
line="7"
column="3"/>
</issue>
<issue
id="MissingQuantity"
message="For locale &quot;pt&quot; (Portuguese) the following quantity should also be defined: `many`"
errorLine1=" &lt;plurals name=&quot;delete_title&quot;>"
errorLine2=" ^">
<location
file="src/main/res/values-pt-rBR/strings.xml"
line="7"
column="3"/>
</issue>
<issue
id="MissingQuantity"
message="For locale &quot;it&quot; (Italian) the following quantity should also be defined: `many`"
errorLine1=" &lt;plurals name=&quot;delete_dialog_text&quot;>"
errorLine2=" ^">
<location
file="src/main/res/values-it/strings.xml"
line="21"
column="3"/>
</issue>
<issue
id="MissingQuantity"
message="For locale &quot;pt&quot; (Portuguese) the following quantity should also be defined: `many`"
errorLine1=" &lt;plurals name=&quot;delete_dialog_text&quot;>"
errorLine2=" ^">
<location
file="src/main/res/values-pt-rBR/strings.xml"
line="21"
column="3"/>
</issue>
2023-04-26 20:07:20 +00:00
<issue
id="ConvertToWebp"
message="One or more images in this project can be converted to the WebP format which typically results in smaller file sizes, even for lossless conversion">
<location
file="src/debug/res/mipmap-xxxhdpi/ic_launcher.png"/>
</issue>
<issue
id="ConvertToWebp"
message="One or more images in this project can be converted to the WebP format which typically results in smaller file sizes, even for lossless conversion">
<location
file="src/main/res/mipmap-xxxhdpi/ic_launcher.png"/>
</issue>
<issue
id="SelectableText"
message="Consider making the text value selectable by specifying `android:textIsSelectable=&quot;true&quot;`"
errorLine1=" &lt;TextView"
errorLine2=" ~~~~~~~~">
<location
file="src/main/res/layout/activity_oreo_autofill_filter.xml"
line="27"
column="4"/>
</issue>
<issue
id="SelectableText"
message="Consider making the text value selectable by specifying `android:textIsSelectable=&quot;true&quot;`"
errorLine1=" &lt;TextView"
errorLine2=" ~~~~~~~~">
<location
file="src/main/res/layout/activity_oreo_autofill_publisher_changed.xml"
line="66"
column="4"/>
</issue>
<issue
id="SelectableText"
message="Consider making the text value selectable by specifying `android:textIsSelectable=&quot;true&quot;`"
errorLine1=" &lt;TextView"
errorLine2=" ~~~~~~~~">
<location
file="src/main/res/layout/activity_oreo_autofill_publisher_changed.xml"
line="81"
column="4"/>
</issue>
<issue
id="SelectableText"
message="Consider making the text value selectable by specifying `android:textIsSelectable=&quot;true&quot;`"
errorLine1=" &lt;TextView"
errorLine2=" ~~~~~~~~">
<location
file="src/main/res/layout/oreo_autofill_dataset.xml"
line="37"
column="6"/>
</issue>
<issue
id="SelectableText"
message="Consider making the text value selectable by specifying `android:textIsSelectable=&quot;true&quot;`"
errorLine1=" &lt;TextView"
errorLine2=" ~~~~~~~~">
<location
file="src/main/res/layout/oreo_autofill_dataset.xml"
line="46"
column="6"/>
</issue>
<issue
id="SelectableText"
message="Consider making the text value selectable by specifying `android:textIsSelectable=&quot;true&quot;`"
errorLine1=" &lt;TextView"
errorLine2=" ~~~~~~~~">
<location
file="src/main/res/layout/oreo_autofill_filter_row.xml"
line="29"
column="4"/>
</issue>
<issue
id="SelectableText"
message="Consider making the text value selectable by specifying `android:textIsSelectable=&quot;true&quot;`"
errorLine1=" &lt;TextView"
errorLine2=" ~~~~~~~~">
<location
file="src/main/res/layout/oreo_autofill_filter_row.xml"
line="43"
column="4"/>
</issue>
<issue
id="UnknownNullness"
message="Should explicitly declare type here since implicit type does not specify nullness (Lazy&lt;Array&lt;(GitCommand&lt;out (Any or Any?)> or GitCommand&lt;out (Any or Any?)>?)>>)"
errorLine1=" override val commands by unsafeLazy {"
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/app/passwordstore/util/git/operation/BreakOutOfDetached.kt"
line="33"
column="16"/>
</issue>
<issue
id="UnknownNullness"
message="Should explicitly declare type here since implicit type does not specify nullness (Array&lt;(GitCommand&lt;out (Any or Any?)> or GitCommand&lt;out (Any or Any?)>?)>)"
errorLine1=" override val commands ="
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/app/passwordstore/util/git/operation/ResetToRemoteOperation.kt"
line="14"
column="16"/>
</issue>
<issue
id="UnknownNullness"
message="Should explicitly declare type here since implicit type does not specify nullness (Array&lt;(GitCommand&lt;out (Any or Any?)> or GitCommand&lt;out (Any or Any?)>?)>)"
errorLine1=" override val commands ="
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/app/passwordstore/util/git/operation/SyncOperation.kt"
line="14"
column="16"/>
</issue>
2022-04-23 08:16:57 +00:00
</issues>