Instance 0

Centrality↓:107.48713186736991  Specificity↑:0.48645482354121755
Class0.test_readLine_all_line_endings(){
        BufferedReader r = new BufferedReader(new StringReader("1\r2\n3\r\n4"));
        assertEquals("1", r.readLine());
        assertEquals("2", r.readLine());
        assertEquals("3", r.readLine());
        assertEquals("4", r.readLine());
        assertNull(r.readLine());
}


Instance 1

Centrality↓:107.48042285343128  Specificity↑:1.98317313063602
Class50.test_readLine_interaction_with_mark_and_reset(){
        BufferedReader r = new BufferedReader(new StringReader("1\r\n2\n3"));
        assertEquals("1", r.readLine());
        r.mark(256);
        assertEquals('2', r.read())// This read skips the '\n'.
        assertEquals("", r.readLine());
        r.reset()// Now we're back half-way through the "\r\n".
        assertEquals("2", r.readLine());
        assertEquals("3", r.readLine());
        assertNull(r.readLine());
}


Instance 2

Centrality↓:107.48042285343128  Specificity↑:1.98317313063602
Class210.test_readLine_interaction_with_mark_and_reset(){
        BufferedReader r = new BufferedReader(new StringReader("1\r\n2\n3"));
        assertEquals("1", r.readLine());
        r.mark(256);
        assertEquals('2', r.read())// This read skips the '\n'.
        assertEquals("", r.readLine());
        r.reset()// Now we're back half-way through the "\r\n".
        assertEquals("2", r.readLine());
        assertEquals("3", r.readLine());
        assertNull(r.readLine());
}


Instance 3

Centrality↓:106.60211745114235  Specificity↑:2.215796529509999
Class490.main(String args[]){
        InputStreamReader converter = new InputStreamReader(System.in);
        BufferedReader in = new BufferedReader(converter);
        List<String> s1 = Arrays.asListin.readLine().trim().split("\\s+") );
        List<String> s2 = Arrays.asListin.readLine().trim().split("\\s+") );
        int big1 = Integer.parseInt(in.readLine().trim());
        int big2 = Integer.parseInt(in.readLine().trim());
        System.out.println(jaccard(s1,s2));
        System.out.println(sampleCorrectedJaccard(s1,s2, big1,big2));
}


Instance 4

Centrality↓:104.1612063139764  Specificity↑:0.6779169313187996
Class170.testCreateWithLineEnding()#0{
    BufferedReader reader = factory.create(new ByteArrayResource("a||b".getBytes())"UTF-8");
    assertEquals("a", reader.readLine());
    assertEquals("b", reader.readLine());
    assertEquals(null, reader.readLine());
}


Instance 5

Centrality↓:106.58594399451317  Specificity↑:5.010688920313532
Class50.sendRequest(String[] hosts,String urlSuffix,String method,String content)#0{
                conn.connect();
                int responseCode = conn.getResponseCode();
                System.out.println("Response Message: "+conn.getResponseMessage());
                if (responseCode >= 500) {
                    System.out.println("response code >=500");
                    taskOutput.append("response code >=500"+"\n");
                    retry++;
                    continue;
                }
                if(responseCode==HttpURLConnection.HTTP_OK) {
                    response = new BufferedReader(new InputStreamReader (conn.getInputStream()));
                    char[] cbuf = new char[]{};
                    response.read(cbuf);
                    s = response.readLine();
                    while(s != null) {
                        responseText.append(s);
                        responseText.append("\n");
                        s = response.readLine();
                    }
                    System.out.println("End response");
                    break;
                else {
                    // get error message
                    response = new BufferedReader(new InputStreamReader (conn.getErrorStream()));
                    s = response.readLine();
                    while(s != null) {
                        responseText.append(s);
                        responseText.append("\n");
                        s = response.readLine();
                    }

                    // Look for a detailed error message from the server
                    String errMess = conn.getHeaderField("Error");
                    if (errMess != null) {
                        System.err.println("Error: " + errMess);
                        taskOutput.append("Error: "+ errMess +"\n");
                    else if (responseText.length()>0) {
                        System.err.println("Error: " + responseText);
                        taskOutput.append("Error: "+ errMess +"\n");
                    }
                    break;
                }
}


Instance 6

Centrality↓:104.18432197654272  Specificity↑:2.616561901070965
Class320.readResponse(BufferedReader reader)#4{
            while ((line = reader.readLine()) != null)
            {
                if ("0".equals(line))
                {
                    line = reader.readLine();
                    assertEquals("", line);
                    break;
                }

                int length = Integer.parseInt(line, 16);
                for (int i = 0; i < length; ++i)
                {
                    char c = (char)reader.read();
                    body.append(c);
                }
                line = reader.readLine();
                assertEquals("", line);
            }
}


Instance 7

Centrality↓:107.48067985810859  Specificity↑:6.871078340522339
Class90.test_multiple_ranges()#1{
        get.setRequestHeader(new Header("Range""bytes 0-9,-10"));
        int status = httpClient.executeMethod(get);
        assertEquals("Expect 206/PARTIAL CONTENT"206, status);
        String contentType = get.getResponseHeader("Content-Type").getValue();
        assertTrue("Content Type must be multipart/byteranges",
            contentType.contains("multipart/byteranges"));
        String boundary = contentType.substring(contentType.indexOf("boundary=")
            "boundary=".length());
        BufferedReader reader = new BufferedReader(new InputStreamReader(
            get.getResponseBodyAsStream()));
        String line = reader.readLine();
        while (!("--" + boundary).equals(line)) {
            line = reader.readLine();
        }
        assertEquals("Expected content to start with boundary",
            "--" + boundary, line);
        assertEntityHeaders(reader, "text/plain""bytes 0-9/79");
        assertEquals("The quick ", reader.readLine());
        assertEquals("Expected content to start with boundary",
            "--" + boundary, reader.readLine());
        assertEntityHeaders(reader, "text/plain""bytes 69-78/79");
        assertEquals("corpus sic", reader.readLine());
}


Instance 8

Centrality↓:97.33462159661701  Specificity↑:0.25322505886107477
Class360.setArray(BufferedReader reader)#0{
    Object arrayObject = gateway.getObject(reader.readLine());
    int index = (IntegerProtocol.getObject(reader.readLine(), gateway);
}


Instance 9

Centrality↓:97.33462159661701  Specificity↑:0.25322505886107477
Class0.getArray(BufferedReader reader)#0{
    Object arrayObject = gateway.getObject(reader.readLine());
    int index = (IntegerProtocol.getObject(reader.readLine(), gateway);
}


Instance 10

Centrality↓:97.33190099113519  Specificity↑:0.37115658517450784
Class680.poll(MonitoredService svc,Map<String,Object> parameters)#5{
                    String response = rdr.readLine();
                    if (response != null && response.startsWith(IMAP_BYE_RESPONSE_PREFIX)) {
                        response = rdr.readLine();
                        if (response != null && response.startsWith(IMAP_LOGOUT_RESPONSE_PREFIX)) {
                            serviceStatus = PollStatus.available(responseTime);
                        }
                    }
}


Instance 11

Centrality↓:97.32331809725345  Specificity↑:0.3702447032089533
Class30.getStringSet(BufferedReader fin)#0{
    int i, size = Integer.parseInt(fin.readLine());
    for (i=0; i<size; i++)
      set.add(fin.readLine());
}


Instance 12

Centrality↓:97.35644290701687  Specificity↑:0.4185806518342678
Class500.skipBlock(BufferedReader in){
    String buffer = in.readLine();
    while(buffer != null)
    {
      if(buffer.startsWith("$"))
        return;
      buffer = in.readLine();
    }
}


Instance 13

Centrality↓:97.30594303855923  Specificity↑:0.6027888611437829
Class130.parsePhysicalNames(BufferedReader in){
    int nb = Integer.parseInt(in.readLine());
    for(int i = 0; i < nb; i++)
      toReturn[i= TOKENIZE.split(in.readLine())[2];
}


Instance 14

Centrality↓:97.29330392630065  Specificity↑:0.6586894104645109
Class170.testCreateWithLineEndingAtEnd()#0{
    BufferedReader reader = factory.create(new ByteArrayResource("a||".getBytes())"UTF-8");
    assertEquals("a", reader.readLine());
    assertEquals(null, reader.readLine());
}


Instance 15

Centrality↓:97.51009833439132  Specificity↑:0.9391968728360955
Class130.lenArray(BufferedReader reader){
    Object arrayObject = gateway.getObject(reader.readLine());
    reader.readLine();
    int length = Array.getLength(arrayObject);
    ReturnObject returnObject = gateway.getReturnObject(length);
    return Protocol.getOutputCommand(returnObject);
}


Instance 16

Centrality↓:97.23548983088126  Specificity↑:0.7855459507107486
Class360.setArray(BufferedReader reader)#1{
    Object objectToSet = Protocol.getObject(reader.readLine(), gateway);
    reader.readLine();
    Array.set(arrayObject, index, objectToSet);
}


Instance 17

Centrality↓:97.35686505491218  Specificity↑:1.025704629929568
Class680.testBeautify(){
        String res = DefaultRSAPubKey.beautify(longStr);
        BufferedReader sbuf = new BufferedReader(new StringReader(res));
        while ((line = sbuf.readLine()) != null) {
            if (line.length() != 60) {
                assertTrue("only the last line can be less than 60 chars", sbuf.readLine() == null);
            }
        }
}


Instance 18

Centrality↓:97.29631383866945  Specificity↑:1.00642944881611
Class310.read_attributes(Attributes attr,BufferedReader br){
    String s = br.readLine();
    while (s != null && (! s.equals("")))
      {
        readAttribute(attr, s, br);
        s = br.readLine();
      }
}


Instance 19

Centrality↓:97.40721991021417  Specificity↑:1.2582033879346355
Class720.readwoBS(BufferedReader reader){
  if( (line = reader.readLine())!=null){
      whileline.endsWith("\\"&&
       ((line2 = reader.readLine()) != null) ){
    line = line.substring(0,line.length()-1);
    line += line2;
      }
  }
}


Instance 20

Centrality↓:97.20775571143166  Specificity↑:1.1237777263341702
Class170.writeTreeWithOneChild(){
        Tree<String> tree = new Tree<String>("root");
        tree.addChild("child");
        BufferedReader reader = read(tree);
        assertEquals("root"     , reader.readLine());
        assertEquals("+- child" , reader.readLine());
}


Instance 21

Centrality↓:97.15211346701166  Specificity↑:1.103638323514327
Class420.assertLines(String in,String... lines)#1{
                assertEquals(line, bufferedReader.readLine());
            assertNull(bufferedReader.readLine());
}


Instance 22

Centrality↓:97.29201538812961  Specificity↑:1.3743088899875524
Class340.readIndividualSections(Map entries,BufferedReader br){
    String s = br.readLine();
    while (s != null && (! s.equals("")))
      {
        Attributes attr = readSectionName(s, br, entries);
        read_attributes(attr, br);
        s = br.readLine();
      }
}


Instance 23

Centrality↓:97.3861527557074  Specificity↑:1.4715177646857693
Class130.assertReaders(final BufferedReader expected,final BufferedReader actual)#0{
            final String actualLine = actual.readLine();
            Assert.assertNotNull("Expected had more lines than the actual.", actualLine);
            Assert.assertEquals(expectedLine, actualLine);
        Assert.assertNull("Actual had more lines than the expected.", actual.readLine());
}


Instance 24

Centrality↓:97.3533096796117  Specificity↑:1.4715200250151763
Class620.parseCodeRangeMappingSection(BufferedReader bf){
    String line = bf.readLine();
    while (line != null) {
      if (line.contains("endcodespacerange")) {
        break;
      }
      parseCodeRangeLine(line);
      line = bf.readLine();
    }
}


Instance 25

Centrality↓:97.35674168020881  Specificity↑:1.8602392571817816
Class980.checkUpdate(String s){
      URL url = new URL(s);
      URLConnection conn = url.openConnection();
      BufferedReader in = new BufferedReader
            new InputStreamReaderconn.getInputStream()));
      if ((line = in.readLine()) != null){
         version = line.trim();
         details = "";
         while( (line = in.readLine()) != null )
            details += line;
         return true;
      }
}


Instance 26

Centrality↓:97.56659858745188  Specificity↑:2.643261055786102
Class510.handle(String target,Request baseRequest,HttpServletRequest request,HttpServletResponse response)#1{
            BufferedReader reader=request.getReader();
            if (request.getContentLength()!=0)
            {
                String line=reader.readLine();
                while (line!=null)
                {
                    writer.print(line);
                    writer.print("\n");
                    count+=line.length();
                    line=reader.readLine();
                }
            }
            if (count==0)
            {
                if (_musthavecontent)
                    throw new IllegalStateException("no input recieved");

                writer.println("No content");
            }
            reader.close();
}


Instance 27

Centrality↓:97.36060261791695  Specificity↑:2.613282496738492
Class400.getWordsFromFile(String filename,Set<String> resultSet,boolean lowercase)#0{
    if(filename==null) {
      return ;
    }
    BufferedReader reader = IOUtils.readerFromString(filename);
    while(reader.ready()) {
      if(lowercaseresultSet.add(reader.readLine().toLowerCase());
      else resultSet.add(reader.readLine());
    }
    IOUtils.closeIgnoringExceptions(reader);
}


Instance 28

Centrality↓:97.28496999807159  Specificity↑:2.5751560882000963
Class500.createJVMView(BufferedReader reader){
    String name = StringUtil.unescape(reader.readLine());
    reader.readLine();
    JVMView newView = new JVMView(name, null);
    ReturnObject rObject = gateway.getReturnObject(newView);
    newView.setId(rObject.getName());
    return Protocol.getOutputCommand(rObject);
}


Instance 29

Centrality↓:97.35668724917544  Specificity↑:2.8467861968980457
Class310.readFile()#0{
        BufferedReader br = new BufferedReader(new FileReader("src/test/resources/script1"));
        String line = br.readLine();
        while (line != null) {
            if (line.trim().length() && !line.trim().startsWith("#"))
                lines.add(line);
            line = br.readLine();
        }
}


Instance 30

Centrality↓:97.36013770839564  Specificity↑:4.2526382558149125
Class70.TestServer()#0{
            Socket s = _serverSocket.accept();
              BufferedReader r = new BufferedReader(new InputStreamReader(s.getInputStream(),
                                                                          Charset.forName("ISO-8859-1")));
              String line = r.readLine();
              String response = line==null null : getResponse(line);
              if (response != null)
              {
                s.getOutputStream().write(response.getBytes());

                // Close the server->client half of the connection
                s.shutdownOutput();

                // Keep reading from the client->server half of the connection; if we close
                // it prematurely (before client finishes writing the request) client may receive
                // a RST; gather all the input in case the client wants it.
                StringBuilder sb = new StringBuilder(line);
                while ((line = r.readLine()) != null)
                {
                  sb.append(line);
                }
                synchronized (_lastRequestLock)
                {
                  _lastRequest = sb.toString();
                  _lastRequestLock.notify();
                }

                s.close();
              }
}


Instance 31

Centrality↓:97.48719618979997  Specificity↑:5.609386759139775
Class580.readContentFromPOST(BufferedReader br)#0{
}


Instance 32

Centrality↓:77.06507048793371  Specificity↑:0.1353352832366127
Class0.compareLines(String text,String[] lines)#1{
      Assert.assertEquals(lines[i], reader.readLine());
}


Instance 33

Centrality↓:77.06507048793371  Specificity↑:0.1353352832366127
Class280.compareLines(String text,String[] lines)#1{
      Assert.assertEquals(lines[i], reader.readLine());
}


Instance 34

Centrality↓:76.99535915977702  Specificity↑:0.2706705664732254
Class70.testTransfer(String host,int port,String conOptions)#4{
}


Instance 35

Centrality↓:76.99535915977702  Specificity↑:0.2706705664732254
Class70.testTransfer(String host,int port,String conOptions)#6{
}


Instance 36

Centrality↓:76.62995847078226  Specificity↑:0.0
Class720.stop(final Log LOG,final ProcessDescription cfg)#14{
                            in.readLine();
}


Instance 37

Centrality↓:76.62995847078226  Specificity↑:0.0
Class550.readLine(BufferedReader reader)#0{
            return reader.readLine();
}


Instance 38

Centrality↓:76.62995847078226  Specificity↑:0.0
Class550.readLine(BufferedReader reader)#1{
            line = reader.readLine();
}


Instance 39

Centrality↓:76.62995847078226  Specificity↑:0.0
Class260.poll(MonitoredService svc,Map<String,Object> parameters)#9{
                    String response = rdr.readLine();
}


Instance 40

Centrality↓:76.62995847078226  Specificity↑:0.0
Class340.skipInput()#1{
            (new BufferedReader(new InputStreamReader(in))).readLine();
}


Instance 41

Centrality↓:76.62995847078226  Specificity↑:0.0
Class480.readString(final BufferedReader r)#0{
      return r.readLine();
}


Instance 42

Centrality↓:76.62995847078226  Specificity↑:0.0
Class110.SWTSamplesShell()#2{
      line = in.readLine();
}


Instance 43

Centrality↓:76.62995847078226  Specificity↑:0.0
Class110.loadLocations(S3Client client)#3{
            reader.readLine();
}


Instance 44

Centrality↓:76.62995847078226  Specificity↑:0.0
Class80.FileIterator(BufferedReader br){
            nextLine = br.readLine();
}


Instance 45

Centrality↓:76.62995847078226  Specificity↑:0.0
Class320.readLine(BufferedReader reader)#1{
            return reader.readLine();
}


Instance 46

Centrality↓:76.62995847078226  Specificity↑:0.0
Class180.getLine(ByteArrayOutputStream out)#1{
        return bRd.readLine();
}


Instance 47

Centrality↓:76.62995847078226  Specificity↑:0.0
Class640.waitForPrompt(BufferedReader stdout,String prompt)#2{
            String line = stdout.readLine();
}


Instance 48

Centrality↓:76.62995847078226  Specificity↑:0.0
Class640.readAhead(BufferedReader br)#1{
            return br.readLine();
}


Instance 49

Centrality↓:76.62995847078226  Specificity↑:0.0
Class160.loadProducts(S3Client client)#2{
            reader.readLine();
}


Instance 50

Centrality↓:76.62995847078226  Specificity↑:0.0
Class230.planSql(String sql)#10{
                line = r.readLine();
}


Instance 51

Centrality↓:76.62995847078226  Specificity↑:0.0
Class490.getLineFromReader(BufferedReader rdr)#0{
            return rdr.readLine();
}


Instance 52

Centrality↓:76.62995847078226  Specificity↑:0.0
Class490.getLine(BufferedReader reader)#1{
            s = reader.readLine();
}


Instance 53

Centrality↓:76.62995847078226  Specificity↑:0.0
Class490.readLine(BufferedReader reader)#1{
      return reader.readLine();
}


Instance 54

Centrality↓:76.62995847078226  Specificity↑:0.0
Class580.getEncodedByteArray(String content,String charset)#4{
        String line = bfr.readLine();
}


Instance 55

Centrality↓:76.62995847078226  Specificity↑:0.0
Class370.getLine(BufferedReader bReader)#2{
            String line = bReader.readLine();
}


Instance 56

Centrality↓:76.62995847078226  Specificity↑:0.0
Class700.main(String[] args)#3{
      System.out.printf("Hi, %s!%n", in.readLine());
}


Instance 57

Centrality↓:76.62995847078226  Specificity↑:0.0
Class700.testFileWithSpaces(PrintWriter out,BufferedReader in)#1{
        response = in.readLine();
}


Instance 58

Centrality↓:76.62995847078226  Specificity↑:0.0
Class710.send(final BufferedReader in,final BufferedWriter out,final String s)#1{
        final String r = in.readLine();
}


Instance 59

Centrality↓:76.62995847078226  Specificity↑:0.0
Class380.loadSeries(S3Client client)#2{
            reader.readLine();
}


Instance 60

Centrality↓:76.62995847078226  Specificity↑:0.0
Class380.loadEpisodes(S3Client client)#2{
            reader.readLine();
}


Instance 61

Centrality↓:76.62995847078226  Specificity↑:0.0
Class350.read(final BufferedReader r)#0{
                return r.readLine();
}


Instance 62

Centrality↓:76.62995847078226  Specificity↑:0.0
Class120.readLine(BufferedReader reader)#1{
      readLine = reader.readLine();
}


Instance 63

Centrality↓:76.62995847078226  Specificity↑:0.0
Class120.getRecordId(BufferedReader reader)#1{
                    getSegmentStore().getTracker(), reader.readLine());
}


Instance 64

Centrality↓:76.62995847078226  Specificity↑:0.0
Class70.loadBrands(S3Client client)#1{
            reader.readLine();
}


Instance 65

Centrality↓:76.62995847078226  Specificity↑:0.0
Class360.SWTSamplesShell()#1{
      line = in.readLine();
}


Instance 66

Centrality↓:76.62995847078226  Specificity↑:0.0
Class590.startupFinished()#4{
                in.readLine();
}


Instance 67

Centrality↓:76.62995847078226  Specificity↑:0.0
Class220.readLine(BufferedReader reader,String fileName)#0{
      return reader.readLine();
}


Instance 68

Centrality↓:76.62995847078226  Specificity↑:0.0
Class540.readUmask()#1{
    return lineRead.readLine();
}


Instance 69

Centrality↓:76.62995847078226  Specificity↑:0.0
Class430.outPutChar(Writer out,BufferedReader buffer)#5{
            buffer.readLine();
}


Instance 70

Centrality↓:76.62995847078226  Specificity↑:0.0
Class560.readLine(final BufferedReader reader){
            return reader.readLine();
}


Instance 71

Centrality↓:76.62995847078226  Specificity↑:0.0
Class590.getNextLine(BufferedReader br){
            line = br.readLine();
}


Instance 72

Centrality↓:76.62995847078226  Specificity↑:0.0
Class290.doIt(BufferedReader reader,String input)#0{
      input = reader.readLine();
}


Instance 73

Centrality↓:76.62995847078226  Specificity↑:0.0
Class480.readLine(BufferedReader inReader2)#5{
      return inReader2.readLine();
}


Instance 74

Centrality↓:76.62995847078226  Specificity↑:0.0
Class270.parseFile(File f,String sep,boolean skipFirstLine)#2{
    if (skipFirstLinebr.readLine();
}


Instance 75

Centrality↓:76.62995847078226  Specificity↑:0.0
Class40.readFromStream(InputStream is)#9{
        String line = br.readLine();
}


Instance 76

Centrality↓:76.62995847078226  Specificity↑:0.0
Class120.getReader(String alias,boolean recycle,boolean firstLineIsNames)#6{
                    reader.readLine();
}


Instance 77

Centrality↓:76.62995847078226  Specificity↑:0.0
Class120.getReader(String alias,boolean recycle,boolean firstLineIsNames)#7{
                            reader.readLine();
}


Instance 78

Centrality↓:77.01575047949484  Specificity↑:0.3861950800601765
Class450.slice_list(BufferedReader reader)#0{
    List list1 = (Listgateway.getObject(reader.readLine());
}


Instance 79

Centrality↓:76.86250262871708  Specificity↑:0.36787944117144233
Class370.handleRequest(BufferedReader reader,PrintWriter writer)#1{
      writer.println(reader.readLine());
}


Instance 80

Centrality↓:77.22513925365038  Specificity↑:0.7357588823428847
Class310.fromTeX(boolean hexcode,String lettersPath,String outfilePath)#10{
        for (String line = inbr.readLine(); line != null; line = inbr.readLine()) {
            String[] codes = line.split("\\s+");
            if (!(codes[0].equals("\\L"|| codes[0].equals("\\l"))) {
                continue;
            }
            if (codes.length == 3) {
                ow.write("\"" + line + "\" has two codes");
                continue;
            }
            if (codes[0].equals("\\l"&& codes.length != 2) {
                ow.write("\"" + line + "\" should have one code");
                continue;
            else if (codes[0].equals("\\L"&& codes.length != 4) {
                ow.write("\"" + line + "\" should have three codes");
                continue;
            }
            if (codes[0].equals("\\l"|| (codes[0].equals("\\L"&& codes[1].equals(codes[3]))) {
                StringBuilder s = new StringBuilder();
                if (hexcode) {
                    s.append("0x" + codes[1].replaceFirst("^0+""").toLowerCase() " ");
                }
                s.append(Character.toChars(Integer.parseInt(codes[1]16)));
                if (codes[0].equals("\\L")) {
                    s.append(Character.toChars(Integer.parseInt(codes[2]16)));
                }
                ow.write(s.toString() "\n");
            }
        }
}


Instance 81

Centrality↓:76.94805084358583  Specificity↑:0.503214724408055
Class510.writeBinaryStream(java.io.InputStream x)#3{
                String strLine = bufReader.readLine();
                writeString(str.concat(strLine));
}


Instance 82

Centrality↓:76.94805084358583  Specificity↑:0.503214724408055
Class460.newBufferedReader()#2{
        assertThatreader.readLine() ).isNull();
}


Instance 83

Centrality↓:76.94805084358583  Specificity↑:0.503214724408055
Class90.writeCharacterStream(java.io.Reader x)#2{
                String strLine = bufReader.readLine();
                writeString(str.concat(strLine));
}


Instance 84

Centrality↓:76.62995847078226  Specificity↑:0.36787944117144233
Class310.doRequest(int port,boolean addCookie)#2{
            SES_ID.set(rdr.readLine());
}


Instance 85

Centrality↓:76.62995847078226  Specificity↑:0.36787944117144233
Class390.testDispatch()#0{
        assertThat("!ForwardingServlet",br.readLine(),equalTo("Dispatched back to ForwardingServlet"));
}


Instance 86

Centrality↓:76.62995847078226  Specificity↑:0.36787944117144233
Class730.run()#1{
            String command = in.readLine();
            runCommand(command, out);
}


Instance 87

Centrality↓:76.62995847078226  Specificity↑:0.36787944117144233
Class650.readName(final BufferedReader buffered_reader)#2{
      throw new QualifierParseException ("zero length qualifier name read " +
                                         "from this string: " +
                                         buffered_reader.readLine ());
}


Instance 88

Centrality↓:76.62995847078226  Specificity↑:0.36787944117144233
Class510.process()#2{
      line = reader.readLine();
      writeToKafka(line);
}


Instance 89

Centrality↓:76.62995847078226  Specificity↑:0.36787944117144233
Class50.handleContextHeader(BufferedReader document)#0{
        return (readHeader? document.readLine().trim() null;
}


Instance 90

Centrality↓:76.62995847078226  Specificity↑:0.36787944117144233
Class140.assertResult(byte[] bytes,String... lines)#0{
      assertEquals(error + " - line " (++lineNum), line, reader.readLine());
}


Instance 91

Centrality↓:76.62995847078226  Specificity↑:0.36787944117144233
Class290.deleteObject(BufferedReader reader)#0{
    reader.readLine();
    gateway.deleteObject(objectId);
}


Instance 92

Centrality↓:76.62995847078226  Specificity↑:0.36787944117144233
Class100.sendCommand(DeviceCommand command)#4{
}


Instance 93

Centrality↓:76.62995847078226  Specificity↑:0.36787944117144233
Class200.receive(final BufferedReader in){
        setResponse(in.readLine());
}


Instance 94

Centrality↓:76.97952227306496  Specificity↑:0.7357588823428847
Class510.checkSource(int i,File parent,Source source)#2{
            final String line = reader.readLine();
            assertEquals("hello" + i, line);
            reader.close();
}


Instance 95

Centrality↓:76.88081212339347  Specificity↑:0.7424968293419701
Class400.getAnswer(BufferedReader in,PrintWriter out,String command)#5{
        String statusline  = in.readLine().trim();
        log(Level.TRACE, "Read status line '%s'", statusline);
        String[] statusinfo = statusline.split(" ");
}


Instance 96

Centrality↓:76.94805084358583  Specificity↑:0.8710941655794974
Class460.newBufferedReader()#4{
        assertThatreader.readLine() ).isNotNull().isEqualTo"content" );
}


Instance 97

Centrality↓:76.87557545136767  Specificity↑:0.8710941655794974
Class0.getArray(BufferedReader reader)#1{
    reader.readLine();
    Object getObject = Array.get(arrayObject, index);
    ReturnObject returnObject = gateway.getReturnObject(getObject);
    return Protocol.getOutputCommand(returnObject);
}


Instance 98

Centrality↓:76.62995847078226  Specificity↑:0.7357588823428847
Class740.testVisitBundle()#0{
    final BufferedReader reader = getResultReader();
    assertEquals(
        "bundle,org.jacoco.example,FooClass,10,15,1,2,0,3,1,2,0,1",
        reader.readLine());
}


Instance 99

Centrality↓:76.62995847078226  Specificity↑:0.7357588823428847
Class730.getReader_read_chokes_onStreamError()#1{
        BufferedReader reader = sut().getReader();
        reader.readLine();
}


Instance 100

Centrality↓:76.62995847078226  Specificity↑:0.7357588823428847
Class730.TestHeader(){
    BufferedReader reader = getResultReader();
    assertEquals(
        "GROUP,PACKAGE,CLASS,INSTRUCTION_MISSED,INSTRUCTION_COVERED,BRANCH_MISSED,BRANCH_COVERED,LINE_MISSED,LINE_COVERED,COMPLEXITY_MISSED,COMPLEXITY_COVERED,METHOD_MISSED,METHOD_COVERED",
        reader.readLine());
}


Instance 101

Centrality↓:76.94805084358583  Specificity↑:1.103638323514327
Class430.loadModel(BufferedReader reader){
    double globalAverage = Double.parseDouble(reader.readLine());
    double[] itemBiases = VectorExtensions.readVectorArray(reader);
    reader.close();
}


Instance 102

Centrality↓:76.7652937126195  Specificity↑:1.1103762705134126
Class0.testCreate()#0{
    BufferedReader reader = factory.create(new ByteArrayResource("a\nb\nc".getBytes())"UTF-8");
    assertEquals("a", reader.readLine());
}


Instance 103

Centrality↓:76.62995847078226  Specificity↑:1.103638323514327
Class110.serve(Socket s){
      PrintStream ps = GetPrintStream(s);
      BufferedReader br = GetBufferedReader(s);
      String token = br.readLine();
      ps.println(token);
}


Instance 104

Centrality↓:76.62995847078226  Specificity↑:1.103638323514327
Class190.testGetIndex(){
      BufferedReader remoteFile = synchronizer.getRemoteFile("index.org");
      String firstLine = remoteFile.readLine();
      assertEquals("#+READONLY", firstLine);
      fail("Couldn't get index.org");
}


Instance 105

Centrality↓:76.62995847078226  Specificity↑:1.103638323514327
Class120.getReader_read_receiveStringFromStream()#1{
        BufferedReader reader = sut(stream, mockOutput()).getReader();
        String result = reader.readLine();
}


Instance 106

Centrality↓:76.86250262871708  Specificity↑:1.4715177646857693
Class150.handleRequest(BufferedReader reader,PrintWriter writer){
    String line = reader.readLine();
    LOG.info("Received: " + line + " going to divide by it");
    Integer toDivide = Integer.valueOf(line);
    writer.println(Integer.toString(100 / toDivide));
}


Instance 107

Centrality↓:76.62995847078226  Specificity↑:1.4715177646857693
Class300.testSendMessage()#2{
    ss = new SocketService(portNumber, new HelloService());
    Socket s = new Socket("localhost", portNumber);
    BufferedReader br = GetBufferedReader(s);
    String answer = br.readLine();
}


Instance 108

Centrality↓:76.62995847078226  Specificity↑:2.207276647028654
Class130.regularResponse()#0{
}