# Mercem: Method Name Recommendation Based on Call Graph Embedding

**Authors:** Hiroshi Yonai, Yasuhiro Hayase, Hiroyuki Kitagawa

arXiv: 1907.05690 · 2019-07-15

## TL;DR

This paper introduces Mercem, a method name recommendation system using call graph embedding, which improves suggestion quality in challenging scenarios compared to existing techniques.

## Contribution

It presents a novel approach applying graph embedding to call graphs for better method name recommendations, addressing limitations of previous methods.

## Key findings

- Outperforms state-of-the-art in difficult naming situations
- Suggests more appropriate method names
- Effective call graph embedding technique

## Abstract

Comprehensibility of source code is strongly affected by identifier names, therefore software developers need to give good (e.g. meaningful but short) names to identifiers. On the other hand, giving a good name is sometimes a difficult and time-consuming task even for experienced developers. To support naming identifiers, several techniques for recommending identifier name candidates have been proposed. These techniques, however, still have challenges on the goodness of suggested candidates and limitations on applicable situations. This paper proposes a new approach to recommending method names by applying graph embedding techniques to the method call graph. The evaluation experiment confirms that the proposed technique can suggest more appropriate method name candidates in difficult situations than the state of the art approach.

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/1907.05690/full.md

## Figures

7 figures with captions in the complete paper: https://tomesphere.com/paper/1907.05690/full.md

## References

25 references — full list in the complete paper: https://tomesphere.com/paper/1907.05690/full.md

---
Source: https://tomesphere.com/paper/1907.05690