| Functionâ–´ | Condition % | eLOC - Effective Lines of Code | McCabe - 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 |
| | 1 | 1 |
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 |
| | 3 | 2 |
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 |
| | 36 | 11 |
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 |
| | 9 | 3 |
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 |
| | 1 | 1 |
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 |
| | 3 | 2 |
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 |
| | 5 | 3 |
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 |
| | 3 | 2 |
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 |
| | 6 | 3 |
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 |
| | 3 | 2 |
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 |
| | 3 | 2 |
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 |
| | 28 | 17 |
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 |
| | 5 | 2 |
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 |
| | 9 | 5 |
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 |
| | 1 | 1 |
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 |
| | 3 | 2 |
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 |
| | 4 | 2 |
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 |
| | 5 | 4 |
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 |
| | 5 | 4 |
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 |
| | 3 | 2 |
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 |
| | 4 | 2 |
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 |
| | 5 | 4 |
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 |
| | 5 | 4 |
toString| Name: | QDate::toString | | Coverage: | 100.000% (1/1) |
| | 0 | 1 |
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 |
| | 9 | 13 |
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 |
| | 1 | 1 |
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 |
| | 19 | 6 |
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 |
| | 3 | 2 |