Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 2 | 2 | 0.975 | block |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 38 | src/NHibernate/AdoNet/SqlClientBatchingBatcher.cs |
2 | 10 | 142 | src/NHibernate/Driver/DriverBase.cs |
| ||||
{ try { currentBatch.CommandTimeout = timeout; } catch (Exception e) { if (log.IsWarnEnabled) { log.Warn(e.ToString()); } } } |
| ||||
{ try { cmd.CommandTimeout = commandTimeout; } catch (Exception e) { if (log.IsWarnEnabled) { log.Warn(e.ToString()); } } } |
| |||
{ try { [[#variable54b5ee40]].CommandTimeout = [[#variable54b5eda0]]; } catch (Exception e) { if (log.IsWarnEnabled) { log.Warn(e.ToString()); } } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#54b5ee40]] | currentBatch |
1 | 2 | [[#54b5ee40]] | cmd |
2 | 1 | [[#54b5eda0]] | timeout |
2 | 2 | [[#54b5eda0]] | commandTimeout |