@mastersthesis {jacomesthesis, title = {Model-Based Spreadsheet Engineering}, year = {2011}, note = {

n/a

}, month = {March}, school = {University of Minho}, type = {PhD thesis}, abstract = {

Spreadsheets can be viewed as programming languages for non-professional programmers. These so-called {\textquoteleft}{\textquoteleft}end-user{\textquoteright}{\textquoteright} programmers vastly outnumber professional programmers creating millions of new spreadsheets every year. As a programming language, spreadsheets lack support for abstraction, testing, encapsulation, or structured programming. As a result, and as numerous studies have shown, the high rate of production is accompanied by an alarming high rate of errors. Some studies report that up to 90\% of real-world spreadsheets contain errors. After their initial creation, many spreadsheets turn out to be used for storing and processing increasing amounts of data and supporting increasing numbers of users over long periods of time, making them complicated systems. An emerging solution to handle the complex and evolving software systems is Model-driven Engineering (MDE). To consider models as first class entities and any software artifact as a model or a model element is one of the basic principles of MDE. We adopted some techniques from MDE to solve spreadsheet problems. Most spreadsheets (if not all) lack a proper specification or a model. Using reverse engineering techniques we are able to derive various models from legacy spreadsheets. We use functional dependencies (a formalism that allow us to define how some column values depend on other column values) as building blocks for these models. Models can be used for several spreadsheet improvements, namely refactoring, safe evolution, migration or even generation of edit assistance. The techniques presented in this work are available under the framework HAEXCEL that we developed. It is composed of online and batch tools, reusable HASKELL libraries and OpenOffice.org extensions. A study with several end-users was organized to survey the impact of the techniques we designed. The results of this study indicate that the models can bring great benefits to spreadsheet engineering helping users to commit less errors and to work faster.

}, keywords = {Edit Assitance, Empirical Validation, Evolution, Functional Dependencies Inference, Haskell, MDSheet, Model Inference, Model-Based Spreadsheets, Refactored Model, Relational Model, Spreadsheets}, attachments = {https://docentes.fct.unl.pt/sites/default/files/jmc-cunha/files/thesis.pdf}, author = {Cunha, J{\'a}come} }