Are home inspections about code compliance, no. Many homes were built before codes were established. When codes were established, many counties adopted their own version of these building codes. It would be imposiable to verify the governing code for every time peroid in every county and make a compliance type inspection. Usually it refers to safety-related items.