Here is an example of something you might find:
Say you traced these coins to 50 different addresses. And then, for example, say that those addresses lay dormant for 3 months. And then 45 of those addresses send bitcoins somewhere on the same day. That would imply that the coins are under the control of a single owner.
I agree it is difficult and beyond the scope of just writing a simple script.