public String getCurrentSummary() { return "supported: " + supported.getCurrent() + " (without warning) + " + supportedWithWarn.getCurrent() + " (with warning). Unsupported: " + unsupported.getCurrent(); }
public int getUnsupportedFunctionsCount(){ return unsupported.getTotal(); }
public Map<String, Integer> getTotalOccurencePerName(){ return unsupported.getTotalOccurencePerName(); } }
public String getTotalSummary() { final StringBuilder summary = new StringBuilder(); summary.append("\tSupported: ").append(supported.getTotal()).append(" (without warning) + ").append(supportedWithWarn.getTotal()).append(" (with warning). \n"); summary.append("\tUnsupported: ").append(unsupported.getTotal()).append("\n").append(unsupported.getListSummary()); return summary.toString(); }
public void readSupportedWithWarn(final String name) { supportedWithWarn.increment(name); }
public String getListSummary() { List<Entry<String, MutableInt>> totalOccurencePerNameList = sortOccurencePerName(); final StringBuilder summary = new StringBuilder(); for (final Entry<String, MutableInt> entry : totalOccurencePerNameList) { summary.append("\t\t\t*").append(entry.getValue().intValue()).append(": ").append(entry.getKey()).append("\n"); } return summary.toString(); }
public void nextScript() { supported.nextScript(); supportedWithWarn.nextScript(); unsupported.nextScript(); }
public void readUnsupported(final String name) { unsupported.increment(name); }
public Map<String, Integer> getTotalOccurencePerName() { return sortOccurencePerName().stream().collect(Collectors.toMap(Entry::getKey,e -> e.getValue().getValue())); } }
public void readSupported(final String name) { supported.increment(name); }
public int getSupportedFunctionsWarnCount(){ return supportedWithWarn.getTotal(); }
public int getSupportedFunctionsNoWarnCount(){ return supported.getTotal(); }