{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2024,2,9]],"date-time":"2024-02-09T23:30:21Z","timestamp":1707521421502},"reference-count":42,"publisher":"Cambridge University Press (CUP)","issue":"6","license":[{"start":{"date-parts":[[2011,10,27]],"date-time":"2011-10-27T00:00:00Z","timestamp":1319673600000},"content-version":"unspecified","delay-in-days":0,"URL":"https:\/\/www.cambridge.org\/core\/terms"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Math. Struct. Comp. Sci."],"published-print":{"date-parts":[[2011,12]]},"abstract":"<jats:p>Given a program, a quotient can be obtained from it by deleting zero or more statements. The field of program slicing is concerned with computing a quotient of a program that preserves part of the behaviour of the original program. All program slicing algorithms take account of the structural properties of a program, such as control dependence and data dependence, rather than the semantics of its functions and predicates, and thus work, in effect, with program schemas. The dynamic slicing criterion of Korel and Laski requires only that program behaviour is preserved in cases where the original program follows a particular path, and that the slice\/quotient follows this path. In this paper we formalise Korel and Laski's definition of a dynamic slice as applied to linear schemas, and also formulate a less restrictive definition in which the path through the original program need not be preserved by the slice. The less restrictive definition has the benefit of leading to smaller slices. For both definitions, we compute complexity bounds for the problems of establishing whether a given slice of a linear schema is a dynamic slice and whether a linear schema has a non-trivial dynamic slice, and prove that the latter problem is NP-hard in both cases. We also give an example to prove that minimal dynamic slices (whether or not they preserve the original path) need not be unique.<\/jats:p>","DOI":"10.1017\/s0960129511000223","type":"journal-article","created":{"date-parts":[[2011,10,27]],"date-time":"2011-10-27T08:28:04Z","timestamp":1319704084000},"page":"1339-1362","source":"Crossref","is-referenced-by-count":2,"title":["On the computational complexity of dynamic slicing problems for program schemas"],"prefix":"10.1017","volume":"21","author":[{"given":"SEBASTIAN","family":"DANICIC","sequence":"first","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"ROBERT. M.","family":"HIERONS","sequence":"additional","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"MICHAEL R.","family":"LAURENCE","sequence":"additional","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"56","published-online":{"date-parts":[[2011,10,27]]},"reference":[{"key":"S0960129511000223_ref40","doi-asserted-by":"publisher","DOI":"10.1023\/A:1018551716639"},{"key":"S0960129511000223_ref37","doi-asserted-by":"publisher","DOI":"10.1145\/321203.321204"},{"key":"S0960129511000223_ref36","unstructured":"Paterson M. S. (1967) Equivalence Problems in a Model of Computation, Ph.D. thesis, University of Cambridge."},{"key":"S0960129511000223_ref34","doi-asserted-by":"publisher","DOI":"10.1016\/j.ipl.2004.05.004"},{"key":"S0960129511000223_ref41","doi-asserted-by":"publisher","DOI":"10.1109\/TSE.1984.5010248"},{"key":"S0960129511000223_ref33","doi-asserted-by":"publisher","DOI":"10.1016\/j.tcs.2003.09.002"},{"key":"S0960129511000223_ref31","first-page":"877","volume-title":"Proceedings 2nd International Conference on Computers and Applications","author":"Lyle","year":"1987"},{"key":"S0960129511000223_ref29","unstructured":"Laurence M. R. , Danicic S. , Harman M. , Hierons R. and Howroyd J. (2004) Equivalence of linear, free, liberal, structured program schemas is decidable in polynomial time. Technical Report ULCS-04-014, University of Liverpool. (Available at http:\/\/www.csc.liv.ac.uk\/research\/techreports\/.)"},{"key":"S0960129511000223_ref28","doi-asserted-by":"publisher","DOI":"10.1016\/S0304-3975(02)00374-2"},{"key":"S0960129511000223_ref27","doi-asserted-by":"publisher","DOI":"10.1016\/j.jlap.2007.02.008"},{"key":"S0960129511000223_ref26","doi-asserted-by":"publisher","DOI":"10.1016\/S0950-5849(98)00089-5"},{"key":"S0960129511000223_ref23","doi-asserted-by":"publisher","DOI":"10.1007\/3-540-55844-6_148"},{"key":"S0960129511000223_ref22","doi-asserted-by":"publisher","DOI":"10.1016\/S0950-5849(98)00088-3"},{"key":"S0960129511000223_ref21","unstructured":"Kamkar M. (1993) Interprocedural dynamic slicing with applications to debugging and testing, Ph.D. Thesis, Department of Computer Science and Information Science, Link\u00f6ping University, Sweden. (Available as Link\u00f6ping Studies in Science and Technology, Dissertations, Number 297.)"},{"key":"S0960129511000223_ref20","doi-asserted-by":"publisher","DOI":"10.1049\/sej.1996.0040"},{"key":"S0960129511000223_ref19","first-page":"82","volume-title":"Problems of Cybernetics","author":"Ianov","year":"1960"},{"key":"S0960129511000223_ref18","doi-asserted-by":"publisher","DOI":"10.1137\/0209031"},{"key":"S0960129511000223_ref17","first-page":"138","volume-title":"Proceedings IEEE International Conference on Software Maintenance (ICSM'01)","author":"Harman","year":"2001"},{"key":"S0960129511000223_ref11","first-page":"9","volume-title":"Proceedings of the 4th IEEE Workshop on Program Comprehension","author":"De Lucia","year":"1996"},{"key":"S0960129511000223_ref9","doi-asserted-by":"publisher","DOI":"10.1093\/comjnl\/bxh121"},{"key":"S0960129511000223_ref8","doi-asserted-by":"publisher","DOI":"10.1145\/800157.805047"},{"key":"S0960129511000223_ref6","first-page":"424","volume-title":"Proceedings of the International Conference on Software Maintenance (ICSM'96)","author":"Canfora","year":"1994"},{"key":"S0960129511000223_ref5","doi-asserted-by":"publisher","DOI":"10.1016\/j.tcs.2006.01.012"},{"key":"S0960129511000223_ref39","unstructured":"Wegener J. , Grimm K. , Grochtmann M. , Sthamer H. and Jones B. F. (1996) Systematic testing of real-time systems. In: Proceedings 4th International Conference on Software Testing Analysis and Review (EuroSTAR 96)."},{"key":"S0960129511000223_ref1","doi-asserted-by":"publisher","DOI":"10.1002\/spe.4380230603"},{"key":"S0960129511000223_ref15","doi-asserted-by":"publisher","DOI":"10.1007\/BFb0023017"},{"key":"S0960129511000223_ref3","doi-asserted-by":"publisher","DOI":"10.1137\/0204011"},{"key":"S0960129511000223_ref38","doi-asserted-by":"publisher","DOI":"10.1016\/0304-3975(90)90201-R"},{"key":"S0960129511000223_ref7","doi-asserted-by":"publisher","DOI":"10.1002\/(SICI)1096-908X(199605)8:3<145::AID-SMR127>3.0.CO;2-9"},{"key":"S0960129511000223_ref42","first-page":"187","volume-title":"Empirical studies of programmers","author":"Weiser","year":"1985"},{"key":"S0960129511000223_ref35","doi-asserted-by":"publisher","DOI":"10.1145\/982962.964029"},{"key":"S0960129511000223_ref30","doi-asserted-by":"publisher","DOI":"10.1016\/S0022-0000(70)80022-8"},{"key":"S0960129511000223_ref14","first-page":"191","volume-title":"Proceedings IEEE Conference on Software Maintenance","author":"Gopal","year":"1991"},{"key":"S0960129511000223_ref4","doi-asserted-by":"publisher","DOI":"10.1109\/CSMR.2001.914974"},{"key":"S0960129511000223_ref10","doi-asserted-by":"publisher","DOI":"10.1016\/j.tcs.2006.10.001"},{"key":"S0960129511000223_ref2","doi-asserted-by":"publisher","DOI":"10.1145\/93548.93576"},{"key":"S0960129511000223_ref12","first-page":"236","volume-title":"Proceedings of the International Conference on Software Maintenance","author":"Gallagher","year":"1992"},{"key":"S0960129511000223_ref25","doi-asserted-by":"publisher","DOI":"10.1016\/0020-0190(88)90054-3"},{"key":"S0960129511000223_ref13","doi-asserted-by":"publisher","DOI":"10.1109\/32.83912"},{"key":"S0960129511000223_ref16","doi-asserted-by":"publisher","DOI":"10.1109\/SCAM.2002.1134105"},{"key":"S0960129511000223_ref24","unstructured":"Korel B. (1995) Computation of dynamic slices for programs with arbitrary control flow. In: Ducass\u00e9 M. (ed.) 2nd International Workshop on Automated Algorithmic Debugging (AADEBUG'95) 71\u201386."},{"key":"S0960129511000223_ref32","volume-title":"Mathematical Theory of Computation","author":"Manna","year":"1974"}],"container-title":["Mathematical Structures in Computer Science"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.cambridge.org\/core\/services\/aop-cambridge-core\/content\/view\/S0960129511000223","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2019,4,26]],"date-time":"2019-04-26T22:49:23Z","timestamp":1556318963000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.cambridge.org\/core\/product\/identifier\/S0960129511000223\/type\/journal_article"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2011,10,27]]},"references-count":42,"journal-issue":{"issue":"6","published-print":{"date-parts":[[2011,12]]}},"alternative-id":["S0960129511000223"],"URL":"https:\/\/doi.org\/10.1017\/s0960129511000223","relation":{},"ISSN":["0960-1295","1469-8072"],"issn-type":[{"value":"0960-1295","type":"print"},{"value":"1469-8072","type":"electronic"}],"subject":[],"published":{"date-parts":[[2011,10,27]]}}}