@article {jase14,
	title = {Automatically Inferring Models from Spreadsheets},
	journal = {Automated Software Engineering (ASE)},
	volume = {23},
	year = {2016},
	note = {<p>in press.</p>
},
	pages = {361-392},
	publisher = {Springer},
	abstract = {<p>Many errors in spreadsheet formulas can be avoided if spreadsheets are built automatically from higher-level models that can encode and enforce consistency constraints in the generated spreadsheets. Employing this strategy for legacy spreadsheets is difficult, because the model has to be reverse engineered from an existing spreadsheet and existing data must be transferred into the new model-generated spreadsheet. We have developed and implemented a technique that automatically infers relational schemas from spreadsheets. This technique uses particularities from the spreadsheet realm to create better schemas. We have evaluated this technique in two ways: First, we have demonstrated its applicability by using it on a set of real-world spreadsheets. Second, we have run an empirical study with users. The study has shown that the results produced by our technique are comparable to the ones developed by experts starting from the same (legacy) spreadsheet data. Although relational schemas are very useful to model data, they do not fit well spreadsheets as they do not allow to express layout. Thus, we have also introduced a mapping between relational schemas and ClassSheets. A ClassSheet controls further changes to the spreadsheet and safeguards it against a large class of formula errors. The developed tool is a contribution to spreadsheet (reverse) engineering, because it fills an important gap and allows a promising design method (ClassSheets) to be applied to a huge collection of legacy spreadsheets with minimal effort.</p>
},
	keywords = {Automatic Model Inference, ClassSheets, Empirical Validation, Relational Model, Spreadsheets},
	doi = {\url{http://dx.doi.org/10.1007/s10515-014-0167-x}},
	url = {http://link.springer.com/article/10.1007/s10515-014-0167-x},
	attachments = {https://docentes.fct.unl.pt/sites/default/files/jmc-cunha/files/ase14.pdf},
	author = {Cunha, J{\'a}come and Erwig, Martin and Mendes, Jorge and Saraiva, Jo{\~a}o}
}
