Function | Condition %▾ | eLOC - Effective Lines of Code | McCabe - Cyclomatic Complexity |
yearName: | 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 |
weekNumberName: | 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 |
toStringName: | QDate::toString | Coverage: | 100.000% (1/1) |
| | 0 | 1 |
toStringName: | 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 |
setDateName: | 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 |
monthName: | 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 |
isValidName: | 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 |
isLeapYearName: | 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 |
getDateName: | 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 |
getDateName: | 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 |
daysToName: | 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 |
daysInYearName: | 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 |
daysInMonthName: | 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 |
dayOfYearName: | 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 |
dayOfWeekName: | 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 |
dayName: | 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 |
currentDateName: | 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 |
addYearsName: | 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 |
addMonthsName: | 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 |
addDaysName: | 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 |
QDateName: | 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 |
shortDayNameName: | 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 |
longMonthNameName: | 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 |
longDayNameName: | 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 |
toStringName: | 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 |
fromStringName: | 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 |
shortMonthNameName: | 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 |
fromStringName: | 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 |