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

Function Tree

Path:<top>::QDir
Functionâ–´Condition %eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexity
QDir
Name: QDir::QDir
Prototype: QDir::QDir(QDirPrivate &p)
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdir.cpp
Lines: 530-532
  0.000% (0/1)
21
QDir
Name: QDir::QDir
Prototype: QDir::QDir(const QString &path)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdir.cpp
Lines: 540-542
100.000% (1/1)
21
QDir
Name: QDir::QDir
Prototype: QDir::QDir(const QString &path, const QString &nameFilter, SortFlags sort, Filters filters)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdir.cpp
Lines: 562-566
100.000% (1/1)
21
QDir
Name: QDir::QDir
Prototype: QDir::QDir(const QDir &dir)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdir.cpp
Lines: 574-577
100.000% (1/1)
21
absoluteFilePath
Name: QDir::absoluteFilePath
Prototype: QString QDir::absoluteFilePath(const QString &fileName) const
Coverage: 100.000% (10/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdir.cpp
Lines: 714-727
100.000% (10/10)
104
absolutePath
Name: QDir::absolutePath
Prototype: QString QDir::absolutePath() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdir.cpp
Lines: 632-637
100.000% (1/1)
31
addResourceSearchPath
Name: QDir::addResourceSearchPath
Prototype: void QDir::addResourceSearchPath(const QString &path)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdir.cpp
Lines: 989-996
100.000% (1/1)
11
addSearchPath
Name: QDir::addSearchPath
Prototype: void QDir::addSearchPath(const QString &prefix, const QString &path)
Coverage:  50.000% (2/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdir.cpp
Lines: 1049-1056
 50.000% (2/4)
42
canonicalPath
Name: QDir::canonicalPath
Prototype: QString QDir::canonicalPath() const
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdir.cpp
Lines: 655-663
100.000% (4/4)
52
cd
Name: QDir::cd
Prototype: bool QDir::cd(const QString &dirName)
Coverage:  93.750% (30/32)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdir.cpp
Lines: 871-928
 93.750% (30/32)
248
cdUp
Name: QDir::cdUp
Prototype: bool QDir::cdUp()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdir.cpp
Lines: 940-943
100.000% (1/1)
11
cleanPath
Name: QDir::cleanPath
Prototype: QString QDir::cleanPath(const QString &path)
Coverage:  83.333% (10/12)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdir.cpp
Lines: 2180-2209
 83.333% (10/12)
114
count
Name: QDir::count
Prototype: uint QDir::count() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdir.cpp
Lines: 1228-1233
100.000% (1/1)
31
currentPath
Name: QDir::currentPath
Prototype: QString QDir::currentPath()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdir.cpp
Lines: 1901-1904
100.000% (1/1)
11
d_func
Name: QDir::d_func
Prototype: QDirPrivate* QDir::d_func()
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdir.cpp
Lines: 2236-2239
  0.000% (0/1)
11
dirName
Name: QDir::dirName
Prototype: QString QDir::dirName() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdir.cpp
Lines: 676-680
100.000% (1/1)
21
drives
Name: QDir::drives
Prototype: QFileInfoList QDir::drives()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdir.cpp
Lines: 1830-1837
100.000% (1/1)
11
entryInfoList
Name: QDir::entryInfoList
Prototype: QFileInfoList QDir::entryInfoList(Filters filters, SortFlags sort) const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdir.cpp
Lines: 1291-1295
100.000% (1/1)
21
entryInfoList
Name: QDir::entryInfoList
Prototype: QFileInfoList QDir::entryInfoList(const QStringList &nameFilters, Filters filters, SortFlags sort) const
Coverage: 100.000% (17/17)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdir.cpp
Lines: 1355-1379
100.000% (17/17)
165
entryList
Name: QDir::entryList
Prototype: QStringList QDir::entryList(Filters filters, SortFlags sort) const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdir.cpp
Lines: 1268-1272
100.000% (1/1)
21
entryList
Name: QDir::entryList
Prototype: QStringList QDir::entryList(const QStringList &nameFilters, Filters filters, SortFlags sort) const
Coverage: 100.000% (17/17)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdir.cpp
Lines: 1313-1337
100.000% (17/17)
165
exists
Name: QDir::exists
Prototype: bool QDir::exists() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdir.cpp
Lines: 1577-1580
100.000% (1/1)
11
exists
Name: QDir::exists
Prototype: bool QDir::exists(const QString &name) const
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdir.cpp
Lines: 1812-1819
100.000% (4/4)
42
filePath
Name: QDir::filePath
Prototype: QString QDir::filePath(const QString &fileName) const
Coverage:  85.714% (12/14)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdir.cpp
Lines: 691-704
 85.714% (12/14)
94
filter
Name: QDir::filter
Prototype: QDir::Filters QDir::filter() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdir.cpp
Lines: 1076-1080
100.000% (1/1)
21
fromNativeSeparators
Name: QDir::fromNativeSeparators
Prototype: QString QDir::fromNativeSeparators(const QString &pathName)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdir.cpp
Lines: 839-858
100.000% (1/1)
11
homePath
Name: QDir::homePath
Prototype: QString QDir::homePath()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdir.cpp
Lines: 1950-1953
100.000% (1/1)
11
isReadable
Name: QDir::isReadable
Prototype: bool QDir::isReadable() const
Coverage:  40.000% (4/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdir.cpp
Lines: 1547-1564
 40.000% (4/10)
114
isRelative
Name: QDir::isRelative
Prototype: bool QDir::isRelative() const
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdir.cpp
Lines: 1626-1631
100.000% (4/4)
32
isRelativePath
Name: QDir::isRelativePath
Prototype: bool QDir::isRelativePath(const QString &path)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdir.cpp
Lines: 2217-2220
100.000% (1/1)
11
isRoot
Name: QDir::isRoot
Prototype: bool QDir::isRoot() const
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdir.cpp
Lines: 1594-1599
100.000% (4/4)
32
makeAbsolute
Name: QDir::makeAbsolute
Prototype: bool QDir::makeAbsolute()
Coverage:  37.500% (3/8)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdir.cpp
Lines: 1641-1659
 37.500% (3/8)
133
match
Name: QDir::match
Prototype: bool QDir::match(const QStringList &filters, const QString &fileName)
Coverage: 100.000% (7/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdir.cpp
Lines: 2021-2029
100.000% (7/7)
53
match
Name: QDir::match
Prototype: bool QDir::match(const QString &filter, const QString &fileName)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdir.cpp
Lines: 2039-2042
100.000% (1/1)
11
mkdir
Name: QDir::mkdir
Prototype: bool QDir::mkdir(const QString &dirName) const
Coverage:  42.857% (3/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdir.cpp
Lines: 1390-1403
 42.857% (3/7)
83
mkpath
Name: QDir::mkpath
Prototype: bool QDir::mkpath(const QString &dirPath) const
Coverage:  42.857% (3/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdir.cpp
Lines: 1442-1455
 42.857% (3/7)
83
nameFilters
Name: QDir::nameFilters
Prototype: QStringList QDir::nameFilters() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdir.cpp
Lines: 948-952
100.000% (1/1)
21
nameFiltersFromString
Name: QDir::nameFiltersFromString
Prototype: QStringList QDir::nameFiltersFromString(const QString &nameFilter)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdir.cpp
Lines: 2248-2251
100.000% (1/1)
11
operator=
Name: QDir::operator=
Prototype: QDir &QDir::operator=(const QDir &dir)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdir.cpp
Lines: 1718-1722
100.000% (1/1)
21
operator=
Name: QDir::operator=
Prototype: QDir &QDir::operator=(const QString &path)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdir.cpp
Lines: 1732-1736
100.000% (1/1)
21
operator==
Name: QDir::operator==
Prototype: bool QDir::operator==(const QDir &dir) const
Coverage:  53.846% (21/39)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdir.cpp
Lines: 1670-1712
 53.846% (21/39)
2710
operator[]
Name: QDir::operator[]
Prototype: QString QDir::operator[](int pos) const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdir.cpp
Lines: 1242-1247
100.000% (1/1)
31
path
Name: QDir::path
Prototype: QString QDir::path() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdir.cpp
Lines: 618-622
100.000% (1/1)
21
refresh
Name: QDir::refresh
Prototype: void QDir::refresh() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdir.cpp
Lines: 2225-2231
100.000% (1/1)
41
relativeFilePath
Name: QDir::relativeFilePath
Prototype: QString QDir::relativeFilePath(const QString &fileName) const
Coverage:  92.000% (23/25)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdir.cpp
Lines: 736-789
 92.000% (23/25)
237
remove
Name: QDir::remove
Prototype: bool QDir::remove(const QString &fileName)
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdir.cpp
Lines: 1764-1771
100.000% (4/4)
42
removeRecursively
Name: QDir::removeRecursively
Prototype: bool QDir::removeRecursively()
Coverage:  58.621% (17/29)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdir.cpp
Lines: 1503-1536
 58.621% (17/29)
238
rename
Name: QDir::rename
Prototype: bool QDir::rename(const QString &oldName, const QString &newName)
Coverage: 100.000% (9/9)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdir.cpp
Lines: 1789-1800
100.000% (9/9)
73
rmdir
Name: QDir::rmdir
Prototype: bool QDir::rmdir(const QString &dirName) const
Coverage:  71.429% (5/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdir.cpp
Lines: 1414-1428
 71.429% (5/7)
83
rmpath
Name: QDir::rmpath
Prototype: bool QDir::rmpath(const QString &dirPath) const
Coverage:  42.857% (3/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdir.cpp
Lines: 1468-1481
 42.857% (3/7)
83
rootPath
Name: QDir::rootPath
Prototype: QString QDir::rootPath()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdir.cpp
Lines: 2006-2009
100.000% (1/1)
11
searchPaths
Name: QDir::searchPaths
Prototype: QStringList QDir::searchPaths(const QString &prefix)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdir.cpp
Lines: 1065-1069
100.000% (1/1)
21
separator
Name: QDir::separator
Prototype: QChar QDir::separator()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdir.cpp
Lines: 1851-1858
100.000% (1/1)
11
setCurrent
Name: QDir::setCurrent
Prototype: bool QDir::setCurrent(const QString &path)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdir.cpp
Lines: 1877-1880
100.000% (1/1)
11
setFilter
Name: QDir::setFilter
Prototype: void QDir::setFilter(Filters filters)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdir.cpp
Lines: 1155-1162
100.000% (1/1)
41
setNameFilters
Name: QDir::setNameFilters
Prototype: void QDir::setNameFilters(const QStringList &nameFilters)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdir.cpp
Lines: 969-976
100.000% (1/1)
41
setPath
Name: QDir::setPath
Prototype: void QDir::setPath(const QString &path)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdir.cpp
Lines: 603-606
100.000% (1/1)
11
setSearchPaths
Name: QDir::setSearchPaths
Prototype: void QDir::setSearchPaths(const QString &prefix, const QStringList &searchPaths)
Coverage:  69.231% (9/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdir.cpp
Lines: 1019-1040
 69.231% (9/13)
125
setSorting
Name: QDir::setSorting
Prototype: void QDir::setSorting(SortFlags sort)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdir.cpp
Lines: 1212-1219
100.000% (1/1)
41
sorting
Name: QDir::sorting
Prototype: QDir::SortFlags QDir::sorting() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdir.cpp
Lines: 1169-1173
100.000% (1/1)
21
tempPath
Name: QDir::tempPath
Prototype: QString QDir::tempPath()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdir.cpp
Lines: 1980-1983
100.000% (1/1)
11
toNativeSeparators
Name: QDir::toNativeSeparators
Prototype: QString QDir::toNativeSeparators(const QString &pathName)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdir.cpp
Lines: 806-825
100.000% (1/1)
11

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