I’m in NH, the live free or die state is horrible with state inspections. They do OBD2 checks for all vehicles going back 20 years - Even Massachusetts isn’t that bad (15 years). They pull wheels and check brakes...suspension, and you will fail for rust. Whatever amount of rust, I don’t know. My son‘s car passed last year, and failed this year...had to get the rocker either replaced or covered. I covered it. It also failed for a bushing in the rear, and in this particular car THIS bushing fails five minutes after you drive it off the lot. Couldn’t believe they snagged me on that one. The power steering pump was weeping a little fluid...the guy said he could fail me for that too because it would be a component failure. That one surprised me. This particular car (older Jeep Liberty) has power steering pump seepage. Pretty common. So, I replaced the power steering pump too.
Unless your car is less than five years old in NH, you definitely can fail inspection pretty easily here. I dread it.