test_class.declarator: comp
test_class.modifier: private
test_class.original_string: private SoundexComparator comp;
test_class.type: SoundexComparator
test_class.var_name: comp
test_class.file: lib/Duke/duke-core/src/test/java/no/priv/garshol/duke/comparators/SoundexComparatorTest.java
test_class.identifier: SoundexComparatorTest
test_case.body: @Test
    public void testEqualCode() {
      assertEquals("wrong score for values with equal codes", 0.9,
                   comp.compare("Garshol", "Garskol"));
    }
test_case.class_method_signature: SoundexComparatorTest.testEqualCode()
test_case.full_signature: @Test public void testEqualCode()
test_case.identifier: testEqualCode
test_case.invocations: assertEquals compare
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testEqualCode()
focal_class.declarator: number = buildTable()
focal_class.modifier: private static
focal_class.original_string: private static char[] number = buildTable();
focal_class.type: char[]
focal_class.var_name: number
focal_class.file: lib/Duke/duke-core/src/main/java/no/priv/garshol/duke/comparators/SoundexComparator.java
focal_class.identifier: SoundexComparator
focal_class.interfaces: implements Comparator
focal_class.class_method_signature: SoundexComparator.compare(String s1, String s2)
focal_class.full_signature: @Override public double compare(String s1, String s2)
focal_class.identifier: compare
focal_class.modifiers: @Override public
focal_class.parameters: (String s1, String s2)
focal_class.return: double
focal_class.signature: double compare(String s1, String s2)
focal_class.class_method_signature: SoundexComparator.isTokenized()
focal_class.full_signature: @Override public boolean isTokenized()
focal_class.identifier: isTokenized
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isTokenized()
focal_class.class_method_signature: SoundexComparator.soundex(String str)
focal_class.full_signature: public static String soundex(String str)
focal_class.identifier: soundex
focal_class.modifiers: public static
focal_class.parameters: (String str)
focal_class.return: String
focal_class.signature: String soundex(String str)
focal_class.class_method_signature: SoundexComparator.buildTable()
focal_class.full_signature: private static char[] buildTable()
focal_class.identifier: buildTable
focal_class.modifiers: private static
focal_class.parameters: ()
focal_class.return: char[]
focal_class.signature: char[] buildTable()
focal_method.body: @Override
  public double compare(String s1, String s2) {
      if (s1.equals(s2))
        return 1.0;
  
      if (soundex(s1).equals(soundex(s2)))
        return 0.9;
  
      return 0.0;
    }
focal_method.class_method_signature: SoundexComparator.compare(String s1, String s2)
focal_method.full_signature: @Override public double compare(String s1, String s2)
focal_method.identifier: compare
focal_method.invocations: equals equals soundex soundex
focal_method.modifiers: @Override public
focal_method.parameters: (String s1, String s2)
focal_method.return: double
focal_method.signature: double compare(String s1, String s2)