Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
13 | 2 | 6 | 0.954 | class_member_declarations[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 13 | 77 | src/NHibernate/Loader/Custom/Sql/SQLCustomQuery.cs |
2 | 13 | 92 | src/NHibernate/Loader/Custom/Sql/SQLCustomQuery.cs |
| ||||
#region IParserContext Members public bool IsEntityAlias(string alias) { return GetEntityPersisterByAlias(alias) != null; } public ISqlLoadable GetEntityPersisterByAlias(string alias) { return aliasContext.GetEntityPersister(alias); } public string GetEntitySuffixByAlias(string alias) { return aliasContext.GetEntitySuffix(alias); } |
| ||||
public bool IsCollectionAlias(string alias) { return GetCollectionPersisterByAlias(alias) != null; } public ISqlLoadableCollection GetCollectionPersisterByAlias(string alias) { return aliasContext.GetCollectionPersister(alias); } public string GetCollectionSuffixByAlias(string alias) { return aliasContext.GetCollectionSuffix(alias); } |
| |||
#region IParserContext Members public bool [[#variable277d7cc0]](string alias) { return [[#variable277d7c60]](alias) != null; } public [[#variable277d7be0]] [[#variable277d7c60]](string alias) { return aliasContext. [[#variable26d6dd60]](alias); } public string [[#variable277d7ba0]](string alias) { return aliasContext. [[#variable277d7ae0]](alias); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#277d7cc0]] | IsCollectionAlias |
1 | 2 | [[#277d7cc0]] | IsEntityAlias |
2 | 1 | [[#277d7c60]] | GetCollectionPersisterByAlias |
2 | 2 | [[#277d7c60]] | GetEntityPersisterByAlias |
3 | 1 | [[#277d7be0]] | ISqlLoadableCollection |
3 | 2 | [[#277d7be0]] | ISqlLoadable |
4 | 1 | [[#26d6dd60]] | GetCollectionPersister |
4 | 2 | [[#26d6dd60]] | GetEntityPersister |
5 | 1 | [[#277d7ba0]] | GetCollectionSuffixByAlias |
5 | 2 | [[#277d7ba0]] | GetEntitySuffixByAlias |
6 | 1 | [[#277d7ae0]] | GetCollectionSuffix |
6 | 2 | [[#277d7ae0]] | GetEntitySuffix |