Conference paper Open Access

Readability and Understandability Scores for SnippetAssessment: an Exploratory Study

carlos eduardo C. dantas; Marcelo A. Maia


DataCite XML Export

<?xml version='1.0' encoding='utf-8'?>
<resource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://datacite.org/schema/kernel-4" xsi:schemaLocation="http://datacite.org/schema/kernel-4 http://schema.datacite.org/meta/kernel-4.1/metadata.xsd">
  <identifier identifierType="DOI">10.5281/zenodo.5224346</identifier>
  <creators>
    <creator>
      <creatorName>carlos eduardo C. dantas</creatorName>
      <affiliation>UFU</affiliation>
    </creator>
    <creator>
      <creatorName>Marcelo A. Maia</creatorName>
      <nameIdentifier nameIdentifierScheme="ORCID" schemeURI="http://orcid.org/">0000-0003-3578-1380</nameIdentifier>
      <affiliation>UFU</affiliation>
    </creator>
  </creators>
  <titles>
    <title>Readability and Understandability Scores for SnippetAssessment: an Exploratory Study</title>
  </titles>
  <publisher>Zenodo</publisher>
  <publicationYear>2021</publicationYear>
  <subjects>
    <subject>readability, understandability, code snippets, likert, code comprehension</subject>
  </subjects>
  <dates>
    <date dateType="Issued">2021-08-19</date>
  </dates>
  <language>en</language>
  <resourceType resourceTypeGeneral="ConferencePaper"/>
  <alternateIdentifiers>
    <alternateIdentifier alternateIdentifierType="url">https://zenodo.org/record/5224346</alternateIdentifier>
  </alternateIdentifiers>
  <relatedIdentifiers>
    <relatedIdentifier relatedIdentifierType="URL" relationType="IsSupplementTo">https://github.com/carloseduardoxp/VEM2021-reproduction-kit</relatedIdentifier>
    <relatedIdentifier relatedIdentifierType="DOI" relationType="IsVersionOf">10.5281/zenodo.5224345</relatedIdentifier>
  </relatedIdentifiers>
  <rightsList>
    <rights rightsURI="https://creativecommons.org/licenses/by/4.0/legalcode">Creative Commons Attribution 4.0 International</rights>
    <rights rightsURI="info:eu-repo/semantics/openAccess">Open Access</rights>
  </rightsList>
  <descriptions>
    <description descriptionType="Abstract">&lt;p&gt;Code search engines usually use readability feature to rank code snippets.&amp;nbsp; There are several metrics to calculate this feature, but developers may have different perceptions about readability. Correlation between readability and understandability features has already been proposed, i.e., developers need to read and comprehend the code snippet syntax, but also understand the semantics. This work investigate scores for understandability and readability features, under the perspective of the possible subjective perception of code snippet comprehension. We find that code snippets with higher readability score has better comprehension than lower ones. The understandability score presents better comprehension in specific situations, e.g. nested loops or if-else chains. The developers also mentioned writability aspects as the principal characteristic to evaluate code snippets comprehension. These results provide insights for future works in code comprehension score optimization.&lt;/p&gt;</description>
  </descriptions>
</resource>
52
1
views
downloads
All versions This version
Views 5252
Downloads 11
Data volume 83.5 MB83.5 MB
Unique views 3737
Unique downloads 11

Share

Cite as