Program: 14029
Project: 14029
Buggy source:
public void testReferrers() throws Exception {
  StatsRestRequestAbstractListener listener=new StatsRestRequestAbstractListener(){
    @Override void parseResponse(    JSONObject response) throws JSONException {
      ReferrersModel model=new ReferrersModel("String_Node_Str",response);
      assertEquals(model.getTotalViews(),2161);
      assertEquals(model.getOtherViews(),938);
      assertNotNull(model.getGroups());
      assertEquals(model.getGroups().size(),10);
      ReferrerGroupModel gModel=model.getGroups().get(0);
      assertEquals(gModel.getName(),"String_Node_Str");
      assertEquals(gModel.getGroupId(),"String_Node_Str");
      assertEquals(gModel.getIcon(),"String_Node_Str");
      assertEquals(gModel.getTotal(),480);
      assertNotNull(gModel.getResults());
      assertEquals(gModel.getResults().size(),7);
      ReferrerResultModel refResultModel=gModel.getResults().get(0);
      assertEquals(refResultModel.getName(),"String_Node_Str");
      assertEquals(refResultModel.getIcon(),"String_Node_Str");
      assertEquals(refResultModel.getViews(),461);
      assertNotNull(refResultModel.getChildren());
      assertNull(refResultModel.getUrl());
      SingleItemModel child=refResultModel.getChildren().get(0);
      assertEquals(child.getUrl(),"String_Node_Str");
      assertEquals(child.getTitle(),"String_Node_Str");
      assertEquals(child.getIcon(),"String_Node_Str");
      assertEquals(child.getTotals(),176);
      child=refResultModel.getChildren().get(10);
      assertEquals(child.getUrl(),"String_Node_Str");
      assertEquals(child.getTitle(),"String_Node_Str");
      assertEquals(child.getIcon(),"String_Node_Str");
      assertEquals(child.getTotals(),6);
      gModel=model.getGroups().get(6);
      assertEquals(gModel.getName(),"String_Node_Str");
      assertEquals(gModel.getGroupId(),"String_Node_Str");
      assertEquals(gModel.getIcon(),"String_Node_Str");
      assertEquals(gModel.getTotal(),56);
      assertNotNull(gModel.getResults());
      assertEquals(gModel.getResults().size(),11);
      refResultModel=gModel.getResults().get(0);
      assertEquals(refResultModel.getName(),"String_Node_Str");
      assertEquals(refResultModel.getUrl(),"String_Node_Str");
      assertEquals(refResultModel.getIcon(),"String_Node_Str");
      assertEquals(refResultModel.getViews(),34);
    }
  }
;
  mRestClient.makeRequest(Request.Method.POST,"String_Node_Str",null,listener,errListener);
}

Fixed version (ground truth):
public void testReferrers() throws Exception {
  StatsRestRequestAbstractListener listener=new StatsRestRequestAbstractListener(){
    @Override void parseResponse(    JSONObject response) throws JSONException {
      ReferrersModel model=new ReferrersModel(123456,response);
      assertEquals(model.getTotalViews(),2161);
      assertEquals(model.getOtherViews(),938);
      assertNotNull(model.getGroups());
      assertEquals(model.getGroups().size(),10);
      ReferrerGroupModel gModel=model.getGroups().get(0);
      assertEquals(gModel.getName(),"String_Node_Str");
      assertEquals(gModel.getGroupId(),"String_Node_Str");
      assertEquals(gModel.getIcon(),"String_Node_Str");
      assertEquals(gModel.getTotal(),480);
      assertNotNull(gModel.getResults());
      assertEquals(gModel.getResults().size(),7);
      ReferrerResultModel refResultModel=gModel.getResults().get(0);
      assertEquals(refResultModel.getName(),"String_Node_Str");
      assertEquals(refResultModel.getIcon(),"String_Node_Str");
      assertEquals(refResultModel.getViews(),461);
      assertNotNull(refResultModel.getChildren());
      assertNull(refResultModel.getUrl());
      SingleItemModel child=refResultModel.getChildren().get(0);
      assertEquals(child.getUrl(),"String_Node_Str");
      assertEquals(child.getTitle(),"String_Node_Str");
      assertEquals(child.getIcon(),"String_Node_Str");
      assertEquals(child.getTotals(),176);
      child=refResultModel.getChildren().get(10);
      assertEquals(child.getUrl(),"String_Node_Str");
      assertEquals(child.getTitle(),"String_Node_Str");
      assertEquals(child.getIcon(),"String_Node_Str");
      assertEquals(child.getTotals(),6);
      gModel=model.getGroups().get(6);
      assertEquals(gModel.getName(),"String_Node_Str");
      assertEquals(gModel.getGroupId(),"String_Node_Str");
      assertEquals(gModel.getIcon(),"String_Node_Str");
      assertEquals(gModel.getTotal(),56);
      assertNotNull(gModel.getResults());
      assertEquals(gModel.getResults().size(),11);
      refResultModel=gModel.getResults().get(0);
      assertEquals(refResultModel.getName(),"String_Node_Str");
      assertEquals(refResultModel.getUrl(),"String_Node_Str");
      assertEquals(refResultModel.getIcon(),"String_Node_Str");
      assertEquals(refResultModel.getViews(),34);
    }
  }
;
  mRestClient.makeRequest(Request.Method.POST,"String_Node_Str",null,listener,errListener);
}