首页    期刊浏览 2024年11月30日 星期六
登录注册

文章基本信息

  • 标题:An Attribute Grammar Approach to Specifying Halstead's Metrics
  • 作者:Abdul Azim Abd. Ghani ; Robin Hunter
  • 期刊名称:Malaysian Journal of Computer Science
  • 印刷版ISSN:0127-9084
  • 出版年度:1996
  • 卷号:9
  • 期号:1
  • 出版社:University of Malaya * Faculty of Computer Science and Information Technology
  • 摘要:Attribute grammars have been used in defining programming languages and constructing compilers. Since these are concerned with the syntax and static semantics of the source code of the language, attribute grammars can be effectively used to define source code metrics on it. Most of the source code metrics are based on measuring models of the source code. However, there is no formal way of specifying the mapping of the source code onto the models. This paper attempts to provide an approach using an attribute grammar to demonstrate how Halstead's metrics may be specified in an unambiguous manner on the source code itself.
  • 关键词:attribute grammar; source code models; Halstead's metrics
Loading...
联系我们|关于我们|网站声明
国家哲学社会科学文献中心版权所有