Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 4 | 0.955 | statement_list[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 26 | src/NHibernate.Test/Criteria/DetachedCriteriaSerializable.cs |
2 | 7 | 433 | src/NHibernate.Test/QueryTest/DetachedQueryFixture.cs |
| ||||
byte[] bytes = SerializationHelper.Serialize(dc); DetachedCriteria dcs = (DetachedCriteria)SerializationHelper.Deserialize(bytes); using (ISession s = OpenSession()) { dcs.GetExecutableCriteria(s).List(); } |
| ||||
byte[] bytes = SerializationHelper.Serialize(dq); DetachedQuery dqs = (DetachedQuery)SerializationHelper.Deserialize(bytes); using (ISession s = OpenSession()) { dqs.GetExecutableQuery(s).List(); } |
| |||
byte[] bytes = SerializationHelper.Serialize( [[#variable494de960]]); [[#variable494de940]] [[#variable494df420]]= ( [[#variable494de940]])SerializationHelper.Deserialize(bytes); using (ISession s = OpenSession()) { [[#variable494df420]]. [[#variable494df260]](s).List(); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#494de960]] | dc |
1 | 2 | [[#494de960]] | dq |
2 | 1 | [[#494de940]] | DetachedCriteria |
2 | 2 | [[#494de940]] | DetachedQuery |
3 | 1 | [[#494df420]] | dcs |
3 | 2 | [[#494df420]] | dqs |
4 | 1 | [[#494df260]] | GetExecutableCriteria |
4 | 2 | [[#494df260]] | GetExecutableQuery |