Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 1 | 0.992 | statement_list[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 341 | src/NHibernate/Engine/ActionQueue.cs |
2 | 4 | 366 | src/NHibernate/Engine/ActionQueue.cs |
| ||||
// we have not, so create the proper entries in nameList and positionToAction List<EntityInsertAction> segmentedActionQueue = new List<EntityInsertAction> (); segmentedActionQueue.Add(action); nameList.Add(thisEntityName); positionToAction[nameList.IndexOf(thisEntityName)] = segmentedActionQueue; |
| ||||
// 'checkAction' is inserting an entity upon which 'action' depends... // note: this is an assumption and may not be correct in the case of one-to-one List<EntityInsertAction> segmentedActionQueue = new List<EntityInsertAction> (); segmentedActionQueue.Add(action); nameList.Add(thisEntityName); positionToAction[nameList.LastIndexOf(thisEntityName)] = segmentedActionQueue; |
| |||
// 'checkAction' is inserting an entity upon which 'action' depends... // note: this is an assumption and may not be correct in the case of one-to-one // we have not, so create the proper entries in nameList and positionToAction List<EntityInsertAction> segmentedActionQueue = new List<EntityInsertAction> (); segmentedActionQueue.Add(action); nameList.Add(thisEntityName); positionToAction[nameList. [[#variable295caaa0]](thisEntityName)] = segmentedActionQueue; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#295caaa0]] | LastIndexOf |
1 | 2 | [[#295caaa0]] | IndexOf |