jp/mosp/time/settings/action/PaidHolidayHistoryAction.java, m = getPaidHolidayDataDto, s = setAcquisitionDate
| ID |
Line Number |
Conditional Statement |
Our Technique |
Answer |
| 1 |
1584 |
if (entranceDto == null) { |
IRRELEVANT |
IRRELEVANT |
| 2 |
1591 |
if (mospParams.hasErrorMessage()) { |
IRRELEVANT |
IRRELEVANT |
| 3 |
1597 |
if (mospParams.hasErrorMessage()) { |
IRRELEVANT |
IRRELEVANT |
| 4 |
1604 |
if (paidHolidayType == 0) { |
RELEVANT |
RELEVANT |
| 5 |
1609 |
if (!entranceDate.before(pointDate)) { |
RELEVANT |
RELEVANT |
| 6 |
1616 |
if (paidHolidayFirstYearDto != null) { |
RELEVANT |
RELEVANT |
| 7 |
1622 |
while (!pointDate.after(acquisitionDate)) { |
RELEVANT |
RELEVANT |
| 8 |
1626 |
if (activateDate.before(acquisitionDate)) { |
IRRELEVANT |
RELEVANT |
| 9 |
1629 |
} else if (!activateDate.after(limitDate) && activateDate.before(pointDate)) { |
RELEVANT |
RELEVANT |
| 10 |
1639 |
} else if (activateDate.before(pointDate)) { |
IRRELEVANT |
RELEVANT |
| 11 |
1645 |
while (pointDate.before(activateDate)) { |
RELEVANT |
RELEVANT |
| 12 |
1649 |
if (pointDate.compareTo(activateDate) != 0) { |
RELEVANT |
RELEVANT |
| 13 |
1657 |
if (paidHolidayDto.getMaxCarryOverYear() == MospConst.DELETE_FLAG_OFF) { |
IRRELEVANT |
IRRELEVANT |
| 14 |
1660 |
} else if (paidHolidayDto.getMaxCarryOverYear() == MospConst.DELETE_FLAG_ON) { |
IRRELEVANT |
IRRELEVANT |
| 15 |
1666 |
} else if (paidHolidayType == 1) { |
IRRELEVANT |
IRRELEVANT |
| 16 |
1669 |
} else if (paidHolidayType == 2) { |
IRRELEVANT |
IRRELEVANT |
| 17 |
1672 |
} else if (paidHolidayType == 3) { |
IRRELEVANT |
IRRELEVANT |
jp/mosp/time/input/action/AttendenceCardAction.java, m = chkWorkOnHolidayInfo, s = setPltWorkType
| ID |
Line Number |
Conditional Statement |
Our Technique |
Answer |
| 1 |
2877 |
if (workOnHolidayDto == null) { |
IRRELEVANT |
IRRELEVANT |
| 2 |
2882 |
if (workflowDto == null || PlatformConst.CODE_STATUS_COMPLETE.equals(workflowDto.getWorkflowStatus()) == false) { |
IRRELEVANT |
IRRELEVANT |
| 3 |
2886 |
if (TimeConst.CODE_WORK_ON_HOLIDAY_SUBSTITUTE_ON == workOnHolidayDto.getSubstitute()) { |
RELEVANT |
RELEVANT |
| 4 |
2892 |
if (substituteList == null || substituteList.isEmpty()) { |
IRRELEVANT |
IRRELEVANT |
| 5 |
2899 |
if (mospParams.hasErrorMessage()) { |
IRRELEVANT |
IRRELEVANT |
| 6 |
2903 |
if (chkSubstituteAllHoliday(substituteList)) { |
RELEVANT |
RELEVANT |
| 7 |
2910 |
if (mospParams.hasErrorMessage()) { |
IRRELEVANT |
IRRELEVANT |
| 8 |
2924 |
for (int i = 0; i < substituteList.size(); i++) { |
IRRELEVANT |
IRRELEVANT |
| 9 |
2931 |
if (mospParams.hasErrorMessage()) { |
IRRELEVANT |
IRRELEVANT |
| 10 |
2935 |
if (substituteList.get(i).getSubstituteRange() == 1) { |
RELEVANT |
RELEVANT |
| 11 |
2941 |
if (null == localOpeningDate) { |
RELEVANT |
IRRELEVANT |
| 12 |
2944 |
if (workTypeItemDto.getWorkTypeItemValue().compareTo(localOpeningDate) == -1) { |
RELEVANT |
IRRELEVANT |
| 13 |
2951 |
if (null == localClosingDate) { |
RELEVANT |
IRRELEVANT |
| 14 |
2954 |
if (workTypeItemDto.getWorkTypeItemValue().compareTo(localOpeningDate) == 1) { |
RELEVANT |
IRRELEVANT |
| 15 |
2960 |
} else if (substituteList.get(i).getSubstituteRange() == 2) { |
RELEVANT |
RELEVANT |
| 16 |
2966 |
if (null == localOpeningDate) { |
RELEVANT |
IRRELEVANT |
| 17 |
2969 |
if (workTypeItemDto.getWorkTypeItemValue().compareTo(localOpeningDate) == 1) { |
RELEVANT |
IRRELEVANT |
| 18 |
2976 |
if (null == localClosingDate) { |
RELEVANT |
IRRELEVANT |
| 19 |
2979 |
if (workTypeItemDto.getWorkTypeItemValue().compareTo(localOpeningDate) == -1) { |
RELEVANT |
IRRELEVANT |
| 20 |
2984 |
if ("".equals(localWorkForm)) { |
RELEVANT |
RELEVANT |
| 21 |
3002 |
} else if (TimeConst.CODE_WORK_ON_HOLIDAY_SUBSTITUTE_OFF == workOnHolidayDto.getSubstitute()) { |
IRRELEVANT |
RELEVANT |
| 22 |
3004 |
if (TimeConst.CODE_HOLIDAY_LEGAL_HOLIDAY.equals(workOnHolidayDto.getWorkOnHolidayType())) { |
RELEVANT |
RELEVANT |
| 23 |
3011 |
} else if (TimeConst.CODE_HOLIDAY_PRESCRIBED_HOLIDAY.equals(workOnHolidayDto.getWorkOnHolidayType())) { |
RELEVANT |
RELEVANT |