How does Roon match tracks?

When looking at an album you can see the track list with an icon denoting if there are other instances of that track in other albums. How does Roon do this, as I can find many instances of where tracks have not matched even though the track name and artist are identical. The reason I am asking is that I have a large number of compilation albums and I want to use Roon to identify albums that consist entirely of tracks that exist elsewhere.

Following…

You can negate the Identified Inspector filter under Album Focus to see which albums Roon was not able to identify. If you Edit them, you can try to manually identify. I have about a 4% success rate with this.

In this case, this match is probably close enough. Just a track duration not matching.