this.street = street; this.city = city; this.state = state; this.zip = zip;
this.name = name; this.context = context; this.access = access;
Clone fragments detected by clone detection tool
File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/hql/ComponentContainer.java File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/version/db/Permission.java
Method name: void Address(String, String, String, ComponentContainer.Address.Zip) Method name: void Permission(String, String, String)
Number of AST nodes: 4 Number of AST nodes: 3
1
this.street = street;
1
this.name = name;
2
			this.city = city;
2
		this.context = context;
3
			this.state = state;
3
		this.
4
			this.zip = zip;
4
access = access;
Summary
Number of common nesting structure subtrees1
Number of refactorable cases0
Number of non-refactorable cases1
Time elapsed for finding largest common nesting structure subtrees (ms)0.0
Clones locationClones are in different classes
Number of node comparisons6
  1. {Non-refactorable}
    Mapping Summary
    Number of mapped statements3
    Number of unmapped statements in the first code fragment1
    Number of unmapped statements in the second code fragment0
    Time elapsed for statement mapping (ms)0.0
    Clone typeType 3
    Mapped Statements
    ID Statement ID Statement
    1
    this.street = street;
    1
    this.street = street;
    1
    this.name = name;
    Differences
    Expression1Expression2Difference
    streetnameVARIABLE_NAME_MISMATCH
    streetnameVARIABLE_NAME_MISMATCH
    Preondition Violations
    Expression this.street is a field being modified, and thus it cannot be parameterized
    Expression this.name is a field being modified, and thus it cannot be parameterized
    1
    this.name = name;
    2
    this.city = city;
    2
    this.city = city;
    2
    this.context = context;
    Differences
    Expression1Expression2Difference
    citycontextVARIABLE_NAME_MISMATCH
    citycontextVARIABLE_NAME_MISMATCH
    Preondition Violations
    Expression this.city is a field being modified, and thus it cannot be parameterized
    Expression this.context is a field being modified, and thus it cannot be parameterized
    2
    this.context = context;
    3
    this.state = state;
    3
    this.state = state;
    3
    this.access = access;
    Differences
    Expression1Expression2Difference
    stateaccessVARIABLE_NAME_MISMATCH
    stateaccessVARIABLE_NAME_MISMATCH
    Preondition Violations
    Expression this.state is a field being modified, and thus it cannot be parameterized
    Expression this.access is a field being modified, and thus it cannot be parameterized
    3
    this.access = access;
    4
    this.zip = zip;
                                    
    Precondition Violations (6)
    Row Violation
    1Expression this.street is a field being modified, and thus it cannot be parameterized
    2Expression this.name is a field being modified, and thus it cannot be parameterized
    3Expression this.city is a field being modified, and thus it cannot be parameterized
    4Expression this.context is a field being modified, and thus it cannot be parameterized
    5Expression this.state is a field being modified, and thus it cannot be parameterized
    6Expression this.access is a field being modified, and thus it cannot be parameterized