Program slicing: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 2:
 
{{no footnotes|date=August 2012}}
In [[computer programming]], '''program slicing''' is the computation of the set of programs statements, the '''program slice''', that may affect the values of some specificpredetermined variables at some point of interest, referred to as a '''slicing criterion'''. Program slicing can be used in [[debugging]] to locate source of errors more easily. Other applications of slicing include [[software maintenance]], [[Optimization (computer science)|optimization]], [[Program analysis (computer science)|program analysis]], and [[Non-interference (security)|information flow control]].
 
Slicing techniques have been seeing a rapid development since the original definition by [[Mark Weiser]]. At first, slicing was only static, i.e., applied on the source code with no other information than the source code. [[Bogdan Korel]] and [[Janusz Laski]] introduced ''dynamic slicing'', which works on a specific execution of the program (for a given execution trace). Other forms of slicing exist, for instance path slicing.