发明名称 Method of identifying recurring code constructs
摘要 A method of identifying recurring or common logical code elements within the source code of a computer application. Parsing of the source code of a set of files within the application produces a syntax tree which is then traversed to identify blocks of code. A fingerprint is created for each block of code, each fingerprint containing a characteristic for each type of statement located within the block. The characteristic consisting of a vector containing: the statement type, the number of occurrences of the statement, the number of bytes of data input to the statement and the number of bytes of data output from the statement. The user may select that only certain types of statements are to be considered in creating a fingerprint. The user may also choose to aggregate types of statements into a single characteristic when creating the fingerprint. The fingerprints for each block of code are then submitted to a Bayesian classification engine which places the blocks of code into common groups based upon their fingerprints and displays them to the user. The user may then browse the selected groups to determine if there exist modules within the application that may be reused, redeployed or re-engineered.
申请公布号 AU6455799(A) 申请公布日期 2000.06.13
申请号 AU19990064557 申请日期 1999.10.22
申请人 NETRON INC. 发明人 AUTUMN UMANETZ;LINGYAN SHEN
分类号 G06F9/44 主分类号 G06F9/44
代理机构 代理人
主权项
地址