<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.0 20120330//EN" "JATS-journalpublishing1.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" article-type="research-article"><front><journal-meta><journal-id journal-id-type="publisher-id">INFORMATICA</journal-id><journal-title-group><journal-title>Informatica</journal-title></journal-title-group><issn pub-type="epub">0868-4952</issn><issn pub-type="ppub">0868-4952</issn><publisher><publisher-name>VU</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="publisher-id">INF10205</article-id><article-id pub-id-type="doi">10.3233/INF-1999-10205</article-id><article-categories><subj-group subj-group-type="heading"><subject>Research article</subject></subj-group></article-categories><title-group><article-title>Semantic Integrity of Switching Sections with Contracts: Discussion of a Case Study</article-title></title-group><contrib-group><contrib contrib-type="Author"><name><surname>Nordby</surname><given-names>Eivind J.</given-names></name><email xlink:href="mailto:Eivind.Nordby@kau.se">Eivind.Nordby@kau.se</email><xref ref-type="aff" rid="j_INFORMATICA_aff_000"/></contrib><contrib contrib-type="Author"><name><surname>Blom</surname><given-names>Martin</given-names></name><email xlink:href="mailto:Martin.Blom@kau.se">Martin.Blom@kau.se</email><xref ref-type="aff" rid="j_INFORMATICA_aff_000"/></contrib><aff id="j_INFORMATICA_aff_000">Department of Computer Science, Karlstad University, 651 88 Karlstad Sweden</aff></contrib-group><pub-date pub-type="epub"><day>01</day><month>01</month><year>1999</year></pub-date><volume>10</volume><issue>2</issue><fpage>203</fpage><lpage>218</lpage><history><date date-type="received"><day>01</day><month>01</month><year>1999</year></date></history><abstract><p>We have studied the design documentation for two industrial software modules to see if they apply ideas corresponding to contracts, as introduced by Bertrand Meyer, either in an intuitive or in a formal way. They did not, and we identified this fact to be a potential risk factor. This paper presents one of the modules studied, consisting of a sequence of switching sections. Starting from this case study, the paper also discusses how switching sections in general can be designed using contracts in order to increase the semantic integrity of the module as a whole.</p></abstract><kwd-group><label>Keywords</label><kwd>branch</kwd><kwd>contract</kwd><kwd>postcondition</kwd><kwd>precondition</kwd><kwd>selection</kwd><kwd>semantic integrity</kwd><kwd>semantic gap</kwd><kwd>software design</kwd><kwd>software quality</kwd><kwd>switch</kwd></kwd-group></article-meta></front></article>