OpenCoverage

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

Function Tree

Path:<top>::QStandardPaths
FunctionCondition %▾eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexity
standardLocations
Name: QStandardPaths::standardLocations
Prototype: QStringList QStandardPaths::standardLocations(StandardLocation type)
Coverage: 100.000% (24/24)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qstandardpaths_unix.cpp
Lines: 316-349
100.000% (24/24)
2212
setTestModeEnabled
Name: QStandardPaths::setTestModeEnabled
Prototype: void QStandardPaths::setTestModeEnabled(bool testMode)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qstandardpaths.cpp
Lines: 627-630
100.000% (1/1)
11
locateAll
Name: QStandardPaths::locateAll
Prototype: QStringList QStandardPaths::locateAll(StandardLocation type, const QString &fileName, LocateOptions options)
Coverage: 100.000% (7/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qstandardpaths.cpp
Lines: 415-425
100.000% (7/7)
73
locate
Name: QStandardPaths::locate
Prototype: QString QStandardPaths::locate(StandardLocation type, const QString &fileName, LocateOptions options)
Coverage: 100.000% (7/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qstandardpaths.cpp
Lines: 396-405
100.000% (7/7)
63
isTestModeEnabled
Name: QStandardPaths::isTestModeEnabled
Prototype: bool QStandardPaths::isTestModeEnabled()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qstandardpaths.cpp
Lines: 640-643
100.000% (1/1)
11
writableLocation
Name: QStandardPaths::writableLocation
Prototype: QString QStandardPaths::writableLocation(StandardLocation type)
Coverage:  75.887% (107/141)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qstandardpaths_unix.cpp
Lines: 71-270
 75.887% (107/141)
12455
findExecutable
Name: QStandardPaths::findExecutable
Prototype: QString QStandardPaths::findExecutable(const QString &executableName, const QStringList &paths)
Coverage:  69.231% (9/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qstandardpaths.cpp
Lines: 504-536
 69.231% (9/13)
135
displayName
Name: QStandardPaths::displayName
Prototype: QString QStandardPaths::displayName(StandardLocation type)
Coverage:  57.895% (22/38)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qstandardpaths.cpp
Lines: 546-589
 57.895% (22/38)
2020
enableTestMode
Name: QStandardPaths::enableTestMode
Prototype: void QStandardPaths::enableTestMode(bool testMode)
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qstandardpaths.cpp
Lines: 621-624
  0.000% (0/1)
11

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