Nguyen, Tien N.

Permanent URI for this collectionhttps://hdl.handle.net/10735.1/6853

Tien Nguyen is a Professor of Computer Science. His research interests include:

  • Program Analysis
  • Big Code Mining and Analysis
  • Software Evolution and Maintenance
  • Web and Configurable Code Analysis
  • Mining Software Repositories

Browse

Recent Submissions

Now showing 1 - 2 of 2
  • Item
    Statistical Learning of API Fully Qualified Names in Code Snippets of Online Forums
    (IEEE Computer Society) Phan, H.; Nguyen, H. A.; Tran, Ngoc M.; Truong, Linh H.; Nguyen, A. T.; Nguyen, Tien N.; Tran, Ngoc M.; Truong, Linh H.; Nguyen, Tien N.
    Software developers often make use of the online forums such as StackOverflow (SO) to learn how to use software libraries and their APIs. However, the code snippets in such a forum often contain undeclared, ambiguous, or largely unqualified external references. Such declaration ambiguity and external reference ambiguity present challenges for developers in learning to correctly use the APIs. In this paper, we propose StatType, a statistical approach to resolve the fully qualified names (FQNs) for the API elements in such code snippets. Unlike existing approaches that are based on heuristics, StatType has two well-integrated factors. We first learn from a large training code corpus the FQNs that often co-occur. Then, to derive the FQN for an API name in a code snippet, we use that knowledge and also leverage the context consisting of neighboring API names. To realize those factors, we treat the problem as statistical machine translation from source code with partially qualified names to source code with FQNs of the APIs. Our empirical evaluation on real-world code and StackOverflow posts shows that StatType achieves very high accuracy with 97.6% precision and 96.7% recall, which is 16.5% relatively higher than the state-of-the-art approach. © 2018 ACM.
  • Item
    Poster: Inferring API Elements Relevant to an English Query
    (IEEE Computer Society) Nguyen, T. V.; Nguyen, Tien N.; Nguyen, Tien N.
    No abstract available. From the introduction: "In this paper, we develop APITRAN, a context-sensitive statistical translation approach that receives an English query on a programming task and suggests the relevant APIs."

Works in Treasures @ UT Dallas are made available exclusively for educational purposes such as research or instruction. Literary rights, including copyright for published works held by the creator(s) or their heirs, or other third parties may apply. All rights are reserved unless otherwise indicated by the copyright owner(s).