Program Slicing using Test Cases
Sonam Agarwal, Arun Prakash Agarwal · International Journal of Computer Applications · 2012
The main applications of program slicing include various software engineering activities such as program understanding, debugging, testing, program maintenance, complexity measurement and so on.Program slicing is a feasible method to restrict the focus of a task to specific subcomponents of a program.It can also be used to extract the statements of a program that are relevant to a given computation.Applying slicing technique to software architectures can benefit software development in two main ways.The first one concerns maintenance of a componentbased software.By using slicing tools on an architectural description, we can determine which components might be affected when a given component is modified.Second, architectural reuse can be facilitated.While reuse of code is important, reuse of software design and patterns are expected to offer greater productivity benefits and reliability enhancements.