There are stats that track the number of "high danger" chances for and against. Honestly I think shot differential is fine to use.
The perfect formula for "who outplayed who" would likely include some combination of shot differential, possession stats and high danger scoring chances.
All I know is that the Ducks allowed the 7th most shots and 4th fewest goals last year, because Gibson is the best goalie alive