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 条
  • [31] Cost-Benefit Analysis Simulation of a Hospital-Based Violence Intervention Program
    Purtle, Jonathan
    Rich, Linda J.
    Bloom, Sandra L.
    Rich, John A.
    Corbin, Theodore J.
    AMERICAN JOURNAL OF PREVENTIVE MEDICINE, 2015, 48 (02) : 162 - 169
  • [32] A Simulation-Based Dynamic Scheduling Method in Project Cost Estimation Process
    Ishii, Nobuaki
    Takano, Yuichi
    Muraki, Masaaki
    SIMULATION AND MODELING METHODOLOGIES, TECHNOLOGIES AND APPLICATIONS, SIMULTECH 2016, 2018, 676 : 261 - 279
  • [33] Computer program based on quasi-Netwon arithmetic for the simulation of Purex process
    He, H.
    Hu, J.X.
    Zhang, X.Y.
    Wang, F.D.
    Yuanzineng Kexue Jishu/Atomic Energy Science and Technology, 2001, 35 (03): : 217 - 222
  • [34] The value of process evaluation in a community-based cancer control program
    Cunningham, LE
    Michielutte, R
    Dignan, M
    Sharp, P
    Boxley, J
    EVALUATION AND PROGRAM PLANNING, 2000, 23 (01) : 13 - 25
  • [35] Cost-effectiveness of a mindfulness-based mental health promotion program: economic evaluation of a nonrandomized controlled trial with propensity score matching
    Gerhard Müller
    Manuela Pfinder
    Christian Schmahl
    Martin Bohus
    Lisa Lyssenko
    BMC Public Health, 19
  • [36] Cost-effectiveness of a mindfulness-based mental health promotion program: economic evaluation of a nonrandomized controlled trial with propensity score matching
    Mueller, Gerhard
    Pfinder, Manuela
    Schmahl, Christian
    Bohus, Martin
    Lyssenko, Lisa
    BMC PUBLIC HEALTH, 2019, 19 (01)
  • [37] Pilot Testing the Theoretical Framework of Acceptability in a Process Evaluation of a Community Pharmacy-Based Men's Mental Health Promotion Program
    Murphy, Andrea Lynn
    Gardner, David Martin
    SAGE OPEN, 2019, 9 (04):
  • [38] Qualitative process evaluation of a problem-solving and Story-bridge based mental health literacy program with community leaders in Ghana
    Arthur, Yaw Amankwa
    Boardman, Gayelene H.
    McCann, Terence, V
    INTERNATIONAL JOURNAL OF MENTAL HEALTH NURSING, 2021, 30 (03) : 677 - 687
  • [39] Risk evaluation of schedule and cost for projects based on Monte-Carlo simulation
    Chen, Jun-fei
    Chen, Zhi-song
    DYNAMICS OF CONTINUOUS DISCRETE AND IMPULSIVE SYSTEMS-SERIES A-MATHEMATICAL ANALYSIS, 2006, 13 : 1215 - 1218
  • [40] Qualitative evaluation of a sports-based mental health literacy program for adolescent males
    Wynters, Rhianna
    Liddle, Sarah K.
    Swann, Christian
    Schweickle, Matthew J.
    Vella, Stewart A.
    PSYCHOLOGY OF SPORT AND EXERCISE, 2021, 56