QtBase - 2016-12-13 07:58:44 +0000

Function Tree

Path:<top>::QRegExpEngine
Functionâ–´Condition %eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexity
Box
Name: QRegExpEngine::Box
Coverage:  84.733% (111/131)
 84.733% (111/131)
14949
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
100.000% (1/1)
11
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
100.000% (4/4)
62
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
100.000% (4/4)
42
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
100.000% (4/4)
22
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
 50.000% (2/4)
62
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
100.000% (15/15)
95
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
100.000% (15/15)
83
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
100.000% (7/7)
73
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
 91.667% (44/48)
4117
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
100.000% (1/1)
11
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
100.000% (1/1)
11
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
100.000% (1/1)
31
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
 71.429% (5/7)
63
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
  0.000% (0/40)
3413
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
100.000% (4/4)
22
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
  0.000% (0/1)
11
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
 87.500% (7/8)
32
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
100.000% (1/1)
11
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
 32.773% (78/238)
28793
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
 85.714% (12/14)
104
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
 86.275% (88/102)
9839
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
100.000% (13/13)
135
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
100.000% (13/13)
145
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
100.000% (1/1)
11
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
 95.652% (44/46)
5515
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
 78.378% (29/37)
3917
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
100.000% (4/4)
72
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
100.000% (31/31)
489
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
100.000% (15/15)
63
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
100.000% (1/1)
131
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
100.000% (1/1)
21
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
100.000% (4/4)
32
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
100.000% (8/8)
62
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
100.000% (1/1)
91
~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
100.000% (1/1)
11

Generated by Squish Coco Non-Commercial 4.3.0-BETA-master-30-08-2018-4cb69e9