Kotlin

Kotlin

Made by DeepSource

Ensure all APIs are implemented KT-W1001

Anti-pattern
Major

Avoid throwing NotImplementedError and using TODO(...) in code.

This rule reports all exceptions of the type NotImplementedError that are thrown. It also reports all TODO(..) functions. These indicate that functionality is still under development and will not work properly. Both of these should only serve as temporary declarations and should not be put into production environments.

Bad Practice

fun foo() {
    throw NotImplementedError()
}

fun todo() {
    TODO("")
}

Recommended

Either remove unimplemented APIs or implement them properly.