| 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: | 2967-2970 |
| | 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: | 2978-2981 |
| | 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: | 2998-3001 |
| | 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: | 3021-3024 |
| | 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: | 3038-3041 |
| | 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: | 3048-3051 |
| | 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: | 3749-3759 |
| | 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: | 3838-3851 |
| | 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: | 3775-3785 |
| | 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: | 3824-3827 |
| | 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: | 3801-3811 |
| | 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: | 4171-4174 |
| | 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: | 4176-4179 |
| | 1 | 1 |
currentMSecsSinceEpoch| Name: | QDateTime::currentMSecsSinceEpoch | | Prototype: | qint64 QDateTime::currentMSecsSinceEpoch() noexcept | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp | | Lines: | 4181-4188 |
| | 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: | 3113-3120 |
| | 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: | 3869-3872 |
| | 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: | 4290-4293 |
| | 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: | 4315-4321 |
| | 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: | 4333-4339 |
| | 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: | 4392-4586 |
| | 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: | 4696-4710 |
| | 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: | 4237-4240 |
| | 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: | 4255-4258 |
| | 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: | 4270-4273 |
| | 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: | 3256-3276 |
| | 8 | 6 |
isNull| Name: | QDateTime::isNull | | Prototype: | bool QDateTime::isNull() const | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp | | Lines: | 3085-3088 |
| | 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: | 3102-3105 |
| | 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: | 3910-3916 |
| | 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: | 3196-3199 |
| | 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: | 4036-4045 |
| | 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: | 3065-3069 |
| | 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: | 4008-4017 |
| | 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: | 3891-3894 |
| | 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: | 3285-3288 |
| | 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: | 3441-3488 |
| | 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: | 3346-3351 |
| | 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: | 3303-3306 |
| | 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: | 3324-3329 |
| | 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: | 3365-3372 |
| | 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: | 3501-3504 |
| | 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: | 4355-4358 |
| | 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: | 3128-3135 |
| | 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: | 3143-3146 |
| | 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: | 3161-3175 |
| | 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: | 3222-3243 |
| | 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: | 3390-3393 |
| | 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: | 3963-3975 |
| | 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.222% (35/36) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp | | Lines: | 3556-3620 |
| | 38 | 19 |
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: | 3695-3698 |
| | 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: | 3936-3948 |
| | 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: | 3986-3998 |
| | 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: | 3417-3425 |
| | 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: | 4372-4375 |
| | 1 | 1 |