output: #fixed code
                                  @Test
      public void testEntriesZeroTo100InRrd() throws IOException, FontFormatException {
          createGaugeRrd(105); //Make sure all entries are recorded (5 is just a buffer for consolidation)
          RrdDb rrd = RrdDb.getBuilder().setPath(jrbFileName).build();
  
          for(int i=0; i<100; i++) {
              long timestamp = startTime + 1 + (i * 60);
              Sample sample = rrd.createSample();
              sample.setAndUpdate(timestamp + ":" + i);
          }
          rrd.close();
          prepareGraph();
          expectMinorGridLines(4);
          expectMajorGridLine("  50");
          expectMinorGridLines(4);
          expectMajorGridLine(" 100");
  
          run();
  
      }
input: #vulnerable code 
                                  @Test
      public void testEntriesZeroTo100InRrd() throws IOException, FontFormatException {
          createGaugeRrd(105); //Make sure all entries are recorded (5 is just a buffer for consolidation)
          RrdDb rrd = new RrdDb(jrbFileName);
  
          for(int i=0; i<100; i++) {
              long timestamp = startTime + 1 + (i * 60);
              Sample sample = rrd.createSample();
              sample.setAndUpdate(timestamp + ":" + i);
          }
          rrd.close();
          prepareGraph();
          expectMinorGridLines(4);
          expectMajorGridLine("  50");
          expectMinorGridLines(4);
          expectMajorGridLine(" 100");
  
          run();
  
      } 
                              #location 10 
                              #vulnerability type RESOURCE_LEAK