arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1108.2358cs.LOcs.SE
收藏

用Web-TLR实现Web应用程序的移植

Debugging of Web Applications with Web-TLR

María Alpuente, Demis Ballis, Javier Espert, Francisco Frechina, Daniel Romero

摘要:

Web-TLR是一个Web验证引擎,它基于成熟的重写逻辑--Maude/LTLR串联,用于Web系统规范和模型检查。在Web-TLR中,Web应用程序被表示为重写理论,可以通过使用Maude内置的LTLR模型检查器进行形式化验证。每当一个属性被反驳时,就会传递一个反例跟踪,揭示一个不希望的错误导航序列。不幸的是,分析(或甚至简单的检查)这样的反例可能是不可行的,因为在检查的痕迹的大小和复杂性。在本文中,我们赋予Web-TLR一个新的Web调试设施,支持有效的操作反例的痕迹。这个设施是基于一个向后跟踪切片技术重写逻辑理论,允许我们感兴趣的信息片段,通过反向重写序列追溯。切片过程通过丢弃不影响最终结果的无用数据,大大简化了计算跟踪。通过使用这个工具,Web工程师可以专注于失败应用程序的相关片段,这大大减少了手动调试工作,也减少了迭代验证的数量。

英文摘要:

Web-TLR is a Web verification engine that is based on the well-established Rewriting Logic--Maude/LTLR tandem for Web system specification and model-checking. In Web-TLR, Web applications are expressed as rewrite theories that can be formally verified by using the Maude built-in LTLR model-checker. Whenever a property is refuted, a counterexample trace is delivered that reveals an undesired, erroneous navigation sequence. Unfortunately, the analysis (or even the simple inspection) of such counterexamples may be unfeasible because of the size and complexity of the traces under examination. In this paper, we endow Web-TLR with a new Web debugging facility that supports the efficient manipulation of counterexample traces. This facility is based on a backward trace-slicing technique for rewriting logic theories that allows the pieces of information that we are interested to be traced back through inverse rewrite sequences. The slicing process drastically simplifies the computation trace by dropping useless data that do not influence the final result. By using this facility, the Web engineer can focus on the relevant fragments of the failing application, which greatly reduces the manual debugging effort and also decreases the number of iterative verifications.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑