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 条
  • [21] Pilot evaluation of an innovative school-based mental health literacy program for teachers and students: The Decode Mental Health and Wellbeing Program
    Habgood, Emily
    Gandhi, Sarthak
    Smith, Rachel
    Hearps, Stephen
    Hiscock, Harriet
    Oberklaid, Frank
    Raniti, Monika
    Darling, Simone
    AUSTRALIAN EDUCATIONAL RESEARCHER, 2025, 52 (02): : 1529 - 1556
  • [22] AN EVALUATION OF THE COST EFFECTIVENESS OF A FOUR ARM SCHOOL BASED MENTAL HEALTH INTERVENTION
    Burke, L. -A.
    EUROPEAN PSYCHIATRY, 2010, 25
  • [23] Renewable hydrogen production: a technical evaluation based on process simulation
    Miltner, Angela
    Wukovits, Walter
    Proell, Tobias
    Friedl, Anton
    JOURNAL OF CLEANER PRODUCTION, 2010, 18 : S51 - S62
  • [24] Case Studies of Musculoskeletal-Simulation-Based Rehabilitation Program Evaluation
    Lee, Leng-Feng
    Narayanan, Madusudanan S.
    Kannan, Srikanth
    Mendel, Frank
    Krovi, Venkat N.
    IEEE TRANSACTIONS ON ROBOTICS, 2009, 25 (03) : 634 - 638
  • [25] Risk and Economic Evaluation of Aircraft Program Based on Monte Carlo Simulation
    Zhang, Yongjie
    Cao, Kang
    Yang, Zheng
    Liang, Ke
    Cai, Zhiqiang
    JOURNAL OF AIRCRAFT, 2021, 58 (04): : 885 - 893
  • [26] Total cost minimization control scheme for biological wastewater treatment process and its evaluation based on the COST benchmark process
    Yamanaka, O.
    Obara, T.
    Yamamoto, K.
    WATER SCIENCE AND TECHNOLOGY, 2006, 53 (4-5) : 203 - 214
  • [27] Evaluation of a Simulation-based Program for Medic Cognitive Skills Training
    Lai, Fuji
    Entin, Eileen B.
    Brunye, Tad
    Sidman, Jason
    Entin, Elliot E.
    MEDICINE MEETS VIRTUAL REALITY 15: IN VIVO, IN VITRO, IN SILICO: DESIGNING THE NEXT IN MEDICINE, 2007, 125 : 259 - +
  • [28] A novel simulation-based program for ultrasound-guided fracture reductions: program evaluation
    Kempinska, Anna Yvonne
    Bhanji, Farhan
    Larouche, Sandie
    Dubrovsky, Alexander Sasha
    AMERICAN JOURNAL OF EMERGENCY MEDICINE, 2014, 32 (12): : 1547 - 1549
  • [29] Evaluation of an inpatient occupation-based group program using a process evaluation framework
    Spalding, Kaitlyn
    Gustafsson, Louise
    Di Tommaso, Amelia
    AUSTRALIAN OCCUPATIONAL THERAPY JOURNAL, 2023, 70 (01) : 32 - 42
  • [30] PARTICIPANT EVALUATION AND COST OF A COMMUNITY-BASED HEALTH PROMOTION PROGRAM FOR ELDERS
    ROGERS, J
    GROWER, R
    SUPINO, P
    PUBLIC HEALTH REPORTS, 1992, 107 (04) : 417 - 426