The FileAnalyzer specializes in analyzing characteristics of source files within a project. It extracts file-level metrics, such as package name, lines of code, and file size, and updates the analysis context with these details.
This analyzer primarily works at the file level and serves as the entry point for per-file metadata gathering. It extends the Analyzer class and overrides its behavior to tailor the analysis for file-level insights.