Skip to content

feat(material): cache versioned static backgrounds - #65

Draft
Moriafly wants to merge 1 commit into
mainfrom
material-source-cache
Draft

Moriafly wants to merge 1 commit into
mainfrom
material-source-cache

feat(material): cache versioned static backgrounds

a86e8a4
Select commit
Loading
Failed to load commit list.
codefactor.io / CodeFactor failed Oct 24, 2026 in 4s

4 issues found.

Annotations

Check warning on line 330 in androidApp/src/androidTest/kotlin/com/moriafly/salt/sample/ui/MaterialPerformanceBenchmark.kt

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

androidApp/src/androidTest/kotlin/com/moriafly/salt/sample/ui/MaterialPerformanceBenchmark.kt#L330

Parentheses in (index / 2) are unnecessary and can be replaced with: index / 2. (detekt.UnnecessaryParentheses)

Check warning on line 372 in androidApp/src/androidTest/kotlin/com/moriafly/salt/sample/ui/MaterialPerformanceBenchmark.kt

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

androidApp/src/androidTest/kotlin/com/moriafly/salt/sample/ui/MaterialPerformanceBenchmark.kt#L372

An explicit call to the Garbage Collector as in Runtime.getRuntime() should not be made. (detekt.ExplicitGarbageCollectionCall)

Check warning on line 193 in androidApp/src/androidTest/kotlin/com/moriafly/salt/sample/ui/MaterialPerformanceBenchmark.kt

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

androidApp/src/androidTest/kotlin/com/moriafly/salt/sample/ui/MaterialPerformanceBenchmark.kt#L193

Parentheses in (it as Long) are unnecessary and can be replaced with: it as Long. (detekt.UnnecessaryParentheses)

Check warning on line 325 in androidApp/src/androidTest/kotlin/com/moriafly/salt/sample/ui/MaterialPerformanceBenchmark.kt

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

androidApp/src/androidTest/kotlin/com/moriafly/salt/sample/ui/MaterialPerformanceBenchmark.kt#L325

Parentheses in (index % 2) are unnecessary and can be replaced with: index % 2. (detekt.UnnecessaryParentheses)