Skip to main content

Comparing Two Methods for Checking Runtime Properties

  • Chapter
  • First Online:
Formal Methods in Outer Space

Part of the book series: Lecture Notes in Computer Science ((LNPSE,volume 13065))

  • 358 Accesses

Abstract

A number of tools for runtime verification have been developed over the years, and just as many different formalisms for specifying the types of properties that they can check over the runs of a system. Though there have been some attempts to develop them, there are as yet no general benchmark suites available with event logs of a realistic size, together with the relevant properties to check. This makes it hard to compare the expressiveness and ease of use of different specification formalisms, or even the relative performance of the available tools. In this paper we try to address this to some extent by considering a formal logic and its supporting tool, and compare both ease of formalization and tool performance with a tool that was designed for an entirely different domain of application, namely interactive source code analysis. The static analysis tool needs just a few small adjustments to support runtime verification of event streams. The results of the comparison are surprising in that they unexpectedly show the static analysis tool outperforming the tool that was designed for runtime verification, both in accuracy and in performance.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 44.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 59.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Kauffman, S., Havelund, K., Joshi, R.: nfer – a notation and system for inferring event stream abstractions. In: Falcone, Y., Sánchez, C. (eds.) RV 2016. LNCS, vol. 10012, pp. 235–250. Springer, Cham (2016). https://doi.org/10.1007/978-3-319-46982-9_15

    Chapter  Google Scholar 

  2. Kauffman, S., Havelund, K., Joshi, R., Fischmeister, S.: Inferring event stream abstractions. Formal Methods Syst. Des. 53, 54–82 (2018). https://doi.org/10.1007/s10703-018-0317-z (Journal version of [1])

  3. http://spinroot.com/cobra/

  4. Holzmann, G.J.: Cobra: a light-weight tool for static and dynamic program analysis. Innov. Syst. Softw. Eng. 13(1), 35–49 (2016). https://doi.org/10.1007/s11334-016-0282-x

    Article  MathSciNet  Google Scholar 

  5. https://en.wikipedia.org/wiki/Allen’s_interval_algebra

  6. https://github.com/nimble-code/Cobra/

  7. Pnueli, A.: The temporal logic of programs. In: Proceedings FOCS, pp. 46–57 (1977)

    Google Scholar 

  8. Holzmann, G.J.: The Spin Model Checker - Primer and Reference Manual. Addison-Wesley, Reading Mass (2004)

    Google Scholar 

Download references

Acknowledgment

The author gratefully acknowledges the help of Klaus Havelund for access to the event log that was used for the nfer verification, and for his insights in understanding the difference in the results obtained.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Gerard J. Holzmann .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2021 Springer Nature Switzerland AG

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Holzmann, G.J. (2021). Comparing Two Methods for Checking Runtime Properties. In: Bartocci, E., Falcone, Y., Leucker, M. (eds) Formal Methods in Outer Space. Lecture Notes in Computer Science(), vol 13065. Springer, Cham. https://doi.org/10.1007/978-3-030-87348-6_7

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-87348-6_7

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-87347-9

  • Online ISBN: 978-3-030-87348-6

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics