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

Function Tree

Path:<top>::Parser
Functionâ–´Condition %eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexity
ParsedObject
Name: Parser::ParsedObject
Coverage:  83.333% (10/12)
 83.333% (10/12)
134
Parser
Name: Parser::Parser
Prototype: Parser::Parser(const char *json, int length)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/json/qjsonparser.cpp
Lines: 200-204
100.000% (1/1)
11
Parser
Name: Parser::Parser
Prototype: Parser::Parser(const QString &css, bool isFile)
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qcssparser.cpp
Lines: 2145-2148
  0.000% (0/1)
11
Parser
Name: Parser::Parser
Prototype: Parser::Parser()
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qcssparser.cpp
Lines: 2150-2155
  0.000% (0/1)
31
eatBOM
Name: Parser::eatBOM
Prototype: void Parser::eatBOM()
Coverage:  30.000% (3/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/json/qjsonparser.cpp
Lines: 248-257
 30.000% (3/10)
62
eatSpace
Name: Parser::eatSpace
Prototype: bool Parser::eatSpace()
Coverage:  68.750% (11/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/json/qjsonparser.cpp
Lines: 259-272
 68.750% (11/16)
104
errorSymbol
Name: Parser::errorSymbol
Prototype: Symbol Parser::errorSymbol()
Coverage:  0.000% (0/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qcssparser.cpp
Lines: 2223-2227
  0.000% (0/4)
22
init
Name: Parser::init
Prototype: void Parser::init(const QString &css, bool isFile)
Coverage:  0.000% (0/8)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qcssparser.cpp
Lines: 2157-2180
  0.000% (0/8)
163
lexemUntil
Name: Parser::lexemUntil
Prototype: QString Parser::lexemUntil(QCss::TokenType t)
Coverage:  0.000% (0/6)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qcssparser.cpp
Lines: 2760-2766
  0.000% (0/6)
42
next
Name: Parser::next
Prototype: bool Parser::next(QCss::TokenType t)
Coverage:  0.000% (0/6)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qcssparser.cpp
Lines: 2732-2737
  0.000% (0/6)
32
nextToken
Name: Parser::nextToken
Prototype: char Parser::nextToken()
Coverage:  86.667% (13/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/json/qjsonparser.cpp
Lines: 274-294
 86.667% (13/15)
910
parse
Name: Parser::parse
Prototype: QJsonDocument Parser::parse(QJsonParseError *error)
Coverage:  76.000% (19/25)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/json/qjsonparser.cpp
Lines: 299-357
 76.000% (19/25)
309
parse
Name: Parser::parse
Prototype: bool Parser::parse(StyleSheet *styleSheet, Qt::CaseSensitivity nameCaseSensitivity)
Coverage:  0.000% (0/74)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qcssparser.cpp
Lines: 2182-2221
  0.000% (0/74)
3020
parseArray
Name: Parser::parseArray
Prototype: bool Parser::parseArray()
Coverage:  55.000% (22/40)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/json/qjsonparser.cpp
Lines: 525-590
 55.000% (22/40)
4013
parseAttrib
Name: Parser::parseAttrib
Prototype: bool Parser::parseAttrib(AttributeSelector *attr)
Coverage:  0.000% (0/19)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qcssparser.cpp
Lines: 2484-2508
  0.000% (0/19)
166
parseClass
Name: Parser::parseClass
Prototype: bool Parser::parseClass(QString *name)
Coverage:  0.000% (0/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qcssparser.cpp
Lines: 2467-2472
  0.000% (0/4)
32
parseCombinator
Name: Parser::parseCombinator
Prototype: bool Parser::parseCombinator(BasicSelector::Relation *relation)
Coverage:  0.000% (0/11)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qcssparser.cpp
Lines: 2335-2351
  0.000% (0/11)
114
parseElementName
Name: Parser::parseElementName
Prototype: bool Parser::parseElementName(QString *name)
Coverage:  0.000% (0/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qcssparser.cpp
Lines: 2474-2482
  0.000% (0/7)
54
parseExpr
Name: Parser::parseExpr
Prototype: bool Parser::parseExpr(QVector<Value> *values)
Coverage:  0.000% (0/19)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qcssparser.cpp
Lines: 2566-2586
  0.000% (0/19)
167
parseFunction
Name: Parser::parseFunction
Prototype: bool Parser::parseFunction(QString *name, QString *args)
Coverage:  0.000% (0/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qcssparser.cpp
Lines: 2676-2691
  0.000% (0/7)
93
parseHexColor
Name: Parser::parseHexColor
Prototype: bool Parser::parseHexColor(QColor *col)
Coverage:  0.000% (0/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qcssparser.cpp
Lines: 2693-2702
  0.000% (0/4)
62
parseImport
Name: Parser::parseImport
Prototype: bool Parser::parseImport(ImportRule *importRule)
Coverage:  0.000% (0/23)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qcssparser.cpp
Lines: 2238-2264
  0.000% (0/23)
148
parseMedia
Name: Parser::parseMedia
Prototype: bool Parser::parseMedia(MediaRule *mediaRule)
Coverage:  0.000% (0/19)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qcssparser.cpp
Lines: 2266-2285
  0.000% (0/19)
127
parseMedium
Name: Parser::parseMedium
Prototype: bool Parser::parseMedium(QStringList *media)
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qcssparser.cpp
Lines: 2287-2292
  0.000% (0/1)
31
parseMember
Name: Parser::parseMember
Prototype: bool Parser::parseMember(int baseOffset)
Coverage:  42.857% (6/14)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/json/qjsonparser.cpp
Lines: 457-483
 42.857% (6/14)
175
parseNextDeclaration
Name: Parser::parseNextDeclaration
Prototype: bool Parser::parseNextDeclaration(Declaration *decl)
Coverage:  0.000% (0/18)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qcssparser.cpp
Lines: 2530-2541
  0.000% (0/18)
97
parseNextOperator
Name: Parser::parseNextOperator
Prototype: bool Parser::parseNextOperator(Value *value)
Coverage:  0.000% (0/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qcssparser.cpp
Lines: 2324-2333
  0.000% (0/10)
65
parseNumber
Name: Parser::parseNumber
Prototype: bool Parser::parseNumber(QJsonPrivate::Value *val, int baseOffset)
Coverage:  30.263% (23/76)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/json/qjsonparser.cpp
Lines: 722-804
 30.263% (23/76)
4715
parseObject
Name: Parser::parseObject
Prototype: bool Parser::parseObject()
Coverage:  65.625% (21/32)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/json/qjsonparser.cpp
Lines: 386-452
 65.625% (21/32)
3710
parsePage
Name: Parser::parsePage
Prototype: bool Parser::parsePage(PageRule *pageRule)
Coverage:  0.000% (0/21)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qcssparser.cpp
Lines: 2294-2315
  0.000% (0/21)
148
parsePrio
Name: Parser::parsePrio
Prototype: bool Parser::parsePrio(Declaration *declaration)
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qcssparser.cpp
Lines: 2559-2564
  0.000% (0/1)
31
parseProperty
Name: Parser::parseProperty
Prototype: bool Parser::parseProperty(Declaration *decl)
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qcssparser.cpp
Lines: 2353-2360
  0.000% (0/1)
51
parsePseudo
Name: Parser::parsePseudo
Prototype: bool Parser::parsePseudo(Pseudo *pseudo)
Coverage:  0.000% (0/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qcssparser.cpp
Lines: 2510-2528
  0.000% (0/10)
144
parsePseudoPage
Name: Parser::parsePseudoPage
Prototype: bool Parser::parsePseudoPage(QString *selector)
Coverage:  0.000% (0/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qcssparser.cpp
Lines: 2317-2322
  0.000% (0/4)
32
parseRuleset
Name: Parser::parseRuleset
Prototype: bool Parser::parseRuleset(StyleRule *styleRule)
Coverage:  0.000% (0/30)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qcssparser.cpp
Lines: 2362-2406
  0.000% (0/30)
3110
parseSelector
Name: Parser::parseSelector
Prototype: bool Parser::parseSelector(Selector *sel)
Coverage:  0.000% (0/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qcssparser.cpp
Lines: 2408-2423
  0.000% (0/16)
106
parseSimpleSelector
Name: Parser::parseSimpleSelector
Prototype: bool Parser::parseSimpleSelector(BasicSelector *basicSel)
Coverage:  0.000% (0/35)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qcssparser.cpp
Lines: 2425-2465
  0.000% (0/35)
3312
parseString
Name: Parser::parseString
Prototype: bool Parser::parseString(bool *latin1)
Coverage:  61.538% (48/78)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/json/qjsonparser.cpp
Lines: 902-1012
 61.538% (48/78)
7124
parseTerm
Name: Parser::parseTerm
Prototype: bool Parser::parseTerm(Value *value)
Coverage:  0.000% (0/54)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qcssparser.cpp
Lines: 2600-2674
  0.000% (0/54)
5419
parseValue
Name: Parser::parseValue
Prototype: bool Parser::parseValue(QJsonPrivate::Value *val, int baseOffset)
Coverage:  55.128% (43/78)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/json/qjsonparser.cpp
Lines: 597-702
 55.128% (43/78)
6722
test
Name: Parser::test
Prototype: bool Parser::test(QCss::TokenType t)
Coverage:  0.000% (0/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qcssparser.cpp
Lines: 2739-2748
  0.000% (0/7)
63
testAndParseUri
Name: Parser::testAndParseUri
Prototype: bool Parser::testAndParseUri(QString *uri)
Coverage:  0.000% (0/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qcssparser.cpp
Lines: 2704-2721
  0.000% (0/10)
124
testPrio
Name: Parser::testPrio
Prototype: bool Parser::testPrio()
Coverage:  0.000% (0/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qcssparser.cpp
Lines: 2543-2557
  0.000% (0/10)
104
testSimpleSelector
Name: Parser::testSimpleSelector
Prototype: bool Parser::testSimpleSelector()
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qcssparser.cpp
Lines: 2723-2730
  0.000% (0/1)
51
testTerm
Name: Parser::testTerm
Prototype: bool Parser::testTerm()
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qcssparser.cpp
Lines: 2588-2598
  0.000% (0/1)
81
testTokenAndEndsWith
Name: Parser::testTokenAndEndsWith
Prototype: bool Parser::testTokenAndEndsWith(QCss::TokenType t, QLatin1String str)
Coverage:  0.000% (0/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qcssparser.cpp
Lines: 2808-2816
  0.000% (0/7)
53
unquotedLexem
Name: Parser::unquotedLexem
Prototype: QString Parser::unquotedLexem() const
Coverage:  0.000% (0/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qcssparser.cpp
Lines: 2750-2758
  0.000% (0/4)
52
until
Name: Parser::until
Prototype: bool Parser::until(QCss::TokenType target, QCss::TokenType target2)
Coverage:  0.000% (0/50)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qcssparser.cpp
Lines: 2768-2806
  0.000% (0/50)
2718

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