<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/oai-pmh.xsl"?>
<OAI-PMH xmlns="http://www.openarchives.org/OAI/2.0/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/ http://www.openarchives.org/OAI/2.0/OAI-PMH.xsd">
  <responseDate>2026-09-20T02:15:49Z</responseDate>
  <request identifier="oai:www.ideals.illinois.edu:2142/31123" metadataPrefix="etdms" verb="GetRecord">https://www.ideals.illinois.edu/oai-pmh</request>
  <GetRecord>
    <record>
      <header>
        <identifier>oai:www.ideals.illinois.edu:2142/31123</identifier>
        <datestamp>2023-07-10</datestamp>
        <setSpec>col_2142_5131</setSpec>
        <setSpec>col_2142_10761</setSpec>
        <setSpec>com_2142_5130</setSpec>
        <setSpec>com_2142_10755</setSpec>
        <setSpec>com_2142_234</setSpec>
      </header>
      <metadata>
        <thesis xmlns="http://www.ndltd.org/standards/metadata/etdms/1.1/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:dc="http://purl.org/dc/elements/1.1/" xsi:schemaLocation="http://www.ndltd.org/standards/metadata/etdms/1.1/ http://www.ndltd.org/standards/metadata/etdms/1.1/etdms11.xsd http://purl.org/dc/elements/1.1/ http://www.ndltd.org/standards/metadata/etdms/1.1/etdmsdc.xsd">
          <dc:contributor>Marinov, Darko</dc:contributor>
          <dc:contributor>Tan, Lin</dc:contributor>
          <dc:creator>Tan, Shin Hwei</dc:creator>
          <dc:date>2012-05-22T00:29:33Z</dc:date>
          <dc:date>2012-05-22T00:29:33Z</dc:date>
          <dc:date>2012-05</dc:date>
          <dc:date>2012-05-22T00:29:33Z</dc:date>
          <dc:date>2012-05</dc:date>
          <dc:description>Code comments are important artifacts in software. Javadoc comments are widely used in Java for API specifications. API developers write Javadoc comments, and API users often read these comments to understand the API they use, e.g., an API user can read a Javadoc comment for a method instead of reading the method body of the method. An inconsistency between the Javadoc comment and body for a method indicates either a fault in the body or, effectively, a fault in the comment that can mislead the method callers of the method to introduce faults in their code.
This thesis presents a novel approach, called @tComment, for testing Javadoc comments, specifically for testing method properties about null values and related exceptions. Our approach consists of two components. The first component takes as input source files for a Java project and automatically analyzes the English text in Javadoc comments to infer a set of likely properties for a method in the files. The second component generates random tests for these methods, checks the inferred properties, and reports inconsistencies. We evaluated @tComment on seven open-source projects and found 28 inconsistencies between Javadoc comments and method bodies. We reported all inconsistencies, and 12 have already been confirmed and fixed by the developers.</dc:description>
          <dc:description>Item withdrawn by Mark Zulauf (zulauf@illinois.edu) on 2012-04-26T18:29:13Z
Item was in collections:
University of Illinois Theses &amp; Dissertations (ID: 1)
No. of bitstreams: 1
Tan_ShinHwei.pdf: 170448 bytes, checksum: 769c2728dee50821d3e5ecd0a03d5c56 (MD5)</dc:description>
          <dc:description>Made available in DSpace on 2012-05-22T00:29:33Z (GMT). No. of bitstreams: 2
Tan_ShinHwei.pdf: 170448 bytes, checksum: 769c2728dee50821d3e5ecd0a03d5c56 (MD5)
license.txt: 4055 bytes, checksum: abc1322f076f8bf7bf559551f0da39ab (MD5)</dc:description>
          <dc:identifier>http://hdl.handle.net/2142/31123</dc:identifier>
          <dc:language>en</dc:language>
          <dc:rights>Copyright 2012 Shin Hwei Tan</dc:rights>
          <dc:subject>comment analysis</dc:subject>
          <dc:subject>random testing</dc:subject>
          <dc:subject>test generation</dc:subject>
          <dc:title>@tComment: testing Javadoc comments to detect comment-code inconsistencies</dc:title>
          <dc:type>text</dc:type>
          <degree>
            <grantor>University of Illinois at Urbana-Champaign</grantor>
            <level>Thesis</level>
            <department>Computer Science</department>
            <departmentCode>1434</departmentCode>
            <discipline>Computer Science</discipline>
            <disciplineCode>0112</disciplineCode>
            <name>M.S.</name>
            <program>MS:Computer Science -UIUC</program>
            <programCode>10KS0112MS</programCode>
          </degree>
        </thesis>
      </metadata>
    </record>
  </GetRecord>
</OAI-PMH>
