As long as you do not see a liquid fuel from regulator sensing hose, it is acceptable.
You need to check voltage feedback as desribed in oxygen sensor testing [changing the O2 sensor will not necessary fix the issue)
you also need to check the fuel trim at idle (done similar to O2 checking except the test (T) terminal is not jumped to the ground E1 (0 volts indicates rich condition)
Assuming your spark plugs were
all dark brown (but not sooty-black) to rule out leaking injector and your car is running in open loop (as indicated by O2 sensor check steady needle + rich fuel trim),
drill the round aluminum plug on the AFM and using the screwdriver, open the air-bypass channel on afm(this is how it done professionally)
however, doing so may cause "tamper" failure
Normally, if engine runs in open loop and spark plugs are not black, inspection of the coolant thermosensor, thermostat, and engine fan controls (to assure that fans are not running all the times) is necessary

My car passes with plugged up charcoal canister (but it runs more on lean side-5v-3.5v fuel trim)