Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 2 | 4 | 0.975 | statement_sequence[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 335 | plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/nls/NLSAccessorConfigurationDialog.java |
2 | 10 | 382 | plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/nls/NLSAccessorConfigurationDialog.java |
| ||||
IPackageFragmentRoot root = fResourceBundlePackage.getSelectedFragmentRoot(); if ((root == null) || !root.exists()) { setInvalid(IDX_BUNDLE_PACKAGE, NLSUIMessages.NLSAccessorConfigurationDialog_property_package_root_invalid); return; } IPackageFragment fragment = fResourceBundlePackage.getSelected(); if ((fragment == null) || !fragment.exists()) { setInvalid(IDX_BUNDLE_PACKAGE, NLSUIMessages.NLSAccessorConfigurationDialog_property_package_invalid); return; } |
| ||||
IPackageFragmentRoot root = fAccessorPackage.getSelectedFragmentRoot(); if ((root == null) || !root.exists()) { setInvalid(IDX_ACCESSOR_PACKAGE, NLSUIMessages.NLSAccessorConfigurationDialog_accessor_package_root_invalid); return; } IPackageFragment fragment = fAccessorPackage.getSelected(); if ((fragment == null) || !fragment.exists()) { setInvalid(IDX_ACCESSOR_PACKAGE, NLSUIMessages.NLSAccessorConfigurationDialog_accessor_package_invalid); return; } |
| |||
IPackageFragmentRoot root = [[#variable7c34ff40]].getSelectedFragmentRoot(); if ((root == null) || !root.exists()) { setInvalid( [[#variable7c34f680]], NLSUIMessages. [[#variable7c34f660]]); return; } IPackageFragment fragment = [[#variable7c34ff40]].getSelected(); if ((fragment == null) || !fragment.exists()) { setInvalid( [[#variable7c34f680]], NLSUIMessages. [[#variable7c34f820]]); return; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#7c34ff40]] | fAccessorPackage |
1 | 2 | [[#7c34ff40]] | fResourceBundlePackage |
2 | 1 | [[#7c34f680]] | IDX_ACCESSOR_PACKAGE |
2 | 2 | [[#7c34f680]] | IDX_BUNDLE_PACKAGE |
3 | 1 | [[#7c34f660]] | NLSAccessorConfigurationDialog_accessor_package_root_invalid |
3 | 2 | [[#7c34f660]] | NLSAccessorConfigurationDialog_property_package_root_invalid |
4 | 1 | [[#7c34f820]] | NLSAccessorConfigurationDialog_accessor_package_invalid |
4 | 2 | [[#7c34f820]] | NLSAccessorConfigurationDialog_property_package_invalid |