Code: Analysis and formatting