Conference paper Open Access

Readability and Understandability Scores for SnippetAssessment: an Exploratory Study

carlos eduardo C. dantas; Marcelo A. Maia


Citation Style Language JSON Export

{
  "publisher": "Zenodo", 
  "DOI": "10.5281/zenodo.5224346", 
  "language": "eng", 
  "title": "Readability and Understandability Scores for SnippetAssessment: an Exploratory Study", 
  "issued": {
    "date-parts": [
      [
        2021, 
        8, 
        19
      ]
    ]
  }, 
  "abstract": "<p>Code search engines usually use readability feature to rank code snippets.&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.</p>", 
  "author": [
    {
      "family": "carlos eduardo C. dantas"
    }, 
    {
      "family": "Marcelo A. Maia"
    }
  ], 
  "type": "paper-conference", 
  "id": "5224346"
}
53
1
views
downloads
All versions This version
Views 5353
Downloads 11
Data volume 83.5 MB83.5 MB
Unique views 3838
Unique downloads 11

Share

Cite as