There are two options to analyze audio file quality:
For intrusive analysis one can use ViSQOL, POLQA, Sevana AQuA.
For non-intrusive analysis one can use P.563 (voice files only)