Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
26 | 3 | 3 | 0.957 | class_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 27 | 9 | src/NHibernate.ByteCode.Castle.Tests/ProxyInterface/CastleProxyImpl.cs |
2 | 26 | 5 | src/NHibernate.ByteCode.LinFu.Tests/ProxyInterface/MyProxyImpl.cs |
3 | 26 | 5 | src/NHibernate.ByteCode.Spring.Tests/ProxyInterface/MyProxyImpl.cs |
| ||||
/// <summary> /// Summary description for CastleProxyImpl. /// </summary> [Serializable] public class CastleProxyImpl : CastleProxy { private static void Level1() { Level2(); } private static void Level2() { throw new ArgumentException("thrown from Level2"); } #region CastleProxy Members public int Id { get ; set ; } public string Name { get ; set ; } public void ThrowDeepException() { Level1(); } #endregion } |
| ||||
public class MyProxyImpl: IMyProxy { private static void Level1() { Level2(); } private static void Level2() { throw new ArgumentException("thrown from Level2"); } #region CastleProxy Members public int Id { get ; set ; } public string Name { get ; set ; } public void ThrowDeepException() { Level1(); } #endregion } |
| ||||
public class MyProxyImpl: IMyProxy { private static void Level1() { Level2(); } private static void Level2() { throw new ArgumentException("thrown from Level2"); } #region IMyProxy Members public int Id { get ; set ; } public string Name { get ; set ; } public void ThrowDeepException() { Level1(); } #endregion } |
| |||
[[#variable66c59040]] public class [[#variable66c58f80]]: [[#variable66c58ee0]] { private static void Level1() { Level2(); } private static void Level2() { throw new ArgumentException("thrown from Level2"); } #region IMyProxy Members #region CastleProxy Members public int Id { get ; set ; } public string Name { get ; set ; } public void ThrowDeepException() { Level1(); } #endregion } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#66c59040]] | |
1 | 2 | [[#66c59040]] | /// <summary> /// Summary description for CastleProxyImpl. /// </summary> [Serializable] |
1 | 3 | [[#66c59040]] | |
2 | 1 | [[#66c58f80]] | MyProxyImpl |
2 | 2 | [[#66c58f80]] | CastleProxyImpl |
2 | 3 | [[#66c58f80]] | MyProxyImpl |
3 | 1 | [[#66c58ee0]] | IMyProxy |
3 | 2 | [[#66c58ee0]] | CastleProxy |
3 | 3 | [[#66c58ee0]] | IMyProxy |