• DocumentCode
    1567799
  • Title

    Well-measuring programs

  • Author

    Cook, Phil ; Fidge, Colin ; Hemer, David

  • Author_Institution
    Sch. of Inf. Technol. & Electr. Eng., Queensland Univ., Qld., Australia
  • fYear
    2006
  • Abstract
    Any program that measures quantities from its physical environment must compute using correct and consistent units of measurement. Such a program is described as well-measuring. In many systems, particularly embedded control software, paying inadequate attention to units of measurement can result in catastrophe. Unfortunately, current programming languages and tools provide little aid to the programmer attempting to establish or verify the well-measuring property. We present a program analysis technique for inferring and checking the units used within a program. The technique combines traditional Hindley-Milner-style type inference with the use of static single assignment (SSA) form to enable analysis of imperative programs.
  • Keywords
    embedded systems; program diagnostics; reasoning about programs; software metrics; Hindley-Milner-style type inference; embedded control software; imperative programs; program analysis technique; programming languages; static single assignment; well-measuring program; Computer languages; Control systems; Electric variables measurement; Embedded software; Extraterrestrial measurements; Measurement units; Medical control systems; Physics computing; Software engineering; Software measurement;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Engineering Conference, 2006. Australian
  • ISSN
    1530-0803
  • Print_ISBN
    0-7695-2551-2
  • Type

    conf

  • DOI
    10.1109/ASWEC.2006.56
  • Filename
    1615058