| Functionâ–´ | Condition % | eLOC - Effective Lines of Code | McCabe - Cyclomatic Complexity |
QDateTime| Name: | QDateTime::QDateTime | | Prototype: | QDateTime::QDateTime() | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp | | Lines: | 2945-2948 |
| | 2 | 1 |
QDateTime| Name: | QDateTime::QDateTime | | Prototype: | QDateTime::QDateTime(const QDate &date) | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp | | Lines: | 2956-2959 |
| | 2 | 1 |
QDateTime| Name: | QDateTime::QDateTime | | Prototype: | QDateTime::QDateTime(const QDate &date, const QTime &time, Qt::TimeSpec spec) | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp | | Lines: | 2976-2979 |
| | 2 | 1 |
QDateTime| Name: | QDateTime::QDateTime | | Prototype: | QDateTime::QDateTime(const QDate &date, const QTime &time, Qt::TimeSpec spec, int offsetSeconds) | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp | | Lines: | 2999-3002 |
| | 2 | 1 |
QDateTime| Name: | QDateTime::QDateTime | | Prototype: | QDateTime::QDateTime(const QDate &date, const QTime &time, const QTimeZone &timeZone) | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp | | Lines: | 3016-3019 |
| | 2 | 1 |
QDateTime| Name: | QDateTime::QDateTime | | Prototype: | QDateTime::QDateTime(const QDateTime &other) | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp | | Lines: | 3026-3029 |
| | 2 | 1 |
addDays| Name: | QDateTime::addDays | | Prototype: | QDateTime QDateTime::addDays(qint64 ndays) const | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp | | Lines: | 3727-3737 |
| | 8 | 1 |
addMSecs| Name: | QDateTime::addMSecs | | Prototype: | QDateTime QDateTime::addMSecs(qint64 msecs) const | | Coverage: | 90.000% (9/10) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp | | Lines: | 3816-3829 |
| | 7 | 3 |
addMonths| Name: | QDateTime::addMonths | | Prototype: | QDateTime QDateTime::addMonths(int nmonths) const | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp | | Lines: | 3753-3763 |
| | 8 | 1 |
addSecs| Name: | QDateTime::addSecs | | Prototype: | QDateTime QDateTime::addSecs(qint64 s) const | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp | | Lines: | 3802-3805 |
| | 1 | 1 |
addYears| Name: | QDateTime::addYears | | Prototype: | QDateTime QDateTime::addYears(int nyears) const | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp | | Lines: | 3779-3789 |
| | 8 | 1 |
currentDateTime| Name: | QDateTime::currentDateTime | | Prototype: | QDateTime QDateTime::currentDateTime() | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp | | Lines: | 4149-4152 |
| | 1 | 1 |
currentDateTimeUtc| Name: | QDateTime::currentDateTimeUtc | | Prototype: | QDateTime QDateTime::currentDateTimeUtc() | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp | | Lines: | 4154-4157 |
| | 1 | 1 |
currentMSecsSinceEpoch| Name: | QDateTime::currentMSecsSinceEpoch | | Prototype: | qint64 QDateTime::currentMSecsSinceEpoch() | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp | | Lines: | 4159-4166 |
| | 3 | 1 |
date| Name: | QDateTime::date | | Prototype: | QDate QDateTime::date() const | | Coverage: | 100.000% (4/4) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp | | Lines: | 3091-3098 |
| | 5 | 2 |
daysTo| Name: | QDateTime::daysTo | | Prototype: | qint64 QDateTime::daysTo(const QDateTime &other) const | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp | | Lines: | 3847-3850 |
| | 1 | 1 |
fromMSecsSinceEpoch| Name: | QDateTime::fromMSecsSinceEpoch | | Prototype: | QDateTime QDateTime::fromMSecsSinceEpoch(qint64 msecs) | | Coverage: | 0.000% (0/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp | | Lines: | 4268-4271 |
| | 1 | 1 |
fromMSecsSinceEpoch| Name: | QDateTime::fromMSecsSinceEpoch | | Prototype: | QDateTime QDateTime::fromMSecsSinceEpoch(qint64 msecs, Qt::TimeSpec spec, int offsetSeconds) | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp | | Lines: | 4293-4299 |
| | 4 | 1 |
fromMSecsSinceEpoch| Name: | QDateTime::fromMSecsSinceEpoch | | Prototype: | QDateTime QDateTime::fromMSecsSinceEpoch(qint64 msecs, const QTimeZone &timeZone) | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp | | Lines: | 4311-4317 |
| | 4 | 1 |
fromString| Name: | QDateTime::fromString | | Prototype: | QDateTime QDateTime::fromString(const QString& string, Qt::DateFormat format) | | Coverage: | 88.321% (121/137) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp | | Lines: | 4370-4564 |
| | 122 | 44 |
fromString| Name: | QDateTime::fromString | | Prototype: | QDateTime QDateTime::fromString(const QString &string, const QString &format) | | Coverage: | 83.333% (5/6) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp | | Lines: | 4674-4688 |
| | 6 | 2 |
fromTime_t| Name: | QDateTime::fromTime_t | | Prototype: | QDateTime QDateTime::fromTime_t(uint seconds) | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp | | Lines: | 4215-4218 |
| | 1 | 1 |
fromTime_t| Name: | QDateTime::fromTime_t | | Prototype: | QDateTime QDateTime::fromTime_t(uint seconds, Qt::TimeSpec spec, int offsetSeconds) | | Coverage: | 0.000% (0/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp | | Lines: | 4233-4236 |
| | 1 | 1 |
fromTime_t| Name: | QDateTime::fromTime_t | | Prototype: | QDateTime QDateTime::fromTime_t(uint seconds, const QTimeZone &timeZone) | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp | | Lines: | 4248-4251 |
| | 1 | 1 |
isDaylightTime| Name: | QDateTime::isDaylightTime | | Prototype: | bool QDateTime::isDaylightTime() const | | Coverage: | 81.818% (9/11) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp | | Lines: | 3234-3254 |
| | 8 | 6 |
isNull| Name: | QDateTime::isNull | | Prototype: | bool QDateTime::isNull() const | | Coverage: | 100.000% (5/5) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp | | Lines: | 3063-3066 |
| | 1 | 1 |
isValid| Name: | QDateTime::isValid | | Prototype: | bool QDateTime::isValid() const | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp | | Lines: | 3080-3083 |
| | 1 | 1 |
msecsTo| Name: | QDateTime::msecsTo | | Prototype: | qint64 QDateTime::msecsTo(const QDateTime &other) const | | Coverage: | 83.333% (5/6) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp | | Lines: | 3888-3894 |
| | 3 | 2 |
offsetFromUtc| Name: | QDateTime::offsetFromUtc | | Prototype: | int QDateTime::offsetFromUtc() const | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp | | Lines: | 3174-3177 |
| | 1 | 1 |
operator<| Name: | QDateTime::operator< | | Prototype: | bool QDateTime::operator<(const QDateTime &other) const | | Coverage: | 100.000% (8/8) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp | | Lines: | 4014-4023 |
| | 5 | 2 |
operator=| Name: | QDateTime::operator= | | Prototype: | QDateTime &QDateTime::operator=(const QDateTime &other) | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp | | Lines: | 3043-3047 |
| | 2 | 1 |
operator==| Name: | QDateTime::operator== | | Prototype: | bool QDateTime::operator==(const QDateTime &other) const | | Coverage: | 100.000% (8/8) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp | | Lines: | 3986-3995 |
| | 5 | 2 |
secsTo| Name: | QDateTime::secsTo | | Prototype: | qint64 QDateTime::secsTo(const QDateTime &other) const | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp | | Lines: | 3869-3872 |
| | 1 | 1 |
setDate| Name: | QDateTime::setDate | | Prototype: | void QDateTime::setDate(const QDate &date) | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp | | Lines: | 3263-3266 |
| | 1 | 1 |
setMSecsSinceEpoch| Name: | QDateTime::setMSecsSinceEpoch | | Prototype: | void QDateTime::setMSecsSinceEpoch(qint64 msecs) | | Coverage: | 100.000% (13/13) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp | | Lines: | 3419-3466 |
| | 33 | 6 |
setOffsetFromUtc| Name: | QDateTime::setOffsetFromUtc | | Prototype: | void QDateTime::setOffsetFromUtc(int offsetSeconds) | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp | | Lines: | 3324-3329 |
| | 3 | 1 |
setTime| Name: | QDateTime::setTime | | Prototype: | void QDateTime::setTime(const QTime &time) | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp | | Lines: | 3281-3284 |
| | 1 | 1 |
setTimeSpec| Name: | QDateTime::setTimeSpec | | Prototype: | void QDateTime::setTimeSpec(Qt::TimeSpec spec) | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp | | Lines: | 3302-3307 |
| | 3 | 1 |
setTimeZone| Name: | QDateTime::setTimeZone | | Prototype: | void QDateTime::setTimeZone(const QTimeZone &toZone) | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp | | Lines: | 3343-3350 |
| | 5 | 1 |
setTime_t| Name: | QDateTime::setTime_t | | Prototype: | void QDateTime::setTime_t(uint secsSince1Jan1970UTC) | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp | | Lines: | 3479-3482 |
| | 1 | 1 |
setUtcOffset| Name: | QDateTime::setUtcOffset | | Prototype: | void QDateTime::setUtcOffset(int seconds) | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp | | Lines: | 4333-4336 |
| | 1 | 1 |
time| Name: | QDateTime::time | | Prototype: | QTime QDateTime::time() const | | Coverage: | 100.000% (4/4) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp | | Lines: | 3106-3113 |
| | 5 | 2 |
timeSpec| Name: | QDateTime::timeSpec | | Prototype: | Qt::TimeSpec QDateTime::timeSpec() const | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp | | Lines: | 3121-3124 |
| | 1 | 1 |
timeZone| Name: | QDateTime::timeZone | | Prototype: | QTimeZone QDateTime::timeZone() const | | Coverage: | 44.444% (4/9) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp | | Lines: | 3139-3153 |
| | 7 | 5 |
timeZoneAbbreviation| Name: | QDateTime::timeZoneAbbreviation | | Prototype: | QString QDateTime::timeZoneAbbreviation() const | | Coverage: | 88.889% (8/9) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp | | Lines: | 3200-3221 |
| | 9 | 5 |
toMSecsSinceEpoch| Name: | QDateTime::toMSecsSinceEpoch | | Prototype: | qint64 QDateTime::toMSecsSinceEpoch() const | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp | | Lines: | 3368-3371 |
| | 1 | 1 |
toOffsetFromUtc| Name: | QDateTime::toOffsetFromUtc | | Prototype: | QDateTime QDateTime::toOffsetFromUtc(int offsetSeconds) const | | Coverage: | 55.556% (5/9) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp | | Lines: | 3941-3953 |
| | 7 | 3 |
toString| Name: | QDateTime::toString | | Coverage: | 100.000% (1/1) |
| | 0 | 1 |
toString| Name: | QDateTime::toString | | Prototype: | QString QDateTime::toString(Qt::DateFormat format) const | | Coverage: | 97.297% (36/37) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp | | Lines: | 3534-3598 |
| | 37 | 20 |
toString| Name: | QDateTime::toString | | Prototype: | QString QDateTime::toString(const QString& format) const | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp | | Lines: | 3673-3676 |
| | 1 | 1 |
toTimeSpec| Name: | QDateTime::toTimeSpec | | Prototype: | QDateTime QDateTime::toTimeSpec(Qt::TimeSpec spec) const | | Coverage: | 90.909% (10/11) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp | | Lines: | 3914-3926 |
| | 7 | 3 |
toTimeZone| Name: | QDateTime::toTimeZone | | Prototype: | QDateTime QDateTime::toTimeZone(const QTimeZone &timeZone) const | | Coverage: | 77.778% (7/9) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp | | Lines: | 3964-3976 |
| | 7 | 3 |
toTime_t| Name: | QDateTime::toTime_t | | Prototype: | uint QDateTime::toTime_t() const | | Coverage: | 100.000% (7/7) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp | | Lines: | 3395-3403 |
| | 6 | 3 |
utcOffset| Name: | QDateTime::utcOffset | | Prototype: | int QDateTime::utcOffset() const | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp | | Lines: | 4350-4353 |
| | 1 | 1 |