发明名称 COMPUTER PROGRAM MEASURING DEVICE
摘要 PROBLEM TO BE SOLVED: To make a measuring tool of a program described in a specific computer language possible to perform extension corresponding to new metrics without a change of the existing part. SOLUTION: This computer program measuring device is provided with a syntax analyzing means to analyze syntax of a source code to be a measuring object and to generate an abstract syntactic tree, a measurement rule application means to apply measurement rules corresponding to metrics and to obtain a measurement result as scanning an abstract syntactic tree, a measurement rule storage means to store plural measurement rules and a measurement rule adding means to newly add the measurement rule and the measurement rules are constituted of rule names to describe names of the measurement rules, an initialization routine to initialize measurement values, a node starting routine to process nodes in passing when respective nodes are scanned, a node completion routine to process the nodes on its way back when the respective nodes are scanned and a summary means to sum up the measurement results.
申请公布号 JP2002055854(A) 申请公布日期 2002.02.20
申请号 JP20000238583 申请日期 2000.08.07
申请人 HITACHI SOFTWARE ENG CO LTD 发明人 KUMETA AKIFUMI
分类号 G06F11/34;G06F9/44;G06F11/36;(IPC1-7):G06F11/36 主分类号 G06F11/34
代理机构 代理人
主权项
地址