A declarative approach for Java code instrumentation

Verfasser / Beitragende:
[Tian Zhang, Xiaomei Zheng, Yan Zhang, Jianhua Zhao, Xuandong Li]
Ort, Verlag, Jahr:
2015
Enthalten in:
Software Quality Journal, 23/1(2015-03-01), 143-170
Format:
Artikel (online)
ID: 605495653
LEADER caa a22 4500
001 605495653
003 CHVBK
005 20210128100532.0
007 cr unu---uuuuu
008 210128e20150301xx s 000 0 eng
024 7 0 |a 10.1007/s11219-013-9220-4  |2 doi 
035 |a (NATIONALLICENCE)springer-10.1007/s11219-013-9220-4 
245 0 2 |a A declarative approach for Java code instrumentation  |h [Elektronische Daten]  |c [Tian Zhang, Xiaomei Zheng, Yan Zhang, Jianhua Zhao, Xuandong Li] 
520 3 |a Source instrumentation plays an important role in dynamic program analysis. However, current instrumentation implementations require programmers to write ad hoc rules that are often too complex to use and maintain. To address this complexity, we divide the task of source instrumentation into two steps: first, the source points are queried, into which code fragments should be planted; secondly, the code fragments including contextual information are generated and planted into source code through the queried points. According to this idea, we present a new method based on declarative code queries, which makes it easier to specify instrumentations using contextual information collected from expressive code queries. The JIns language provided by our method is constructed following an SQL-like style, which is well known and widely used by programmers. We evaluate the method in terms of the reduced complexity of instrumentation specifications for several common instrumentation tasks. 
540 |a Springer Science+Business Media New York, 2013 
690 7 |a Source query  |2 nationallicence 
690 7 |a Code instrumentation  |2 nationallicence 
690 7 |a Java  |2 nationallicence 
700 1 |a Zhang  |D Tian  |u National Key Laboratory for Novel Software Technology, Nanjing University, Nanjing, China  |4 aut 
700 1 |a Zheng  |D Xiaomei  |u School of Information Technology, Nanjing University of Chinese Medicine, Nanjing, China  |4 aut 
700 1 |a Zhang  |D Yan  |u Department of Computer Science and Technology, Beijing Electronic Science and Technology Institute, Beijing, China  |4 aut 
700 1 |a Zhao  |D Jianhua  |u National Key Laboratory for Novel Software Technology, Nanjing University, Nanjing, China  |4 aut 
700 1 |a Li  |D Xuandong  |u National Key Laboratory for Novel Software Technology, Nanjing University, Nanjing, China  |4 aut 
773 0 |t Software Quality Journal  |d Springer US; http://www.springer-ny.com  |g 23/1(2015-03-01), 143-170  |x 0963-9314  |q 23:1<143  |1 2015  |2 23  |o 11219 
856 4 0 |u https://doi.org/10.1007/s11219-013-9220-4  |q text/html  |z Onlinezugriff via DOI 
898 |a BK010053  |b XK010053  |c XK010000 
900 7 |a Metadata rights reserved  |b Springer special CC-BY-NC licence  |2 nationallicence 
908 |D 1  |a research-article  |2 jats 
949 |B NATIONALLICENCE  |F NATIONALLICENCE  |b NL-springer 
950 |B NATIONALLICENCE  |P 856  |E 40  |u https://doi.org/10.1007/s11219-013-9220-4  |q text/html  |z Onlinezugriff via DOI 
950 |B NATIONALLICENCE  |P 700  |E 1-  |a Zhang  |D Tian  |u National Key Laboratory for Novel Software Technology, Nanjing University, Nanjing, China  |4 aut 
950 |B NATIONALLICENCE  |P 700  |E 1-  |a Zheng  |D Xiaomei  |u School of Information Technology, Nanjing University of Chinese Medicine, Nanjing, China  |4 aut 
950 |B NATIONALLICENCE  |P 700  |E 1-  |a Zhang  |D Yan  |u Department of Computer Science and Technology, Beijing Electronic Science and Technology Institute, Beijing, China  |4 aut 
950 |B NATIONALLICENCE  |P 700  |E 1-  |a Zhao  |D Jianhua  |u National Key Laboratory for Novel Software Technology, Nanjing University, Nanjing, China  |4 aut 
950 |B NATIONALLICENCE  |P 700  |E 1-  |a Li  |D Xuandong  |u National Key Laboratory for Novel Software Technology, Nanjing University, Nanjing, China  |4 aut 
950 |B NATIONALLICENCE  |P 773  |E 0-  |t Software Quality Journal  |d Springer US; http://www.springer-ny.com  |g 23/1(2015-03-01), 143-170  |x 0963-9314  |q 23:1<143  |1 2015  |2 23  |o 11219