In the field of J2EE, MVC framework exists crosscutting concerns across multiple modules (e.g. logging, validation, transaction etc.) causing the code scattering and code confusion and making the system difficult to m...
详细信息
Coding against interfaces is a powerful technique in object-orientedprogramming. It decouples code and enables independent development. However, code decoupled via interfaces poses additional challenges for testing a...
详细信息
ISBN:
(纸本)9781450301374
Coding against interfaces is a powerful technique in object-orientedprogramming. It decouples code and enables independent development. However, code decoupled via interfaces poses additional challenges for testing and dynamic execution, as not all pieces of code that are necessary to execute a piece of code may be available. For example, a client class may be coded against several interfaces. For testing, however, no classes may be available that implement the interfaces. This means that, to support testing, we need to generate mock classes along with test cases. Current test case generators do not fully support this kind of independent development and testing. In this paper, we describe a novel technique for generating test cases and mock classes for object-oriented programs that are coded against interfaces. We report on our initial experience with an implementation of our technique for Java. Our prototype implementation achieved higher code coverage than related tools that do not generate mock classes, such as Pex.
Since object-orientedprogramming has become dominant in application development, there has been the recurring issue of an impedance mismatch between the way programmers manipulate objects in memory, and the way they ...
详细信息
Statement coverage is a widely accepted approach to software testing for both non object-oriented and object-orientedprogramming methodology. A number of coverage criteria have been proposed specifically for testing ...
详细信息
ISBN:
(纸本)9781617820267
Statement coverage is a widely accepted approach to software testing for both non object-oriented and object-orientedprogramming methodology. A number of coverage criteria have been proposed specifically for testing object-oriented programs;however, none of these proposed criteria has been widely accepted. Statement coverage is still used as the "first step" for testing object-oriented programs. The object-orientedprogramming technique has introduced the concept of object-oriented faults that are different from the traditional faults that occur in the non object-oriented programs. As there are significant differences between these types of programming techniques, it is beneficial to analyze if using the same coverage criterion i.e. statement coverage would be sufficient or if a different criterion should be used beyond statement coverage criterion to find some of these object-oriented faults. Pair-wise coverage criterion is used to analyze the faults that are not found by statement coverage criterion.
The efficacy of mutation analysis depends heavily on its capability to mutate programs in such a way that they remain executable and exhibit deviating behaviour. Whereas the former requires knowledge about the syntax ...
详细信息
object-orientedprogramming is more and more spreading in engineering and scientific areas for some relevant benefits making it particularly appealing to write complex codes. Nevertheless, the use of such a programmin...
详细信息
Many coupling measures have been introduced in various surveys to identify and measure the design complexity of objectoriented systems. The coupling metrics presented in this paper identifies complexity between inher...
详细信息
It has been a constant aim of computer scientists, programming language designers and practitioners to raise the level of programming abstractions and bring them as close to the user's natural context as possible....
详细信息
The paper is oriented to a special way of solving a certain contradiction present in the simulation of the information systems: on one hand the information system is a complex and rich physical object existing in time...
详细信息
ISBN:
(纸本)9789549260014
The paper is oriented to a special way of solving a certain contradiction present in the simulation of the information systems: on one hand the information system is a complex and rich physical object existing in time and composed of physical units (computers) connected by physical links, and on the other hand it handles information that is also complex and rich but in general quite different from that governing the physical aspects of the system. A description of a simple but sophisticated method of solving the problem is presented, based on nesting two theories formalized with use of the object-orientedprogramming representation of knowledge, each of them representing one of the two views of the simulated information system(s). A simple example is given to illustrate the method.
Healthcare organizations regularly generate huge amount of data in electronic form and store in heterogeneous databases. These data are a valuable resource for automatic discovering of useful knowledge, known as knowl...
详细信息
暂无评论