Only way to detect you is to be reported by another player as you are performing just and ordinary game activities. Unless you farm a lot of EXP daily with such a way outperforming other players which can be seen in Daily Stats - which may cause being reported by another player that finds it difficult to get it without killing anything, or getting base defences/attack points.
I have tested all of the mentioned ways about 5 months ago, without ban.