Skip to main content

2016 | OriginalPaper | Buchkapitel

A Supporting Environment for Contract-Based Programming with Ada 2012

verfasst von : Bo Wang, Hongbiao Gao, Jingde Cheng

Erschienen in: Advanced Multimedia and Ubiquitous Engineering

Verlag: Springer Singapore

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

Abstract

The latest version of programming language Ada, Ada 2012, has introduced the concept of contract-based programming (CBP) and became the first internationally standardized programming language to include CBP as an intrinsic feature of the language. CBP can strictly stipulate and assure the correctness of programs to enhance the reliability and security of safety-critical systems, due to terrible design and/or programming practice, there is an issue that it might obstruct some other factors of the software quality. Therefore, it is essential to implement a supporting environment for CBP with Ada 2012 in order to not only retain reliability by using CBP, but also avoid taking interference to other factors of software quality. Until now, there is no report for proposing supporting environments or tools for CBP, while most studies focus on how to check the conditions of contracts, i.e., what contracts should do for software engineering activities. To support CBP with Ada 2012, this paper analyzes the issues that CBP disturbs some other factors of software quality, proposes methods to avoid the issues, and shows a supporting environment for CBP in Ada 2012 programs.

Sie haben noch keine Lizenz? Dann Informieren Sie sich jetzt über unsere Produkte:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Literatur
1.
Zurück zum Zitat Andrew B, Ekembe GN, Kerr A (2016) A dictionary of computer science. Oxford University Press, Oxford Andrew B, Ekembe GN, Kerr A (2016) A dictionary of computer science. Oxford University Press, Oxford
2.
Zurück zum Zitat Barnes J (2013) Ada 2012 rationale: the language—the standard libraries. Lecture notes in computer science/programming and software engineering. Springer, Berlin Barnes J (2013) Ada 2012 rationale: the language—the standard libraries. Lecture notes in computer science/programming and software engineering. Springer, Berlin
3.
Zurück zum Zitat Barnes J (2014) Programming in Ada 2012. Cambridge University Press, Cambridge Barnes J (2014) Programming in Ada 2012. Cambridge University Press, Cambridge
4.
Zurück zum Zitat Beck M, Brant K, Opdyke J, Roberts W, Fowler D (1999) Refactoring: improving the design of existing code. Addison-Wesley Professional, Reading Beck M, Brant K, Opdyke J, Roberts W, Fowler D (1999) Refactoring: improving the design of existing code. Addison-Wesley Professional, Reading
5.
Zurück zum Zitat Cheng J (1993) Process dependence net of distributed programs and its applications in development of distributed systems. In: Proceedings of 17th annual international computer software applications conference. IEEE Computer Society Press, Washington, DC, pp 231–240 Cheng J (1993) Process dependence net of distributed programs and its applications in development of distributed systems. In: Proceedings of 17th annual international computer software applications conference. IEEE Computer Society Press, Washington, DC, pp 231–240
6.
Zurück zum Zitat Cheng J (1993) Slicing concurrent programs a graph-theoretical approach. In: Fritzson PA (ed) Proceedings of 1st international workshop on automated and algorithmic debugging, AADEBUG’93, Linkoping, Sweden, May 3–5, 1993. Lecture Notes in Computer Science, vol 749. Springer, Heidelberg, pp 223–240 Cheng J (1993) Slicing concurrent programs a graph-theoretical approach. In: Fritzson PA (ed) Proceedings of 1st international workshop on automated and algorithmic debugging, AADEBUG’93, Linkoping, Sweden, May 3–5, 1993. Lecture Notes in Computer Science, vol 749. Springer, Heidelberg, pp 223–240
7.
Zurück zum Zitat Cheng J (1994) Nondeterministic parallel control-flow/ definition-use nets and their applications. In: Joubert GR, Trystram D, Prters FJ, Evans DJ (eds) Parallel computing: trends and applications. Elsevier Science Publishers B. V, North-Holland, pp 589–592 Cheng J (1994) Nondeterministic parallel control-flow/ definition-use nets and their applications. In: Joubert GR, Trystram D, Prters FJ, Evans DJ (eds) Parallel computing: trends and applications. Elsevier Science Publishers B. V, North-Holland, pp 589–592
10.
Zurück zum Zitat ISO/IEC: ISO/IEC 25010:2011 (en): systems and software engineering—systems and software quality requirements and evaluation (SQuaRE)—system and software quality models (2016) ISO/IEC: ISO/IEC 25010:2011 (en): systems and software engineering—systems and software quality requirements and evaluation (SQuaRE)—system and software quality models (2016)
11.
Zurück zum Zitat ISO/IEC: ISO/IEC 8652:2012 (en): information technology—programming language—Ada (2012) ISO/IEC: ISO/IEC 8652:2012 (en): information technology—programming language—Ada (2012)
12.
Zurück zum Zitat ISO/IEC: ISO/IEC 15291:1999 (en): Information technology—programming language—Ada semantic interface specification (ASIS) (2013) ISO/IEC: ISO/IEC 15291:1999 (en): Information technology—programming language—Ada semantic interface specification (ASIS) (2013)
13.
Zurück zum Zitat Meyer B (1992) Applying “design by contract”. Computer 25(10):40–51 Meyer B (1992) Applying “design by contract”. Computer 25(10):40–51
14.
Zurück zum Zitat Poppendieck M, Poppendieck T (2003) Lean software development: an Agile Toolkit. Addison-Wesley, Reading Poppendieck M, Poppendieck T (2003) Lean software development: an Agile Toolkit. Addison-Wesley, Reading
15.
Zurück zum Zitat Viana T (2013) A catalog of bad smells in design-by-contract methodologies with Java modeling language. J Comput Sci Eng 7(4):251–262 Viana T (2013) A catalog of bad smells in design-by-contract methodologies with Java modeling language. J Comput Sci Eng 7(4):251–262
16.
Zurück zum Zitat Wang B, Goto Y, Cheng J (2013) New types of program dependences and interprocedural relations in Ada 2012 programs. In: Proceedings of 4th IEEE international conference on software engineering and service science. IEEE Press, pp 718–723 Wang B, Goto Y, Cheng J (2013) New types of program dependences and interprocedural relations in Ada 2012 programs. In: Proceedings of 4th IEEE international conference on software engineering and service science. IEEE Press, pp 718–723
17.
Zurück zum Zitat Zhao J, Cheng J, Ushijima K (1996) System dependence net: an interprocedural program dependence representation for Occam2 programs. In: Noguchi S, Ota M (eds) Correct models of parallel computing. IOS Press, Amsterdam, pp 87–96 Zhao J, Cheng J, Ushijima K (1996) System dependence net: an interprocedural program dependence representation for Occam2 programs. In: Noguchi S, Ota M (eds) Correct models of parallel computing. IOS Press, Amsterdam, pp 87–96
Metadaten
Titel
A Supporting Environment for Contract-Based Programming with Ada 2012
verfasst von
Bo Wang
Hongbiao Gao
Jingde Cheng
Copyright-Jahr
2016
Verlag
Springer Singapore
DOI
https://doi.org/10.1007/978-981-10-1536-6_10

Neuer Inhalt