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

Function Tree

Path:<top>::QUrl
FunctionCondition %eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexityâ–´
QUrl
Name: QUrl::QUrl
Prototype: QUrl::QUrl(const QString &url, ParsingMode parsingMode)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qurl.cpp
Lines: 1814-1817
100.000% (1/1)
11
QUrl
Name: QUrl::QUrl
Prototype: QUrl::QUrl()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qurl.cpp
Lines: 1822-1824
100.000% (1/1)
21
fromAce
Name: QUrl::fromAce
Prototype: QString QUrl::fromAce(const QByteArray &domain)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qurl.cpp
Lines: 3534-3537
100.000% (1/1)
11
fromEncoded
Name: QUrl::fromEncoded
Prototype: QUrl QUrl::fromEncoded(const QByteArray &input, ParsingMode mode)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qurl.cpp
Lines: 3427-3430
100.000% (1/1)
11
fromEncodedComponent_helper
Name: QUrl::fromEncodedComponent_helper
Prototype: QString QUrl::fromEncodedComponent_helper(const QByteArray &ba)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qurl.cpp
Lines: 3492-3495
100.000% (1/1)
11
fromPercentEncoding
Name: QUrl::fromPercentEncoding
Prototype: QString QUrl::fromPercentEncoding(const QByteArray &input)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qurl.cpp
Lines: 3436-3440
100.000% (1/1)
21
fromUserInput
Name: QUrl::fromUserInput
Coverage: 100.000% (1/1)
100.000% (1/1)
01
isDetached
Name: QUrl::isDetached
Prototype: bool QUrl::isDetached() const
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qurl.cpp
Lines: 3788-3791
  0.000% (0/1)
11
isLocalFile
Name: QUrl::isLocalFile
Prototype: bool QUrl::isLocalFile() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qurl.cpp
Lines: 3875-3878
100.000% (1/1)
11
operator !=
Name: QUrl::operator !=
Prototype: bool QUrl::operator !=(const QUrl &url) const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qurl.cpp
Lines: 3726-3729
100.000% (1/1)
11
toAce
Name: QUrl::toAce
Prototype: QByteArray QUrl::toAce(const QString &domain)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qurl.cpp
Lines: 3555-3559
100.000% (1/1)
21
toDisplayString
Name: QUrl::toDisplayString
Prototype: QString QUrl::toDisplayString(FormattingOptions options) const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qurl.cpp
Lines: 3348-3351
100.000% (1/1)
11
toEncoded
Name: QUrl::toEncoded
Prototype: QByteArray QUrl::toEncoded(FormattingOptions options) const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qurl.cpp
Lines: 3409-3414
100.000% (1/1)
31
toPercentEncoding
Name: QUrl::toPercentEncoding
Prototype: QByteArray QUrl::toPercentEncoding(const QString &input, const QByteArray &exclude, const QByteArray &include)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qurl.cpp
Lines: 3454-3457
100.000% (1/1)
11
url
Name: QUrl::url
Prototype: QString QUrl::url(FormattingOptions options) const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qurl.cpp
Lines: 3260-3263
100.000% (1/1)
11
QUrl
Name: QUrl::QUrl
Prototype: QUrl::QUrl(const QUrl &other)
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qurl.cpp
Lines: 1829-1833
100.000% (4/4)
22
clear
Name: QUrl::clear
Prototype: void QUrl::clear()
Coverage:  66.667% (4/6)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qurl.cpp
Lines: 1880-1885
 66.667% (4/6)
32
detach
Name: QUrl::detach
Prototype: void QUrl::detach()
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qurl.cpp
Lines: 3777-3783
100.000% (4/4)
32
fileName
Name: QUrl::fileName
Prototype: QString QUrl::fileName(ComponentFormattingOptions options) const
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qurl.cpp
Lines: 2602-2609
100.000% (4/4)
52
fromStringList
Name: QUrl::fromStringList
Prototype: QList<QUrl> QUrl::fromStringList(const QStringList &urls, ParsingMode mode)
Coverage: 100.000% (2/2)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qurl.cpp
Lines: 4097-4104
100.000% (2/2)
52
hasFragment
Name: QUrl::hasFragment
Prototype: bool QUrl::hasFragment() const
Coverage:  50.000% (2/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qurl.cpp
Lines: 3109-3113
 50.000% (2/4)
22
hasQuery
Name: QUrl::hasQuery
Prototype: bool QUrl::hasQuery() const
Coverage:  50.000% (2/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qurl.cpp
Lines: 2618-2622
 50.000% (2/4)
22
isEmpty
Name: QUrl::isEmpty
Prototype: bool QUrl::isEmpty() const
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qurl.cpp
Lines: 1867-1871
100.000% (4/4)
22
isParentOf
Name: QUrl::isParentOf
Prototype: bool QUrl::isParentOf(const QUrl &childUrl) const
Coverage:  50.000% (2/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qurl.cpp
Lines: 3885-3902
 50.000% (2/4)
122
isRelative
Name: QUrl::isRelative
Prototype: bool QUrl::isRelative() const
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qurl.cpp
Lines: 3243-3247
100.000% (4/4)
22
isValid
Name: QUrl::isValid
Prototype: bool QUrl::isValid() const
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qurl.cpp
Lines: 1853-1860
100.000% (4/4)
32
operator =
Name: QUrl::operator =
Prototype: QUrl &QUrl::operator =(const QString &url)
Coverage:  60.000% (3/5)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qurl.cpp
Lines: 3753-3762
 60.000% (3/5)
52
password
Name: QUrl::password
Prototype: QString QUrl::password(ComponentFormattingOptions options) const
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qurl.cpp
Lines: 2285-2291
100.000% (4/4)
42
path
Name: QUrl::path
Prototype: QString QUrl::path(ComponentFormattingOptions options) const
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qurl.cpp
Lines: 2537-2543
100.000% (4/4)
42
port
Name: QUrl::port
Prototype: int QUrl::port(int defaultPort) const
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qurl.cpp
Lines: 2467-2471
100.000% (4/4)
22
scheme
Name: QUrl::scheme
Prototype: QString QUrl::scheme() const
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qurl.cpp
Lines: 1980-1985
100.000% (4/4)
22
setPort
Name: QUrl::setPort
Prototype: void QUrl::setPort(int port)
Coverage: 100.000% (6/6)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qurl.cpp
Lines: 2444-2455
100.000% (6/6)
62
setQuery
Name: QUrl::setQuery
Prototype: void QUrl::setQuery(const QUrlQuery &query)
Coverage:  0.000% (0/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qurl.cpp
Lines: 2707-2718
  0.000% (0/4)
62
setScheme
Name: QUrl::setScheme
Prototype: void QUrl::setScheme(const QString &scheme)
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qurl.cpp
Lines: 1956-1968
100.000% (4/4)
72
setUrl
Name: QUrl::setUrl
Prototype: void QUrl::setUrl(const QString &url, ParsingMode parsingMode)
Coverage:  50.000% (2/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qurl.cpp
Lines: 1905-1913
 50.000% (2/4)
42
toLocalFile
Name: QUrl::toLocalFile
Prototype: QString QUrl::toLocalFile() const
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qurl.cpp
Lines: 3855-3862
100.000% (4/4)
32
toStringList
Name: QUrl::toStringList
Prototype: QStringList QUrl::toStringList(const QList<QUrl> &urls, FormattingOptions options)
Coverage: 100.000% (2/2)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qurl.cpp
Lines: 4081-4089
100.000% (2/2)
52
topLevelDomain
Name: QUrl::topLevelDomain
Prototype: QString QUrl::topLevelDomain(ComponentFormattingOptions options) const
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qurl.cpp
Lines: 3141-3148
100.000% (4/4)
42
userName
Name: QUrl::userName
Prototype: QString QUrl::userName(ComponentFormattingOptions options) const
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qurl.cpp
Lines: 2193-2199
100.000% (4/4)
42
~QUrl
Name: QUrl::~QUrl
Prototype: QUrl::~QUrl()
Coverage: 100.000% (6/6)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qurl.cpp
Lines: 1838-1842
100.000% (6/6)
22
authority
Name: QUrl::authority
Prototype: QString QUrl::authority(ComponentFormattingOptions options) const
Coverage:  71.429% (5/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qurl.cpp
Lines: 2049-2062
 71.429% (5/7)
83
fragment
Name: QUrl::fragment
Prototype: QString QUrl::fragment(ComponentFormattingOptions options) const
Coverage: 100.000% (9/9)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qurl.cpp
Lines: 3052-3061
100.000% (9/9)
63
host
Name: QUrl::host
Prototype: QString QUrl::host(ComponentFormattingOptions options) const
Coverage: 100.000% (7/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qurl.cpp
Lines: 2392-2401
100.000% (7/7)
63
query
Name: QUrl::query
Prototype: QString QUrl::query(ComponentFormattingOptions options) const
Coverage: 100.000% (9/9)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qurl.cpp
Lines: 2979-2988
100.000% (9/9)
63
setAuthority
Name: QUrl::setAuthority
Prototype: void QUrl::setAuthority(const QString &authority, ParsingMode mode)
Coverage:  71.429% (5/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qurl.cpp
Lines: 2016-2032
 71.429% (5/7)
83
userInfo
Name: QUrl::userInfo
Prototype: QString QUrl::userInfo(ComponentFormattingOptions options) const
Coverage:  71.429% (5/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qurl.cpp
Lines: 2123-2136
 71.429% (5/7)
83
errorString
Name: QUrl::errorString
Prototype: QString QUrl::errorString() const
Coverage: 100.000% (10/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qurl.cpp
Lines: 4041-4074
100.000% (10/10)
294
operator =
Name: QUrl::operator =
Prototype: QUrl &QUrl::operator =(const QUrl &url)
Coverage: 100.000% (11/11)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qurl.cpp
Lines: 3734-3748
100.000% (11/11)
84
setFragment
Name: QUrl::setFragment
Prototype: void QUrl::setFragment(const QString &fragment, ParsingMode mode)
Coverage:  91.667% (11/12)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qurl.cpp
Lines: 3018-3034
 91.667% (11/12)
114
setPassword
Name: QUrl::setPassword
Prototype: void QUrl::setPassword(const QString &password, ParsingMode mode)
Coverage:  91.667% (11/12)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qurl.cpp
Lines: 2250-2266
 91.667% (11/12)
114
setPath
Name: QUrl::setPath
Prototype: void QUrl::setPath(const QString &path, ParsingMode mode)
Coverage: 100.000% (14/14)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qurl.cpp
Lines: 2498-2520
100.000% (14/14)
124
setQuery
Name: QUrl::setQuery
Prototype: void QUrl::setQuery(const QString &query, ParsingMode mode)
Coverage:  91.667% (11/12)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qurl.cpp
Lines: 2655-2671
 91.667% (11/12)
114
setUserInfo
Name: QUrl::setUserInfo
Prototype: void QUrl::setUserInfo(const QString &userInfo, ParsingMode mode)
Coverage:  75.000% (9/12)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qurl.cpp
Lines: 2087-2107
 75.000% (9/12)
134
setUserName
Name: QUrl::setUserName
Prototype: void QUrl::setUserName(const QString &userName, ParsingMode mode)
Coverage:  91.667% (11/12)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qurl.cpp
Lines: 2158-2174
 91.667% (11/12)
114
operator ==
Name: QUrl::operator ==
Prototype: bool QUrl::operator ==(const QUrl &url) const
Coverage: 100.000% (15/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qurl.cpp
Lines: 3619-3644
100.000% (15/15)
185
fromLocalFile
Name: QUrl::fromLocalFile
Prototype: QUrl QUrl::fromLocalFile(const QString &localFile)
Coverage:  95.000% (19/20)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qurl.cpp
Lines: 3808-3839
 95.000% (19/20)
206
fromUserInput
Name: QUrl::fromUserInput
Prototype: QUrl QUrl::fromUserInput(const QString &userInput, const QString &workingDirectory, UserInputResolutionOptions options)
Coverage: 100.000% (16/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qurl.cpp
Lines: 4201-4228
100.000% (16/16)
136
fromUserInput
Name: QUrl::fromUserInput
Prototype: QUrl QUrl::fromUserInput(const QString &userInput)
Coverage:  92.000% (23/25)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qurl.cpp
Lines: 4261-4300
 92.000% (23/25)
207
setHost
Name: QUrl::setHost
Prototype: void QUrl::setHost(const QString &host, ParsingMode mode)
Coverage:  94.737% (18/19)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qurl.cpp
Lines: 2341-2372
 94.737% (18/19)
177
adjusted
Name: QUrl::adjusted
Prototype: QUrl QUrl::adjusted(QUrl::FormattingOptions options) const
Coverage:  93.750% (30/32)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qurl.cpp
Lines: 3366-3398
 93.750% (30/32)
2511
operator <
Name: QUrl::operator <
Prototype: bool QUrl::operator <(const QUrl &url) const
Coverage:  85.366% (35/41)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qurl.cpp
Lines: 3567-3613
 85.366% (35/41)
3111
resolved
Name: QUrl::resolved
Prototype: QUrl QUrl::resolved(const QUrl &relative) const
Coverage:  95.122% (39/41)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qurl.cpp
Lines: 3169-3234
 95.122% (39/41)
4011
toString
Name: QUrl::toString
Prototype: QString QUrl::toString(FormattingOptions options) const
Coverage:  87.037% (47/54)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qurl.cpp
Lines: 3274-3331
 87.037% (47/54)
3211
matches
Name: QUrl::matches
Prototype: bool QUrl::matches(const QUrl &url, FormattingOptions options) const
Coverage:  74.603% (47/63)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qurl.cpp
Lines: 3656-3720
 74.603% (47/63)
4621

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