18.04.2013 Views

Dissertaç ˜ao de Mestrado Mestrado em Engenharia Informática Jo ...

Dissertaç ˜ao de Mestrado Mestrado em Engenharia Informática Jo ...

Dissertaç ˜ao de Mestrado Mestrado em Engenharia Informática Jo ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

5<br />

Framework Evaluation<br />

Chapter 3 presented the proposed application configuration framework and Chapter 4 covered<br />

the process of impl<strong>em</strong>enting the framework. This chapter provi<strong>de</strong>s us with the validation of<br />

the tool, carried after the impl<strong>em</strong>entation phase had ceased.<br />

First, Section 5.1 shows the functional validation of the tool by explaining how the require-<br />

ments i<strong>de</strong>ntified in Section 3.1 are met. Then, Section 5.2 presents the operational validation<br />

by checking the integrity of the tool and examining the configuration process step by step. Fi-<br />

nally, Section 5.3 provi<strong>de</strong>s the performance validation by testing the tool behaviour in different<br />

scenarios (i.e., configuration of a very big and very small configuration file).<br />

5.1 Functional Validation<br />

In Section 3.1, some functional and non-functional requir<strong>em</strong>ents of the tool were i<strong>de</strong>ntified.<br />

This section presents the ways in which these requir<strong>em</strong>ents are met.<br />

1. The user must be able to convert a configuration file syntax from its original syntax to<br />

a generic one, in<strong>de</strong>pen<strong>de</strong>ntly of the application.<br />

The user is able to summon the tool from a terminal and pass it multiple configuration file<br />

locations. The tool, in turn, produces abstract trees for the configuration files, and then the<br />

configuration files in a structured, generic format.<br />

Non-functional requir<strong>em</strong>ents:<br />

Performance: The generated file with the generic syntax must be as simple as possible.<br />

The information regarding the original syntax is factorized by the co<strong>de</strong> generator in a Meta-<br />

data field.<br />

2. The user must be able to <strong>de</strong>fine grammars for configuration file languages.<br />

51

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!