5.3.2. Kotlin Specific Issues

We added support for the JVM version of Kotlin to Sonargraph. There are, however, some issues with the Kotlin support that cannot be solved easily due to the way Sonargraph analyzes the code. The biggest issue comes from inline functions and methods. Since Sonargraph is relying mostly on byte code to analyze dependencies you will not see the dependencies at the location where the code is inlined. In most cases this is not really a serious problem, but you should be aware of this problem. The easiest way to avoid the problem is limit using inline functions in your code. Most of the time the potential performance gain can be neglected anyway.