ACM Home Page
Please provide us with feedback. Feedback
Inter-context control-flow and data-flow test adequacy criteria for nesC applications
Full text PdfPdf (1.38 MB)
Source Foundations of Software Engineering archive
Proceedings of the 16th ACM SIGSOFT International Symposium on Foundations of software engineering table of contents
Atlanta, Georgia
SESSION: Testing table of contents
Pages 94-104  
Year of Publication: 2008
ISBN:978-1-59593-995-1
Authors
Zhifeng Lai  Hong Kong University of Science and Technology, Kowloon, Hong Kong
S. C. Cheung  Hong Kong University of Science and Technology, Kowloon, Hong Kong
W. K. Chan  University of Hong Kong, Hong Kong
Sponsor
SIGSOFT: ACM Special Interest Group on Software Engineering
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 22,   Downloads (12 Months): 188,   Citation Count: 0
Additional Information:

abstract   references   index terms   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/1453101.1453115
What is a DOI?

ABSTRACT

NesC is a programming language for applications that run on top of networked sensor nodes. Such an application mainly uses an interrupt to trigger a sequence of operations, known as contexts, to perform its actions. However, a high degree of inter-context interleaving in an application can cause it to be error-prone. For instance, a context may mistakenly alter another context's data kept at a shared variable. Existing concurrency testing techniques target testing programs written in general-purpose programming languages, where a small scale of inter-context interleaving between program executions may make these techniques inapplicable. We observe that nesC blocks new context interleaving when handling interrupts, and this feature significantly restricts the scale of inter-context interleaving that may occur in a nesC application. This paper models how operations on different contexts may interleave as inter-context flow graphs. Based on these graphs, it proposes two test adequacy criteria, one on inter-context data-flows and another on inter-context control-flows. It evaluates the proposal by a real-life open-source nesC application. The empirical results show that the new criteria detect significantly more failures than their conventional counterparts.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

 
1
2
 
3
4
 
5
6
7
 
8
 
9
10
11
12
13
14
 
15
Hill, T. and Lewicki, P. 2007. STATISTICS Methods and Applications. StatSoft, Tulsa, OK, 2007.
16
 
17
 
18
19
 
20
21
22
23
24
25
26
27
 
28
TinyOS Tutorials. Modules and the TinyOS execution model. http://docs.tinyos.net/index.php/Modules_and_the_TinyOS_Execution_Model.
 
29
 
30
 
31
32
33
 
34
35

Collaborative Colleagues:
Zhifeng Lai: colleagues
S. C. Cheung: colleagues
W. K. Chan: colleagues