首页    期刊浏览 2024年12月01日 星期日
登录注册

文章基本信息

  • 标题:ModiChecker: Accessibility Excessiveness Analysis Tool for Java Program
  • 本地全文:下载
  • 作者:Dotri Quoc ; Kazuo Kobori ; Norihiro Yoshida
  • 期刊名称:Information and Media Technologies
  • 电子版ISSN:1881-0896
  • 出版年度:2012
  • 卷号:7
  • 期号:4
  • 页码:1401-1407
  • DOI:10.11185/imt.7.1401
  • 出版社:Information and Media Technologies Editorial Board
  • 摘要:In object-oriented programs, access modifiers are used to control the accessibility of fields and methods from other objects. Choosing appropriate access modifiers is one of the key factors for easily maintainable programming. In this paper, we propose a novel analysis method named Accessibility Excessiveness (AE) for each field and method in Java program, which is discrepancy between the access modifier declaration and its real usage. We have developed an AE analyzer - ModiChecker which analyzes each field or method of the input Java programs, and reports the excessiveness. We have applied ModiChecker to various Java programs, including several OSS, and have found that this tool is very useful to detect fields and methods with the excessive access modifiers.
国家哲学社会科学文献中心版权所有