Instrumentation is one of the important techniques in the software testing. When instrumentation was applied in the flight-control software testing, the real-time performance of the original software becomes bad even lead to failure of the software, due to the extra spending on the instrumentations. In view of this problem, a new instrumentation method which is based on the BOOL array used to storage the code information was presented. Compared with traditional methods, this new method not only optimizes the instrumentation contents but also reduces the real-time influence of the instrumentation on the original software. A simulation test platform was been set up and a certain type of flight control software was used as the test object. Then, plenty of experiments have been done to demonstrate the effect of the new instrumentation method. The result show that the method greatly reduces the run time of the instrumented program which to ensure the real-time requirements of the flight-control software.
Chen Tsong Yueh, Kuo Fei Ching, Robert M. On the statistical properties of testing effectiveness measures[J].Journal of Systems and Software.2006,79(5):591-601
Arnold M, Ryder B G. A framework for reducing the cost of instrumented code[J].Acm Sigplan Notices.2001,36(5):168-179
Probert R L. Optimal insertion of software probes in well-delimited programs[J].IEEE Transactions on Software Engineering.1981, 8(1):34-42
Agrawal H. Dominators, super blocks and program coverage Principles of Programming Languages. Portland: Acm Press, 1994:25-34
Tikir M, Hollingsworth J. Efficient instrumentation for code coverage testing [J].Acm Sigsoft Software Engineering Note.2002,27(4):86-96
�����, ������, ����,��. ʵʱǶ��ʽ����Ĳ��Լ���[J]. С���ͼ����ϵͳ,2000,21(9): 920-924 Sun Changai, Jin Ruoming, Liu Chao, et al. Test technology of real-time and embedded software[J]. Mini-Micro System , 2000,21(9): 920-924(in Chinese)
Huang J C. Detection of data flow anomaly through program instrumentation[J]. IEEE Transactions on Software Engineering , 1979, SE5(3):226-236