Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 2 | 5 | 0.950 | statement_list[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 88 | src/NHibernate/Cfg/XmlHbmBinding/ClassCompositeIdBinder.cs |
2 | 10 | 103 | src/NHibernate/Cfg/XmlHbmBinding/ClassCompositeIdBinder.cs |
| ||||
string propertyName = keyManyToOneSchema.name == null ? null: StringHelper.Qualify(path, keyManyToOneSchema.name); BindManyToOne(keyManyToOneSchema, manyToOne, propertyName, false); Mapping.Property property = CreateProperty(manyToOne, keyManyToOneSchema.name, compositeId.ComponentClass , keyManyToOneSchema); compositeId.AddProperty(property); |
| ||||
string propertyName = keyPropertySchema.name == null ? null: StringHelper.Qualify(path, keyPropertySchema.name); BindSimpleValue(keyPropertySchema, value, false, propertyName); Mapping.Property property = CreateProperty(value, keyPropertySchema.name, compositeId.ComponentClass , keyPropertySchema); compositeId.AddProperty(property); |
| |||
string propertyName = [[#variable6874b5a0]].name == null ? null: StringHelper.Qualify(path, [[#variable6874b5a0]].name); [[#variable655912a0]]( [[#variable6874b5a0]], [[#variable6874abc0]], [[#variable65591220]], [[#variable65591200]]); Mapping.Property property = CreateProperty( [[#variable6874abc0]], [[#variable6874b5a0]].name, compositeId.ComponentClass, [[#variable6874b5a0]]); compositeId.AddProperty(property); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#6874b5a0]] | keyPropertySchema |
1 | 2 | [[#6874b5a0]] | keyManyToOneSchema |
2 | 1 | [[#655912a0]] | BindSimpleValue |
2 | 2 | [[#655912a0]] | BindManyToOne |
3 | 1 | [[#6874abc0]] | value |
3 | 2 | [[#6874abc0]] | manyToOne |
4 | 1 | [[#65591220]] | false |
4 | 2 | [[#65591220]] | propertyName |
5 | 1 | [[#65591200]] | propertyName |
5 | 2 | [[#65591200]] | false |