Kotlin from the perspective of a static analyzer developer

Vitaly Olegovich Afanasyev, Sergey Andreevich Polyakov, Alexey Evgenevich Borodin, Andrey Andreevich Belevantsev · Proceedings of the Institute for System Programming of RAS · 2021

The paper describes a static analysis for finding defects and computing metrics for programs written in the Kotlin language. The analysis is implemented in the Svace static analyzer developed at ISP RAS. The paper focuses on the problems we met during implementation, the approaches we used to solve them, and the experimental results for the tool we have built. The analyzer supports not only Kotlin analysis, but is also capable of analyzing mixed projects that use both Java and Kotlin languages. We hope that the paper might be useful to static analysis developers and language designers.

Read the paper · More papers on PaperTik