2005
Journal article  Restricted

A comparison between handwritten and automatic generation of C code from SDL using static analysis

Becucci M., Fantechi A., Giromini M., Spinicci E.

Metrics  Design Tools and Techniques  Software 

The experience reported in this paper relates to an evaluation of the automatic generation of C code from the Specification and Description Language (SDL) specification of embedded applications. The evaluation has been carried out by comparing the automatically generated code with the manually implemented code, both compliant to the same SDL specification: this comparison is based on a selection of metrics measured on both codes by means of commercial static analysis tools. Notwithstanding the different structure of the two codes, we appropriately selected and aggregated the obtained results in order to use them as indicators of code size, control flow complexity and integration flow complexity. For a better comparison of the two codes, we have also introduced a novel complexity metric, which compares the control flow complexity with the integration flow of the two different software architectures. The aim of the paper is not merely to evaluate the code generator used, but rather to propose a set of techniques that can be used to conduct similar evaluations.

Source: Software, practice and experience (Online) 35 (2005): 1317–1347. doi:10.1002/spe.673

Publisher: John Wiley & Sons, Chichester , Regno Unito


Metrics



Back to previous page
BibTeX entry
@article{oai:it.cnr:prodotti:43794,
	title = {A comparison between handwritten and automatic generation of C code from SDL using static analysis},
	author = {Becucci M. and Fantechi A. and Giromini M. and Spinicci E.},
	publisher = {John Wiley \& Sons, Chichester , Regno Unito},
	doi = {10.1002/spe.673},
	journal = {Software, practice and experience (Online)},
	volume = {35},
	pages = {1317–1347},
	year = {2005}
}