Crash rating are "per class". So a 5-star for a mini car is VERY different from a 5-star SUV.
There was once they frontally test crashed the safest mini car against the safest SUV and the mini car kind of evaporated while the SUV had a broken bumper/headlight but still could drive.