For all I've complained in the past I see this vehicle holding up pretty well with time.The Duratec engine (TiVct is a modified 2.0 from last gen Foci/Mazda 3's) is fairly well proven having been around for a while now and shouldn't give you any major problems- provided you change your oil regularly of course. The only thing to consider long term would be the cost to replace the clutches in the DCT after the warranty is up, since it is very much like a manual it will have to be done eventually. Ford parts tend to be fairly inexpensive so if you want to keep it going for 10+ years you should be able to without too much expense.
My only gripe is the fact that since there are so many rental Foci out there, this might become a "beater" for reckless high school/college kids in a few years.
For the record I'm in college, but I drive like a sane person and have never been pulled over. Also, I paid for half of it so I don't want to hear it from people that I'm some kind of huge jerk.