[CLEANUP] Introduce early returns in class LinkAnalyzer