Computer Science ›› 2014, Vol. 41 ›› Issue (11): 36-39.doi: 10.11896/j.issn.1002-137X.2014.11.008

Previous Articles     Next Articles

Feature Location Method Based on Call Chain Analysis

FU Kun,QIAN Wen-yi,PENG Xin and ZHAO Wen-yun   

  • Online:2018-11-14 Published:2018-11-14

Abstract: In order to accomplish a variety of software maintenance tasks,such as fixing bugs,changing existent functionalities,or adding new features,developers often need to look for related codes of a feature in advance.Such a process to identify relevant program elements according to a given feature is called as feature location.Existing feature localization methods,mainly based on user demand,search related code elements in the source code,and recommend them to the user.However,these scattered elements do not have any connection with each other,and user may still need to manually find out the relationship between the elements,to understand how the code elements combine together to achieve a specific function.However,a new approach based on method-call-chains associated with data transferring can improve the feature location practice.This method can analyze the source code,extract all of the method-call-chains associated with the data transferring,and find relevant ones on the user’s demand.This method-call-chain is not a simple code segment.It can reveal the implementation of specific functions,and help user to understand the program better.An Eclipse plug-in of this approach was evaluated on JEdit.And the precision of the results of the tool is average 55%.

Key words: Feature location,Program understand,Method calls analysis,Recommended,Eclipse plugins

[1] Biggerstaff T J,Mitbander B G,Webster D.The concept assignment problem in program understanding[C]∥Proceedings of the 15th International Conference on Software Engineering.IEEE Computer Society Press,1993:482-498
[2] Dit B,Revelle M,Gethers M,et al.Feature Location in Source Code:A Taxonomy and Survey[J].Journal of Software:Evolution and Process,2013,25(1):53-95
[3] Trifu M.Using Dataflow Information for Concern Identification in Object-Oriented Software Systems[C]∥Proceedings of European Conference on Software Maintenance and Reengineering (CSMR’ 08).2008:193-202
[4] Robillard M P.To pology Analysis of Software Dependencies[J].ACM Transactions on Software Engineering and Metho-dology, 2008,17(4):1-36
[5] Wong W E,Gokhale S S,Horgan J R,et al.Locating program features using execution slices[C]∥Proceedings of IEEE Symposium on Application-Specific Systems and Software Enginee-ring and Technology (ASSET’99).March 1999:194-203
[6] Eisenberg A D,De Volder K.Dynamic Feature Traces:Finding Features in Unfamiliar Code[C]∥Proceedings of 21st IEEE International Conference on Software Maintenance (ICSM’05).Buda pest,Hungary,September 2005:337-346
[7] Zhao W,Zhang L,Liu Y,et al.SNIAFL:Towards a Static Non -interactive Approach to Feature Location[J].ACM Transactions on Software Engineering and Methodologies (TOSEM),2006,15(2):195-226

No related articles found!
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!