Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 5 | 2 | 0.955 | statement_list[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 40 | src/NHibernate.Test/HQL/SQLFunctionTemplateTest.cs |
2 | 2 | 50 | src/NHibernate.Test/HQL/SQLFunctionTemplateTest.cs |
3 | 2 | 86 | src/NHibernate.Test/HQL/SQLFunctionTemplateTest.cs |
4 | 2 | 92 | src/NHibernate.Test/HQL/SQLFunctionTemplateTest.cs |
5 | 2 | 100 | src/NHibernate.Test/HQL/SQLFunctionTemplateTest.cs |
| ||||
ft = new SQLFunctionTemplate(NHibernateUtil.String, "replace( replace( rtrim( replace( replace( ?1, ' ', '${space}$' ), ?2, ' ' ) ), ' ', ?2 ), '${space}$', ' ' )"); args.Add("'param1 '"); |
| ||||
ft = new SQLFunctionTemplate(NHibernateUtil.String, "?1 ?3 ?2 ?3 ?1"); args.Add(1); |
| ||||
ft = new SQLFunctionTemplate(NHibernateUtil.String, "func(?1,?2)"); args.Add(1); |
| ||||
ft = new SQLFunctionTemplate(NHibernateUtil.String, "func(?1,?3)"); args.Add(1); |
| ||||
ft = new SQLFunctionTemplate(NHibernateUtil.String, "func(?2, ?1, ?3)"); args.Add(1); |
| |||
ft = new SQLFunctionTemplate(NHibernateUtil.String, [[#variable2ba53f80]]); args.Add( [[#variable28c1fea0]]); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#2ba53f80]] | "func(?1,?2)" |
1 | 2 | [[#2ba53f80]] | "func(?2, ?1, ?3)" |
1 | 3 | [[#2ba53f80]] | "func(?1,?3)" |
1 | 4 | [[#2ba53f80]] | "?1 ?3 ?2 ?3 ?1" |
1 | 5 | [[#2ba53f80]] | "replace( replace( rtrim( replace( replace( ?1, ' ', '${space}$' ), ?2, ' ' ) ), ' ', ?2 ), '${space}$', ' ' )" |
2 | 1 | [[#28c1fea0]] | 1 |
2 | 2 | [[#28c1fea0]] | 1 |
2 | 3 | [[#28c1fea0]] | 1 |
2 | 4 | [[#28c1fea0]] | 1 |
2 | 5 | [[#28c1fea0]] | "'param1 '" |