Method and system for test coverage analysis of operating system software
暂无分享,去创建一个
A method and a system for analyzing test coverage of OS software are provided to reduce a data quantity required for analyzing the test coverage and remarkably improve a test speed by storing test position information and raw instruction information to a storing module, inserting a dynamic test code into a test position, and analyzing the test coverage in reference to the storing module. The storing module(1000) generates and stores detail test position information by analyzing a control flow of an OS code. The detail test position information includes address information for the test position. A dynamic test code inserting module(1002) determines the test position by referring to the detail test position information during performance of the OS code, inserts the dynamic test code into the test position, and performs the test code. A coverage analyzing module(1003) analyzes the test coverage by referring to the detail test position information and a result of dynamic test code insertion. The storing module generates the detail test position information by analyzing a source code of the OS software.