Keep in mind that the computer has no idea if the o2 sensor is reading properly in some cases. For example if an o2 sensor was sticking rich, the computer would assume it was reading correctly and begin taking away fuel to compensate. This is referred to as a "false rich" condition. The computer would be leaning the engine and setting a possible P0172, P0175. The codes would indicate the engine was running rich but it ACTUALLY is running lean. If you use only the false rich codes to diagnose and don't observe all the fuel trim and o2 sensor data, you may make a false diagnosis.