The Mean Opinion Score (MOS) test is a well acccepted standard which is defined in the ITU-T Rec.P.800. The value of MOS test is generated by letting large number of listeners to evaluate the quality of the test sentences. The test scores are averaged to a mean score which range from 1 to 5, 1 being the worst and 5 being the best.
The E-model which is defined by ITU-T Rec.G.107 is a computational model converting all parameters that affect a voice call into a single rating value R.
A VB source code was provided in G.107 for calculating R value. But considering not everybody knows VB, I would like to share some java code I used before.