Resource Contracts for Java
ACM SIGSOFT Software Engineering Notes · 05.01.2017 · 41 (6) · 1-5
DOI: 10.1145/3011286.3011294 ↗Kurz gefasst
Fachartikel in der Zeitschrift ACM SIGSOFT Software Engineering Notes, online erschienen am 05.01.2017. Verfasst von Rody Kersten und 2 weiteren Autor:innen. Die Arbeit wurde bisher 1-mal zitiert (Crossref) und nennt 29 Literaturangaben.
Abstract (Originalsprache)
Writing specifications about program behavior is hard. Writing specifications about non-functional effects such as resource usage is often even harder. If manually instrumenting the program is not an option, programmers have to rely on comment-based specification languages like JML to introduce ghost variables and other fairly abstract concepts that are complicated and hard to maintain. Even worse, most static analysis tools nowadays operate on bit- or bytecode and cannot process those type of specifications To address this problem, we propose a library-based specification formalism for time complexity in Java. The approach is inspired by the success of assertion libraries like CodeContracts and Guava. Our library provides a set of methods and enumerated types that allow the user to write complexity assertions in a 'human' readable form and without instrumenting the code. On the backend, we provide a bytecode rewriting tool that uses these assertions to automatically instrument the program with counter variables. The transformed program can then be checked via testing or off-the-shelf automated static analyzers
Zitieren
APA
Kersten, R., Schäf, M., & Kahsai, T. (2017). Resource Contracts for Java. ACM SIGSOFT Software Engineering Notes, 41(6), 1-5. https://doi.org/10.1145/3011286.3011294
Vancouver
Kersten R, Schäf M, Kahsai T. Resource Contracts for Java. ACM SIGSOFT Software Engineering Notes. 2017;41(6):1-5. doi:10.1145/3011286.3011294
BibTeX
@article{Kersten2017,
author = {Kersten, Rody and Schäf, Martin and Kahsai, Temesghen},
title = {Resource Contracts for Java},
journal = {ACM SIGSOFT Software Engineering Notes},
year = {2017},
volume = {41},
number = {6},
pages = {1--5},
doi = {10.1145/3011286.3011294}
}
EUVIMED