Well saidThe home inspector is usually a generalist because of the low price paid to them for safety, cost and obviousl things that do not look right. They usually avoid code problems because they do not know when the work was done and what code was in effect at that time. They usually only raise "red flags" for certain special items that "do not look right" and may need a specialist (plumbing, electrical, heating, structural or roofs) that may need a second look.
Many home inspectors may also have some specialities and they usually look closer at the items they are familiar with and usually have the usual tools (or toys as we may call them) to look further.
Very often, people look too closely at the numbers after a decimal point, which are really only decoration and there may be other factors.