Branch Coverage

src/nsSJISProber.cpp
Criterion Covered Total %
branch 13 20 65.0


line true false branch
57 34 4 for (PRUint32 i = 0; i < aLen; i++)
60 0 34 if (codingState == eError)
65 0 34 if (codingState == eItsMe)
70 20 14 if (codingState == eStart)
73 2 18 if (i == 0)
89 4 0 if (mState == eDetecting)
90 0 4 if (mContextAnalyser.GotEnoughData() && GetConfidence() > SHORTCUT_THRESHOLD)
0 0 if (mContextAnalyser.GotEnoughData() && GetConfidence() > SHORTCUT_THRESHOLD)
0 4 if (mContextAnalyser.GotEnoughData() && GetConfidence() > SHORTCUT_THRESHOLD)
101 2 2 return (contxtCf > distribCf ? contxtCf : distribCf);