已入深夜,您辛苦了!由于当前在线用户较少,发布求助请尽量完整地填写文献信息,科研通机器人24小时在线,伴您度过漫漫科研夜!祝你早点完成任务,早点休息,好梦!

An empirical study of rules for well‐formed identifiers

作者
Dawn Lawrie,Henry Feild,David Binkley
出处
期刊:Journal of Software Maintenance and Evolution: Research and Practice [Wiley]
卷期号:19 (4): 205-229 被引量:31
标识
DOI:10.1002/smr.350
摘要

Abstract Readers of programs have two main sources of domain information: identifier names and comments. In order to efficiently maintain source code, it is important that the identifier names (as well as comments) communicate clearly the concepts they represent. Deißenböck and Pizka recently introduced two rules for creating well‐formed identifiers: one considers the consistency of identifiers and the other their conciseness. These rules require a mapping from identifiers to the concepts they represent, which may be costly to develop after the initial release of a system. An approach for verifying whether identifiers are well formed without any additional information (e.g., a concept mapping) is developed. Using a pool of 48 million lines of code, experiments with the resulting syntactic rules for well‐formed identifiers illustrate that violations of the syntactic pattern exist. Two case studies show that three‐quarters of these violations are ‘real’. That is, they could be identified using a concept mapping. Three related studies show that programmers tend to use a rather limited vocabulary, that, contrary to many other aspects of system evolution, maintenance does not introduce additional rule violations, and that open and proprietary sources differ in their percentage of violations. Copyright © 2007 John Wiley & Sons, Ltd.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
风华正茂完成签到,获得积分10
刚刚
大模型应助傲娇汽车采纳,获得10
刚刚
1秒前
蔥Cong完成签到,获得积分10
1秒前
欧皇完成签到,获得积分20
1秒前
1秒前
帅气忻完成签到 ,获得积分10
1秒前
LONG发布了新的文献求助10
2秒前
3秒前
3秒前
幽默的涵菡完成签到,获得积分10
3秒前
Ava应助敬业乐群采纳,获得10
4秒前
Ade完成签到,获得积分10
4秒前
温辞发布了新的文献求助10
4秒前
4秒前
蔥Cong发布了新的文献求助10
4秒前
苏离完成签到 ,获得积分10
4秒前
布隆的保龄球完成签到,获得积分10
5秒前
baihehuakai完成签到 ,获得积分10
5秒前
关你屁事完成签到,获得积分10
6秒前
张张张完成签到,获得积分20
6秒前
Abner完成签到,获得积分10
6秒前
万能的悲剧完成签到 ,获得积分10
7秒前
子文发布了新的文献求助10
7秒前
顺其自然完成签到 ,获得积分10
7秒前
Xlinging完成签到 ,获得积分10
7秒前
天真的追命完成签到,获得积分10
8秒前
乐观三问完成签到 ,获得积分10
9秒前
活力映秋发布了新的文献求助10
9秒前
可靠慕凝发布了新的文献求助10
9秒前
西门博超发布了新的文献求助10
10秒前
蛋堡完成签到 ,获得积分10
11秒前
高兴寒梦完成签到 ,获得积分0
13秒前
科目三应助LONG采纳,获得10
14秒前
P2完成签到 ,获得积分10
14秒前
林夏完成签到 ,获得积分10
14秒前
淡定的乐安完成签到,获得积分10
14秒前
srx完成签到 ,获得积分10
14秒前
14秒前
beiwei完成签到 ,获得积分10
14秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Essentials of Carbohydrate Chemistry and Biochemistry, 4th Edition 800
Organizational Behavior 510
Management and the Arts 510
Matrix Methods in Data Mining and Pattern Recognition Second Edition 510
CLSI VET01S-2024 Performance Standards for Antimicrobial Disk and Dilution Susceptibility Tests for Bacteria Isolated From Animals (7th Ed) 500
A Case Study on Hotels as Noncongregate Emergency Living Accommodations for Returning Citizens 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 计算机科学 化学工程 工程类 有机化学 物理 复合材料 生物化学 内科学 细胞生物学 基因 遗传学 免疫学 冶金 光电子学 癌症研究
热门帖子
关注 科研通微信公众号,转发送积分 7765426
求助须知:如何正确求助?哪些是违规求助? 9309695
关于积分的说明 20312073
捐赠科研通 7350210
什么是DOI,文献DOI怎么找? 3314858
关于科研通互助平台的介绍 2464246
邀请新用户注册赠送积分活动 2329292