TY - GEN
T1 - PARSEWeb
T2 - 22nd IEEE/ACM International Conference on Automated Software Engineering, ASE'07
AU - Thummalapenta, Suresh
AU - Xie, Tao
PY - 2007
Y1 - 2007
N2 - Programmers commonly reuse existing frameworks or libraries to reduce software development efforts. One common problem in reusing the existing frameworks or libraries is that the programmers know what type of object that they need, but do not know how to get that object with a specific method sequence. To help programmers to address this issue, we have developed an approach that takes queries of the form "Source object type → Destination object type" as input, and suggests relevant method-invocation sequences that can serve as solutions that yield the destination object from the source object given in the query. Our approach interacts with a code search engine (CSE) to gather relevant code samples and performs static analysis over the gathered samples to extract required sequences. As code samples are collected on demand through CSE, our approach is not limited to queries of any specific set of frameworks or libraries. We have implemented our approach with a tool called PARSEWeb, and conducted four different evaluations to show that our approach is effective in addressing programmer's queries. We also show that PARSEWeb performs better than existing related tools: Prospector and Strathcona.
AB - Programmers commonly reuse existing frameworks or libraries to reduce software development efforts. One common problem in reusing the existing frameworks or libraries is that the programmers know what type of object that they need, but do not know how to get that object with a specific method sequence. To help programmers to address this issue, we have developed an approach that takes queries of the form "Source object type → Destination object type" as input, and suggests relevant method-invocation sequences that can serve as solutions that yield the destination object from the source object given in the query. Our approach interacts with a code search engine (CSE) to gather relevant code samples and performs static analysis over the gathered samples to extract required sequences. As code samples are collected on demand through CSE, our approach is not limited to queries of any specific set of frameworks or libraries. We have implemented our approach with a tool called PARSEWeb, and conducted four different evaluations to show that our approach is effective in addressing programmer's queries. We also show that PARSEWeb performs better than existing related tools: Prospector and Strathcona.
KW - code examples
KW - code reuse
KW - code search engine
KW - ranking code samples
UR - http://www.scopus.com/inward/record.url?scp=51049123306&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=51049123306&partnerID=8YFLogxK
U2 - 10.1145/1321631.1321663
DO - 10.1145/1321631.1321663
M3 - Conference contribution
AN - SCOPUS:51049123306
SN - 9781595938824
T3 - ASE'07 - 2007 ACM/IEEE International Conference on Automated Software Engineering
SP - 204
EP - 213
BT - ASE'07 - 2007 ACM/IEEE International Conference on Automated Software Engineering
Y2 - 5 November 2007 through 9 November 2007
ER -