test_class.file: storm/storm-benchmark/src/test/java/storm/benchmark/lib/spout/pageview/PageViewTest.java
test_class.identifier: PageViewTest
test_case.body: @Test
    public void testFromString() {
      String pvString = "http://foo.com\t200\t100000\t1";
      PageView pageView = PageView.fromString(pvString);
      assertThat(pageView.url).isEqualTo("http://foo.com");
      assertThat(pageView.status).isEqualTo(200);
      assertThat(pageView.zipCode).isEqualTo(100000);
      assertThat(pageView.userID).isEqualTo(1);
      assertThat(pageView.toString()).isEqualTo(pvString);
    }
test_case.class_method_signature: PageViewTest.testFromString()
test_case.full_signature: @Test public void testFromString()
test_case.identifier: testFromString
test_case.invocations: fromString isEqualTo assertThat isEqualTo assertThat isEqualTo assertThat isEqualTo assertThat isEqualTo assertThat toString
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testFromString()
focal_class.declarator: LOG = Logger.getLogger(PageView.class)
focal_class.modifier: private static
focal_class.original_string: private static Logger LOG = Logger.getLogger(PageView.class);
focal_class.type: Logger
focal_class.var_name: LOG
focal_class.declarator: url
focal_class.modifier: public final
focal_class.original_string: public final String url;
focal_class.type: String
focal_class.var_name: url
focal_class.declarator: status
focal_class.modifier: public final
focal_class.original_string: public final int status;
focal_class.type: int
focal_class.var_name: status
focal_class.declarator: zipCode
focal_class.modifier: public final
focal_class.original_string: public final int zipCode;
focal_class.type: int
focal_class.var_name: zipCode
focal_class.declarator: userID
focal_class.modifier: public final
focal_class.original_string: public final int userID;
focal_class.type: int
focal_class.var_name: userID
focal_class.file: storm/storm-benchmark/src/main/java/storm/benchmark/lib/spout/pageview/PageView.java
focal_class.identifier: PageView
focal_class.class_method_signature: PageView.PageView(String url, int status, int zipCode, int userID)
focal_class.full_signature: public  PageView(String url, int status, int zipCode, int userID)
focal_class.identifier: PageView
focal_class.modifiers: public
focal_class.parameters: (String url, int status, int zipCode, int userID)
focal_class.signature:  PageView(String url, int status, int zipCode, int userID)
focal_class.class_method_signature: PageView.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_class.class_method_signature: PageView.fromString(String pv)
focal_class.full_signature: public static PageView fromString(String pv)
focal_class.identifier: fromString
focal_class.modifiers: public static
focal_class.parameters: (String pv)
focal_class.return: PageView
focal_class.signature: PageView fromString(String pv)
focal_class.class_method_signature: PageView.getValue(Item field)
focal_class.full_signature: public Object getValue(Item field)
focal_class.identifier: getValue
focal_class.modifiers: public
focal_class.parameters: (Item field)
focal_class.return: Object
focal_class.signature: Object getValue(Item field)
focal_method.body: public static PageView fromString(String pv) {
      LOG.debug("get string '" + pv + "'");
      String[] parts = pv.split("\t");
      if (parts.length < 4) {
        return null;
      }
      for (int i = 0; i < parts.length; i++) {
        parts[i] = parts[i].trim();
      }
      return new PageView(parts[0],
              Integer.parseInt(parts[1]),
              Integer.parseInt(parts[2]),
              Integer.parseInt(parts[3]));
    }
focal_method.class_method_signature: PageView.fromString(String pv)
focal_method.full_signature: public static PageView fromString(String pv)
focal_method.identifier: fromString
focal_method.invocations: debug split trim parseInt parseInt parseInt
focal_method.modifiers: public static
focal_method.parameters: (String pv)
focal_method.return: PageView
focal_method.signature: PageView fromString(String pv)