...
首页> 外文期刊>Software Quality Journal >Clone detection in MATLAB Stateflow models
【24h】

Clone detection in MATLAB Stateflow models

机译:MATLAB Stateflow模型中的克隆检测

获取原文
获取原文并翻译 | 示例
   

获取外文期刊封面封底 >>

       

摘要

MATLAB Simulink is one of the leading tools for model-based software development in the automotive industry. One extension to Simulink is Stateflow, which allows the user to embed Statecharts as components in a Simulink model. These state machines contain nested states, an action language that describes events, guards, conditions, actions, and complex transitions. As Stateflow has become increasingly important in Simulink models for the automotive sector, we extend previous work on clone detection of Simulink models to Stateflow components. While Stateflow models are stored in the same file as the Simulink models that host them, the representations differ. Our approach incorporates a pretransformation that converts the Stateflow models into a form that allows us to use the SIMONE model clone detector to identify candidates and cluster them into classes. In addition, we push the results of the Stateflow clone detection back into the Simulink models, improving the accuracy of the clones found in the host Simulink models. We validated our approach on the MATLAB Simulink/Stateflow demo set. Our approach showed promising results on the identification of Stateflow clones in isolation, as well as integrated components of the Simulink models that are hosting them.
机译:MATLAB Simulink是汽车行业基于模型的软件开发的领先工具之一。 Simulink的一个扩展是Stateflow,它允许用户将Statecharts作为组件嵌入Simulink模型中。这些状态机包含嵌套状态,这是一种描述事件,防护,条件,操作和复杂转换的操作语言。随着Stateflow在汽车行业Simulink模型中变得越来越重要,我们将先前在Simulink模型的克隆检测方面的工作扩展到Stateflow组件。 Stateflow模型与托管它们的Simulink模型存储在同一文件中,但表示形式有所不同。我们的方法包含一个预转换,该转换将Stateflow模型转换为一种形式,该形式允许我们使用SIMONE模型克隆检测器来识别候选者并将它们聚类为类。此外,我们将Stateflow克隆检测结果推回到Simulink模型中,从而提高了在主机Simulink模型中找到的克隆的准确性。我们在MATLAB Simulink / Stateflow演示集中验证了我们的方法。我们的方法在单独识别Stateflow克隆以及托管它们的Simulink模型的集成组件方面显示出令人鼓舞的结果。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号