Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
18 | 2 | 3 | 0.968 | namespace_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 18 | 51 | src/NHibernate.Test/NHSpecificTest/NH1408/DbResource.cs |
2 | 17 | 68 | src/NHibernate.Test/NHSpecificTest/NH1408/DbResource.cs |
| ||||
internal class IntDbResource : DbResource { protected IntDbResource() { } public IntDbResource(string key, int xml) { AddKey(new DbResourceKey(key)); Value = xml; } public override object Value { get { return int.Parse(RawValue); } set { RawValue = ((int) value).ToString(); } } } |
| ||||
internal class DecimalDbResource : DbResource { protected DecimalDbResource() { } public DecimalDbResource(string key, decimal xml) { AddKey(new DbResourceKey(key)); Value = xml; } public override object Value { get { return decimal.Parse(RawValue); } set { RawValue = ((decimal) value).ToString(); } } } |
| |||
internal class [[#variable26f94b20]]: DbResource { protected [[#variable26f94b20]]() { } public [[#variable26f94b20]](string key, [[#variable26f94aa0]]xml) { AddKey(new DbResourceKey(key)); Value = xml; } public override object Value { get { return [[#variable26f94a00]].Parse(RawValue); } set { RawValue = (( [[#variable26f94aa0]])value).ToString(); } } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#26f94b20]] | IntDbResource |
1 | 2 | [[#26f94b20]] | DecimalDbResource |
2 | 1 | [[#26f94aa0]] | int |
2 | 2 | [[#26f94aa0]] | decimal |
3 | 1 | [[#26f94a00]] | int |
3 | 2 | [[#26f94a00]] | decimal |