Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
16 | 2 | 3 | 0.965 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 16 | 1004 | E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/util/EObjectValidator.java |
2 | 16 | 1022 | E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/util/EObjectValidator.java |
| |||||
protected void reportTotalDigitsViolation(EDataType eDataType, Object value, int totalDigits, DiagnosticChain diagnostics, Map<Object, Object> context) { diagnostics.add(createDiagnostic(Diagnostic.ERROR, DIAGNOSTIC_SOURCE, DATA_VALUE__TOTAL_DIGITS_IN_RANGE, "_UI_TotalDigitsConstraint_diagnostic", new Object[] { getValueLabel(eDataType, value, context), totalDigits }, new Object[] { value, eDataType, totalDigits }, context)); } |
| |||||
protected void reportFractionDigitsViolation(EDataType eDataType, Object value, int fractionDigits, DiagnosticChain diagnostics, Map<Object, Object> context) { diagnostics.add(createDiagnostic(Diagnostic.ERROR, DIAGNOSTIC_SOURCE, DATA_VALUE__TOTAL_DIGITS_IN_RANGE, "_UI_FractionDigitsConstraint_diagnostic", new Object[] { getValueLabel(eDataType, value, context), fractionDigits }, new Object[] { value, eDataType, fractionDigits }, context)); } |
| |||
protected void [[#variable1723cac0]](EDataType eDataType, Object value, int [[#variable1723ca40]], DiagnosticChain diagnostics, Map<Object, Object> context) { diagnostics.add(createDiagnostic(Diagnostic.ERROR, DIAGNOSTIC_SOURCE, DATA_VALUE__TOTAL_DIGITS_IN_RANGE, [[#variable1723c9c0]], new Object[] { getValueLabel(eDataType, value, context), [[#variable1723ca40]] }, new Object[] { value, eDataType, [[#variable1723ca40]] }, context)); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1723cac0]] | reportTotalDigitsViolation |
1 | 2 | [[#1723cac0]] | reportFractionDigitsViolation |
2 | 1 | [[#1723ca40]] | totalDigits |
2 | 2 | [[#1723ca40]] | fractionDigits |
3 | 1 | [[#1723c9c0]] | "_UI_TotalDigitsConstraint_diagnostic" |
3 | 2 | [[#1723c9c0]] | "_UI_FractionDigitsConstraint_diagnostic" |