Minor improvements to the CodeAnalyzer, potential code to avoid
updating unchanged files.