Journals / Havacılık ve Uzay Teknolojileri Dergisi / 2020 / Cilt: 13 - Sayı: 2

The General-Purpose Modeling, Analysis, and Implementation of Software Architectures

Yazılım Mimarilerinin Genel-amaçlı olarak Modellenmesi, Analizi, ve Koda Dönüştürülmesi

Pages
165–177
DOI
—

Abstract

In this paper, a new software modeling language called SAMP is proposed,which is inspired from UML and enables the general-purpose modeling ofsoftware architectures but at the same time promotes the multiple-viewpointsmodeling, formal verification of the models for the desired requirements, andcombining model and code together. SAMP supports the high-level modelingof software architectures from the requirements, logical, behavioral, anddeployment perspectives and supports checking the consistencies betweenthe software models in different perspectives. SAMP is also supported witha modeling toolset that allows for the visual modeling of softwarearchitectures in those perspectives. The toolset further generates formalProMeLa models that can be accepted by the SPIN model checker for theexhaustive verification of the software behaviors against the user-definedproperties and some pre-defined properties (e.g., deadlock, race-condition,wrong and incomplete preconditions). Moreover, the toolset can alsogenerate the Java Modeling Language (JML) code that combines thecontractual models with the Java program for ensuring the consistencybetween model and code throughout the software development.

Özet

Bu makalede, endüstride sıklıkla kullanılan UML modelleme dilinden esinlenen SAMP adında yeni bir yazılım mimarisi modelleme dili önerilmektedir. SAMP ile, modellenen yazılım mimarileri, biçimsel yöntemler kullanılarak analiz edilebilir, ve sonrasında otomatik olarak koda dönüştürülebilir. SAMP, yazılım mimarilerinin gereksinim, mantıksal, davranışsal, ve fiziksel bakış açılarına göre ayrı ayrı modellenebilmesini desteklemektedir. Ayrıca, bir araç kümesi aracılığıyla, SAMP modelleri otomatik olarak ProMeLa biçimsel sınama dilinde modellere dönüştürülerek ProMeLa’yı destekleyen SPIN model sınayıcısıyla kapsamlı olarak analiz edilebilir ve kullanıcı-tanımlı ve önceden-tanımlı birçok özelliğin sağlanıp sağlanmadığı anlaşılabilir. Yine aynı araç desteği ile, analiz edilen modeller Java Modeling Language (JML) dilinde koda dönüştürülebilir. JML sayesinde, model ile Java kodunu bir arada yürütmek mümkün olup kodun modeli sağlayıp sağlamadığı JML’i destekleyen araçlar ile sürekli test edilebilir.