CloneSet521


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
28230.964compilation_unit
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12819
E:/TSE/Projects-CloneDR/sql12/test/src/net/sourceforge/squirrel_sql/plugins/db2/exp/DB2TableIndexExtractorImplTest.java
22319
E:/TSE/Projects-CloneDR/sql12/test/src/net/sourceforge/squirrel_sql/plugins/db2/exp/DB2TableTriggerExtractorImplTest.java
Next
Last
Clone Instance
1
Line Count
28
Source Line
19
Source File
E:/TSE/Projects-CloneDR/sql12/test/src/net/sourceforge/squirrel_sql/plugins/db2/exp/DB2TableIndexExtractorImplTest.java

/*
 * Copyright (C) 2008 Rob Manning
 * manningr@users.sourceforge.net
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */
package net.sourceforge.squirrel_sql.plugins.db2.exp;

import net.sourceforge.squirrel_sql.client.session.mainpanel.objecttree.expanders.AbstractTableIndexExtractorTest;
import org.junit.Before;
import org.junit.Test;

public class DB2TableIndexExtractorImplTest extends AbstractTableIndexExtractorTest {
  @Before public void setUp() throws Exception {
    classUnderTest = new DB2TableIndexExtractorImpl(false);
  }

  @Test public void testOS400() {
    classUnderTest = new DB2TableIndexExtractorImpl(true);
    super.testGetTableTriggerQuery();
  }
}




First
Previous
Clone Instance
2
Line Count
23
Source Line
19
Source File
E:/TSE/Projects-CloneDR/sql12/test/src/net/sourceforge/squirrel_sql/plugins/db2/exp/DB2TableTriggerExtractorImplTest.java

/*
 * Copyright (C) 2008 Rob Manning
 * manningr@users.sourceforge.net
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */
package net.sourceforge.squirrel_sql.plugins.db2.exp;

import net.sourceforge.squirrel_sql.client.session.mainpanel.objecttree.expanders.AbstractTableTriggerExtractorTest;
import org.junit.Before;
import org.junit.Test;

public class DB2TableTriggerExtractorImplTest extends AbstractTableTriggerExtractorTest {
  @Before public void setUp() throws Exception {
    classUnderTest = new DB2TableTriggerExtractorImpl(false);
  }

  @Test public void testOS400() {
    classUnderTest = new DB2TableTriggerExtractorImpl(true);
    super.testGetTableTriggerQuery();
  }
}




Clone AbstractionParameter Count: 3Parameter Bindings

/*
 * Copyright (C) 2008 Rob Manning
 * manningr@users.sourceforge.net
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */
package net.sourceforge.squirrel_sql.plugins.db2.exp;

import net.sourceforge.squirrel_sql.client.session.mainpanel.objecttree.expanders. [[#variable1ce88240]];
import org.junit.Before;
import org.junit.Test;

public class [[#variable1ce88180]]extends [[#variable1ce88240]]{
  @Before public void setUp() throws Exception {
    classUnderTest = new [[#variable1ce88120]](false);
  }

  @Test public void testOS400() {
    classUnderTest = new [[#variable1ce88120]](true);
    super.testGetTableTriggerQuery();
  }
}


 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1ce88240]]
AbstractTableIndexExtractorTest 
12[[#1ce88240]]
AbstractTableTriggerExtractorTest 
21[[#1ce88180]]
DB2TableIndexExtractorImplTest 
22[[#1ce88180]]
DB2TableTriggerExtractorImplTest 
31[[#1ce88120]]
DB2TableIndexExtractorImpl 
32[[#1ce88120]]
DB2TableTriggerExtractorImpl