// close
} else if (fdApiType.equals(LogCenterConstants.FD_API_TYPE_CLOSE)) {
+
FileChartItemData child = getFDRegister().get(fd);
if (null == child) {
continue;
e.printStackTrace();
}
}
+
+
else /// Other
{
- System.out.print("Other\n");
+
+ System.out.print(" Other "+input+"\n");
+
// Print Called Function On File Chart Except( Open, close, Error )
FailedData ffd = new FailedData(input);
FileChartItemData fcid = getFDRegister().get(fd);
if (null == fcid) {
- System.out.print("ERROR - parentFailed 13\n");
ffd = null;
continue;
}
path = fcid.getParentKey();
if (path.isEmpty()) {
- System.out.print("ERROR - parentFailed 2\n");
System.out.println();
}
fcid.getCalledFunctionData().add(ffd);
FileChartItemData parentCalled = getFileRegister().get(path);
if (null == parentCalled) {
- System.out.print("ERROR - parentFailed 3\n");
parentCalled = createNewFileData(path);
}
parentCalled.getCalledFunctionData().add(ffd);
AnalyzerManager.getCalledFunctionChecker().getFailedList().add(ffd);
+
+ // Insert File API List Table
+ fcid.getLastData().getRelations().add(seqNum);
}
}
}
- private void warningCheck(FileChartItemData file, List<String> input,
- int type) {
+
+
+ private void warningCheck(FileChartItemData file, List<String> input, int type) {
if (type == TYPE_CLOSE) {
long firstTime = file.getLastData().getFirstTime();
if (firstTime < 0) {