Queue-based cost evaluation of mental simulation process in program comprehension

被引:5
|
作者
Nakamura, M [1 ]
Monden, A [1 ]
Itoh, T [1 ]
Matsumoto, K [1 ]
Kanzaki, Y [1 ]
Satoh, H [1 ]
机构
[1] Nara Inst Sci & Technol, Grad Sch Informat Sci, Nara, Japan
关键词
D O I
10.1109/METRIC.2003.1232480
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
This paper presents a method to estimate the cost of mental (hand) simulation of programs. In mental simulation, human short-term memory is extensively used to recall and memorize values of variables. When the simulation reaches a variable reference, the simulation can be performed easily if the value is still remembered. However if not, we have to backtrack the simulation until the value is obtained, which is time-consuming. Taking the above observation into consideration, we first present a model, called virtual mental simulation model (VMSM), which exploits a queue representing short-term memory. The VMSM takes one of the abstract processes recall or backtrack, depending on whether the variable is currently stored in the queue or not. Then, applying cost functions to the VMSM, we derive four dynamic metrics reflecting the cost of mental simulation. In our empirical study, the proposed VMSM metrics reveal that the backtrack process for non-constant variables gives a significant impact on the cost of mental simulation. Since the proposed method can be fully automated, it can provide a practical means to estimate the cost of mental simulation, which can be also used as a program comprehension measure.
引用
收藏
页码:351 / 360
页数:10
相关论文
共 50 条
  • [41] A Solution Framework Based on Process Mining, Optimization, and Discrete-Event Simulation to Improve Queue Performance in an Emergency Department
    Antunes, Bianca B. P.
    Manresa, Adrian
    Bastos, Leonardo S. L.
    Marchesi, Janaina F.
    Hamacher, Silvio
    BUSINESS PROCESS MANAGEMENT WORKSHOPS (BPM 2019), 2019, 362 : 583 - 594
  • [42] Evaluation of a Simulation-Based Training Program on Childhood Trauma With OT Students
    Isaacson, Mary
    Miller-Cribbs, Julie
    Bragg, Jedediah
    Nay, Eden
    Rodriguez, Kristin
    Wen, Frances
    Jelley, Martina
    Coon, Kim
    AMERICAN JOURNAL OF OCCUPATIONAL THERAPY, 2020, 74 (04):
  • [43] Development and Evaluation of an SBAR-based Fall Simulation Program for Nursing Students
    Jeong, Jeong Hee
    Kim, Eun Jeong
    ASIAN NURSING RESEARCH, 2020, 14 (02) : 114 - 121
  • [44] Evaluation of a Simulation-Based Training Program on Childhood Trauma With OT Students
    Isaacson, Mary
    Cribbs, Julie
    Bragg, Jedediah E.
    Wen, Frances
    Rodriguez, Kristin
    Jelley, Martina
    Coon, Kim
    AMERICAN JOURNAL OF OCCUPATIONAL THERAPY, 2021, 75
  • [45] A simulation-based dynamic evaluation methodology for enterprise process performance
    Tan, WenAn
    Zhao, Jianmin
    Shen, Weiming
    PROCEEDINGS OF THE 17TH IASTED INTERNATIONAL CONFERENCE ON MODELLING AND SIMULATION, 2006, : 603 - +
  • [46] Credibility evaluation of infrared imaging simulation based on the analytic hierarchy process
    Zhang, P. (eiqd@ei41.com), 1600, Chinese Optical Society (33):
  • [47] Organization Evaluation of Product Development Process Using Agent Based Simulation
    Zhang, Xiaodong
    Zhang, Zhiqiang
    Luo, Le
    Duan, Shuangyue
    COMPUTER SUPPORTED COOPERATIVE WORK IN DESIGN IV, 2008, 5236 : 282 - 293
  • [48] A simulation-based method for the process to allow continuous tracking of quality, cost, and time
    Goel, S
    Strong, DR
    Richards, N
    Goel, NC
    SIMULATION-TRANSACTIONS OF THE SOCIETY FOR MODELING AND SIMULATION INTERNATIONAL, 2002, 78 (05): : 330 - 337
  • [49] CSP: A Cost-Aware Ship Proportioning Algorithm Based on Operation Process Simulation
    Zhu W.
    Hu H.
    Xu S.
    Qian S.
    Cao J.
    Yao Y.
    Qu B.
    Zhai D.
    Wireless Communications and Mobile Computing, 2023, 2023
  • [50] Cost-based FMEA and ABC Concepts for Manufacturing Process Plan Evaluation
    Hassan, Alaa
    Dayarian, Iman
    Siadat, Ali
    Dantan, Jean-Yves
    2008 IEEE CONFERENCE ON CYBERNETICS AND INTELLIGENT SYSTEMS, VOLS 1 AND 2, 2008, : 321 - 326