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

Function Tree

Path:<top>::QSaveFile
Functionâ–´Condition %eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexity
QSaveFile
Name: QSaveFile::QSaveFile
Prototype: QSaveFile::QSaveFile(QObject *parent)
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qsavefile.cpp
Lines: 110-113
  0.000% (0/1)
21
QSaveFile
Name: QSaveFile::QSaveFile
Prototype: QSaveFile::QSaveFile(const QString &name)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qsavefile.cpp
Lines: 117-122
100.000% (1/1)
21
QSaveFile
Name: QSaveFile::QSaveFile
Prototype: QSaveFile::QSaveFile(const QString &name, QObject *parent)
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qsavefile.cpp
Lines: 127-132
  0.000% (0/1)
21
cancelWriting
Name: QSaveFile::cancelWriting
Prototype: void QSaveFile::cancelWriting()
Coverage:  50.000% (2/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qsavefile.cpp
Lines: 336-343
 50.000% (2/4)
52
close
Name: QSaveFile::close
Prototype: void QSaveFile::close()
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qsavefile.cpp
Lines: 262-265
  0.000% (0/1)
11
commit
Name: QSaveFile::commit
Prototype: bool QSaveFile::commit()
Coverage:  87.500% (14/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qsavefile.cpp
Lines: 279-316
 87.500% (14/16)
256
directWriteFallback
Name: QSaveFile::directWriteFallback
Prototype: bool QSaveFile::directWriteFallback() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qsavefile.cpp
Lines: 397-401
100.000% (1/1)
21
fileName
Name: QSaveFile::fileName
Prototype: QString QSaveFile::fileName() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qsavefile.cpp
Lines: 154-157
100.000% (1/1)
11
open
Name: QSaveFile::open
Prototype: bool QSaveFile::open(OpenMode mode)
Coverage:  71.739% (33/46)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qsavefile.cpp
Lines: 181-254
 71.739% (33/46)
5014
setDirectWriteFallback
Name: QSaveFile::setDirectWriteFallback
Prototype: void QSaveFile::setDirectWriteFallback(bool enabled)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qsavefile.cpp
Lines: 385-389
100.000% (1/1)
21
setFileName
Name: QSaveFile::setFileName
Prototype: void QSaveFile::setFileName(const QString &name)
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qsavefile.cpp
Lines: 165-168
  0.000% (0/1)
11
writeData
Name: QSaveFile::writeData
Prototype: qint64 QSaveFile::writeData(const char *data, qint64 len)
Coverage:  42.857% (3/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qsavefile.cpp
Lines: 348-359
 42.857% (3/7)
73
~QSaveFile
Name: QSaveFile::~QSaveFile
Prototype: QSaveFile::~QSaveFile()
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qsavefile.cpp
Lines: 137-146
100.000% (4/4)
62

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