Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 2 | 0.984 | statement_list[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 190 | src/NHibernate/Cfg/XmlHbmBinding/ClassBinder.cs |
2 | 6 | 128 | src/NHibernate/Cfg/XmlHbmBinding/CollectionBinder.cs |
| ||||
// BATCH SIZE XmlAttribute batchNode = node.Attributes["batch-size"]; if (batchNode != null) model.BatchSize = int.Parse(batchNode.Value); // SELECT BEFORE UPDATE XmlAttribute sbuNode = node.Attributes["select-before-update"]; |
| ||||
XmlAttribute batchNode = node.Attributes["batch-size"]; if (batchNode != null) model.BatchSize = int.Parse(batchNode.Value); // PERSISTER XmlAttribute persisterNode = node.Attributes["persister"]; |
| |||
// BATCH SIZE XmlAttribute batchNode = node.Attributes["batch-size"]; if (batchNode != null) model.BatchSize = int.Parse(batchNode.Value); // SELECT BEFORE UPDATE // PERSISTER XmlAttribute [[#variable45caef00]]= node.Attributes[ [[#variable45caf880]]]; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#45caef00]] | sbuNode |
1 | 2 | [[#45caef00]] | persisterNode |
2 | 1 | [[#45caf880]] | "select-before-update" |
2 | 2 | [[#45caf880]] | "persister" |