Skip to content

make "nameByType" public

Codacy Production / Codacy Static Code Analysis required action Jan 4, 2024 in 0s

1 new issue (0 max.) of at least medium severity.

Codacy Here is an overview of what got changed by this pull request:

Issues
======
- Added 3
           

Complexity increasing per file
==============================
- savedstate/src/commonMain/kotlin/pro/respawn/flowmvi/savedstate/dsl/Saver.kt  1
- savedstate/src/commonMain/kotlin/pro/respawn/flowmvi/savedstate/dsl/CallbackSaver.kt  1
- core/src/commonMain/kotlin/pro/respawn/flowmvi/dsl/IntentDsl.kt  10
- savedstate/src/commonMain/kotlin/pro/respawn/flowmvi/savedstate/dsl/NoOpSaver.kt  4
- savedstate/src/commonMain/kotlin/pro/respawn/flowmvi/savedstate/api/Saver.kt  3
- savedstate/src/nativeMain/kotlin/pro/respawn/flowmvi/savedstate/dsl/Compress.native.kt  2
- savedstate/src/commonMain/kotlin/pro/respawn/flowmvi/savedstate/dsl/JsonSaver.kt  4
- savedstate/src/androidMain/kotlin/pro/respawn/flowmvi/savedstate/plugins/ParcelizeStatePlugin.kt  4
- savedstate/src/androidMain/kotlin/pro/respawn/flowmvi/savedstate/dsl/Compress.android.kt  4
- savedstate/src/commonMain/kotlin/pro/respawn/flowmvi/savedstate/dsl/TypedSaver.kt  4
- savedstate/src/commonMain/kotlin/pro/respawn/flowmvi/savedstate/plugins/SerializeStatePlugin.kt  5
- savedstate/src/jvmMain/kotlin/pro/respawn/flowmvi/savedstate/dsl/Compress.jvm.kt  4
- savedstate/src/commonMain/kotlin/pro/respawn/flowmvi/savedstate/plugins/SavedStatePlugin.kt  16
- savedstate/src/commonMain/kotlin/pro/respawn/flowmvi/savedstate/dsl/Compress.kt  6
- savedstate/src/jsMain/kotlin/pro/respawn/flowmvi/savedstate/dsl/Compress.js.kt  2
- savedstate/src/commonMain/kotlin/pro/respawn/flowmvi/savedstate/dsl/FileSaver.kt  3
- savedstate/src/androidMain/kotlin/pro/respawn/flowmvi/savedstate/dsl/SavedStateSaver.kt  3
- app/src/main/kotlin/pro/respawn/flowmvi/sample/compose/CounterContainer.kt  3
         

Complexity decreasing per file
==============================
+ test/src/commonMain/kotlin/pro/respawn/flowmvi/test/TestDsl.kt  -1
+ core/src/commonMain/kotlin/pro/respawn/flowmvi/api/IntentReceiver.kt  -1
+ core/src/commonMain/kotlin/pro/respawn/flowmvi/api/ActionReceiver.kt  -1
         

Clones added
============
- core/src/commonMain/kotlin/pro/respawn/flowmvi/dsl/IntentDsl.kt  1
- savedstate/src/nativeMain/kotlin/pro/respawn/flowmvi/savedstate/dsl/Compress.native.kt  1
- savedstate/src/androidMain/kotlin/pro/respawn/flowmvi/savedstate/plugins/ParcelizeStatePlugin.kt  1
- savedstate/src/androidMain/kotlin/pro/respawn/flowmvi/savedstate/dsl/Compress.android.kt  2
- savedstate/src/commonMain/kotlin/pro/respawn/flowmvi/savedstate/plugins/SerializeStatePlugin.kt  18
- savedstate/src/jvmMain/kotlin/pro/respawn/flowmvi/savedstate/dsl/Compress.jvm.kt  2
- savedstate/src/commonMain/kotlin/pro/respawn/flowmvi/savedstate/plugins/SavedStatePlugin.kt  2
- savedstate/src/jsMain/kotlin/pro/respawn/flowmvi/savedstate/dsl/Compress.js.kt  1
- savedstate/src/commonMain/kotlin/pro/respawn/flowmvi/savedstate/dsl/FileSaver.kt  2
         

See the complete overview on Codacy

Annotations

Check warning on line 1 in savedstate/build.gradle.kts

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

savedstate/build.gradle.kts#L1

The file does not contain a package declaration.

Check notice on line 16 in savedstate/src/commonMain/kotlin/pro/respawn/flowmvi/savedstate/dsl/JsonSaver.kt

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

savedstate/src/commonMain/kotlin/pro/respawn/flowmvi/savedstate/dsl/JsonSaver.kt#L16

This comment contains 'TODO:' that has been defined as forbidden in detekt.

Check notice on line 11 in savedstate/src/jvmMain/kotlin/pro/respawn/flowmvi/savedstate/dsl/Compress.jvm.kt

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

savedstate/src/jvmMain/kotlin/pro/respawn/flowmvi/savedstate/dsl/Compress.jvm.kt#L11

This comment contains 'TODO:' that has been defined as forbidden in detekt.