A comprehensive cost-benefit analysis in risk analysis includes both visible costs and hidden costs such as downtime and legal fees.