Back to search

Kent State University

A COMPREHENSIVE EXAMINATION OF FACTORS FOR ASSESSING THE QUALITY OF METHOD NAMES IN SOURCE CODE

Abstract

dc:description

Identifier names are an intrinsic part of the software and more importantly, program comprehension. They are the primary source of information programmers use to acquire knowledge about source code. There are many ways to improve the comprehension of software, but one crucial way is to improve the quality of names used inside the source code. High-quality identifiers play an essential role in increasing productivity, and according to the literature, high-quality identifier names save a significant amount of time and costs during software evolution.The dissertation comprehensively examines factors for assessing the quality of method names in source code. Ten method naming standards are proposed and evaluated by +1100 software engineering professionals. The various standards for source code method names are derived from and supported in the software engineering literature. The large-scale evaluation results in a consensus among developers that the standards are accepted and used in practice. Factors such as years of experience and programming language knowledge are also considered.The dissertation also presents an approach and a tool to automatically assess the quality of method names by providing a quality rate and feedback about the flaw in a name. The approach implements the ten method naming standards to evaluate a given method name. Natural language processing techniques such as part-of-speech tagging, identifier splitting, and dictionary lookup are used to implement the standards. A large golden set of method name quality ratings is developed. Each method name is rated by several experienced developers and labeled as conforming to each standard or not. These ratings allow comparing the results of the proposed approach against expert assessment. The golden set is used to evaluate the approach. The approach is also applied to several systems written in different programming languages, and the results are manually inspected for accuracy. The final results show consistent and high average precision, recall, and F-score numbers across the evaluated systems.

Degree

thesis:*
Name thesis:degree_name
PHD
Level thesis:degree_level
doctoral
Discipline thesis:degree_discipline
College of Arts and Sciences / Department of Computer Science
Grantor dc:publisher
Kent State University
Year dc:date
2022

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Alsuhaibani, Reem Saleh
Advisor dc:contributor.advisor
  • Maletic, Jonathan

Subjects

dc:subject × 2

Rights

dc:rights
Statement dc:rights
  • unrestricted
  • This thesis or dissertation is protected by copyright: all rights reserved. It may not be copied or redistributed beyond the terms of applicable copyright laws.
Language dc:language
English

Identifiers

dc:identifier.*

Chain of custody

source
Harvested from
OhioLINK
Base URL
etd.ohiolink.edu/acprod/odb_etd/ws/oai/oai
Last updated
2026-11-27
Source record
OAI-PMH GetRecord
citation

Alsuhaibani, Reem Saleh. A COMPREHENSIVE EXAMINATION OF FACTORS FOR ASSESSING THE QUALITY OF METHOD NAMES IN SOURCE CODE. doctoral thesis, Kent State University, 2022. http://rave.ohiolink.edu/etdc/view?acc_num=kent165153486756717