The main objective of software testing is to have the highest likelihood of finding the most faults with a minimum amount of time and effort. Genetic Algorithm (GA) has been successfully used by researchers in softwar...The main objective of software testing is to have the highest likelihood of finding the most faults with a minimum amount of time and effort. Genetic Algorithm (GA) has been successfully used by researchers in software testing to automatically generate test data. In this paper, a GA is applied using branch coverage criterion to generate the least possible set of test data to test JSC applications. Results show that applying GA achieves better performance in terms of average number of test data?generations, execution time, and percentage of branch coverage.展开更多
Smart card is currently a popular embedded device,but it has some drawbacks. On the other hand, Java's reliability,cross platform support,and many other advantages make it fit into embedded systems. The paper disc...Smart card is currently a popular embedded device,but it has some drawbacks. On the other hand, Java's reliability,cross platform support,and many other advantages make it fit into embedded systems. The paper discusses every aspect of JavaCard,the combination of smart card and Java technology,form which,we can conclude Java has great applied potential in embedded devices.展开更多
Java card is a new system for programming smart cards, which is based on the Java language and Virtual Machine. Java card programs (applets) run in Java Card Runtime Environment (JCRE) including the Java Card Virtual ...Java card is a new system for programming smart cards, which is based on the Java language and Virtual Machine. Java card programs (applets) run in Java Card Runtime Environment (JCRE) including the Java Card Virtual Machine (JCVM), the framework, the associated native methods and the API (Ap plication Programming Interface). JCVM is implemented as two separate pieces: off-card VM (Virtual Machine) and on-card VM. The stack model and heap memory structure used by on-card VM and exception handling are introduced. Because there airs limited resources within smart card environment, and garbage collection is not supported in JCVM, the preferred way to exception handling does not directly involve the use of throw, although the throw keyword is supported. Security is the most important feature of smart card. The Java card applet security feature is also discussed.展开更多
文摘The main objective of software testing is to have the highest likelihood of finding the most faults with a minimum amount of time and effort. Genetic Algorithm (GA) has been successfully used by researchers in software testing to automatically generate test data. In this paper, a GA is applied using branch coverage criterion to generate the least possible set of test data to test JSC applications. Results show that applying GA achieves better performance in terms of average number of test data?generations, execution time, and percentage of branch coverage.
文摘Smart card is currently a popular embedded device,but it has some drawbacks. On the other hand, Java's reliability,cross platform support,and many other advantages make it fit into embedded systems. The paper discusses every aspect of JavaCard,the combination of smart card and Java technology,form which,we can conclude Java has great applied potential in embedded devices.
基金This work was supported by the special science foundation of Heilongjiang Province for post-doctor.
文摘Java card is a new system for programming smart cards, which is based on the Java language and Virtual Machine. Java card programs (applets) run in Java Card Runtime Environment (JCRE) including the Java Card Virtual Machine (JCVM), the framework, the associated native methods and the API (Ap plication Programming Interface). JCVM is implemented as two separate pieces: off-card VM (Virtual Machine) and on-card VM. The stack model and heap memory structure used by on-card VM and exception handling are introduced. Because there airs limited resources within smart card environment, and garbage collection is not supported in JCVM, the preferred way to exception handling does not directly involve the use of throw, although the throw keyword is supported. Security is the most important feature of smart card. The Java card applet security feature is also discussed.