Extraction of Probabilistic Behaviour Models based on Contexts

被引:1
作者
Duarte, Lucio Mauro [1 ]
Mendes Maia, Paulo Henrique [2 ]
Sanchotene Silva, Ana Carolina [1 ]
机构
[1] Fed Univ Rio Grande Sul UFRGS, Inst Informat, Porto Alegre, RS, Brazil
[2] State Univ Ceara UECE, Grp Software Engn & Distributed Syst, Fortaleza, CE, Brazil
来源
2018 IEEE/ACM 10TH INTERNATIONAL WORKSHOP ON MODELLING IN SOFTWARE ENGINEERING (MISE) | 2018年
关键词
Probabilistic models; Model extraction; Quantitative analysis;
D O I
10.1145/3193954.3193963
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Model extraction allows the automatic construction of behaviour models from an available implementation, which can be fed into existing analysis tools. Even though these models are usually analysed using qualitative properties, many interesting and relevant properties of current systems are related to quantitative aspects, such as the probability of reaching a certain state or how many times a certain task is expected to be executed. In this work, we extend an existing model extraction approach to include probabilistic information. The original approach creates Labelled Transition Systems (LTS) from Java code based on execution traces. The traces are processed by a tool that identifies contexts, which represent abstract states of the system, considering static and dynamic information, producing context traces. We use these context traces to calculate transition probabilities and generate models in the input language of a probabilistic model checker. We evaluate our approach in case studies and demonstrate that, by using context traces rather than simple traces, we produce more accurate models, thereby with probabilistic information closer to the real behaviour of programs, based on their observed traces. We also show how to build models of programs with single and multiple components.
引用
收藏
页码:25 / 32
页数:8
相关论文
共 24 条
[1]   Mining specifications [J].
Ammons, G ;
Bodík, R ;
Larus, JR .
ACM SIGPLAN NOTICES, 2002, 37 (01) :4-16
[2]  
[Anonymous], 2008, Markov Chains: Gibbs Fields, Monte Carlo Simulation, and Queues
[3]  
[Anonymous], 2000, International Journal on Software Tools for Technology Transfer
[4]  
Aziz K., 1996, Computer Aided Verification. 8th International Conference, CAV '96. Proceedings, P269
[5]  
Chen Deng, 2015, P 27 INT C SOFTW ENG
[6]  
Corbett J. C., 2000, Proceedings of the 2000 International Conference on Software Engineering. ICSE 2000 the New Millennium, P439, DOI 10.1109/ICSE.2000.870434
[7]  
Duarte L.M., 2007, THESIS
[8]   Graph Grammar Extraction from Source Code [J].
Duarte, Lucio Mauro ;
Ribeiro, Leila .
FORMAL METHODS: FOUNDATIONS AND APPLICATIONS, SBMF 2017, 2017, 10623 :52-69
[9]   Using contexts to extract models from code [J].
Duarte, Lucio Mauro ;
Kramer, Jeff ;
Uchitel, Sebastian .
SOFTWARE AND SYSTEMS MODELING, 2017, 16 (02) :523-557
[10]  
Duarte Lucio Mauro, 2011, 14 BRAZ S FORM METH, P73