Jim dude, you could also try the lambda sensor.
Just fitted AFR to my car and found it was duff, yet no error codes!! Suspect it's been dead since I got the car as life span of sensor is 30-50k.
Replaced with universal unit for £47, better than £150 OEM part.
Car runs lot smoother and idles better, plus fuel consumption is better.
To check you MAF run car till warm then unplug the connector on MAF whilst engine running, car should cut out, if it don?t its dirty or dead.
You can also do the same with the Lambda sensor, unplug it and see how the car runs. As ecu does not get any faulty readings.
It will either run smoother or run like a bag o'shite, if so put back on. Don?t run the car hard with the sensor off though, and keep an eye on KL.