Branch Coverage

src/nsSBCharSetProber.cpp
Criterion Covered Total %
branch 17 26 65.3


line true false branch
45 552 48 for (PRUint32 i = 0; i < aLen; i++)
49 516 36 if (order < SYMBOL_CAT_ORDER)
51 154 398 if (order < SAMPLE_SIZE)
55 32 122 if (mLastOrder < SAMPLE_SIZE)
58 18 14 if (!mReversed)
67 48 0 if (mState == eDetecting)
68 0 48 if (mTotalSeqs > SB_ENOUGH_REL_THRESHOLD)
71 0 0 if (cf > POSITIVE_SHORTCUT_THRESHOLD)
73 0 0 else if (cf < NEGATIVE_SHORTCUT_THRESHOLD)
84 384 96 for (PRUint32 i = 0; i < NUMBER_OF_SEQ_CAT; i++)
103 6 42 if (mTotalSeqs > 0) {
106 0 6 if (r >= (float)1.00)
116 0 0 if (!mNameProber)