Function | Condition % | eLOC - Effective Lines of Codeā“ | McCabe - Cyclomatic Complexity |
toStringName: | QDate::toString | Coverage: | 100.000% (1/1) |
| | 0 | 1 |
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: | 398-401 |
| | 1 | 1 |
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: | 4139-4142 |
| | 1 | 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: | 924-927 |
| | 1 | 1 |
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: | 999-1007 |
| | 3 | 2 |
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: | 482-488 |
| | 3 | 2 |
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: | 518-524 |
| | 3 | 2 |
daysInYearName: | QDate::daysInYear | Prototype: | int QDate::daysInYear() const | Coverage: | 100.000% (6/6) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp | Lines: | 554-560 |
| | 3 | 2 |
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: | 1117-1124 |
| | 3 | 2 |
isLeapYearName: | QDate::isLeapYear | Prototype: | bool QDate::isLeapYear(int y) | Coverage: | 100.000% (10/10) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp | Lines: | 1356-1363 |
| | 3 | 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: | 466-472 |
| | 3 | 2 |
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: | 434-440 |
| | 3 | 2 |
isValidName: | QDate::isValid | Prototype: | bool QDate::isValid(int year, int month, int day) | Coverage: | 94.444% (17/18) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp | Lines: | 1339-1347 |
| | 4 | 2 |
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: | 955-963 |
| | 4 | 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: | 498-507 |
| | 5 | 3 |
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: | 1312-1324 |
| | 5 | 2 |
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: | 764-775 |
| | 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: | 686-697 |
| | 5 | 4 |
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: | 725-736 |
| | 5 | 4 |
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: | 642-653 |
| | 5 | 4 |
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: | 534-544 |
| | 6 | 3 |
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: | 1086-1103 |
| | 9 | 3 |
getDateName: | QDate::getDate | Prototype: | void QDate::getDate(int *year, int *month, int *day) | Coverage: | 100.000% (13/13) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp | Lines: | 975-987 |
| | 9 | 5 |
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: | 847-873 |
| | 9 | 13 |
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: | 579-608 |
| | 19 | 6 |
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: | 1191-1245 |
| | 28 | 17 |
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: | 1020-1072 |
| | 36 | 11 |