Cracking and delamination of coatings