Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
33 | 2 | 5 | 0.970 | namespace_member_declarations |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 33 | 4 | src/NHibernate/Dialect/Schema/AbstractForeignKeyMetadata.cs |
2 | 33 | 5 | src/NHibernate/Dialect/Schema/AbstractIndexMetadata.cs |
| ||||
namespace NHibernate.Dialect.Schema { public class AbstractForeignKeyMetadata : IForeignKeyMetadata { private string name; private readonly List<IColumnMetadata> columns = new List<IColumnMetadata> (); public AbstractForeignKeyMetadata(DataRow rs) { } public string Name { get { return name; } protected set { name = value; } } public void AddColumn(IColumnMetadata column) { if (column != null) columns.Add(column); } public IColumnMetadata[] Columns { get { return columns.ToArray(); } } public override string ToString() { return "ForeignKeyMetadata(" + name + ')'; } } } |
| ||||
namespace NHibernate.Dialect.Schema { public abstract class AbstractIndexMetadata : IIndexMetadata { private String name; private readonly List<IColumnMetadata> columns = new List<IColumnMetadata> (); public AbstractIndexMetadata(DataRow rs) { } public string Name { get { return name; } protected set { name = value; } } public void AddColumn(IColumnMetadata column) { if (column != null) columns.Add(column); } public IColumnMetadata[] Columns { get { return columns.ToArray(); } } public override string ToString() { return "IndexMatadata(" + name + ')'; } } } |
| |||
namespace NHibernate.Dialect.Schema { [[#variable6e501ea0]]class [[#variable6e501de0]]: [[#variable6e501d80]] { private [[#variable6e501d20]]name; private readonly List<IColumnMetadata> columns = new List<IColumnMetadata> (); public [[#variable6e501de0]](DataRow rs) { } public string Name { get { return name; } protected set { name = value; } } public void AddColumn(IColumnMetadata column) { if (column != null) columns.Add(column); } public IColumnMetadata[] Columns { get { return columns.ToArray(); } } public override string ToString() { return [[#variable6e501cc0]]+ name + ')'; } } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#6e501ea0]] | public |
1 | 2 | [[#6e501ea0]] | public abstract |
2 | 1 | [[#6e501de0]] | AbstractForeignKeyMetadata |
2 | 2 | [[#6e501de0]] | AbstractIndexMetadata |
3 | 1 | [[#6e501d80]] | IForeignKeyMetadata |
3 | 2 | [[#6e501d80]] | IIndexMetadata |
4 | 1 | [[#6e501d20]] | string |
4 | 2 | [[#6e501d20]] | String |
5 | 1 | [[#6e501cc0]] | "ForeignKeyMetadata(" |
5 | 2 | [[#6e501cc0]] | "IndexMatadata(" |