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

Function Tree

Path:<top>::QDate
Functionâ–´Condition %eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexity
QDate
Name: QDate::QDate
Prototype: QDate::QDate(int y, int m, int d)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp
Lines: 406-409
100.000% (1/1)
11
addDays
Name: QDate::addDays
Prototype: QDate QDate::addDays(qint64 ndays) const
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp
Lines: 1020-1028
100.000% (4/4)
32
addMonths
Name: QDate::addMonths
Prototype: QDate QDate::addMonths(int nmonths) const
Coverage: 100.000% (41/41)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp
Lines: 1041-1093
100.000% (41/41)
3611
addYears
Name: QDate::addYears
Prototype: QDate QDate::addYears(int nyears) const
Coverage: 100.000% (15/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp
Lines: 1107-1124
100.000% (15/15)
93
currentDate
Name: QDate::currentDate
Prototype: QDate QDate::currentDate()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp
Lines: 4161-4164
100.000% (1/1)
11
day
Name: QDate::day
Prototype: int QDate::day() const
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp
Lines: 490-496
100.000% (4/4)
32
dayOfWeek
Name: QDate::dayOfWeek
Prototype: int QDate::dayOfWeek() const
Coverage: 100.000% (7/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp
Lines: 506-515
100.000% (7/7)
53
dayOfYear
Name: QDate::dayOfYear
Prototype: int QDate::dayOfYear() const
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp
Lines: 526-532
100.000% (4/4)
32
daysInMonth
Name: QDate::daysInMonth
Prototype: int QDate::daysInMonth() const
Coverage: 100.000% (9/9)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp
Lines: 542-552
100.000% (9/9)
63
daysInYear
Name: QDate::daysInYear
Prototype: int QDate::daysInYear() const
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp
Lines: 562-568
100.000% (4/4)
32
daysTo
Name: QDate::daysTo
Prototype: qint64 QDate::daysTo(const QDate &d) const
Coverage: 100.000% (6/6)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp
Lines: 1138-1145
100.000% (6/6)
32
fromString
Name: QDate::fromString
Prototype: QDate QDate::fromString(const QString& string, Qt::DateFormat format)
Coverage:  69.565% (32/46)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp
Lines: 1212-1266
 69.565% (32/46)
2817
fromString
Name: QDate::fromString
Prototype: QDate QDate::fromString(const QString &string, const QString &format)
Coverage:  75.000% (3/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp
Lines: 1333-1345
 75.000% (3/4)
52
getDate
Name: QDate::getDate
Prototype: void QDate::getDate(int *year, int *month, int *day) const
Coverage: 100.000% (13/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp
Lines: 985-997
100.000% (13/13)
95
getDate
Name: QDate::getDate
Prototype: void QDate::getDate(int *year, int *month, int *day)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp
Lines: 1004-1007
100.000% (1/1)
11
isLeapYear
Name: QDate::isLeapYear
Prototype: bool QDate::isLeapYear(int y)
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp
Lines: 1377-1384
100.000% (4/4)
32
isValid
Name: QDate::isValid
Prototype: bool QDate::isValid(int year, int month, int day)
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp
Lines: 1360-1368
100.000% (4/4)
42
longDayName
Name: QDate::longDayName
Prototype: QString QDate::longDayName(int weekday, MonthNameType type)
Coverage:  90.000% (9/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp
Lines: 772-783
 90.000% (9/10)
54
longMonthName
Name: QDate::longMonthName
Prototype: QString QDate::longMonthName(int month, MonthNameType type)
Coverage:  90.000% (9/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp
Lines: 694-705
 90.000% (9/10)
54
month
Name: QDate::month
Prototype: int QDate::month() const
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp
Lines: 474-480
100.000% (4/4)
32
setDate
Name: QDate::setDate
Prototype: bool QDate::setDate(int year, int month, int day)
Coverage: 100.000% (5/5)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp
Lines: 963-971
100.000% (5/5)
42
shortDayName
Name: QDate::shortDayName
Prototype: QString QDate::shortDayName(int weekday, MonthNameType type)
Coverage:  90.000% (9/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp
Lines: 733-744
 90.000% (9/10)
54
shortMonthName
Name: QDate::shortMonthName
Prototype: QString QDate::shortMonthName(int month, QDate::MonthNameType type)
Coverage:  70.000% (7/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp
Lines: 650-661
 70.000% (7/10)
54
toString
Name: QDate::toString
Coverage: 100.000% (1/1)
100.000% (1/1)
01
toString
Name: QDate::toString
Prototype: QString QDate::toString(Qt::DateFormat format) const
Coverage:  85.714% (18/21)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp
Lines: 855-881
 85.714% (18/21)
913
toString
Name: QDate::toString
Prototype: QString QDate::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: 932-935
100.000% (1/1)
11
weekNumber
Name: QDate::weekNumber
Prototype: int QDate::weekNumber(int *yearNumber) const
Coverage: 100.000% (20/20)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp
Lines: 587-616
100.000% (20/20)
196
year
Name: QDate::year
Prototype: int QDate::year() const
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp
Lines: 442-448
100.000% (4/4)
32

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