CloneSet1328


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7220.985class_member_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1729
src/NHibernate.Test/EngineTest/CallableParserFixture.cs
2738
src/NHibernate.Test/EngineTest/CallableParserFixture.cs
Clone Instance
1
Line Count
7
Source Line
29
Source File
src/NHibernate.Test/EngineTest/CallableParserFixture.cs

                [Test]
                public void CanFindCallableFunctionName()
                {
                        string query = @"{ call myFunction(:name) }";

                        CallableParser.Detail detail = CallableParser.Parse(query);
                        Assert.That(detail.FunctionName, Is.EqualTo("myFunction"));
                }



Clone Instance
2
Line Count
7
Source Line
38
Source File
src/NHibernate.Test/EngineTest/CallableParserFixture.cs

                [Test]
                public void CanFindCallableFunctionNameWithoutParameters()
                {
                        string query = @"{ call myFunction }";

                        CallableParser.Detail detail = CallableParser.Parse(query);
                        Assert.That(detail.FunctionName, Is.EqualTo("myFunction"));
                }



Clone AbstractionParameter Count: 2Parameter Bindings

[Test]
public void [[#variable4e8b6580]]()
{
   string query = [[#variable4e8b7cc0]];
   CallableParser.Detail detail = CallableParser.Parse(query);
   Assert.That(detail.FunctionName, Is.EqualTo("myFunction"));
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#4e8b6580]]
CanFindCallableFunctionName 
12[[#4e8b6580]]
CanFindCallableFunctionNameWithoutParameters 
21[[#4e8b7cc0]]
@"{ call myFunction(:name) }" 
22[[#4e8b7cc0]]
@"{ call myFunction }"