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

Function Tree

Path:<top>::QDateTime
FunctionCondition %eLOC - Effective Lines of CodeMcCabe - 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
100.000% (1/1)
21
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
100.000% (1/1)
21
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
100.000% (1/1)
21
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
100.000% (1/1)
21
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
100.000% (1/1)
21
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
100.000% (1/1)
21
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
100.000% (1/1)
81
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
100.000% (1/1)
81
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
100.000% (1/1)
11
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
100.000% (1/1)
81
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
100.000% (1/1)
11
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
100.000% (1/1)
11
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
100.000% (1/1)
31
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
100.000% (1/1)
11
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
  0.000% (0/1)
11
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
100.000% (1/1)
41
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
100.000% (1/1)
41
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
  0.000% (0/1)
11
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
100.000% (1/1)
11
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
100.000% (1/1)
11
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
100.000% (1/1)
11
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
100.000% (1/1)
11
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
100.000% (1/1)
11
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
100.000% (1/1)
21
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
100.000% (1/1)
11
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
100.000% (1/1)
11
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
100.000% (1/1)
31
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
100.000% (1/1)
11
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
100.000% (1/1)
31
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
100.000% (1/1)
51
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
100.000% (1/1)
11
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
100.000% (1/1)
11
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
100.000% (1/1)
11
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
100.000% (1/1)
11
toString
Name: QDateTime::toString
Coverage: 100.000% (1/1)
100.000% (1/1)
01
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
100.000% (1/1)
11
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
100.000% (1/1)
11
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
100.000% (4/4)
52
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
 83.333% (5/6)
62
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
 83.333% (5/6)
32
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
100.000% (8/8)
52
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
100.000% (8/8)
52
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
100.000% (4/4)
52
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
 90.000% (9/10)
73
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
 55.556% (5/9)
73
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
 90.909% (10/11)
73
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
 77.778% (7/9)
73
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
100.000% (7/7)
63
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
 44.444% (4/9)
75
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
 88.889% (8/9)
95
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
 81.818% (9/11)
86
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
100.000% (13/13)
336
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
 97.222% (35/36)
3819
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
 88.321% (121/137)
12244

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