After a match in Pokkén Tournament is concluded, the player is given star rankings in four categories - Offense, Defense, Technique, and Bonus - followed by an overall rating based on those four. Getting five-star matches is required to unlock certain titles.
These stars seem fairly inconsistent, though. I've had Perfect wins (no damage taken) that only gave 2.5 stars for Offense and Defense, for instance, and I can't even tell what Technique is based off of. Landing a KO with a Synergy Burst attack seems to help Bonus but doesn't necessarily influence the others.
What are these ratings based on, and how can I reliably approach getting 5-Star matches?