On the Naming of Methods: A Survey of Professional Developers

被引:21
作者
Alsuhaibani, Reem S. [1 ,2 ]
Newman, Christian D. [3 ]
Decker, Michael J. [4 ]
Collard, Michael L. [5 ]
Maletic, Jonathan, I [1 ]
机构
[1] Kent State Univ, Comp Sci, Kent, OH 44240 USA
[2] Prince Sultan Univ, Riyadh, Saudi Arabia
[3] Rochester Inst Technol, Software Engn, Rochester, NY 14623 USA
[4] Bowling Green State Univ, Comp Sci, Bowling Green, OH 43403 USA
[5] Univ Akron, Comp Sci, Akron, OH 44325 USA
来源
2021 IEEE/ACM 43RD INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE 2021) | 2021年
基金
美国国家科学基金会;
关键词
method names; coding standards; styling; naming conventions; IDENTIFIER NAMES; COMPREHENSION;
D O I
10.1109/ICSE43902.2021.00061
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
This paper describes the results of a large (+1100 responses) survey of professional software developers concerning standards for naming source code methods. The various standards for source code method names are derived from and supported in the software engineering literature. The goal of the survey is to determine if there is a general consensus among developers that the standards are accepted and used in practice. Additionally, the paper examines factors such as years of experience and programming language knowledge in the context of survey responses. The survey results show that participants very much agree about the importance of various standards and how they apply to names and that years of experience and the programming language has almost no effect on their responses. The results imply that the given standards are both valid and to a large degree complete. The work provides a foundation for automated method name assessment during development and code reviews.
引用
收藏
页码:587 / 599
页数:13
相关论文
共 92 条
  • [1] Abebe Surafel Lemma, 2010, Proceedings of the 18th IEEE International Conference on Program Comprehension (ICPC 2010), P156, DOI 10.1109/ICPC.2010.29
  • [2] Lexicon Bad Smells in Software
    Abebe, Surafel Lemma
    Haiduc, Sonia
    Tonella, Paolo
    Marcus, Andrian
    [J]. 16TH WORKING CONFERENCE ON REVERSE ENGINEERING (WCRE 2009), 2009, : 95 - +
  • [3] The Expansion of Source Code Abbreviations Using a Language Model
    Alatawi, Abdulrahman
    Xu, Weifeng
    Yan, Jie
    [J]. 2018 IEEE 42ND ANNUAL COMPUTER SOFTWARE AND APPLICATIONS CONFERENCE (COMPSAC 2018), VOL 2, 2018, : 370 - 375
  • [4] Suggesting Accurate Method and Class Names
    Allamanis, Miltiadis
    Barr, Earl T.
    Bird, Christian
    Sutton, Charles
    [J]. 2015 10TH JOINT MEETING OF THE EUROPEAN SOFTWARE ENGINEERING CONFERENCE AND THE ACM SIGSOFT SYMPOSIUM ON THE FOUNDATIONS OF SOFTWARE ENGINEERING (ESEC/FSE 2015) PROCEEDINGS, 2015, : 38 - 49
  • [5] AlSuhaibani R.S., 2021, METHOD NAMING STANDA
  • [6] AlSuhaibani R.S., 2021, MENDELEY DATA, V1, DOI [10.17632/5d7vx88sph.1, DOI 10.17632/5D7VX88SPH.1]
  • [7] [Anonymous], 2012, QUAL RES CLIN HEAL P
  • [8] Linguistic antipatterns: what they are and how developers perceive them
    Arnaoudova, Venera
    Di Penta, Massimiliano
    Antoniol, Giuliano
    [J]. EMPIRICAL SOFTWARE ENGINEERING, 2016, 21 (01) : 104 - 158
  • [9] REPENT: Analyzing the Nature of Identifier Renamings
    Arnaoudova, Venera
    Eshkevari, Laleh M.
    Di Penta, Massimiliano
    Oliveto, Rocco
    Antoniol, Giuliano
    Gueheneuc, Yann-Gael
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2014, 40 (05) : 502 - 532
  • [10] A New Family of Software Anti-Patterns: Linguistic Anti-Patterns
    Arnaoudova, Venera
    Di Penta, Massimiliano
    Antoniol, Giuliano
    Gueheneuc, Yann-Gael
    [J]. PROCEEDINGS OF THE 17TH EUROPEAN CONFERENCE ON SOFTWARE MAINTENANCE AND REENGINEERING (CSMR 2013), 2013, : 187 - 196