Function | Condition % | eLOC - Effective Lines of Code | McCabe - Cyclomatic Complexityâ–¾ |
fromStringName: | 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 |
toStringName: | 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 |
setMSecsSinceEpochName: | 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 |
isDaylightTimeName: | 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 |
timeZoneAbbreviationName: | 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 |
timeZoneName: | 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 |
toTime_tName: | 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 |
toTimeZoneName: | 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 |
toTimeSpecName: | 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 |
toOffsetFromUtcName: | 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 |
addMSecsName: | 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 |
timeName: | 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 |
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 |
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 |
msecsToName: | 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 |
fromStringName: | 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 |
dateName: | 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 |
utcOffsetName: | 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 |
toStringName: | QDateTime::toString | Coverage: | 100.000% (1/1) |
| | 0 | 1 |
toStringName: | 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 |
toMSecsSinceEpochName: | 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 |
timeSpecName: | 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 |
setUtcOffsetName: | 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 |
setTime_tName: | 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 |
setTimeZoneName: | 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 |
setTimeSpecName: | 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 |
setTimeName: | 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 |
setOffsetFromUtcName: | 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 |
setDateName: | 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 |
secsToName: | 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 |
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 |
offsetFromUtcName: | 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 |
isValidName: | 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 |
isNullName: | 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 |
fromTime_tName: | 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_tName: | 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_tName: | 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 |
fromMSecsSinceEpochName: | 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 |
fromMSecsSinceEpochName: | 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 |
fromMSecsSinceEpochName: | 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 |
daysToName: | 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 |
currentMSecsSinceEpochName: | 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 |
currentDateTimeUtcName: | 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 |
currentDateTimeName: | 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 |
addYearsName: | 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 |
addSecsName: | 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 |
addMonthsName: | 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 |
addDaysName: | 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 |
QDateTimeName: | 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 |
QDateTimeName: | 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 |
QDateTimeName: | 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 |
QDateTimeName: | 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 |
QDateTimeName: | 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 |
QDateTimeName: | 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 |