I realised that imports in files are considered as duplications. I experienced it in Kotlin classes since my project is written in Kotlin but I am sure other files has same issues too.
To give example
package com.github.mustafaozhan.ccc.backend.routes import com.github.mustafaozhan.ccc.backend.util.getResourceByName import com.github.mustafaozhan.ccc.common.log.kermit import io.ktor.application.call import io.ktor.http.ContentType import io.ktor.response.respondText import io.ktor.routing.Route import io.ktor.routing.get
this part of file marked as duplication since another file in same direction has same
Imports should be excluded from duplications