Analysis of wave performance through pile–rock breakwaters