楠本研究室

業績一覧

ホーム業績一覧

Hey! Are You Injecting Side Effect?: A Tool for Detecting Purity Changes in Java Methods

Hey! Are You Injecting Side Effect?: A Tool for Detecting Purity Changes in Java Methods
Proc. of 24th IEEE International Conference on Program Comprehension (ICPC2016) (2016)
概要: Methods not having side effects (pure methods) are beneficial in some situations. For example, data race does not occur among pure methods in multi-thread programs. Another example is that there are some cases where developers expect methods are pure, such as equals, hashCode, and getter methods in Java. This paper presents a tool finding code changes where methods become pure/impure. This tool can prevent developers from inducing purity-related bugs to methods. The authors have applied the tool to two open source systems and found (1) a dozen of methods moved to pure/impure repeatedly and (2) there were many cases where purity of methods had changed without code changes. タグ: are, changes, detecting, effect?, hey!, injecting, java, methods, purity, side, tool, you
@inproceedings{NaotoOgura2016,
  author = {Naoto Ogura and Jiachen Yang and Keisuke Hotta and Yoshiki Higo and Shinji Kusumoto},
  title = {Hey! Are You Injecting Side Effect?: A Tool for Detecting Purity Changes in Java Methods},
  booktitle = {Proc. of 24th IEEE International Conference on Program Comprehension (ICPC2016)},
  year = {2016},
  month = {may}
}