spaghetti cost analysis