| Function | Condition % | eLOC - Effective Lines of Codeā¾ | McCabe - Cyclomatic Complexity |
getEscape| Name: | QRegExpEngine::getEscape | | Prototype: | int QRegExpEngine::getEscape() | | Coverage: | 32.773% (78/238) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qregexp.cpp | | Lines: | 2896-3293 |
| | 287 | 93 |
Box| Name: | QRegExpEngine::Box | | Coverage: | 84.733% (111/131) |
| | 149 | 49 |
getToken| Name: | QRegExpEngine::getToken | | Prototype: | int QRegExpEngine::getToken() | | Coverage: | 86.275% (88/102) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qregexp.cpp | | Lines: | 3344-3503 |
| | 98 | 39 |
parse| Name: | QRegExpEngine::parse | | Prototype: | int QRegExpEngine::parse(const QChar *pattern, int len) | | Coverage: | 95.652% (44/46) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qregexp.cpp | | Lines: | 3505-3608 |
| | 55 | 15 |
parseFactor| Name: | QRegExpEngine::parseFactor | | Prototype: | void QRegExpEngine::parseFactor(Box *box) | | Coverage: | 100.000% (31/31) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qregexp.cpp | | Lines: | 3680-3763 |
| | 48 | 9 |
badCharMatch| Name: | QRegExpEngine::badCharMatch | | Prototype: | bool QRegExpEngine::badCharMatch(QRegExpMatchState &matchState) const | | Coverage: | 91.667% (44/48) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qregexp.cpp | | Lines: | 1896-1959 |
| | 41 | 17 |
parseAtom| Name: | QRegExpEngine::parseAtom | | Prototype: | void QRegExpEngine::parseAtom(Box *box) | | Coverage: | 78.378% (29/37) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qregexp.cpp | | Lines: | 3610-3678 |
| | 39 | 17 |
dump| Name: | QRegExpEngine::dump | | Prototype: | void QRegExpEngine::dump() const | | Coverage: | 0.000% (0/40) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qregexp.cpp | | Lines: | 1653-1707 |
| | 34 | 13 |
heuristicallyChooseHeuristic| Name: | QRegExpEngine::heuristicallyChooseHeuristic | | Prototype: | void QRegExpEngine::heuristicallyChooseHeuristic() | | Coverage: | 100.000% (13/13) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qregexp.cpp | | Lines: | 1620-1649 |
| | 14 | 5 |
setup| Name: | QRegExpEngine::setup | | Prototype: | void QRegExpEngine::setup() | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qregexp.cpp | | Lines: | 1710-1733 |
| | 13 | 1 |
goodStringMatch| Name: | QRegExpEngine::goodStringMatch | | Prototype: | bool QRegExpEngine::goodStringMatch(QRegExpMatchState &matchState) const | | Coverage: | 100.000% (13/13) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qregexp.cpp | | Lines: | 1876-1894 |
| | 13 | 5 |
getRep| Name: | QRegExpEngine::getRep | | Prototype: | int QRegExpEngine::getRep(int def) | | Coverage: | 85.714% (12/14) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qregexp.cpp | | Lines: | 3296-3312 |
| | 10 | 4 |
startTokenizer| Name: | QRegExpEngine::startTokenizer | | Prototype: | void QRegExpEngine::startTokenizer(const QChar *rx, int len) | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qregexp.cpp | | Lines: | 3331-3342 |
| | 9 | 1 |
addPlusTransitions| Name: | QRegExpEngine::addPlusTransitions | | Prototype: | void QRegExpEngine::addPlusTransitions(const QVector<int> &from, const QVector<int> &to, int atom) | | Coverage: | 100.000% (15/15) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qregexp.cpp | | Lines: | 1539-1554 |
| | 9 | 5 |
anchorAlternation| Name: | QRegExpEngine::anchorAlternation | | Prototype: | int QRegExpEngine::anchorAlternation(int a, int b) | | Coverage: | 100.000% (15/15) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qregexp.cpp | | Lines: | 1561-1575 |
| | 8 | 3 |
parseExpression| Name: | QRegExpEngine::parseExpression | | Prototype: | void QRegExpEngine::parseExpression(Box *box) | | Coverage: | 100.000% (4/4) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qregexp.cpp | | Lines: | 3778-3790 |
| | 7 | 2 |
anchorConcatenation| Name: | QRegExpEngine::anchorConcatenation | | Prototype: | int QRegExpEngine::anchorConcatenation(int a, int b) | | Coverage: | 100.000% (7/7) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qregexp.cpp | | Lines: | 1580-1590 |
| | 7 | 3 |
startAtom| Name: | QRegExpEngine::startAtom | | Prototype: | int QRegExpEngine::startAtom(bool officialCapture) | | Coverage: | 100.000% (8/8) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qregexp.cpp | | Lines: | 1751-1759 |
| | 6 | 2 |
parseTerm| Name: | QRegExpEngine::parseTerm | | Prototype: | void QRegExpEngine::parseTerm(Box *box) | | Coverage: | 100.000% (15/15) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qregexp.cpp | | Lines: | 3765-3776 |
| | 6 | 3 |
createState| Name: | QRegExpEngine::createState | | Prototype: | int QRegExpEngine::createState(int bref) | | Coverage: | 71.429% (5/7) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qregexp.cpp | | Lines: | 1511-1521 |
| | 6 | 3 |
addLookahead| Name: | QRegExpEngine::addLookahead | | Prototype: | int QRegExpEngine::addLookahead(QRegExpEngine *eng, bool negative) | | Coverage: | 50.000% (2/4) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qregexp.cpp | | Lines: | 1773-1782 |
| | 6 | 2 |
QRegExpEngine| Name: | QRegExpEngine::QRegExpEngine | | Prototype: | QRegExpEngine::QRegExpEngine(const QRegExpEngineKey &key) | | Coverage: | 100.000% (4/4) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qregexp.cpp | | Lines: | 1347-1362 |
| | 6 | 2 |
addAnchors| Name: | QRegExpEngine::addAnchors | | Prototype: | void QRegExpEngine::addAnchors(int from, int to, int a) | | Coverage: | 100.000% (4/4) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qregexp.cpp | | Lines: | 1597-1603 |
| | 4 | 2 |
skipChars| Name: | QRegExpEngine::skipChars | | Prototype: | void QRegExpEngine::skipChars(int n) | | Coverage: | 100.000% (4/4) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qregexp.cpp | | Lines: | 3316-3322 |
| | 3 | 2 |
finishAtom| Name: | QRegExpEngine::finishAtom | | Prototype: | void QRegExpEngine::finishAtom(int atom, bool needCapture) | | Coverage: | 87.500% (7/8) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qregexp.cpp | | Lines: | 1761-1766 |
| | 3 | 2 |
createState| Name: | QRegExpEngine::createState | | Prototype: | int QRegExpEngine::createState(const QRegExpCharClass &cc) | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qregexp.cpp | | Lines: | 1498-1508 |
| | 3 | 1 |
setupState| Name: | QRegExpEngine::setupState | | Prototype: | int QRegExpEngine::setupState(int match) | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qregexp.cpp | | Lines: | 1735-1743 |
| | 2 | 1 |
error| Name: | QRegExpEngine::error | | Prototype: | void QRegExpEngine::error(const char *msg) | | Coverage: | 100.000% (4/4) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qregexp.cpp | | Lines: | 3325-3329 |
| | 2 | 2 |
addCatTransitions| Name: | QRegExpEngine::addCatTransitions | | Prototype: | void QRegExpEngine::addCatTransitions(const QVector<int> &from, const QVector<int> &to) | | Coverage: | 100.000% (4/4) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qregexp.cpp | | Lines: | 1532-1536 |
| | 2 | 2 |
~QRegExpEngine| Name: | QRegExpEngine::~QRegExpEngine | | Prototype: | QRegExpEngine::~QRegExpEngine() | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qregexp.cpp | | Lines: | 1364-1369 |
| | 1 | 1 |
isValid| Name: | QRegExpEngine::isValid | | Prototype: | bool isValid() const | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qregexp.cpp | | Lines: | 1092-1092 |
| | 1 | 1 |
getChar| Name: | QRegExpEngine::getChar | | Prototype: | int QRegExpEngine::getChar() | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qregexp.cpp | | Lines: | 2891-2894 |
| | 1 | 1 |
errorString| Name: | QRegExpEngine::errorString | | Prototype: | const QString &errorString() const | | Coverage: | 0.000% (0/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qregexp.cpp | | Lines: | 1093-1093 |
| | 1 | 1 |
createState| Name: | QRegExpEngine::createState | | Prototype: | int QRegExpEngine::createState(QChar ch) | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qregexp.cpp | | Lines: | 1493-1496 |
| | 1 | 1 |
captureCount| Name: | QRegExpEngine::captureCount | | Prototype: | int captureCount() const | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qregexp.cpp | | Lines: | 1094-1094 |
| | 1 | 1 |
QRegExpEngine| Name: | QRegExpEngine::QRegExpEngine | | Prototype: | QRegExpEngine(Qt::CaseSensitivity cs, bool greedyQuantifiers) | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qregexp.cpp | | Lines: | 1086-1087 |
| | 1 | 1 |