A complexity measure for the specifications of distributed systems.
In software engineering, complexity measurement is a quantitative approach to estimating the degree of complication, organization and coding style of a computer program or system specification. Existing complexity metrics are mostly for non-distributed systems. This thesis extends them to distribute...
Main Author: | |
---|---|
Format: | Others |
Published: |
University of Ottawa (Canada)
2009
|
Subjects: | |
Online Access: | http://hdl.handle.net/10393/7505 http://dx.doi.org/10.20381/ruor-11800 |
id |
ndltd-uottawa.ca-oai-ruor.uottawa.ca-10393-7505 |
---|---|
record_format |
oai_dc |
spelling |
ndltd-uottawa.ca-oai-ruor.uottawa.ca-10393-75052018-01-05T19:04:49Z A complexity measure for the specifications of distributed systems. Zhu, Xiaogang. Computer Science. In software engineering, complexity measurement is a quantitative approach to estimating the degree of complication, organization and coding style of a computer program or system specification. Existing complexity metrics are mostly for non-distributed systems. This thesis extends them to distributed systems. It includes three contributions. Firstly, it proposes a Petri net model, called Interacting Petri nets (I-PN), for representing the behavior of distributed systems. This model provides a graph-based representation for LOTOS, which is necessary in order to derive methods for estimating the complexity of LOTOS. Secondly, a metric, called cyclomatic complexity, is proposed for measuring the complexity of I-NPs and LOTOS specifications. Two approaches are proposed for calculating such complexity. In the first approach, a LOTOS expression is first transformed to an I-PN and then Berge's formula in graph theory is applied to determine the cyclomatic complexity of the I-PN and the corresponding LOTOS specification. In the second approach, a set of formulas for calculating the cyclomatic complexity of all the primitive LOTOS operations is derived. Based on them, the complexity of any LOTOS expression can be calculated directly from the expression itself without going through any transformation. Thirdly, as an application of our I-PN model and complexity measure, a path-testing coverage criterion, called basis set coverage, is proposed. As an illustration, the above results are applied to the Transport Protocol (Class 0). 2009-03-23T15:59:04Z 2009-03-23T15:59:04Z 1992 1992 Thesis Source: Masters Abstracts International, Volume: 32-05, page: 1420. 9780315858176 http://hdl.handle.net/10393/7505 http://dx.doi.org/10.20381/ruor-11800 101 p. University of Ottawa (Canada) |
collection |
NDLTD |
format |
Others
|
sources |
NDLTD |
topic |
Computer Science. |
spellingShingle |
Computer Science. Zhu, Xiaogang. A complexity measure for the specifications of distributed systems. |
description |
In software engineering, complexity measurement is a quantitative approach to estimating the degree of complication, organization and coding style of a computer program or system specification. Existing complexity metrics are mostly for non-distributed systems. This thesis extends them to distributed systems. It includes three contributions. Firstly, it proposes a Petri net model, called Interacting Petri nets (I-PN), for representing the behavior of distributed systems. This model provides a graph-based representation for LOTOS, which is necessary in order to derive methods for estimating the complexity of LOTOS. Secondly, a metric, called cyclomatic complexity, is proposed for measuring the complexity of I-NPs and LOTOS specifications. Two approaches are proposed for calculating such complexity. In the first approach, a LOTOS expression is first transformed to an I-PN and then Berge's formula in graph theory is applied to determine the cyclomatic complexity of the I-PN and the corresponding LOTOS specification. In the second approach, a set of formulas for calculating the cyclomatic complexity of all the primitive LOTOS operations is derived. Based on them, the complexity of any LOTOS expression can be calculated directly from the expression itself without going through any transformation. Thirdly, as an application of our I-PN model and complexity measure, a path-testing coverage criterion, called basis set coverage, is proposed. As an illustration, the above results are applied to the Transport Protocol (Class 0). |
author |
Zhu, Xiaogang. |
author_facet |
Zhu, Xiaogang. |
author_sort |
Zhu, Xiaogang. |
title |
A complexity measure for the specifications of distributed systems. |
title_short |
A complexity measure for the specifications of distributed systems. |
title_full |
A complexity measure for the specifications of distributed systems. |
title_fullStr |
A complexity measure for the specifications of distributed systems. |
title_full_unstemmed |
A complexity measure for the specifications of distributed systems. |
title_sort |
complexity measure for the specifications of distributed systems. |
publisher |
University of Ottawa (Canada) |
publishDate |
2009 |
url |
http://hdl.handle.net/10393/7505 http://dx.doi.org/10.20381/ruor-11800 |
work_keys_str_mv |
AT zhuxiaogang acomplexitymeasureforthespecificationsofdistributedsystems AT zhuxiaogang complexitymeasureforthespecificationsofdistributedsystems |
_version_ |
1718600137775775744 |