Repair vs. replace
Cracks under a few inches with intact mounting tabs are usually a candidate for plastic welding and refinish. Tabs broken behind the cover, sensor mounts compromised, or impact deformation typically means a replacement is the safer call.