Font Size: a A A

Java Card Code Coverage Data Source Mechanism And Calculation

Posted on:2013-07-20Degree:MasterType:Thesis
Country:ChinaCandidate:L L ZhangFull Text:PDF
GTID:2248330371478708Subject:Electronics and Communications Engineering
Abstract/Summary:PDF Full Text Request
With the rapid development of Internet technology and applications, software products have been fully into our lives. At the same time, people are increasingly high requirements for the performance of the stability, security of the software products, so software testing has got more and more attention of software developers. Code coverage testing is an important part in the testing process. It has a very positive sense to improve the efficiency and quality of our testing.Code coverage analysis tools are all based on the JVM, but the running environment that the program run on the Java Card are provided by JCVM. With the JCVM developed by the Watch data system Co., Ltd.. In order to achieve the company’s actual needs, the company decided to develop a coverage testing tool based on JCVM. The design assumed soft simulation work in this project. We need to record and save the specified code running state in soft simulation within a certain period of time and output the log file by the specified format. First, get the instruction operation information by the instruction analyzer and perform database in JCVM, then projected the implementation of the source code through the debug information projects. Then get the coverage information of the running code and then output the EC and EM file that include the code coverage information for the development of the coverage testing tool. Finally, develop a test java card code coverage tool with the effort of Plug-in developers.Finally, we succeed to output the EC and EM file that include the code coverage running information. And develop a test java card code coverage tool with the effort of Plug-in developers. The testing tool has been used to test code coverage and the test results indicate that we can get accurate, detailed information about the statement coverage of the Java Card code by this method. And then, guided and improve our testing.
Keywords/Search Tags:Code coverage, JCVM, Java Card code, Java Card
PDF Full Text Request
Related items