“The process is equivalent to the production of a set of plans for a building before its construction,” said Robert Clarisó, Universitat Oberta de Catalunya (UOC) in Barcelona, Spain, Faculty of Computer Science, Multimedia and Telecommunications professor and member of the SOM Research Lab research group – from the Internet Interdisciplinary Institute (IN3).
Engineers use modelling to describe a software system from a specific perspective, such as the data it will use, its components or the way they expect it to function. Going back to the building project example, the plans would be the “models,” which can be used for guidance during the development stage, as well as for carrying out simulations and tests.
As such, modelling would serve more as a preliminary step rather than an alternative to source code. The models make it easier to understand the system being developed and can also be used to generate certain implementation elements, automating the most repetitive parts of the programming process.
Engineers use verification tools to prevent errors that could affect the code itself and, therefore, the final implementation of the system. Emphasizing the importance of this process, Clarisó said, “We need to ensure the models are correct in order to minimize possible errors in the software that could occur as a result.”
As part of a study, Clarisó, along with his colleagues, Carlos A. González (Gran Telescopio Canarias researcher) and Jordi Cabot (ICREA researcher), has come up with a new verification technique for UML/OCL models that solves a common problem.
Every time a designer makes a change – such as adding, deleting, or modifying information – to the model it means the whole system has to be re-analyzed, which is the why verification is usually only carried out once a definitive model has been produced at the end of the process.
“Our article outlines the application of incremental methods of verification, that is, we make it easier to verify a model any time changes are made,” Clarisó said. Rather than only being able to verify the model at the end of the process, as is currently the case, this permits it to be verified during construction, without having to start from scratch, which facilitates the early detection of errors.
This method is also innovative with regard to its use of certificates, the examples that illustrate the correct operation of the model.
“When we modify a model, having a new certificate would remove the need for its verification,” Clarisó said. “It’s far less costly to adapt a certificate than it is to rerun the verification process.”
Explaining the process, the authors propose that, rather than verifying the new model, a certificate from the original model could be adapted to the new one. The biggest challenge they now face is integrating these techniques into existing software modelling tools and environments.

